mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add new movement type "actively" of the Xiaomi Vibration Sensor (#24334)
This commit is contained in:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user