Is it possible to use a RF button as a trigger?
I have a Broadlink RM Pro setup which works great. I would really like to be able to use one of my RF remotes to trigger automations, scripts, scene’s, whatever.
This works fine if I “switch the switch” from the frontend:
- alias: 'Test automation' trigger: platform: state entity_id: switch.the_button state: 'on' action: service: media_player.play_media data: entity_id: media_player.home_group media_content_id: ##LINK_TO_MP3 media_content_type: 'audio/mp3'
However, the Broadlink does not tell HASS that a button has been pressed, if I press the button on the remote my Hass also doesn’t know that the switch state has been changed from “off” to “on” (or vice versa). Therefor I can’t use it as a trigger.
Does anyone know if this is possible at all?