The 2400W model has a different set of presets, but since there is no overlap, it can be handled conditionally as one or the other. Issue #3392
@@ -31,14 +31,32 @@ entities:
type: string
optional: true
mapping:
- - dps_val: ECO
- value: eco
- - dps_val: Comfort
- value: comfort
- - dps_val: Antifrost
- value: away
- - dps_val: null
- value: unknown
+ - constraint: preset_mode
+ conditions:
+ - dps_val: [ECO, Comfort, Antifrost]
+ mapping:
+ - dps_val: ECO
+ value: eco
+ - dps_val: Comfort
+ value: comfort
+ - dps_val: Antifrost
+ value: away
+ - dps_val: [low, high, af]
+ - dps_val: low
+ - dps_val: high
+ - dps_val: af
+ - dps_val: null
- entity: lock
translation_key: child_lock
category: config