Comments (7)
Oh no! Get well soon 🚑 🩹
from wienernetzesmartmeter.
Ah good idea! Thanks for the insight, I might migrate it as soon as I am not sick anymore 🤧
from wienernetzesmartmeter.
Excuse me being a total newbie, this is my first GIT comment ever (and I am no coder at all)
While you awesome guys are at it:
Similar to what you did in #39
I think you might want to also change the Energy units "kWh" over to the new enum.
In File wnsm/sensor.py
change line 19
OLD: ENERGY_KILO_WATT_HOUR,
NEW UnitOfEnergy,
in Line 97 and 98
OLD: "ENERGY_KILO_WATT_HOUR"
NEW: "UnitOfEnergy.KILO_WATT_HOUR"
This has change has been introduced by home-assistant/core@842cb18
@frenck seems to be the man knowing if I am talking total BS or if it is worthwhile.
Thanks to all!
HST
from wienernetzesmartmeter.
@HSteindl Yes, you are right. We have many more new enums around and many more constants that have been deprecated (like all state class and unit constants).
For example, the energy enum you are referring to has been introduced in Home Assistant Core 2022.11 for the first time, and we still need to complete the entire migration in Core at this point.
That said, if a custom integration starts using those now, it would mean that for anyone using an older version of Home Assistant (before 2022.11), the custom integration would break.
For Core development, we have the advantage of not having to support multiple Home Assistant versions like custom integrations.
../Frenck
from wienernetzesmartmeter.
Thanks @frenck for this valuable input.
Get well soon @TheRealVira 💊
from wienernetzesmartmeter.
Awesomely fast resolved! Thanks!
Happy New Year 🥂
../Frenck
from wienernetzesmartmeter.
Thanks a lot for your input and your participation.
@HSteindl no need for an excuse, any contribution or input is welcome. Especially if it's something we are currently not aware of dealing with. e.g. dealing with changes in Home Assistant.
I'm trying to keep track of the changes in Home Assistant, but lack the time currently to look at all the release notes.
@frenck What would be your suggestion to look at when it comes to deprecation and new developments, summarized in a easily digestible manner, so we can inform ourselves and document it properly in this project?
from wienernetzesmartmeter.
Related Issues (20)
- No hourly data downloaded when the account includes an inactive zaehlpunkt ("Returned data does not match given zaehlpunkt!") HOT 40
- TypeError "Can't override _attr_state_class in subclass" in 1.4.2 HOT 11
- v1.4.2: The following integrations and platforms could not be set up: wnsm.sensor HOT 1
- no data showing up after (version 1.43) KeyError: "Sum" in Logfile HOT 3
- Einspeisezählpunkt wird gefunden aber keine Daten HOT 1
- after update 1.4.3 statistic entity is not working HOT 2
- Error on device update HOT 2
- since middle of January statistic entities are not working HOT 7
- trigger reimport of data due to huge negative consumption error? HOT 10
- Statistics Import Stops Working after Renaming Statistics Entity HOT 2
- Energy Dashboard shows feeding without actually feeding in place HOT 31
- Problem with 29.02. HOT 2
- Subsequent update to statistics after initial import is not working HOT 5
- wnsm: Error on device update HOT 7
- No statistics are imported the day after the consumtion HOT 1
- Subsequent update to statistics after initial import is still not working HOT 10
- Error on wnsm/live_sensor.py:68 HOT 14
- two Smartmeters under the same contract. consumption and production HOT 1
- HomeAssistantType was used from wnsm, this is a deprecated alias which will be removed in HA Core 2025.5 HOT 1
- Keine Verbindung seit neuem Einspeisepunkt HOT 12
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 wienernetzesmartmeter.