Add a new click_type double_both to improve the support of the new Xiaomi aqara remote.b286acn01 dual switch. (#19578)

This commit is contained in:
Ted Sluis 2018-12-26 17:48:58 +01:00 committed by Sebastian Muszynski
parent 70fff26383
commit 54f6cfd569

View File

@ -409,6 +409,8 @@ class XiaomiButton(XiaomiBinarySensor):
click_type = 'double'
elif value == 'both_click':
click_type = 'both'
elif value == 'double_both_click':
click_type = 'double_both'
elif value == 'shake':
click_type = 'shake'
elif value == 'long_click':