@Trhazel - I do something similar in my home with the internal relay disabled. I am sure there are smart people on here with much better ways of doing this but here is what I do…
1. Default notifications for smart bulbs that are hard wired (always on)
Using the “Switch Bindings” app in Hubitat, I create a binding between the smart light and the the wall switch so that if/when the light is turned on or off, the switch is synced and triggers the corresponding action from the default visual notification on the switch. This way they are always in sync whether I turn the light on from Hubitat or the physical wall switch. You just need to make sure it’s not setup as a 2 way binding otherwise when a new notification pops up on the switch it will turn off the fan/light. It needs to be a one-way binding with the smart light/fan as the master.
2. Managing Multiple Switch Notifications using Scenes
Using the “Groups and Scenes” app, I created a handful of notification scenes. I named one scene “Alarm Scene Notifications Armed” which tells all the switches to turn on the red notifications on all the Inovelli switches throughout the house. “Alarm Scene Notifications Disarmed” tells all the switches to turn off the red notifications on all the Innovelli switches throughout the house. (This way, if I need to add or remove a single switch I can just do it here and not have to mess with updating dozens of rules). I also do this with external doors via a group instead of scenes but it’s basically the same thing. Whenever the garage door, attic door, or outdoor gate is open all the switches in my home pulse purple until they are all closed.
3. Keeping Alarm Top Priority Notification
In order to make sure a simple on/off does not over-ride my alarm notification I added a small conditional action to each button press. In the example image I attached to this post you’ll see that when the light switch is double pressed up (button 2 pushed) I first tell the switch to set the fan to high (so that it happens as fast as possible). The switch binding from step 1 above will automatically light up the “fan” notification on my switch and then I put in a simple conditional action with a 5 second delay that says if the HSM (alarm) is ARMED then set the notification on this switch to red (no need to bother with the entire group/scene as this single switch is the only outlier). Also, you obviously do not NEED to include the 5 second delay but I like having the visual confirmation that the light/fan is on for a few seconds knowing the red alarm will take back over as primary if the alarm is on but you could just have this happen instantly).
What it looks like:
- Imagine the light and fan are off and HSM (my alarm) is disarmed. This means the LED on the wall switch will be completely off.
- Then I arm HSM (alarm) which automatically turns on my scene “Alarm Scene Notifications Armed”.
- This turns the notification bars on all the Inovelli switches in my home to solid red (indefinitely).
- Now the switch in the room (along with the others) will be solid red.
- Next, my son (Holden) walks in the room and turns on his light by pressing the switches up button.
- The light turns on and the switch binding (from step 1 above) changes the current red notification to a solid blue.
- The switch stays blue for 5 seconds, then Hubitat checks to see if HSM (alarm) is armed, which it still is, so it will change the notification on this switch back to red.
- When his light is turned off I don’t need to add this logic as it has no impact on the notification bar.
- When HSM (alarm) is disarmed I run notification “Alarm Scene Notifications Disarmed” (from step 2 above) and it turns the red light off around the entire home.
This option works as long as there is only 1 notification you want to override. If you want to handle prioritizing multiple priority levels of notifications you’d have to introduce more complex logic on each button press or start passing variables.
Technically you only really asked about what was discussed in Step 3 above but believe Steps 1 & 2 help solve the smart switch/smart bulb problem you hinted at as well as help with the management of logic in the future if you need to add/remove more inovelli switches for different whole-home notifications.