hass-sidecar
hass-sidecar copied to clipboard
how to set a state
First of all thank you very much for the repo. I struggle quite hard to write more complex automations within yaml, and doing this in typescript is really great.
Right now I wan't to write an automation to save the state of a light enitity and later on restore that state. I can get the state with getState() but I can't find whats the correspondig method for setting a state.
Could someone give me a hint?