@bphillips09 wrote:
Hi! I’m new to HA, and finally finished getting my system set up.
Today, every single device I have as a “Switch” turned on at once (Insteon and ZWave) at the same time. This turned on all the lights, closed my blinds, rang the doorbell, and even opened my garage doors (it was terrifying for a split second).
Here’s a screenshot of the logbook when it happened.
This was originally going to be a question post until (while posting) I realized what the issue was. I was going to paste the automation looking for advice when I saw it:
- id: '1576192297346' alias: Den Keypad Christmas Tree On description: '' trigger: - entity_id: switch.den_keypad_button_d from: 'off' platform: state to: 'on' condition: [] action: - data: {} service: switch.turn_on
For some reason, creating the automation using the iOS app for HA caused it to duplicate my automation and exclude the action data (the entity_id). This left it with just “switch.turn_on”, which turned on every switch device! Luckily the “mopar” component failed to load so it didn’t start my car
Anyway, I’ll leave you with this:
- Always check to make sure you aren’t calling a global “switch.turn_on” or something catastrophic could happen!
- Maybe there should be an option to disallow turning on all switches/lights at once with a single call?
- It’s possible that there’s a bug in the iOS app that creates automations twice.
Posts: 3
Participants: 2