-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Home Assistant MQTT triggers #3033
Comments
Interesting, would it ne possible to create |
Will it also be possible to remove the "hack" to send two messages when receiving a click when HA is set to true?
|
+1 for eventually removing the hack... or making it an option |
@Kryzek no, it will provide the same functionality as the @FutureCow @sjorge good idea, you can now do this in the latest dev branch by setting in advanced:
homeassistant_legacy_triggers: false # Default = true as we don't want a breaking change This will:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Home Assistant 0.106 adds support for MQTT device triggers (link).
This allows to trigger on a device
action
orclick
without using the state change workaround onsensor_action
/sensor_click
(link).This has now been implemented in the latest Zigbee2mqtt dev branch.
To use it first trigger the event once on the device (e.g. press a button on your remote), Zigbee2mqtt will now discover the MQTT device trigger into Home Assistant.
After this you can e.g. use the Home Assistant automation editor to respond to this event.
Big thanks to @emontnemery for implementing this on the Home Assistant side.
The text was updated successfully, but these errors were encountered: