Init template trigger binary sensor to None instead of False (#62769)

This commit is contained in:
Amos Yuen 2021-12-27 11:52:26 -08:00 committed by GitHub
parent 17fbfe2eed
commit 45ab9a3e33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -324,7 +324,7 @@ class TriggerBinarySensorEntity(TriggerEntity, BinarySensorEntity):
self._delay_cancel = None
self._auto_off_cancel = None
self._state = False
self._state = None
@property
def is_on(self) -> bool: