Skip to content

Added default "measurement" state_class#66

Merged
derolli1976 merged 1 commit into
mainfrom
64-state_class-attribute-für-langzeitstatistiken-hinzufügen
Oct 6, 2025

Hidden character warning

The head ref may contain hidden characters: "64-state_class-attribute-f\u00fcr-langzeitstatistiken-hinzuf\u00fcgen"
Merged

Added default "measurement" state_class#66
derolli1976 merged 1 commit into
mainfrom
64-state_class-attribute-für-langzeitstatistiken-hinzufügen

Conversation

@derolli1976
Copy link
Copy Markdown
Owner

Allow long term statistics.

Description

Added default "measurement" state_class to all numeric sensors.

Motivation and Context

Sensors missing "measurement" state_class do not show up in HA long term statistics

Screenshots (if appropriate):

Types of changes

  • [x ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@derolli1976 derolli1976 linked an issue Oct 6, 2025 that may be closed by this pull request
@derolli1976 derolli1976 merged commit a5a5c1c into main Oct 6, 2025
11 checks passed
@derolli1976 derolli1976 deleted the 64-state_class-attribute-für-langzeitstatistiken-hinzufügen branch October 6, 2025 12:04
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

Successfully merging this pull request may close these issues.

state_class attribute für Langzeitstatistiken hinzufügen

1 participant