zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Automation using the TuYa SH-SC07 button does not work

Open Fierys opened this issue 2 years ago โ€ข 7 comments

What happened?

After updating Zigbee2MQTT from 1.35.1 to 1.35.2, automation using TuYa SH-SC07 buttons stopped working. Zigbee2MQTT has buttons, clicks are processed. I tried to rebind, HA restarted. After rolling back to Zigbee2MQTT 1.35.1 everything works fine. 2 buttons behave the same.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.35.2

Adapter firmware version

20210319

Adapter

dongle ะกC2652P. zStack3x0

Setup

HAOS on x86-64 hardware (NUC)

Debug log

No response

Fierys avatar Feb 01 '24 20:02 Fierys

Similarly my TS0041 automations have stopped working. I think this is related as both our devices should have actions of 'single', 'double' or 'hold'. Since this update mine is reporting '1_single', as per multi button devices. I'm not sure if this was an intentional breaking change, simple enough to fix my automations but without knowing if this'll be reverted I don't know if I should..!

Jonno12345 avatar Feb 02 '24 00:02 Jonno12345

Same here with Aqara WXKG11LM. Automatisation on "single action" for example (i didn't tried others) is not working anymore since update of Zigbee2MQTT to 1.35.2

coubi64 avatar Feb 02 '24 07:02 coubi64

Yes, I confirm, that the action state of the TuYa SH-SC07 button now has the prefix "1_"

1351-1352

Fierys avatar Feb 02 '24 07:02 Fierys

Same problem here. Most likely related to https://github.com/Koenkk/zigbee2mqtt/issues/21158

Chartreusito avatar Feb 02 '24 16:02 Chartreusito

Let's continue in https://github.com/Koenkk/zigbee2mqtt/issues/21158

Koenkk avatar Feb 03 '24 10:02 Koenkk

Folks,

I have the same exact trouble - problem is that when using "Device" as a trigger it no longer discovers "single", "double", etc. events on the list of the triggers... In my case just a battery state or button mode. It was working for some of my buttons for some time after upgrade and gradually all buttons gone! What is f... -> really annoying.

However - working workaround is to use "State" as trigger: image

Try it for yourself - watchout as action entity state names are case sensitive.

ps. I'm using Tuya Zigbee buttons via zigbee2mqtt

mysleinic avatar Feb 03 '24 12:02 mysleinic

@mysleinic please follow up in the linked issue

Chartreusito avatar Feb 03 '24 12:02 Chartreusito