Update black to 23.1.0 (#87188)
This commit is contained in:
parent
f7666239ff
commit
5e81d28116
312 changed files with 299 additions and 475 deletions
|
@ -200,7 +200,6 @@ class MqttBinarySensor(MqttEntity, BinarySensorEntity, RestoreEntity):
|
|||
"""Handle a new received MQTT state message."""
|
||||
# auto-expire enabled?
|
||||
if self._expire_after:
|
||||
|
||||
# When expire_after is set, and we receive a message, assume device is
|
||||
# not expired since it has to be to receive the message
|
||||
self._expired = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue