mirror of
https://github.com/Andre0512/hon.git
synced 2025-04-01 15:47:04 +00:00
Compare commits
5 commits
v0.14.0-be
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
70eb6c0111 | ||
|
9bab35f8c4 | ||
|
39fc30c95e | ||
|
6906e751b1 | ||
|
6d2a6ce2e9 |
|
@ -9,7 +9,7 @@
|
||||||
"iot_class": "cloud_push",
|
"iot_class": "cloud_push",
|
||||||
"issue_tracker": "https://github.com/Andre0512/hon/issues",
|
"issue_tracker": "https://github.com/Andre0512/hon/issues",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"pyhOn==0.17.3"
|
"pyhOn==0.17.5"
|
||||||
],
|
],
|
||||||
"version": "0.14.0-beta.6"
|
"version": "0.14.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,6 @@ from homeassistant.const import (
|
||||||
UnitOfEnergy,
|
UnitOfEnergy,
|
||||||
UnitOfVolume,
|
UnitOfVolume,
|
||||||
UnitOfMass,
|
UnitOfMass,
|
||||||
UnitOfPower,
|
|
||||||
UnitOfTime,
|
UnitOfTime,
|
||||||
UnitOfTemperature,
|
UnitOfTemperature,
|
||||||
)
|
)
|
||||||
|
@ -84,7 +83,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
||||||
name="Current Electricity Used",
|
name="Current Electricity Used",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
device_class=SensorDeviceClass.POWER,
|
device_class=SensorDeviceClass.POWER,
|
||||||
native_unit_of_measurement=UnitOfPower.KILO_WATT,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
icon="mdi:lightning-bolt",
|
icon="mdi:lightning-bolt",
|
||||||
translation_key="energy_current",
|
translation_key="energy_current",
|
||||||
),
|
),
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
pyhOn==0.17.3
|
pyhOn==0.17.5
|
||||||
|
|
Loading…
Reference in a new issue