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

Commit

Permalink
Add ACTIONS_COVER
Browse files Browse the repository at this point in the history
  • Loading branch information
doudz committed Jan 22, 2019
1 parent 32832d5 commit 2da3a9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zigate/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,8 @@ def available_actions(self, endpoint_id=None):
actions[ep_id].append(ACTIONS_LEVEL)
if 0x0101 in endpoint['in_clusters']:
actions[ep_id].append(ACTIONS_LOCK)
if 0x0102 in endpoint['in_clusters']:
actions[ep_id].append(ACTIONS_COVER)
if 0x0300 in endpoint['in_clusters']:
# if endpoint['device'] in (0x0102, 0x0105):
if endpoint['device'] in (0x0105,):
Expand Down

0 comments on commit 2da3a9d

Please sign in to comment.