Compare commits

...

5 commits

Author SHA1 Message Date
Andre Basche 70eb6c0111
Update manifest.json 2024-08-14 22:51:18 +02:00
Andre Basche 9bab35f8c4
Update manifest.json 2024-08-14 22:46:43 +02:00
zawadzkipiter 39fc30c95e Update pyhon to 0.17.5
fix for HA "Can't login" based on:
https://github.com/Andre0512/pyhOn/pull/29
2024-08-14 22:46:10 +02:00
Andre Basche 6906e751b1 Bump version 2024-04-09 22:49:49 +02:00
Andre Basche 6d2a6ce2e9 Fix unit of current elecricity #158 2024-03-30 23:16:54 +01:00
3 changed files with 4 additions and 5 deletions

View file

@ -9,7 +9,7 @@
"iot_class": "cloud_push",
"issue_tracker": "https://github.com/Andre0512/hon/issues",
"requirements": [
"pyhOn==0.17.3"
"pyhOn==0.17.5"
],
"version": "0.14.0-beta.6"
"version": "0.14.0"
}

View file

@ -18,7 +18,6 @@ from homeassistant.const import (
UnitOfEnergy,
UnitOfVolume,
UnitOfMass,
UnitOfPower,
UnitOfTime,
UnitOfTemperature,
)
@ -84,7 +83,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
name="Current Electricity Used",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.POWER,
native_unit_of_measurement=UnitOfPower.KILO_WATT,
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
icon="mdi:lightning-bolt",
translation_key="energy_current",
),

View file

@ -1 +1 @@
pyhOn==0.17.3
pyhOn==0.17.5