I'm looking for a script that can change the colour of an interior light based on another block's power state (block is off - light turns red, block is on - light turns blue). Can anyone help with this?
Alternatively something that can just toggle the light between two colours with a single button.
There's plenty of similar scripts around but they're either no longer working or unable to toggle without setting up a second trigger or manually altering the Run arguement.
Alternatively something that can just toggle the light between two colours with a single button.
There's plenty of similar scripts around but they're either no longer working or unable to toggle without setting up a second trigger or manually altering the Run arguement.