Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene with invalid values stored in scene.yaml #14

Open
ddean6232 opened this issue Dec 2, 2023 · 0 comments
Open

Scene with invalid values stored in scene.yaml #14

ddean6232 opened this issue Dec 2, 2023 · 0 comments

Comments

@ddean6232
Copy link

When I use the scene editor, I can add the entities, adjust the attributes of the color temp in Kelvin, save the scene but when I use the scene, it gives invalid values in the hs_color (HA error saying the value in hs_color needs to be within 360), the editor does not set the color_mode to color_temp or set the color_temp_Kelvin to any value. This is the section of the scene.yaml after using the editor to setup a two cozyLife lights:

  • id: '1701500756356'
    name: Twins on
    entities:
    light.cozylife_smart_bulb_light_2:
    min_color_temp_kelvin: 2000
    max_color_temp_kelvin: 6535
    min_mireds: 153
    max_mireds: 500
    supported_color_modes:
    - brightness
    - color_temp
    - hs
    - onoff
    color_mode: hs
    brightness: 250
    color_temp_kelvin:
    color_temp:
    hs_color:
    - 65535
    - 6553
    rgb_color:
    - 255
    - -12277
    - -16455
    xy_color:
    - 0.086
    - 0.293
    icon: mdi:floor-lamp-torchiere
    friendly_name: North Lamp
    supported_features: 0
    state: 'on'
    light.cozylife_smart_bulb_light_3:
    min_color_temp_kelvin: 2000
    max_color_temp_kelvin: 6535
    min_mireds: 153
    max_mireds: 500
    supported_color_modes:
    - brightness
    - color_temp
    - hs
    - onoff
    color_mode: hs
    brightness: 247
    color_temp_kelvin:
    color_temp:
    hs_color:
    - 65535
    - 6553
    rgb_color:
    - 255
    - -12277
    - -16455
    xy_color:
    - 0.086
    - 0.293
    icon: mdi:floor-lamp-torchiere
    friendly_name: South Lamp
    supported_features: 0
    state: 'on'
    metadata:
    light.cozylife_smart_bulb_light_2:
    entity_only: true
    light.cozylife_smart_bulb_light_3:
    entity_only: true

I tried a manual setup of the scene with the following, the config is valid but the lights do not adjust when the scene is activated. I have reloaded the configs after each edit of the scene and also restart HA after edits but the light wont respond.

  • id: "1701500756356"
    name: Twins on
    entities:
    light.cozylife_smart_bulb_light_2:
    min_color_temp_kelvin: 2000
    max_color_temp_kelvin: 6535
    supported_color_modes:
    - brightness
    - color_temp
    - hs
    - onoff
    color_mode: color_temp
    color_temp_kelvin: 2000
    icon: mdi:floor-lamp-torchiere
    friendly_name: North Lamp
    supported_features: 0
    state: "on"
    light.cozylife_smart_bulb_light_3:
    min_color_temp_kelvin: 2000
    max_color_temp_kelvin: 6535
    supported_color_modes:
    - brightness
    - color_temp
    - hs
    - onoff
    color_mode: color_temp
    color_temp_kelvin: 2000
    icon: mdi:floor-lamp-torchiere
    friendly_name: South Lamp
    state: "on"
    metadata:
    light.cozylife_smart_bulb_light_2:
    entity_only: true
    light.cozylife_smart_bulb_light_3:
    entity_only: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant