-
Notifications
You must be signed in to change notification settings - Fork 8
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
Future Request: Restore last status after restarting HA. #63
Comments
Hello @LHBL2003, first of all thanks for reporting so many and good feature ideas!!! I've managed to implement it for sensors like temperature sensors but unfortunately not for binary sensors/switches like lights. I managed HA to remember the latest state and I can read and set it but I'm not able to trigger HA so that it displays its current state. :-( Unfortunately I also found no docs about it and just checked the HA code.
Here you see values are fitting. I received the latest state and set it to the entity. Looks all perfect: |
after hours of searching the bug I almost removed the last piece of code I took over from the beginning. IT WORKS NOW! But now I need time to test it properly. The changes have big potential to break a lot of things. |
Hello @LHBL2003, state restore feature is implemented and released in v1.3.7. Unfortunately, I had to implemented a translation of the generic stored state to the settings of all specific devices. From my understanding HA could have implemented a default translation for every device type. So far I was only able to implement the use cases for the device I own. Actually that should currently cover all supported devices in this integration. Let me know if this is good for you to be closed. |
Hello @grimmpp, At first I almost had a heart attack because everything was no longer accessible. But for some reason a lot of entity IDs were created with _2. See picture. But I was able to fix that by deleting the ELTAKO HUB and recreating everything ;) But it works really well. After the first start, everything is displayed as Unknown. After the first click, it is defined as OFF. After the second click, the light comes on. It also works great with the blinds. So it works with FSR14SSR, FSR14-4x, FSB14/12-24V, FSB14 Thank you very much, this enriches the Eltako module soooooooooooooooo much. |
After restarting HA, the correct status is not displayed.
Yes, the status could have been changed by a button during the restart. However, the probability is much lower than that everything is supposedly off. It would be good if the status before the restart is restored. It would be good if the status could be restored.
Before restart:
After restart
The text was updated successfully, but these errors were encountered: