Open kuba-str opened 5 years ago
Try to downgrade PyXiaomiGateway to 0.10.0 and check if issue still happens.
In Home Assistant 0.78.1 everything works properly.
What is the PyXiaomiGateway version?
śr., 24 paź 2018, 17:08 użytkownik Paul Annekov notifications@github.com napisał:
Try to downgrade PyXiaomiGateway to 0.10.0 and check if issue still happens.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Danielhiversen/PyXiaomiGateway/issues/122#issuecomment-432697803, or mute the thread https://github.com/notifications/unsubscribe-auth/AqNeDWKhAsfK8C-GBc5cJ_D9-elsDGCeks5uoIJ_gaJpZM4XtKXF .
If you know how to make HA to use older version of this library - do it. If you don't - downgrade HA to 0.79.3.
I discovered that since version 0.80 of Home Assistant I have had problems with Xiaomi sensors. HA shows sensors as inaccessible, logs indicate:
2018-10-18 07:51:34 DEBUG (Thread-4) [xiaomi_gateway] MCAST (report) << {'cmd': report', 'model': magnet', 'sid': 158d0001f38d82', 'short_id': 46651, 'date': {"status": "open"}'}'} 2018-10-18 11:15:03 DEBUG (Thread-4) [xiaomi_gateway] MCAST (heartbeat) << {'cmd': heartbeat', 'model': magnet', 'sid': 158d0001f38d82', 'short_id': 46651, 'date': {"voltage":3195, "status": "close"}'}'} 2018-10-18 12:15:18 DEBUG (Thread-4) [xiaomi_gateway] MCAST (heartbeat) << {'cmd': heartbeat', 'model': magnet', 'sid': 158d0001f38d82', 'short_id': 46651, 'date': {"voltage":3195, "status": "close"}'}'}
The same happens with a few randomly taken buttons or sensors.