archanglmr / homebridge-occupancy-delay

Occupancy sensor linked to one or more switches with a built-in delay not-unoccupied delay for Homebridge
GNU General Public License v3.0
54 stars 12 forks source link

Add option for slave switches to be protected from misunderstood Siri commands. #3

Open jdberry opened 4 years ago

jdberry commented 4 years ago

This PR adds a new option to the configuration. "protected" set to true will create the slave switches with a custom characteristic called "Enabled" instead of the default On switch. Because it's a custom characteristic, it is protected from accidental control via Siri, for instance.