Im trying to show the value of an mqtt message in lovelace. As far as i can tell i need to create a sensor entity. I have spent the entire day trying to figure this out and i cant seem to do it.
I have added this to my config.yaml
input_number:
slider:
name: Set Pool Temperature
min: 60
max: 95
step: 1
sensor:
- platform: mqtt
name: "Target Temperature"
state_topic: "poolcontrol/mem1"
This is not creating any entity that i can see. I look in developer tools/states and i cant find it.
I have also tried
This is how a payload looks like when you use </> prefromatted text
power1 = 1
mem1 = 88
mem2 = 95
doesn’t look quite right. Indentation is very important when using YAML. It’s not forgiving. Is mem1 the entry you are looking to turn into an entity? Show everything as it appears between the {stuff}