Skip to content

Update documentation and dev blog post with removal of STATE_CLASS_TOTAL and SensorEntity.last_reset#1028

Merged
balloob merged 6 commits intohome-assistant:masterfrom
emontnemery:total_increasing_reset_0
Aug 17, 2021
Merged

Update documentation and dev blog post with removal of STATE_CLASS_TOTAL and SensorEntity.last_reset#1028
balloob merged 6 commits intohome-assistant:masterfrom
emontnemery:total_increasing_reset_0

Conversation

@emontnemery
Copy link
Copy Markdown
Contributor

@emontnemery emontnemery commented Aug 17, 2021

Proposed change

Update documentation and dev blog post with removal of STATE_CLASS_TOTAL and SensorEntity.last_reset

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Changes to the backend of this documentation
  • Removed stale or deprecated documentation

Additional information

  • This PR fixes or closes issue: fixes #
  • Link to relevant existing code or pull request:

@emontnemery emontnemery changed the title Update documentation and dev blog post with removal of STATE_CLASS_TOTAL Update documentation and dev blog post with removal of STATE_CLASS_TOTAL and SensorEntity.last_reset Aug 17, 2021
There are now 3 defined state classes:
There are 2 defined state classes:

- `STATE_CLASS_MEASUREMENT`, the state represents a measurement in present time, for
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now it's the name of the constant that holds the value. Should this be the value itself?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

emontnemery and others added 4 commits August 17, 2021 21:25
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants