mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +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:
|
||||
return
|
||||
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()
|
||||
|
||||
@property
|
||||
|
@ -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.8.4']
|
||||
REQUIREMENTS = ['pyTibber==0.8.5']
|
||||
|
||||
DOMAIN = 'tibber'
|
||||
|
||||
|
@ -834,7 +834,7 @@ pyRFXtrx==0.23
|
||||
pySwitchmate==0.4.4
|
||||
|
||||
# homeassistant.components.tibber
|
||||
pyTibber==0.8.4
|
||||
pyTibber==0.8.5
|
||||
|
||||
# homeassistant.components.switch.dlink
|
||||
pyW215==0.6.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user