a529987659852 / openwbmqtt

Custom component for home assistant supporting openWB wallbox
35 stars 16 forks source link

deprication warning with HA 2024.1.0b0 #60

Closed ChristophCaina closed 7 months ago

ChristophCaina commented 8 months ago

with the Version HA 2024.1.0b0 the following deprication warning will be raised:

ENTITY_CATEGORY_CONFIG was used from openwbmqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report 
ELECTRIC_CURRENT_AMPERE was used from openwbmqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report 
ENERGY_KILO_WATT_HOUR was used from openwbmqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report 
a529987659852 commented 8 months ago

Hallo Christoph, thanks for mentioning - I'll take care of it since I'm currently reworking the code for openwb2.0 Have a nice christmas break Andreas

atze09 commented 7 months ago

Hello Andreas, Is there an update of the recoding work? Best Regards, Dominik