Compare commits

...

6 Commits

Author SHA1 Message Date
Chris Stos-Gale cdc0bfc2e0 Merge pull request #1 from cstosgale/Disable-Zip-Release-and-rename
Disable ZIP Release and rename in HACS
2024-07-02 19:07:44 +01:00
Chris Stos-Gale 237981ded3 Update hacs.json 2024-07-02 19:06:47 +01:00
Chris Stos-Gale dec964b039 DS_Store 2024-07-02 19:00:40 +01:00
Chris Stos-Gale 847ae04245 Fix Mode switch for AP
Revert "Rename HACS release and disable zipped source"

This reverts commit 532babcf9637e3bbdf9193e26db35a12e3ea531c.

Delete custom_components/.DS_Store

Delete .DS_Store

Revert Changes

Added power and light level

Update const.py

Revert machMode back to original settings value

Rename HACS release and disable zipped source
2024-05-26 12:21:15 +01: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
6 changed files with 5 additions and 7 deletions
Vendored
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-1
View File
@@ -222,7 +222,6 @@ AC_HUMAN_SENSE: dict[int, str] = {
} }
AP_MACH_MODE: dict[int, str] = { AP_MACH_MODE: dict[int, str] = {
0: "standby",
1: "sleep", 1: "sleep",
2: "auto", 2: "auto",
3: "allergens", 3: "allergens",
+2 -2
View File
@@ -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.4"
], ],
"version": "0.14.0-beta.6" "version": "0.14.0-beta.7"
} }
+1 -2
View File
@@ -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",
), ),
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "Haier hOn", "name": "Haier hOn csg",
"homeassistant": "2024.2.0", "homeassistant": "2024.2.0",
"zip_release": true, "zip_release": false,
"filename": "haier_hon.zip" "filename": "haier_hon.zip"
} }