mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
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
7f5607c918
commit
97a13bdcd4
@ -54,6 +54,9 @@ async def async_setup(hass, hass_config):
|
|||||||
exc_info=True)
|
exc_info=True)
|
||||||
return False
|
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)
|
async_track_time_interval(hass, data.async_update, SCAN_INTERVAL)
|
||||||
|
|
||||||
for platform in ['climate', 'water_heater']:
|
for platform in ['climate', 'water_heater']:
|
||||||
@ -84,4 +87,8 @@ class GeniusData:
|
|||||||
except AssertionError: # assert response.status == HTTP_OK
|
except AssertionError: # assert response.status == HTTP_OK
|
||||||
_LOGGER.warning("Update failed.", exc_info=True)
|
_LOGGER.warning("Update failed.", exc_info=True)
|
||||||
return
|
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)
|
async_dispatcher_send(self._hass, DOMAIN)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "Genius Hub",
|
"name": "Genius Hub",
|
||||||
"documentation": "https://www.home-assistant.io/components/geniushub",
|
"documentation": "https://www.home-assistant.io/components/geniushub",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"geniushub-client==0.4.12"
|
"geniushub-client==0.4.15"
|
||||||
],
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": ["@zxdavb"]
|
"codeowners": ["@zxdavb"]
|
||||||
|
@ -511,7 +511,7 @@ gearbest_parser==1.0.7
|
|||||||
geizhals==0.0.9
|
geizhals==0.0.9
|
||||||
|
|
||||||
# homeassistant.components.geniushub
|
# homeassistant.components.geniushub
|
||||||
geniushub-client==0.4.12
|
geniushub-client==0.4.15
|
||||||
|
|
||||||
# homeassistant.components.geo_json_events
|
# homeassistant.components.geo_json_events
|
||||||
# homeassistant.components.nsw_rural_fire_service_feed
|
# homeassistant.components.nsw_rural_fire_service_feed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user