Non-numeric sensor states not working
See original GitHub issueHey, I am trying to setup Non-numeric sensor states, but getting NaN no matter what sensor or state_map I use. Any idea why?
type: 'custom:mini-graph-card'
entities:
- entity: sensor.bedroom_motion
name: bedroom
- entity: sensor.hall_motion
name: hall
- entity: sensor.living_room_motion
name: living room
color: green
name: last hour
hours_to_show: 1
points_per_hour: 60
update_interval: 30
aggregate_func: max
line_width: 2
smoothing: false
state_map:
- value: 'False'
label: clear
- value: 'True'
label: motion
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Entity is non-numeric when state is 'unknown' using built in ...
When the sensor does start returning a numeric value for the state which the Gauge Card can display, it starts working again.
Read more >Lovelace UI gauge card non-numeric sensor error · Issue #2074
Description of problem: I use the Lovelace UI Gauge card to show the SMA solar current power. This sensor has a state in...
Read more >show sensors-other - IBM
The show sensors-other command provides the state of sensors that have true or false (nonnumeric) values. Which sensors the appliance provides depends on ......
Read more >WORK PRODUCT REPORT - Social Security
When the State technical team has a problem with the SCHIP-I connection or application, they should call the SSA National Help Desk at...
Read more >-C H A P T E R - Oracle Help Center
Environmental Sensor Properties. In the following tables, some fields can be filled with " -- " or be blank in the following circumstances:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kalkih Man that was it. Sorry I didn’t catch it. Thank you!!
Whoops, my bad, here: https://github.com/kalkih/mini-graph-card/issues/169. Can you try opening the browser developer console and check for any messages in there? Open the console then refresh the page which you are having the issue on.