You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add lock, cover, and light platform support to HEMS Echonet Lite integration
This commit adds three new platforms for the HEMS Echonet Lite integration:
- Lock platform (class code 0x026F): Electric lock control with main/sub lock
support and jam detection via alarm status
- Cover platform (class codes 0x0260, 0x0263): Blind and shutter control with
dynamic feature support based on available EPCs, position and tilt control
- Light platform (class codes 0x0290, 0x0291, 0x02A3, 0x02A4): Support for
general and mono-functional lighting with brightness, color temperature (only
0x0290), and lighting mode effects
Also includes updated constants, icon definitions, and localized strings
(English and Japanese) for all new platforms.
The electric heat-pump water heater class is exposed as a high-level `WaterHeaterEntity` that aggregates operation status (EPC 0x80), operation mode (EPC 0xB0) and target temperature (EPC 0xB3) into a single entity.
73
+
Aggregates operation status (EPC 0x80), operation mode (EPC 0xB0) and target temperature (EPC 0xB3) into a single entity.
50
74
51
75
-**Operations**: `auto` (automatic water heating), `manual` (manual water heating), `manual_off` (manual heating stopped / away), `off`
52
-
-**Target temperature**: setpoint via EPC 0xB3 (range derived from the device's MRA definition, 1 °C step)
53
-
-**Current temperature**: measured water temperature (EPC 0xC1) — also exposed as a standalone sensor, mirroring the climate platform's room-temperature convention
76
+
-**Target temperature**: setpoint via EPC 0xB3 (range derived from the device's MRA definition, 1°C step)
77
+
-**Current temperature**: measured water temperature (EPC 0xC1) — also exposed as a standalone sensor
78
+
79
+
### Lock (0x026F)
80
+
81
+
-**Locked state**: requires both main lock (EPC 0xE0) and sub-lock (EPC 0xE1, if advertised) to be locked
82
+
-**Jammed state**: indicated when alarm status (EPC 0xE5) reports an abnormality
83
+
-**Lock / Unlock**: writes to main lock (EPC 0xE0) only
54
84
55
-
> **Note**: 0x026B is currently part of the **experimental** device class set (see below) and must be enabled via the integration options. The dedicated water heater entity is created only after the device is discovered with experimental mode on.
**Color temperature presets** (0x0290 only): Incandescent (2700 K), White (4000 K), Daylight White (5000 K), Daylight Color (6500 K). Arbitrary kelvin values are snapped to the nearest preset.
Properties are automatically mapped to entity platforms based on the ECHONET Lite property definition:
107
+
All remaining properties are automatically mapped based on the ECHONET Lite property definition:
60
108
61
109
| Condition | Writable | Read-only |
62
110
|-----------|----------|-----------|
@@ -65,14 +113,6 @@ Properties are automatically mapped to entity platforms based on the ECHONET Lit
65
113
| 1-value enum | Button | — |
66
114
| Numeric | Number | Sensor |
67
115
68
-
### Experimental Device Classes
69
-
70
-
Enable **"Enable experimental device classes"** in the integration options to access 50+ additional device classes, including:
71
-
72
-
Electric water heaters (0x026B, with the dedicated Water Heater entity described above), electric locks, lighting, refrigerators, washing machines, smart meters, EV chargers, bathroom dryers, and more.
73
-
74
-
> **Note**: Experimental device classes have not been verified with real hardware. Some entities may behave unexpectedly.
75
-
76
116
## Installation
77
117
78
118
### HACS (Recommended)
@@ -107,6 +147,8 @@ After setup, configure in **Settings → Devices & Services → HEMS → Configu
107
147
|--------|-------------|---------|
108
148
| Enable experimental device classes | Include unverified device classes | Off |
109
149
150
+
> Enabling experimental mode is required for Water Heater, Lock, Cover, Light, and all other non-stable device classes.
151
+
110
152
### Reconfiguration
111
153
112
154
The network interface can be changed at any time via **Settings → Devices & Services → HEMS → Reconfigure**.
0 commit comments