mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
parent
46b5b6240f
commit
3366d2c1ad
@ -16,7 +16,7 @@ from homeassistant.const import (EVENT_HOMEASSISTANT_STOP, CONF_ACCESS_TOKEN,
|
||||
from homeassistant.helpers import discovery
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
REQUIREMENTS = ['pyTibber==0.7.2']
|
||||
REQUIREMENTS = ['pyTibber==0.7.4']
|
||||
|
||||
DOMAIN = 'tibber'
|
||||
|
||||
@ -47,6 +47,9 @@ async def async_setup(hass, config):
|
||||
await tibber_connection.update_info()
|
||||
except (asyncio.TimeoutError, aiohttp.ClientError):
|
||||
return False
|
||||
except tibber.InvalidLogin as exp:
|
||||
_LOGGER.error("Failed to login. %s", exp)
|
||||
return False
|
||||
|
||||
for component in ['sensor', 'notify']:
|
||||
discovery.load_platform(hass, component, DOMAIN,
|
||||
|
@ -800,7 +800,7 @@ pyRFXtrx==0.23
|
||||
pySwitchmate==0.4.2
|
||||
|
||||
# homeassistant.components.tibber
|
||||
pyTibber==0.7.2
|
||||
pyTibber==0.7.4
|
||||
|
||||
# homeassistant.components.switch.dlink
|
||||
pyW215==0.6.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user