laszlojakab / homeassistant-easycontrols

Helios EasyControls Modbus TCP/IP integration for Home Assistant
MIT License
21 stars 12 forks source link

feat: raise ConfigEntryNotReady for connection error on startup #75

Closed laszlojakab closed 2 years ago

laszlojakab commented 2 years ago

Description

The integration should raise ConfigEntryNotReady in case of connection error during startup: https://developers.home-assistant.io/docs/integration_quality_scale_index?_highlight=configentrynotready#gold-

Related issue: https://github.com/laszlojakab/homeassistant-easycontrols/issues/66#issuecomment-1096564713

laszlojakab commented 2 years ago

@MrSimpa Could you please try this version of the integration: https://github.com/laszlojakab/homeassistant-easycontrols/tree/feat/raise-config-entry-not-ready ? Please let me know if it solves your initial TimeoutError problem.

MrSimpa commented 2 years ago

@MrSimpa Could you please try this version of the integration: https://github.com/laszlojakab/homeassistant-easycontrols/tree/feat/raise-config-entry-not-ready ? Please let me know if it solves your initial TimeoutError problem.

I just updated and for now all good. No ERROR and no Warning after restart. Thank you!

laszlojakab commented 2 years ago

Modification released in version 0.5.7