Blueprint for the MOES Scene Switch, ZigBee Wireless 12 Scene zigbee switch (found on Amazon). Didn’t see any blueprint created for it so thought I’d share my first successful blueprint.
Link to add blueprint directly to home assistant:
Important:
IMPORTANT NOTE: Change the Zigbee2MQTT action topic as follows: zigbee2mqtt/YOUR_MOES_SWITCH_ENTITY_NAME_HERE/action
This is because the automation will not work as it uses trigger IDs rather than the normal GUI selection to get around not being able to use multiple triggers normally.
Actions:
- Short press
- Double press
- Long press (5 seconds)
Instructions of use:
Copy and paste the code into your automation blueprint folder often found at /homeassistant/blueprints/automation/homeassistant/
This blueprint uses trigger ID so no need to map the trigger for each switch yourself, instead find the button u want eg switch 2 double press and ender the condition entities and the action entities and it works.
If anyone wants the GitHub code for it let me know and I’ll give it in the comments below as it only lets me post 1 link as a new user in a post.
Enjoy, happy to answer any questions or help if it doesn’t work as expected.