Preset mode seems to be not reported when the device is off. Make it optional so device can be detected. Discussion #1544
@@ -27,6 +27,7 @@ primary_entity:
- id: 4
name: preset_mode
type: string
+ optional: true
mapping:
- dps_val: ECO
value: eco
@@ -34,6 +35,8 @@ primary_entity:
value: comfort
- dps_val: Antifrost
value: away
+ - dps_val: null
+ value: unknown
secondary_entities:
- entity: lock
name: Child lock