colony floodlight switch 
Vars | |
| linked_switches | Possible lightswitch links in the case multiple switches control the same machines |
|---|---|
| machinery_list | All machinery under our control |
| machinery_type_blacklist | The types of machinery we don't control (generated automatically) |
| machinery_type_whitelist | The types of machinery we control (define this) |
Procs | |
| update_machines | Reads the current is_on setting, toggles off linked switches if on, and sets all machines to the new state if needed |
Var Details
linked_switches 
Possible lightswitch links in the case multiple switches control the same machines
machinery_list 
All machinery under our control
machinery_type_blacklist 
The types of machinery we don't control (generated automatically)
machinery_type_whitelist 
The types of machinery we control (define this)
Proc Details
update_machines
Reads the current is_on setting, toggles off linked switches if on, and sets all machines to the new state if needed