Hi All,
I have try to do a new sensor in HA to convert coordinates, the configuration is valid but the Sensor state is always unavailable .Could you please help me
this is the code
First, please edit your post and begin the code section with three backquotes (```) on a blank line and end the code section with matching three backquotes on a blank line…
Thanks!
PS. you can imbed inline code by surrounding it with single backquotes. I like to do it for ‘code’ items I am referencing in my text like switch.bedroom_lights, etc.
Also, it’s usually best to start a new topic if you cannot find an exact answer, rather than piggybacking on someone else’s post, unless it is strongly related to, or the topic you’re piggybacking on is very general in nature like Alexa Actionable Notifications or Magic Areas, etc… IMO, this should be it’s own post, just my opinion…
fedesat is using the legacy template sensor format, which uses value_template not state. Adding state to the configuration will not fix anything unless they change everything else as well.
Please post your solution so others in future may reference when reading!
I hate when I have read 27 pages of a post and it ends with I figured it out…
???