mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Add new movement type "actively" of the Xiaomi Vibration Sensor (#24334)
This commit is contained in:
committed by
Daniel Høyer Iversen
parent
8f4bb8d445
commit
0eba920075
@@ -374,7 +374,7 @@ class XiaomiVibration(XiaomiBinarySensor):
|
|||||||
if value is None:
|
if value is None:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if value not in ('vibrate', 'tilt', 'free_fall'):
|
if value not in ('vibrate', 'tilt', 'free_fall', 'actively'):
|
||||||
_LOGGER.warning("Unsupported movement_type detected: %s",
|
_LOGGER.warning("Unsupported movement_type detected: %s",
|
||||||
value)
|
value)
|
||||||
return False
|
return False
|
||||||
|
Reference in New Issue
Block a user