I want save the current state of a lamp (Philips Hue) and re-apply it after some actions, is that possible?
Basically I want to brighten up a few lamps a few minutes and the switch them back to what ever state/config they had before. This triggers on a magnetic sensor and not time so there is no simple way of know the lamps previous state.
I asked a similar question recently. I was also guided toward Appdaemon (though it might be over my head). Another suggestion was to use the Rest API to add additional attributes to an existing item. You can kinda test this with the states tab of the dev tools. Though, I haven’t figured out a clean way to update the attribute this way.