mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
This commit is contained in:
parent
12e679c14d
commit
1ac3f0da63
@ -330,6 +330,8 @@ class XiaomiButton(XiaomiBinarySensor):
|
||||
click_type = 'both'
|
||||
elif value == 'shake':
|
||||
click_type = 'shake'
|
||||
elif value == 'long_click':
|
||||
return False
|
||||
else:
|
||||
_LOGGER.warning("Unsupported click_type detected: %s", value)
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user