Open piitaya opened 3 years ago
Thanks for the info, @piitaya! I need to incorporate the latest websocket schema and see if something changed. Will aim to do that soon.
Thank's 🙂 Don't hesitate to ask me if you want advanced tests. 🙂
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug The last value of guard mode is not always updated. The previous value is displayed.
To Reproduce Change the mode in eufy app
HOME
, home assistant :HOME
AWAY
guard mode on eufy app :AWAY
, home assistant :HOME
DISARMED
guard mode on eufy app :DISARMED
, home assistant :AWAY
Most of the time, the N - 1 value is in home assistant state (not the last value).
Logs I added some debug logs and changing between some modes in eufy app :
select.py
(line 136) LOGGER.debug("_async_update_from_latest_data : station: %s, guard mode: %s", self._station.serial_number, state)__init__.py
(line 136) LOGGER.debug("Received event: %s", event)Additional context Works with 0.2.0 version of
eufy-security-ws
but not with0.3.2
and0.3.3
version. I have 2 stations, may be it can be linked ?