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

recorder : homeassistant.components.sensor.recorder #117279

Open
RedSnakieS opened this issue May 12, 2024 · 0 comments
Open

recorder : homeassistant.components.sensor.recorder #117279

RedSnakieS opened this issue May 12, 2024 · 0 comments

Comments

@RedSnakieS
Copy link

The problem

Entity sensor.iot_plug_dc_rpi4ha_consumption from integration template has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.004 (0.0043) with last_updated set to 2024-05-11T23:14:53.762827+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22

What version of Home Assistant Core has the issue?

core-2024.5.3

What was the last working version of Home Assistant Core?

core-2024.5.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

sensor template

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

- name: "Prise DC RPi4HA Consommation"
       unique_id: iot_plug_dc_rpi4ha_consumption
       device_class: energy
       unit_of_measurement: "kWh"
       state_class: total_increasing
       icon: 'mdi:lightning-bolt'
       state:  >
         {{ states("sensor.iot_plug_dc_rpi4ha_power") | float(0) /1000 }}   
       attributes:
          last_reset: '{{ now().year }}-{{ now().month }}-{{ now().day }}T00:00:00+00:00'

Anything in the logs that might be useful for us?

Enregistreur: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:302
intégration: Capteur (documentation, problèmes)
S'est produit pour la première fois: 01:15:10 (1 occurrences)
Dernier enregistrement: 01:15:10

Entity sensor.iot_plug_dc_rpi4ha_consumption from integration template has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.004 (0.0043) with last_updated set to 2024-05-11T23:14:53.762827+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant