mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
parent
40af9f2676
commit
e11e066684
@ -9,7 +9,6 @@ import logging
|
|||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.components.sensor import ENTITY_ID_FORMAT
|
|
||||||
from homeassistant.components.tahoma import (
|
from homeassistant.components.tahoma import (
|
||||||
DOMAIN as TAHOMA_DOMAIN, TahomaDevice)
|
DOMAIN as TAHOMA_DOMAIN, TahomaDevice)
|
||||||
|
|
||||||
@ -36,7 +35,6 @@ class TahomaSensor(TahomaDevice, Entity):
|
|||||||
"""Initialize the sensor."""
|
"""Initialize the sensor."""
|
||||||
self.current_value = None
|
self.current_value = None
|
||||||
super().__init__(tahoma_device, controller)
|
super().__init__(tahoma_device, controller)
|
||||||
self.entity_id = ENTITY_ID_FORMAT.format(self.unique_id)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def state(self):
|
def state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user