hassio-zigbee2mqtt icon indicating copy to clipboard operation
hassio-zigbee2mqtt copied to clipboard

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

Open Gooman-rus opened this issue 10 months ago • 2 comments
trafficstars

Description of the issue

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

  • https://www.zigbee2mqtt.io/devices/FreePad_LeTV_8.html
  • https://www.zigbee2mqtt.io/devices/DIYRuZ_FreePad.html

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 avatar Jan 07 '25 15:01 Gooman-rus

  • 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)

m0wlheld avatar Jan 07 '25 16:01 m0wlheld

  • 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.

Gooman-rus avatar Jan 07 '25 16:01 Gooman-rus

The wildcard exposes for this device are not currently supported.

mundschenk-at avatar Jan 21 '25 23:01 mundschenk-at

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Feb 21 '25 00:02 github-actions[bot]