Where we have defined mappings for null, the values shouldn't be persisted, instead the null mapping should show through.
@@ -288,6 +288,8 @@ secondary_entities:
- id: 50
type: bitfield
name: sensor
+ optional: true
+ persist: false
mapping:
- dps_val: 0
value: false
@@ -26,6 +26,7 @@ primary_entity:
type: integer
unit: "%"
optional: true
- id: 5
name: control_back_mode
type: boolean
@@ -12,6 +12,7 @@ primary_entity:
- id: 136
name: snapshot
type: base64
- dps_val: ""
@@ -186,6 +186,7 @@ secondary_entities:
- dps_val: null
@@ -6,6 +6,7 @@ primary_entity:
name: switch
@@ -58,6 +58,7 @@ secondary_entities:
@@ -28,6 +28,8 @@ primary_entity:
- id: 7
name: action
type: string
- dps_val: opening
constraint: current_position
@@ -81,6 +81,8 @@ secondary_entities:
- id: 102
@@ -78,6 +78,7 @@ secondary_entities:
max: 100
+ invalid: true
- scale: 10
- entity: sensor
name: Energy
@@ -104,6 +105,7 @@ secondary_entities:
@@ -109,6 +109,7 @@ secondary_entities:
@@ -140,6 +140,7 @@ secondary_entities:
@@ -56,6 +56,7 @@ secondary_entities: