Skip to content

Commit

Permalink
Ignore the mistaken long_click event of the 86sw (Closes: home-assist…
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jun 3, 2018
1 parent 710533a commit 4ee00ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/binary_sensor/xiaomi_aqara.py
Expand Up @@ -330,6 +330,8 @@ def parse_data(self, data, raw_data):
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
Expand Down

0 comments on commit 4ee00ee

Please sign in to comment.