parent
bfc19c8cc3
commit
077ca97ef8
9 changed files with 11 additions and 12 deletions
|
@ -154,7 +154,7 @@ class MqttSensor(MqttEntity, RestoreSensor):
|
|||
"""Representation of a sensor that can be updated using MQTT."""
|
||||
|
||||
_entity_id_format = ENTITY_ID_FORMAT
|
||||
_attr_last_reset = None
|
||||
_attr_last_reset: datetime | None = None
|
||||
_attributes_extra_blocked = MQTT_SENSOR_ATTRIBUTES_BLOCKED
|
||||
_expire_after: int | None
|
||||
_expired: bool | None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue