For S1-B triac dimmer Issue #5280 This was matching a variety of CCT/RGB/RGBW/RGBCW lights, but nothing with just brightness, as previous dimmers have used non-standard layouts.
@@ -0,0 +1,77 @@
+name: Light dimmer
+products:
+ - id: v9aw2m4jafh08ahe
+ model: S1-B
+entities:
+ - entity: light
+ dps:
+ - id: 20
+ type: boolean
+ name: switch
+ - id: 21
+ name: work_mode
+ type: string
+ mapping:
+ - dps_val: white
+ value: white
+ - dps_val: colour
+ value: hs
+ - dps_val: scene
+ value: Scene
+ - dps_val: music
+ value: Music
+ - id: 22
+ name: brightness
+ type: integer
+ range:
+ min: 10
+ max: 1000
+ - entity: text
+ translation_key: scene
+ category: config
+ hidden: true
+ - id: 25
+ type: hex
+ name: value
+ optional: true
+ - entity: time
+ translation_key: timer
+ - id: 26
+ name: second
+ min: 0
+ max: 86399
+ name: Music
+ icon: "mdi:music"
+ - id: 27
+ name: Control
+ icon: "mdi:cogs"
+ - id: 28
+ name: Debug
+ icon: "mdi:bug"
+ - id: 29