From 303608792559b8f91033da80afeb1a16ae9d878d Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sat, 1 Jul 2023 17:09:53 +0200 Subject: [PATCH] Update readme --- README.md | 4 ++-- scripts/sensor_docs.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0b9c4c6..25cdd93 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ For every device exists a button under diagnostics which can be used to log all | Aroma Time On | `thermometer` | `number` | `settings.aromaTimeOn` | | Diffuser Level | | `select` | `settings.aromaStatus` | | Light status | | `light` | `settings.lightStatus` | +| Lock Status | | `lock` | `lockStatus` | | Mode | `run` | `select` | `settings.machMode` | | Pollen Level | | `number` | `settings.pollenLevel` | | Touch Tone | | `switch` | `touchToneStatus` | @@ -191,7 +192,6 @@ For every device exists a button under diagnostics which can be used to log all | CO Level | | `sensor` | `coLevel` | | Error | `math-log` | `sensor` | `errors` | | Humidity | | `sensor` | `humidityIndoor` | -| Lock Status | | `lock` | `lockStatus` | | Main Filter Status | | `sensor` | `mainFilterStatus` | | On | `power-cycle` | `binary_sensor` | `attributes.parameters.onOffStatus` | | PM 10 | | `sensor` | `pm10ValueIndoor` | @@ -245,6 +245,7 @@ For every device exists a button under diagnostics which can be used to log all #### Controls | Name | Icon | Entity | Key | | --- | --- | --- | --- | +| Light status | | `light` | `startProgram.lightStatus` | | Start Program | `hvac` | `button` | `startProgram` | | Stop Program | `hvac-off` | `button` | `stopProgram` | | Wind Speed | | `fan` | `settings.windSpeed` | @@ -258,7 +259,6 @@ For every device exists a button under diagnostics which can be used to log all | Filter Cleaning Status | | `sensor` | `filterCleaningStatus` | | Last Work Time | `clock-start` | `sensor` | `lastWorkTime` | | Light Status | `lightbulb` | `sensor` | `lightStatus` | -| Light status | | `light` | `startProgram.lightStatus` | | Mach Mode | | `sensor` | `machMode` | | On / Off Status | `lightbulb` | `sensor` | `onOffStatus` | | Quick Delay Time Status | | `sensor` | `quickDelayTimeStatus` | diff --git a/scripts/sensor_docs.py b/scripts/sensor_docs.py index 855efe0..0f79e5d 100755 --- a/scripts/sensor_docs.py +++ b/scripts/sensor_docs.py @@ -53,7 +53,7 @@ for entity_type, appliances in entities.items(): if entity.key.startswith("settings") or isinstance(entity, HonSwitchEntityDescription) or isinstance(entity, HonControlSwitchEntityDescription) - or entity_type in ["button", "climate"] + or entity_type in ["button", "climate", "lock", "light", "fan"] else "sensor" ) result.setdefault(appliance, {}).setdefault(