Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IKEA E1812 - TRADFRI shortcut button stopped working #25505

Closed
ojkippen opened this issue Jan 4, 2025 · 8 comments
Closed

IKEA E1812 - TRADFRI shortcut button stopped working #25505

ojkippen opened this issue Jan 4, 2025 · 8 comments
Labels
problem Something isn't working

Comments

@ojkippen
Copy link

ojkippen commented Jan 4, 2025

What happened?

IKEA E1812 - TRADFRI shortcut button stopped working after upgrade to 2.0.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

Forcing leave and then join doesn't fix the problem. Join fails.

Zigbee2MQTT version

2.0.0

Adapter firmware version

6.10.3.0 build 297

Adapter

EZSP v8

Setup

With Homeassitant 2025.1

Debug log

No response

@ojkippen ojkippen added the problem Something isn't working label Jan 4, 2025
@alvoram
Copy link

alvoram commented Jan 4, 2025

Go to the "Home Assistant" tab of the Zigbee2Mqtt settings page, and enable "Home Assistant legacy action sensors"

Zigbee2MQTT > Pres Cog At Top > Settings > Home Assistant Tab > Enable "Home Assistant legacy action sensors"

@ojkippen
Copy link
Author

ojkippen commented Jan 4, 2025

That helped. Working again. Thanks

@alvoram
Copy link

alvoram commented Jan 4, 2025

You're welcome. I had same issue, and saw the answer elsewhere, but it seems so many people are having this issue that the people are struggling to keep up with responding, so thought I'd help a little.

For anybody else having a similar issue, the .action sensor has been deprecated, in the long term, you need to change all of your automations to use instead the MQTT device trigger, but for now, to keep things working, you can just enable .action again using the legacy setting mentioned above.

https://www.zigbee2mqtt.io/guide/usage/integrations/home_assistant.html#via-home-assistant-action-sensor-deprecated

@Rabiat1963
Copy link

@alvoram This also brought back the action button on an Ikea and an Aqara push button. Saved me a lot!

@alvoram
Copy link

alvoram commented Jan 4, 2025

@Rabiat1963 Awesome

It works on the sonoff devices that previously used .action too, it bought my Sonoff SNZB-01P buttons back to life.

I 'think' it will work on anything that is missing .action since the update.

@thomasaarholt
Copy link

in the long term, you need to change all of your automations to use instead the MQTT device trigger

@alvoram could you expand on what that means for e.g. an ikea switch? I spent a day without functioning light switches (which was not great for my partner 😅), so am hesitant to try Z2M again without a clear path forward. I’d really appreciate any help!

@Koenkk
Copy link
Owner

Koenkk commented Jan 5, 2025

This is one of the Zigbee2MQTT 2.0.0 breaking changes, from #24198

  • All action sensors are now disabled by default (sensor.*_action entities). It's recommended to use the MQTT device trigger instead. In case you really need the action sensors, add the following to your configuration.yaml.
    homeassistant:
      legacy_action_sensor: true

@Koenkk Koenkk closed this as completed Jan 5, 2025
@alvoram
Copy link

alvoram commented Jan 5, 2025

@thomasaarholt I'm no expert, like I said up top, I'm just re-sharing what I'd seen elsewhere. But I think it just means you need to change the triggers used in each automation from the button .action trigger to the MQTT device trigger. @Koenkk has shared the correct resource, but here it is again... https://www.zigbee2mqtt.io/guide/usage/integrations/home_assistant.html#via-mqtt-device-trigger-recommended

I haven't done it myself yet, but I did notice that the guide seems to imply you need to physically press all of the buttons on your device for MQTT to discover and expose them under mqtt device triggers.

Also, I'm not sure how this is going to affect the Styrbar blueprint I use, I 'think' it breaks it, and I'll need to either find another blueprint, or just create my own automation for each remote.

When I get around to actually trying it myself, I'll report back, but for now I'm just going to use 'Legacy' until I'm forced to change, as it's working well, and changing seems like a hell of a lot of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants