@tduffy - yep, that’s definitely one option. However, it might affect a lot of devices (such as switches throughout the house). I think another option might be to change the state of things that were activated when the mode began.
Let’s put a scenario together here so I can better explain what I’m thinking:
Enter Party Mode
- Turn on switch 1
- Turn on switch 3
- Turn on switch 4
- Play music (I’m using HAM Bridge in this case, not Sonos, but either would work for the discussion here)
I then select Home mode.
Home Mode…
- Is switch 1 (which was activated in Party Mode) supposed to be on in Home mode? Yes, dim to setting
- Switch 3? No, turn off
- Switch 4? Yes, dim to setting
- Turn on Switch 2
- Is music supposed to be on from Party Mode? No, execute command to turn it off
Basically, I’m asking for logic checks to be added to mode changes. It is fairly straightforward, but I bet there are some potential pitfalls and I haven’t exactly envisioned the interface to this yet.
Also, we would need much more verbose logging and possibly my simulation mode I asked for in a previous feature request…