- add product id - mark some dps as optional, which are not reported when adding the device when it is off. Issue #4776
@@ -1,8 +1,8 @@
name: Water valve
-# products:
-# - id: UNKNOWN
-# manufacturer: FrankEver
-# model: FK-BV05
+products:
+ - id: kcdiut0eqeni7b8n
+ manufacturer: FrankEver
+ model: FK-BV05
entities:
- entity: switch
icon: "mdi:pipe-valve"
@@ -15,21 +15,29 @@ entities:
dps:
- id: 2
type: integer
+ optional: true
name: valve
range:
min: 0
max: 100
mapping:
- step: 10
+ - id: 1
+ type: boolean
+ name: available
- entity: sensor
name: Valve
- id: 3
name: sensor
unit: "%"
class: measurement
+ type: integer
- entity: binary_sensor
class: problem
category: diagnostic
@@ -55,6 +63,7 @@ entities:
- id: 5
unit: L
@@ -93,6 +102,7 @@ entities:
- id: 11
name: second