mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add support for more Tibber Pulse data (#19033)
This commit is contained in:
parent
72379c166e
commit
d4c8024522
@ -191,7 +191,11 @@ class TibberSensorRT(Entity):
|
|||||||
if live_measurement is None:
|
if live_measurement is None:
|
||||||
return
|
return
|
||||||
self._state = live_measurement.pop('power', None)
|
self._state = live_measurement.pop('power', None)
|
||||||
self._device_state_attributes = live_measurement
|
for key, value in live_measurement.items():
|
||||||
|
if value is None:
|
||||||
|
continue
|
||||||
|
self._device_state_attributes[key] = value
|
||||||
|
|
||||||
self.async_schedule_update_ha_state()
|
self.async_schedule_update_ha_state()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -16,7 +16,7 @@ from homeassistant.const import (EVENT_HOMEASSISTANT_STOP, CONF_ACCESS_TOKEN,
|
|||||||
from homeassistant.helpers import discovery
|
from homeassistant.helpers import discovery
|
||||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||||
|
|
||||||
REQUIREMENTS = ['pyTibber==0.8.4']
|
REQUIREMENTS = ['pyTibber==0.8.5']
|
||||||
|
|
||||||
DOMAIN = 'tibber'
|
DOMAIN = 'tibber'
|
||||||
|
|
||||||
|
@ -834,7 +834,7 @@ pyRFXtrx==0.23
|
|||||||
pySwitchmate==0.4.4
|
pySwitchmate==0.4.4
|
||||||
|
|
||||||
# homeassistant.components.tibber
|
# homeassistant.components.tibber
|
||||||
pyTibber==0.8.4
|
pyTibber==0.8.5
|
||||||
|
|
||||||
# homeassistant.components.switch.dlink
|
# homeassistant.components.switch.dlink
|
||||||
pyW215==0.6.0
|
pyW215==0.6.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user