question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lights still change by A.L.

See original GitHub issue

Hi Bas,

I read all the info and maybe I don’t it understand what you mean. Here full example how I config 1 light for testings:

adaptive lighting config:

- name: "Diningroom"
  lights:
    - light.dressoir_all
    - light.dressoir_1
    - light.dressoir_2
    - light.dressoir_3
  sleep_brightness: 20
  min_brightness: 70
  only_once: true
  max_color_temp: 3800
  min_color_temp: 2000
  interval: 30
  prefer_rgb_color: false
  take_over_control: true
  detect_non_ha_changes: true

automation to turn on 1 bulb with color red:

- alias: "TEST - Adaptive LIght"
  trigger:

    - platform: state
      entity_id: switch.newkaku_014e5906_a
      to: "on"

  action:
    - service: light.turn_on
      data:
        entity_id: light.dressoir_1
        color_name: "red"
        brightness_pct: 100

When the switch is on, light.dressoir_1 goes on into red. directly after it light.dressoir_1 turn into kelvin color by A.L.

Maybe I truly don’t understand the way how it work?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
poudenescommented, Oct 5, 2020

Thanks for this info. I will create a switch leave it on. And will do some tests with the new service. Thanks for all the patient !

1reaction
poudenescommented, Oct 5, 2020

Then I understand you all the time 😃. And its lots of programming to add a feature like:

ignore_color: true

I can imagine that more people use colors in their house and some bulbs normal kelvin colors. If you can add a line to ignore the turn_on when there is a color involved that will be very useful.

Now I’m using the sensor of circadian and use the colortemp attribute in all scripts for lights that not use color at that moment. Only thing now I can’t turn it off. because its read the attribute all the time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon changed traffic light timing during union drive, county ...
A week ago, we broke the story that union organizers in Alabama accused Amazon of working to change traffic light patterns outside its...
Read more >
Traffic Lights and Signals - Alabama DMV - Shmoop
Sometimes a flashing red light means that a traffic light is broken, so be mindful of other cars that may be trying to...
Read more >
Jefferson County now says traffic lights were changed near ...
A Jefferson County spokeswoman today said that the county did in fact change traffic signals near Amazon's Bessemer fulfillment center at ...
Read more >
Red Light. Green Light. - University of Alabama News
A team at The University of Alabama is working to change that, modernizing traffic lights to become smarter and communicate with vehicles ...
Read more >
Why are timed traffic lights still a thing? Isn't it better to ... - Quora
If there is no car waiting, the light might not even change for that cycle. The lights have to change their schedules and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found