question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Current State NaN

See original GitHub issue

Hello! Love this card and appreciate the work on it. I have been using it well for some motion detectors I have around the house. I recently got an Aqara Door Sensor and got it all setup. I am trying to use this card to display the sate of the garage over time and having an issue. Just using the “Entity Card” I can see the current state. When I setup the device with the mini-graph card, the current state shows as NaN. That said, the graph appears to be working well.

image

type: 'custom:mini-graph-card'
name: Garage Door Sensor (12H)
icon: 'mdi:garage'
entities:
  - color: '#ffb347'
    entity: binary_sensor.garage_door_sensor
hours_to_show: 12
line_width: 2
update_interval: 30
points_per_hour: 12
smoothing: false
aggregate_func: max
state_map:
  - label: Closed
    value: Closed
  - label: Open
    value: Open

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Gio-dotcommented, Dec 14, 2020
0reactions
kalkihcommented, Dec 26, 2020

@rjhilgefort did you solve it? Otherwise see my answer in https://github.com/kalkih/mini-graph-card/issues/505 and let me know fi that helps.

Closing this in favor for https://github.com/kalkih/mini-graph-card/issues/505

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does NaN mean? - Flexera CMP Docs
NaN is short for Not a Number. NaN indicates that the monitoring system is not receiving any numeric data. There can be several...
Read more >
NaN - Wikipedia
In computing, NaN standing for Not a Number, is a member of a numeric data type that can be interpreted as a value...
Read more >
React State show as NaN
The problem I am facing is when I do this, when the app updates, the state is NaN for 1 second before becoming...
Read more >
Northeast Analysis Network - About NAN
The NAN conference series is a forum for researchers at all stages in their career (finishing graduate students; post-docs; tenured/tenure-track ...
Read more >
NaN, None and Experimental NA
Given their importance and frequent occurrence, we will begin by diving into the current state of the art, discuss their attributes, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found