mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Tibber use appNickname as name (#13231)
This commit is contained in:
parent
646ed5de52
commit
5c434f143e
@ -61,7 +61,8 @@ class TibberSensor(Entity):
|
||||
self._state = None
|
||||
self._device_state_attributes = {}
|
||||
self._unit_of_measurement = self._tibber_home.price_unit
|
||||
self._name = 'Electricity price {}'.format(tibber_home.address1)
|
||||
self._name = 'Electricity price {}'.format(tibber_home.info['viewer']
|
||||
['home']['appNickname'])
|
||||
|
||||
async def async_update(self):
|
||||
"""Get the latest data and updates the states."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user