|
@@ -18,6 +18,7 @@ entities:
|
|
|
dps:
|
|
dps:
|
|
|
- id: 12
|
|
- id: 12
|
|
|
type: integer
|
|
type: integer
|
|
|
|
|
+ optional: true
|
|
|
name: sensor
|
|
name: sensor
|
|
|
class: measurement
|
|
class: measurement
|
|
|
mapping:
|
|
mapping:
|
|
@@ -40,6 +41,12 @@ entities:
|
|
|
optional: true
|
|
optional: true
|
|
|
name: sensor
|
|
name: sensor
|
|
|
class: measurement
|
|
class: measurement
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - scale: 100
|
|
|
|
|
+ constraint: unit
|
|
|
|
|
+ conditions:
|
|
|
|
|
+ - dps_val: us_units
|
|
|
|
|
+ scale: 10
|
|
|
- id: 102
|
|
- id: 102
|
|
|
type: string
|
|
type: string
|
|
|
optional: true
|
|
optional: true
|
|
@@ -47,10 +54,34 @@ entities:
|
|
|
mapping:
|
|
mapping:
|
|
|
- dps_val: us_units
|
|
- dps_val: us_units
|
|
|
value: psi
|
|
value: psi
|
|
|
- scale: 10
|
|
|
|
|
- value: bar
|
|
- value: bar
|
|
|
- scale: 100
|
|
|
|
|
|
|
|
|
|
|
|
+ - entity: binary_sensor
|
|
|
|
|
+ class: problem
|
|
|
|
|
+ category: diagnostic
|
|
|
|
|
+ dps:
|
|
|
|
|
+ - id: 24
|
|
|
|
|
+ type: bitfield
|
|
|
|
|
+ name: sensor
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - dps_val: 0
|
|
|
|
|
+ value: false
|
|
|
|
|
+ - value: true
|
|
|
|
|
+ - id: 24
|
|
|
|
|
+ type: bitfield
|
|
|
|
|
+ name: fault_code
|
|
|
|
|
+ - id: 24
|
|
|
|
|
+ type: bitfield
|
|
|
|
|
+ name: description
|
|
|
|
|
+ mapping:
|
|
|
|
|
+ - dps_val: 0
|
|
|
|
|
+ value: OK
|
|
|
|
|
+ - dps_val: 1
|
|
|
|
|
+ value: warning
|
|
|
|
|
+ - dps_val: 2
|
|
|
|
|
+ value: empty_pipe
|
|
|
|
|
+ - dps_val: 4
|
|
|
|
|
+ value: cloud_offline
|
|
|
# Protection Enabled Switch
|
|
# Protection Enabled Switch
|
|
|
- entity: switch
|
|
- entity: switch
|
|
|
name: Protection Enabled
|
|
name: Protection Enabled
|