type hint

This commit is contained in:
root
2023-07-29 21:41:19 -05:00
parent bbc3e94a7e
commit c119765a38

View File

@@ -73,7 +73,7 @@ class MotionLight(Hass):
return timedelta()
@property
def entity_state(self):
def entity_state(self) -> bool:
return self.get_state(self.entity) == 'on'
@entity_state.setter