Invalid event types for Hue tap (8718696743133) device #8631
Description
Since switching to version 2.0.0 and activating the 'Home Assistant experimental event entities' function, I get errors in Home Assistant and therefore cannot use the event types. With the old style mqtt trigger and listen to the topic the automations still work.
Logger: homeassistant.components.mqtt.event
Quelle: components/mqtt/event.py:173
Integration: MQTT (Dokumentation, Probleme)
Erstmals aufgetreten: 14. Januar 2025 um 05:18:06 (10 Vorkommnisse)
Zuletzt protokolliert: 06:22:52
Invalid event type press_1_and_2 for event.0x0000000000482097_action received on topic zigbee2mqtt/0x0000000000482097, payload {"event_type":"press_1_and_2"}
Invalid event type release_1_and_2 for event.0x0000000000482097_action received on topic zigbee2mqtt/0x0000000000482097, payload {"event_type":"release_1_and_2"}
Invalid event type press_3_and_4 for event.0x0000000000482097_action received on topic zigbee2mqtt/0x0000000000482097, payload {"event_type":"press_3_and_4"}
Invalid event type release_3_and_4 for event.0x0000000000482097_action received on topic zigbee2mqtt/0x0000000000482097, payload {"event_type":"release_3_and_4"}
I use the modules inside the Hue tap (labeled with enocean PTM 215Z) in light switches with double rockers. As soon as I hold down both buttons up or down, these errors occur.
In the code for the device philips.ts, I could see that the other possible states are missing in the expose part.
zigbee-herdsman-converters/src/devices/philips.ts
Line 3221 in 45fa046
Is it possible to add the other 4 states so that I can use the device to its full extent via the event function?
exposes: [e.action(['press_1', 'press_2', 'press_3', 'press_4', 'press_1_and_2', 'release_1_and_2', 'press_3_and_4', 'release_3_and_4'])],