Skip to content

Commit

Permalink
Add support for Mirabella Genio Pixel oval light
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all committed Feb 12, 2024
1 parent 4cacb4e commit 7ec76dc
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 0 deletions.
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,4 @@ Further device support has been made with the assistance of users. Please consid
- [KoKolaj](https://github.com/KoKolaj) for assisting with support for Tesla Smart XL dehumidifiers.
- [BenJamesAndo](https://github.com/BenJamesAndo) for contributing support for Lexi Lighting string light WiFi adapters.
- [LordPsycho202](https://github.com/LordPsycho202) for contributing support for Leo's Loo Too pet toilets.
- [RoelDU](https://github.com/RoelDU) for assisting with support for Mirabella Genio Pixel oval lights.
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ of device.
- Loginovo TV sync backlight
- Lytmi Fantasy/Neo 3 HDMI sync backlight
- Marpou RGBCW ceiling light
- Mirabella Genio Pixel LED oval light
- Moes dimmer switch
- Moes motion sensor lights (XZ-CGV3)
- Moes star projector
Expand Down
121 changes: 121 additions & 0 deletions custom_components/tuya_local/devices/mirabella_geniopixel_light.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Ceiling light
products:
- id: kllgg1iuwrtcvlnp
name: Mirabella Genio Pixel LED Oval light
primary_entity:
entity: light
dps:
- id: 20
type: boolean
name: switch
- id: 21
type: string
name: color_mode
mapping:
- dps_val: white
value: color_temp
- dps_val: colour
value: hs
- dps_val: static
value: Static
- dps_val: pre_set
value: Preset
- dps_val: custom
value: Custom
- dps_val: local_music
value: Music
- id: 22
type: integer
name: brightness
range:
min: 10
max: 1000
- id: 23
type: integer
name: color_temp
range:
min: 0
max: 1000
mapping:
- target_range:
min: 2700
max: 6500
- id: 24
type: hex
name: rgbhsv
format:
- name: h
bytes: 2
range:
min: 0
max: 360
- name: s
bytes: 2
range:
min: 0
max: 1000
- name: v
bytes: 2
range:
min: 0
max: 1000
- id: 25
type: hex
name: scene_data
optional: true
- id: 101
type: string
name: scene_num
- id: 105
type: base64
name: debug_info
secondary_entities:
- entity: number
name: Timer
category: config
icon: "mdi:timer"
dps:
- id: 26
type: integer
name: value
unit: min
range:
min: 0
max: 86400
mapping:
- scale: 60
step: 60
- entity: number
name: Scene data reset
category: config
icon: "mdi:palette"
dps:
- id: 102
type: integer
optional: true
name: value
range:
min: 0
max: 255
- entity: number
name: LED number
category: config
icon: "mdi:counter"
dps:
- id: 103
type: integer
name: value
range:
min: 1
max: 150
- entity: number
name: Scene index
category: config
icon: "mdi:palette"
dps:
- id: 104
type: integer
name: value
range:
min: 0
max: 11

0 comments on commit 7ec76dc

Please sign in to comment.