mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
This commit is contained in:
committed by
GitHub
parent
6d26915c69
commit
bef15264b7
@@ -330,7 +330,7 @@ class XiaomiButton(XiaomiBinarySensor):
|
||||
click_type = 'both'
|
||||
elif value == 'shake':
|
||||
click_type = 'shake'
|
||||
elif value == 'long_click':
|
||||
elif value in ['long_click', 'long_both_click']:
|
||||
return False
|
||||
else:
|
||||
_LOGGER.warning("Unsupported click_type detected: %s", value)
|
||||
|
Reference in New Issue
Block a user