mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Remove unneeded boolean conversion from senseme (#63783)
This commit is contained in:
@@ -38,4 +38,4 @@ class HASensemeOccupancySensor(SensemeEntity, BinarySensorEntity):
|
||||
@callback
|
||||
def _async_update_attrs(self) -> None:
|
||||
"""Update attrs from device."""
|
||||
self._attr_is_on = bool(self._device.motion_detected)
|
||||
self._attr_is_on = self._device.motion_detected
|
||||
|
Reference in New Issue
Block a user