Skip to content

Change state_class to TOTAL_INCREASING for sensors#264

Open
Swamp-Ig wants to merge 1 commit into
CharlesGillanders:mainfrom
Swamp-Ig:patch-1
Open

Change state_class to TOTAL_INCREASING for sensors#264
Swamp-Ig wants to merge 1 commit into
CharlesGillanders:mainfrom
Swamp-Ig:patch-1

Conversation

@Swamp-Ig

Copy link
Copy Markdown

As per #263

Fixed daily sensors to total_increasing so they can be used in the energy dashboard.

Probs not quite ready to merge, I will test this overnight...

@Poshy163

Copy link
Copy Markdown
Collaborator

Will double check this is right when I get home

I may have set it to be that for a while ago for a specific reason, but that might have changed recently in recently HA versions,

All the info related to it is here

https://developers.home-assistant.io/docs/core/entity/sensor/

@Swamp-Ig

Copy link
Copy Markdown
Author
image

From the HA docs, looks like total_increasing is the right call. I will test it overnight however see how we go

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.

2 participants