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
Companion's Next Alarm sensor doesnt restore its state after Core restart #77106
Comments
mobile_app documentation |
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( |
@frenck @balloob @emontnemery |
Same issue here.
Until I open the alarm app and disable/enable an alarm, setting the state and bringing the attributes back to normal. |
This is also happening for me, and with the Last Reboot sensor as well. It seems that restoring a timestamp is not working for the companion app. |
Looks like in 2022.9.2 is ok. |
The problem
Seems like after PR #76886 I get new bug by using Core 2022.8.6.
Next Alarm sensor of Android HA Companion doesn't restore its state after HA Core restart and becomes 'unavailable' with this error in log:
I tried several Companion versions (include last beta) and several Alarm app packages from GPlay.
Everytime after HA restart I need to toggle alarm in my phone, then sensor.*_next_alarm will show datetime and will work for all next alarms.
Now It difficult to use this sensor for automations, because it 'unavailable' till state is change (missing first potential 'fire' of automation after Core restart).
Next Alarm sensor with HA Core 2022.8.5 works perfectly.
Previously I described issue here:
home-assistant/android#2811
but seems its not a companion's problem.
What version of Home Assistant Core has the issue?
2022.8.6
What was the last working version of Home Assistant Core?
2022.8.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
sensor, mobile_app
The text was updated successfully, but these errors were encountered: