PR #5491 by @irikuo - made sound switch hidden if unavailable, as Nere does not have this - added light timer (hidden if unavailable) which Nere has
@@ -1,4 +1,8 @@
name: Ceiling fan with light
+products:
+ - id: b3uwmntqtdozwin
+ manufacturer: Forlight
+ model: Nere
entities:
- entity: fan
dps:
@@ -51,8 +55,39 @@ entities:
- entity: switch
translation_key: sound
category: config
+ hidden: unavailable
- id: 66
type: boolean
name: switch
optional: true
+ - id: 66
+ type: boolean
+ optional: true
+ name: available
+ mapping:
+ - dps_val: null
+ value: false
+ - value: true
+ - entity: number
+ class: duration
+ translation_key: timer
+ name: Light timer
+ category: config
+ dps:
+ - id: 26
+ type: integer
+ name: value
+ unit: min
+ range:
+ min: 0
+ max: 540