The update changes from the previous single, double and hold events to the now working “toggle” “off” and “on” events.
Also a link to the updated product page at 3rd Reality: Smart Button
Not sure how I make this a blueprint for import, or update the URL below - but this might work for people as the old blueprint did not work for me without these updates:
blueprint:
name: ZHA - THIRDREALITY Single Button Remote
description: Control things with THIRDREALITY Single Buton Remote
domain: automation
input:
remote:
name: Remote
description: THIRDREALITY remote to use
selector:
device:
integration: zha
manufacturer: Third Reality, Inc
model: 3RSB22BZ
multiple: false
button_single_click:
name: Button single-click
description: Action to perform on button single click
default: []
selector:
action: {}
button_double_click:
name: Button double-click
description: Action to perform on button double click
default: []
selector:
action: {}
button_hold:
name: Button hold
description: Action to perform on button hold
default: []
selector:
action: {}
source_url: https://community.home-assistant.io/t/zha-thirdreality-single-button-zigbee-remote-model-3rsb22bz/546977
mode: restart
max_exceeded: silent
trigger:
- platform: event
event_type: zha_event
event_data:
device_id: !input remote
action:
- variables:
command: '{{ trigger.event.data.command }}'
- choose:
- conditions:
- '{{ command == ''toggle'' }}'
sequence: !input button_single_click
- conditions:
- '{{ command == ''off'' }}'
sequence: !input button_double_click
- conditions:
- '{{ command == ''on'' }}'
sequence: !input button_hold
Thanks for contributing to the community with a new Blueprint.
I have a suggestion for you. Many people who are not familiar with directory structures will have problems installing this without the Home Assistant MY tools.
Adding a MY link for this Blueprint to your top post would help them a lot.
Here is the link to make that. Create a link – My Home Assistant
Read a few threads here.
Comment on a couple of things.
That and a day or 2 is all that’s needed to level up here and you will be able to.
Just add the link to another post until it lets you edit that again.
Purchased my switch from Amazon, July 22, 2025.
No quirks installed so it paired as is. I’m running ZHA.
I’m getting 2 toggle events less than 1 second apart so the light would toggle on then toggle off.
Per help from Grok I added a delay to debounce. It is working this way for just on and off control. As long as the zigbee network is running fine and I get the double events with the same timing. Probably not the best solution but it’s working for now.
Hi Phil.
Interesting. I have 2 of these, and my automations all work perfectly.
But I checked the logs, and your are right, there seems to be 2 events firing:
Third Reality, Inc 3RSB22BZ Toggle event was fired
4:26:10 PM - 2 minutes ago
Third Reality, Inc 3RSB22BZ Attribute Updated event was fired with arguments: {'attribute_id': 0, 'attribute_name': 'on_off', 'attribute_value': False, 'value': False}
4:26:10 PM - 2 minutes ago
Third Reality, Inc 3RSB22BZ Toggle event was fired
4:26:08 PM - 3 minutes ago
Third Reality, Inc 3RSB22BZ Attribute Updated event was fired with arguments: {'attribute_id': 0, 'attribute_name': 'on_off', 'attribute_value': True, 'value': True}
I wonder if the button recognised the press, then release as 2 states?
I’m not really a dev, I just made the original blueprint work.
It knows its a single press (on_off) but the “value” goes on, then off.
Not sure if that matters to the code which sees the “true” then fires the event.