Skip to content

Ability to adjust color temperature in HassLightSet #3297

@hecktech27

Description

@hecktech27

I recently had a closer look at the german light_hassLightSet.yaml and during that I noticed that there is currently no configuration for adjusting the color temperature of lights in the intents.yaml file.
While I´m able to handle requests like this via OpenAI I´d like to be able to do this locally(and consistent) instead.
The command I used via OpenAI was (translated to english):

Set the lights on the veranda to 2700 Kelvin

This is part of the raw output in the debug which view varies(since it´s ai) between:

     - tool_name: HassLightSet
        tool_args:
          area: Veranda
          brightness: 100
          color: 2700K

and

      - tool_name: HassLightSet
        tool_args:
          area: Veranda
          temperature: 2700

both with the same result.
While I Must admit that setting the lights to a specific color temperature might be something the "normal" user would not do(i do that regularly 😉), setting the lights to warm/cold white is something where i can see a benefit for "normal users" too... and since it might be solved via the same intent...

I´m more than happy to help implement it - just might need some more input on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions