T34 plug uses words according to PR #2655, but aubess was using numeric strings
@@ -46,10 +46,44 @@ secondary_entities:
mapping:
- dps_val: "0"
value: "off"
+ available: numeric_values
- dps_val: "1"
value: "on"
- dps_val: "2"
value: memory
+ - dps_val: "off"
+ value: "off"
+ available: word_values
+ - dps_val: "on"
+ value: "on"
+ - dps_val: "memory"
+ value: memory
+ - id: 38
+ type: string
+ name: numeric_values
+ mapping:
+ - dps_val: "0"
+ value: true
+ - dps_val: "1"
+ - dps_val: "2"
+ - value: false
+ name: word_values
+ - dps_val: memory
- entity: sensor
name: Energy
category: diagnostic