hass-circadian_lighting icon indicating copy to clipboard operation
hass-circadian_lighting copied to clipboard

Feature Request: Disable Cir. Lightning inside automation

Open poudenes opened this issue 4 years ago • 7 comments

Hi There,

Great Add-ON !!! Use it for all my lights! Only thing when I turn on a light with a specific kelvin or color the cir. lighting react on it.

Would be nice to have a feature that you can add to a action something like this

circadian: false

  action:
    service: light.turn_on
    data:
      entity_id: light.bedroom_all
      kelvin: 2800
      brightness_pct: 100
      circadian: false

poudenes avatar Mar 17 '20 15:03 poudenes

That's not possible without making changes to the core of Home Assistant. But, you could easily just have two actions, one that turns of the Circadian Lighting switch and then the one that turns on the light.

claytonjn avatar Mar 17 '20 15:03 claytonjn

Im already doing that. :) more actions but ok :)

poudenes avatar Mar 17 '20 15:03 poudenes

@claytonjn one off topic question. This add-on does not affect on action with colors? Only when you turn on a bulb without color or kelvin?

poudenes avatar Mar 20 '20 15:03 poudenes

If the CL switch is turned on (and the disabled/sleep entities, if configured, aren't active) it will always adjust all configured lights that are on.

claytonjn avatar Mar 20 '20 15:03 claytonjn

Ehmm, ok. im asking because i did a test:

  1. turned on a bulb with color blue
  2. turned on the group incl this bulb
  3. all lights went to correct kelvin except the on that was blue. Stay blue
  4. i turned off the group, so the blue one turned off also.
  5. change the bulb on to a kelvin color.
  6. turned on the group and now the bulb changes as well to current kelvin.

was curious if this behavior is normal or not.

poudenes avatar Mar 20 '20 16:03 poudenes

No it doesn't seem like the expected behavior. You could try turning on debug logging and that may help indicate why the light didn't adjust.

claytonjn avatar Mar 20 '20 16:03 claytonjn

No, for me this is good. Sometimes i change bulb to specific color and dont want to change it when also CL is on. So ill keep this bug :)

poudenes avatar Mar 20 '20 16:03 poudenes