Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data point not written in state field, when zero #876

Closed
akloeckner opened this issue Dec 1, 2022 · 2 comments
Closed

Data point not written in state field, when zero #876

akloeckner opened this issue Dec 1, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@akloeckner
Copy link
Collaborator

I just discovered that datapoints with 0 value are not written into the state field, when hovering over the data point.

Example:
image

The state field reads 18,9%. It should read 0%. The value 18.9 is the curent state of the primary entity (the actual temperature). And % is the unit of the data point currently hovered above (the opening of the thermostate valve).

Configuration for reference:

type: custom:mini-graph-card
entities:
  - entity: climate.eingang_thermostat
    attribute: current_temperature
    unit: °C
  - entity: climate.eingang_thermostat
    attribute: temperature
    unit: °C
  - entity: sensor.eingang_thermostat_level
    y_axis: secondary
    unit: '%'
hours_to_show: 24
points_per_hour: 2
aggregate_func: avg
hour24: true
decimals: 1
smoothing: true
show:
  graph: line
  labels: true
  labels_secondary: true
  legend: false
@ildar170975
Copy link
Collaborator

ildar170975 commented Dec 1, 2022

Duplicate #805

Exactly same: #805 (comment)

@ildar170975 ildar170975 added the duplicate This issue or pull request already exists label Dec 1, 2022
@akloeckner
Copy link
Collaborator Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants