Open fireheadman opened 8 months ago
YAML File created and Test
homeassistant:/config/custom_components/tuya_local/devices# cat sky_lite_evolve_projector_light.yaml
name: Sky Lite Evolve
products:
- id: jteg9ktrhbxtiicz
model: SKY-EVOLVE-B-RCW8
name: BlissLights Sky Lite Evolve
primary_entity:
entity: light
name: Globe Light
icon: "mdi:globe-model"
dps:
- id: 20
type: boolean
name: switch
- id: 52
type: boolean
name: color_mode
mapping:
- dps_val: false
value: white
- dps_val: true
value: hs
- id: 24
name: rgbhsv
type: hex
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: 10
max: 1000
- id: 51
name: effect
type: string
mapping:
- dps_val: scene
value: Scene
- dps_val: laser
value: Laser
- dps_val: colour
value: Color
secondary_entities:
- entity: number
icon: "mdi:timer"
name: Timer
category: config
dps:
- id: 26
type: integer
name: value
range:
min: 0
max: 86400
unit: min
mapping:
- scale: 60
step: 60
- entity: light
icon: "mdi:laser-pointer"
name: Laser
dps:
- id: 53
type: boolean
name: switch
- id: 54
name: brightness
type: integer
range:
min: 10
max: 1000
mapping:
- scale: 3.92
- entity: select
icon: "mdi:movie-open-play"
name: Theme
category: config
dps:
- id: 58
name: option
type: string
optional: true
mapping:
- dps_val: "AAA="
value: Cosmos
- dps_val: "AAE="
value: Sky
- dps_val: "AAI="
value: Space
- dps_val: "AAM="
value: Ocean
- entity: fan
icon: "mdi:rotate-3d-variant"
name: Nebula Movement
dps:
- id: 60
type: boolean
name: switch
- id: 62
type: integer
name: speed
range:
min: 0
max: 100
Was able to tweak the code based off the galaxy projector yaml file, this light does have some differences on the theme/scene and I added icons as well as split out a couple items into the configuration category.
@fireheadman Thanks for the config for the skylight evolve, works great. Any plans opening a PR to merge this in? (if not, I'd be happy to)
I did but guess it never made it. I do not use Tuya local that much anymore unfortunately.
On Sat, Jun 29, 2024 at 7:50 PM Janitha Karunaratne < @.***> wrote:
@fireheadman https://github.com/fireheadman Thanks for the config for the skylight evolve, works great. Any plans opening a PR to merge this in? (if not, I'd be happy to)
— Reply to this email directly, view it on GitHub https://github.com/make-all/tuya-local/issues/1507#issuecomment-2198400282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXNQG7LJFNQTLBQLZ7CXADZJ5P63AVCNFSM6AAAAABBVSHM4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGQYDAMRYGI . You are receiving this because you were mentioned.Message ID: @.***>
Merged with galaxy_projector_light, as the only incompatibility is the different scene list (effect) - I added the new list to the other light as you have it here, so users can learn what works for their light, and use that.
Working YAML File is here as well as mentioned in next post REF: https://github.com/fireheadman/tuya-local-yamls/blob/main/sky_lite_evolve_projector_light.yaml
Log Message
Information about DPS mappings
Product ID
Information about how the device functions
id: jteg9ktrhbxtiicz
REF: https://blisslights.com/products/sky-lite-evolve A really nice night light that shows a cloud nebula with stars