Just got a similar crash to this one, also involving a power switch.
Here is the crash message:
The mod Redo (0.2.7) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event redo::on_lua_shortcut (ID 36)
Expected target_wire_id for entities with more than one wire connection.
stack traceback:
[C]: in function 'connect_neighbour'
redo/control.lua:519: in function 'create_entity_ghost'
redo/control.lua:546: in function '?'
redo/control.lua:632: in function 'input_action'
redo/control.lua:644: in function <redo/control.lua:642>