I have a doorbell which sends the string ‘ding’ over MQTT whenever the doorbell is depressed. I would like to simply display this with a Lovelace History-graph so that I can begin to understand when the doorbell is being pressed. <my use case is actually a road alarm that monitors my 3/4 mile long driveway and warns me when undesirables might be approaching>
The doorbell is defined as:
- platform: mqtt
Can I convert the MQTT text ‘ding’ into a new sensor value?