|
|
@@ -1,13 +1,18 @@
|
|
|
-name: Feit Dimmer
|
|
|
+name: Dimmable light
|
|
|
product:
|
|
|
# https://www.feit.com/collections/smart-controls/products/smart-wi-fi-dimmer-dim-wifi
|
|
|
- id: tebc75erlgslgpn5
|
|
|
+ name: Feit Dimmer
|
|
|
primary_entity:
|
|
|
entity: light
|
|
|
dps:
|
|
|
- id: 1
|
|
|
name: switch
|
|
|
type: boolean
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: null
|
|
|
+ value: false
|
|
|
- id: 2
|
|
|
name: brightness
|
|
|
type: integer
|
|
|
@@ -16,34 +21,24 @@ primary_entity:
|
|
|
max: 1000
|
|
|
mapping:
|
|
|
- scale: 3.92 # this is important for that device, else lights are too dim
|
|
|
-
|
|
|
-# optional, but does not let me select this file when I add new device
|
|
|
-# secondary_entities:
|
|
|
-
|
|
|
-# this is useless, does not actually limit brighness controls in my testing
|
|
|
-# - entity: number
|
|
|
-# name: Minimum brightness
|
|
|
-# category: config
|
|
|
-# icon: "mdi:lightbulb-on-50"
|
|
|
-# dps:
|
|
|
-# - id: 3
|
|
|
-# type: integer
|
|
|
-# name: value
|
|
|
-# range:
|
|
|
-# min: 10
|
|
|
-# max: 1000
|
|
|
-
|
|
|
-# this seems fine
|
|
|
-# - entity: select
|
|
|
-# name: Light Type
|
|
|
-# icon: mdi:lightbulb-variant
|
|
|
-# # category: config
|
|
|
-# dps:
|
|
|
-# - id: 4
|
|
|
-# type: string
|
|
|
-# name: option
|
|
|
-# mapping:
|
|
|
-# - dps_val: incandescent
|
|
|
-# value: Incandescent
|
|
|
-# - dps_val: halogen
|
|
|
-# value: LED
|
|
|
+ # advisory only, the integration does not actually use this, setting it
|
|
|
+ # does not seem to work, so probably determined by bulb type
|
|
|
+ - id: 3
|
|
|
+ type: integer
|
|
|
+ name: minimum_brightness
|
|
|
+ optional: true
|
|
|
+secondary_entities:
|
|
|
+ - entity: select
|
|
|
+ name: Light Type
|
|
|
+ icon: mdi:lightbulb-variant
|
|
|
+ category: config
|
|
|
+ dps:
|
|
|
+ - id: 4
|
|
|
+ type: string
|
|
|
+ name: option
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: incandescent
|
|
|
+ value: Incandescent
|
|
|
+ - dps_val: halogen
|
|
|
+ value: LED
|