diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 26b9e588cf55..923759f77b50 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -125,8 +125,7 @@ class MqttBinarySensor(MqttEntity, BinarySensorEntity, RestoreEntity): ) async def async_will_remove_from_hass(self) -> None: - """Remove exprire triggers.""" - # Clean up expire triggers + """Clean up expire triggers.""" if self._expiration_trigger: _LOGGER.debug("Clean up expire after trigger for %s", self.entity_id) self._expiration_trigger() diff --git a/homeassistant/components/mqtt/entity.py b/homeassistant/components/mqtt/entity.py index e534a530f28c..d647e3bd84e2 100644 --- a/homeassistant/components/mqtt/entity.py +++ b/homeassistant/components/mqtt/entity.py @@ -1240,7 +1240,7 @@ class MqttDiscoveryUpdateMixin(Entity): super().add_to_platform_abort() async def async_will_remove_from_hass(self) -> None: - """Stop listening to signal and cleanup discovery data..""" + """Stop listening to signal and cleanup discovery data.""" self._cleanup_discovery_on_remove() def _cleanup_discovery_on_remove(self) -> None: