home-assistant / home-assistant/core

Error in logs

Open
#181,998 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
90.5k
Forks
38.6k
Avg merge
1d 2h
Merged PRs (30d)
597

Description

### The problem

Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:437
Integration: Sensor (documentation, issues)
First occurred: 6:39:19 PM (1 occurrence)
Last logged: 6:39:19 PM

Entity sensor.stored_energy_total from integration template has state class total_increasing, but its state is not strictly increasing. Triggered by state 8.035144 (previous state: 8.036187) with last_updated set to 2026-09-11T22:30:06.770017+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-2026.9.1

### What was the last working version of Home Assistant Core?

_No response_

### What type of installation are you running?

Home Assistant OS

### Integration causing the issue

template sensor

### Link to integration documentation on our website

_No response_

### Diagnostics information

_No response_

### Example YAML snippet

```yaml

```

### Anything in the logs that might be useful for us?

```txt

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with components/sensor/recorder.py:437 and trace the validation for the logged template-sensor state transition from 8.036187 to 8.035144. The report provides no YAML, diagnostics, or reproduction steps, so first determine whether this transition reflects a recorder bug or an invalid total_increasing state; done means establishing the cause and the expected logging behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.