Danielhiversen / home_assistant_tibber_data

Display Tibber data sensors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mismatch between sensor state class and device class

frli4797 opened this issue · comments

Entity sensor.yearly_consumption_xxx (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Same issue as #56

commented

I guess this is the same issue :

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:506
Integration: Sensor (documentation, issues)
First occurred: 7:25:16 PM (6 occurrences)
Last logged: 7:25:16 PM

Entity sensor.daily_cost_with_subsidy_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.yearly_cost_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.yearly_consumption_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.monthly_consumption_compared_to_last_year_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.monthly_cost_with_subsidy_middelthunsgate_17c (<class 'custom_components.tibber_data.sensor.TibberDataSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.