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

New event entity not working with DIYRuZ FreePad (since v.2.0.0) #699

Open
Gooman-rus opened this issue Jan 7, 2025 · 2 comments
Open

Comments

@Gooman-rus
Copy link

Gooman-rus commented Jan 7, 2025

Description of the issue

New event sensor always shows "undefined" value in Homeassistant for these devices:

Event entity in HA:
image
image

z2m settings:
image

Addon version

v.2.0.0-1

Platform

Core: 2025.1.0
Supervisor: 2024.12.3
UI: 20250103.0
OS: Debian Bookworm (HA supervised)

Logs of the issue (if applicable)

Log from z2m when I click the first button of freepad with 20 buttons:

info 2025-01-07 18:04:43z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Freepad_20', payload '{"action":"button_1_single","battery":87,"linkquality":94,"switch_actions_button_1":null,"switch_actions_button_10":null,"switch_actions_button_11":null,"switch_actions_button_12":null,"switch_actions_button_13":null,"switch_actions_button_14":null,"switch_actions_button_15":null,"switch_actions_button_16":null,"switch_actions_button_17":null,"switch_actions_button_18":null,"switch_actions_button_19":null,"switch_actions_button_2":null,"switch_actions_button_20":null,"switch_actions_button_3":null,"switch_actions_button_4":null,"switch_actions_button_5":null,"switch_actions_button_6":null,"switch_actions_button_7":null,"switch_actions_button_8":null,"switch_actions_button_9":null,"switch_type_button_1":null,"switch_type_button_10":null,"switch_type_button_11":null,"switch_type_button_12":null,"switch_type_button_13":null,"switch_type_button_14":null,"switch_type_button_15":null,"switch_type_button_16":null,"switch_type_button_17":null,"switch_type_button_18":null,"switch_type_button_19":null,"switch_type_button_2":null,"switch_type_button_20":null,"switch_type_button_3":null,"switch_type_button_4":null,"switch_type_button_5":null,"switch_type_button_6":null,"switch_type_button_7":null,"switch_type_button_8":null,"switch_type_button_9":null,"voltage":3000}'

There is an action attribute with the value button_1_single.

Warning logs from Homeassistant:

Invalid event type button_9_single for event.freepad_20_action received on topic zigbee2mqtt/Freepad_20, payload {"event_type":"button_9_single"}
Invalid event type arm_day_zones for event.heiman_1_action received on topic zigbee2mqtt/HEIMAN_1, payload {"event_type":"arm_day_zones"}
Invalid event type button_5_single for event.freepad_letv_action received on topic zigbee2mqtt/Freepad_letv, payload {"event_type":"button_5_single"}
Invalid event type button_1_single for event.freepad_20_action received on topic zigbee2mqtt/Freepad_20, payload {"event_type":"button_1_single"}
Invalid event type button_4_single for event.freepad_20_action received on topic zigbee2mqtt/Freepad_20, payload {"event_type":"button_4_single"}`

image

@Gooman-rus Gooman-rus changed the title New event sensor not working with freepad New event entity not working with freepad Jan 7, 2025
@Gooman-rus Gooman-rus changed the title New event entity not working with freepad New event entity not working with DIYRuZ FreePad Jan 7, 2025
@Gooman-rus Gooman-rus changed the title New event entity not working with DIYRuZ FreePad New event entity not working with DIYRuZ FreePad (since v.2.0.0) Jan 7, 2025
@m0wlheld
Copy link
Contributor

m0wlheld commented Jan 7, 2025

  • 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

(Source: Zigbee2MQTT breaking changes, referenced at the top of the Zigbee2MQTT release notes)

@Gooman-rus
Copy link
Author

  • 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

(Source: Zigbee2MQTT breaking changes, referenced at the top of the Zigbee2MQTT release notes)

Legacy action sensor is working for FreePads. But new event entity always has undefined value for these devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants