Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #77 from doudz/dev
Browse files Browse the repository at this point in the history
Fix lumi.ctrl_neutral1
  • Loading branch information
doudz authored Jan 22, 2019
2 parents 3febb54 + 432947a commit 78ecf8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions zigate/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1960,9 +1960,6 @@ def available_actions(self, endpoint_id=None):
if endpoint:
if endpoint['device'] in ACTUATORS:
if 0x0006 in endpoint['in_clusters']:
# Oh please XIAOMI, respect the standard...
if ep_id != 1 and self.get_property_value('type') == 'lumi.ctrl_neutral1':
ep_id -= 1
actions[ep_id].append(ACTIONS_ONOFF)
if 0x0008 in endpoint['in_clusters'] and endpoint['device'] != 0x010a:
# except device 0x010a because Tradfri Outlet don't have level control
Expand Down
2 changes: 1 addition & 1 deletion zigate/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# file that was distributed with this source code.
#

__version__ = '0.26.0'
__version__ = '0.26.1'

0 comments on commit 78ecf8b

Please sign in to comment.