Hey Guys -
Aside from my other devices, I recently set up a Raspberry Pi Zero /w RF hardware which I programmed to send RF signals to control devices (replicating factory remote) in my office. I set it up to monitor an MQTT topic so that it will signal whatever matches the payload.
Example: Publishing the payload “fanlight” to the topic “/office/ceilingfan” turns the ceiling fan’s light on.
Unfortunately, I cannot find a way to get Home Assistant to add a button in a dashboard which would allow publishing to MQTT in this manner. I looked at creating an Automation where I could set triggers to monitor for MQTT, but the only option that exists for Actions is to publish via MQTT Service which doesn’t allow a custom payload.
Any suggestions on the best way to implement this?
Thanks