- add optional initial_state and light_mode selects Although this makes it no longer "simple", it is preferable to adding a new config just for these minor differences. Issue #5979
@@ -1,4 +1,7 @@
name: Simple eight switch
+products:
+ - id: np8h8vfhuyceewnq
+ manufacturer: Melery
entities:
- entity: switch
translation_key: switch_x
@@ -64,3 +67,51 @@ entities:
- id: 102
name: switch
type: boolean
+ - entity: select
+ translation_key: initial_state
+ hidden: unavailable
+ category: config
+ dps:
+ - id: 14
+ type: string
+ optional: true
+ name: option
+ mapping:
+ - dps_val: "off"
+ value: "off"
+ - dps_val: memory
+ value: memory
+ - dps_val: "on"
+ value: "on"
+ name: available
+ - dps_val: null
+ value: false
+ - value: true
+ translation_key: light_mode
+ - id: 15
+ - dps_val: "none"
+ - dps_val: relay
+ value: state
+ - dps_val: pos
+ value: locator