Trying to get a handle on how people feel about these things. The “next state” is used to give an immediate feedback in the app that you are changing the switch. So if it’s on, it immediately changes to “Turning Off” and then once the switch actually processes the action and sends back the reply, the app will get updated to reflect the new state, which would be “Off”. It’s an aesthetic thing, really, and in my local testing it fills the gap of something around .8 seconds. With next state, I know something’s happening, etc. Without it, I don’t see my action “acknowledged” for almost a second. So my first question is - does that matter to anyone? Does anyone care for that nuance or is it kind of a “meh” thing, as long as the switch works?
The corollary to that is what if there was a preference in a switch handler to disable digital control of the switch? In other words, you couldn’t turn it on or off in the app, but if you physically went to the switch, it would still work. I guess the use case on this one is people using smart bulbs where they don’t want the power to ever get cut to the bulb. I really don’t understand this scenario, but I’m asking in general to get an idea. And, also, with this type of operation, if the next state isn’t disabled, it’s a bit of a mess.