I have a custom entity named FanSpeed currently set to the value 3.0
If I inspect the state of this entity using Developer Tools --> STATES I get the expected result:
But if I try to retrieve this state value using a template, it fails. This is how it looks in Developer Tools --> TEMPLATE:
You can thank the developers for this confusion.
By some reason they believe we donāt need to see the entity names, even though entity names are used everywhere and especially in templates.
What you see as āfanspeedā is the friendly name, you need to get the entity name. Perhaps itās called sensor.fanspeed.
You can find it in the list below this set state window in the developer tools.
Ok, I see now - @Hellis81 is right, this was my friendly name. The true entity name is:
This brings med back to my actual problem; Iām trying to create a template to build a new string value from the combination: "speed_" + input_number.speed_value and at the same time converting the number value 3.0 to the string ā3ā so that the final result becomes āspeed_3ā