Comments (5)
I'm looking into this - for the moment it should be safe to just ignore this
from ha-hildebrandglow-dcc.
i would like to mention that i got a similar issue
Logger: homeassistant.components.sensor
Source: components/sensor/init.py:503
Integration: Sensor (documentation, issues)
First occurred: 17:37:02 (1 occurrences)
Last logged: 17:37:02
Entity sensor.dcc_sourced_smart_electricity_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
from ha-hildebrandglow-dcc.
Yes also seeing this as soon as I updated to Home Assistant 2023.2:
Entity sensor.electric_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using
from ha-hildebrandglow-dcc.
I manage to fix the warning my changing
_attr_state_class = SensorStateClass.TOTAL_INCREASING
to
_attr_state_class = SensorStateClass.TOTAL
Code where I changed it
class Cost(SensorEntity):
"""Sensor usage for daily cost."""
_attr_device_class = SensorDeviceClass.MONETARY
_attr_has_entity_name = True
_attr_name = "Cost (today)"
_attr_native_unit_of_measurement = "GBP"
_attr_state_class = SensorStateClass.TOTAL
_attr_state_class = SensorStateClass.TOTAL
_attr_last_reset = None # setting this value when we get reading
from ha-hildebrandglow-dcc.
Related Issues (20)
- State class for tariff standing & rate sensors are not set HOT 2
- Runtime error. HOT 1
- Daily data reset issue? HOT 20
- hildebrandglow-dcc fails to start on HA HOT 1
- HA 2023.1 - gas consumption sensor can't be added to the energy dashboard HOT 1
- Data appears incomplete when compared to other DCC fed sources. HOT 61
- Data missing every day HOT 1
- Not getting data for the DCC Sourced smart gas meter Usage (today) HOT 40
- Can't add integration HOT 4
- Data in Bright and HA not the same HOT 1
- Update from Owner Please HOT 5
- Can't add repository https://github.com/HandyHat/ha-hildebrandglow-dcc HOT 3
- sensor state class 'total_increasing' is invalid for 'monetary' values HOT 1
- No gas usage since 28th March HOT 23
- Is this integration working at all these days for anyone. HOT 19
- Update of pyglowmarkt to 0.5.5 broke ha-hildebrandglow-dcc due to change of timezone handling HOT 18
- Handling of data update delay via DCC is broken HOT 2
- Feed through from Bright HOT 10
- Usage Today doesn't reset at midnight
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-hildebrandglow-dcc.