Skip to content

Commit

Permalink
Added ZHA IKEA shortcut button E1812 (#200)
Browse files Browse the repository at this point in the history
Basing on Styrbar definition. Used Developer Tools -> Events to listen
to 'zha_event' events.
  • Loading branch information
hrw authored Dec 16, 2023
1 parent 6fa737f commit d44ff7e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions custom_components/switch_manager/blueprints/zha-ikea-e1812.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Ikea Shortcut E1812
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
- actions:
- title: press
conditions:
- key: command
value: "on"
- key: cluster_id
value: 6
- key: endpoint_id
value: 1
- title: press 2x
conditions:
- key: command
value: "off"
- key: cluster_id
value: 6
- key: endpoint_id
value: 1
- title: hold
conditions:
- key: command
value: "move_with_on_off"
- key: cluster_id
value: 8
- key: endpoint_id
value: 1
- title: hold (released)
conditions:
- key: command
value: "stop_with_on_off"
- key: cluster_id
value: 8
- key: endpoint_id
value: 1

0 comments on commit d44ff7e

Please sign in to comment.