Add new movement type "actively" of the Xiaomi Vibration Sensor (#24334)

This commit is contained in:
Sebastian Muszynski 2019-06-06 20:08:29 +02:00 committed by Daniel Høyer Iversen
parent 8f4bb8d445
commit 0eba920075

View File

@ -374,7 +374,7 @@ class XiaomiVibration(XiaomiBinarySensor):
if value is None:
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",
value)
return False