Danielhiversen / PyXiaomiGateway

PyXiaomiGateway
MIT License
152 stars 55 forks source link

Change Light Migateway to unavailable when migate cannot be reached #168

Closed tyjtyj closed 4 years ago

tyjtyj commented 4 years ago

Home Assistant release with the issue (if applicable):

108.5 Last working Home Assistant release (if known): Never. Possible feature request

PyXiaomiGateway library version (if known):

Operating environment (Hass.io/Docker/Windows/etc.): Venv

Traceback (if applicable):

ERROR (SyncWorker_12) [xiaomi_gateway] Cannot connect to Gateway

Description of the bug:

Request to change light.migateway to unavailable when Hass failed to connect to mi gateway This way to monitor/track mi gateway has disconnected from home assistant. Can be use to trigger alarm or restart router etc.

PaulAnnekov commented 4 years ago

This should go to HA repo. Please, close this issue.

tyjtyj commented 4 years ago

Mind point out where should I open this case ?

PaulAnnekov commented 4 years ago

https://github.com/home-assistant/core/issues

tyjtyj commented 4 years ago

Thanks