Improve geniushub logging and bump client (#25359)
* add debug logging * bump geniushub client library * delint * bump again * bump again, again
This commit is contained in:
parent
68e7f4ca5a
commit
2228a0dcac
3 changed files with 9 additions and 2 deletions
|
@ -54,6 +54,9 @@ async def async_setup(hass, hass_config):
|
|||
exc_info=True)
|
||||
return False
|
||||
|
||||
_LOGGER.debug("zones_raw = %s", data._client.hub._zones_raw) # noqa; pylint: disable=protected-access
|
||||
_LOGGER.debug("devices_raw = %s", data._client.hub._devices_raw) # noqa; pylint: disable=protected-access
|
||||
|
||||
async_track_time_interval(hass, data.async_update, SCAN_INTERVAL)
|
||||
|
||||
for platform in ['climate', 'water_heater']:
|
||||
|
@ -84,4 +87,8 @@ class GeniusData:
|
|||
except AssertionError: # assert response.status == HTTP_OK
|
||||
_LOGGER.warning("Update failed.", exc_info=True)
|
||||
return
|
||||
|
||||
_LOGGER.debug("zones_raw = %s", self._client.hub._zones_raw) # noqa; pylint: disable=protected-access
|
||||
_LOGGER.debug("devices_raw = %s", self._client.hub._devices_raw) # noqa; pylint: disable=protected-access
|
||||
|
||||
async_dispatcher_send(self._hass, DOMAIN)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Genius Hub",
|
||||
"documentation": "https://www.home-assistant.io/components/geniushub",
|
||||
"requirements": [
|
||||
"geniushub-client==0.4.12"
|
||||
"geniushub-client==0.4.15"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": ["@zxdavb"]
|
||||
|
|
|
@ -505,7 +505,7 @@ gearbest_parser==1.0.7
|
|||
geizhals==0.0.9
|
||||
|
||||
# homeassistant.components.geniushub
|
||||
geniushub-client==0.4.12
|
||||
geniushub-client==0.4.15
|
||||
|
||||
# homeassistant.components.geo_json_events
|
||||
# homeassistant.components.nsw_rural_fire_service_feed
|
||||
|
|
Loading…
Add table
Reference in a new issue