-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: 'switch on with the last configuration' #164
Comments
Maybe with an automation, try to work on it! 😉 |
too much advanced for me at the moment, no idea where to start. Any suggestion? |
I think you should store the last status that you want to restore in a template sensor, probably, and then use an automation to store and restore it. |
You can easily use a snapshot of the climate entity. Have a look at a blueprint by raffy-ops: https://gist.github.com/raffy-ops/2bdf967036d8d274fb1f62572ed5e545 Then it is as simple as importing that blueprint, creating a helper binary value and using that as the pause trigger. To toggle, you simply add that binary helper as a button in your dashboard! To make it a bit more fancy/reliable, set the climate state as the actual state for the button so you will actually see the status of the aircon change a few seconds after you push the button. Be aware, since the blueprint uses a standard snapshot name, if you have multiple aircons, you have to copy the blueprint yaml, change the name for the snapshot both in line 84 (save name) and 101 (reload). |
Hi there,
This will be useful in case someone (like me) want to integrate it in the simplest possible way to a dashboard. Moreover, it can be used in an 'Entities' card in the dashboard to turn on/off all the desired devices with a single action.
Is this feasible?
The text was updated successfully, but these errors were encountered: