mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Remove unneeded boolean conversion from senseme (#63783)
This commit is contained in:
parent
56c577c832
commit
003a1e87a7
@ -38,4 +38,4 @@ class HASensemeOccupancySensor(SensemeEntity, BinarySensorEntity):
|
|||||||
@callback
|
@callback
|
||||||
def _async_update_attrs(self) -> None:
|
def _async_update_attrs(self) -> None:
|
||||||
"""Update attrs from device."""
|
"""Update attrs from device."""
|
||||||
self._attr_is_on = bool(self._device.motion_detected)
|
self._attr_is_on = self._device.motion_detected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user