I’m not sure if this is still just the case of the Lovelace UI editor not being complete, or if I’ve really done something wrong?
The idea is that the sensor is a waterleak sensor, but it only has an ‘alert’ state, and doesn’t send an ‘dry’ message.
So when it alerts it will stay alerted, and then I could just click the icon in the UI to reset it.
Expected a value of type `{entity,name,icon} | entity-id` for `entities.5.tap_action` but received {"action":"call-service","service":"mqtt.publish","service_data":{"payload":"33C112OFF","qos":1,"topic":"tele/rfbridge/RESULT"}}`.
Other people have reported this same issue in the past:
Perhaps the Lovelace UI editor continues to be unable to handle this configuration because, based on comparisons with other examples, it appears to be correct.
You may have reached a level of complexity that requires you to change to Lovelace YAML mode whereupon you will be editing the configuration using a text editor and not via Home Assistant’s GUI.
I just monitored with mqttbox, and it sends the command as it should, both from the tap_action and from the service, it doesn’t work however that I send out an mqtt.publish, because I need HA to pick it up itself, to translate it, and it won’t do that as far as I can see.