Hi,
This must be such a simple issue, but I have spent hours and I have not figured out why it does not work.
I basically installed ha-floorplan to display a floorplan of my house, and my intention is to shown the lights and values of the sensors I have. Right now I have two smart switches and several sensors (temperature, light, pressure, gas, motion, etc.)
I did the installation following their instructions https://experiencelovelace.github.io/ha-floorplan/docs/quick-start/
Then I copied their configuration files, replaced their .SVG by mine, and edited the config file from the embedded editor. I also followed this tutorial to edit my SVG floorplan to name the objects after the sensors I want to use.
The two switches work just fine. They appear in the map replacing the placeholder in the svg file. However, I can’t seem to display the temperature of a sensor. Instead, the placeholder text is still shown, and I can see the temperature if I hover over the text (see screenshot
). I thought I could show the value of the sensor withtext_template: '${entity.state"}'
, but that does not seems to be the case.
The sensor in HA is an entity called sensor.temp_dining. The information is received through MQTT. These are the contents of my configuration. https://pastebin.com/wM5YHL21
What I am doing wrong? What is the simplest way to show a sensor value on a floorplan?
I hope you can lend me a hand. If you need more information, just ask.