Hey Folks.
This blueprint will allow you to control anything with an **IKEA STYRBAR REMOTE ** (On/Off, dimming, left + right ) via ZHA or Zigbee2MQTT.
How-to
This blueprint provides multiple ways to trigger any chain of actions:
- Press “on”/“off”/“left”/“right” button
- Double press “on”/“off”/“left”/“right” button - These virtual events are disabled by default. When enabled (with related Expose option), there will be a slight delay (corresponding to the Helper - Double press delay value) on the single press action(s)
- Hold “on”/“off”/“left”/“right” button
- Left/Right only triggers after longer wait time.
Nota Bene
This blueprint is using single mode on purpose: to avoid double press actions triggering both single AND double press events.
As a consequence, buttons release event is not exposed as it’s used to cancel the hold action(s)
Blueprint
Click the badge to import this Blueprint requires Home Assistant Core 2021.3 or higher
Check the code
Code is now available on this gist .
Changelog
v1.0
- First version of this blueprint