Fix local_partial_types errors (#86410)

Fix local_partial_types errors
This commit is contained in:
Marc Mueller 2023-01-23 10:29:11 +01:00 committed by GitHub
parent bfc19c8cc3
commit 077ca97ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 12 deletions

View file

@ -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