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.

Suggestion: update circadian switch configuration with service call

See original GitHub issue

So, for example, I could call

service: circadian_lighting.reconfigure
data:
  entity_id: switch.circadian_lighting_living_room
  disable_brightness_adjust: true

to switch off brightness adjust alone, or any other adjustments to, say, min_brightness, max_brightness. or other parameters.

My specific use case is that my wife sometimes works on craft projects in the evening, and as such it would be convenient if there were an easy way to disable the brightness adjustment (dim light being hard on the eyes when working) and keep the color temperature adjustment on those evenings, and revert to having it enabled the rest of the time. At the moment I am emulating this with two circadian lighting switches and automation to make them disable each other when enabled, but this is an ugly kluge.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
claytonjncommented, Jul 29, 2020

You can already do that, just configure the lights under lights_brightness for the brightness-only switch.

0reactions
cerebratecommented, Sep 29, 2020

@basnijholt Giving it a try from your repo. Works great so far!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flux - Home Assistant
Flux. The flux switch platform will change the temperature of your lights similar to the way flux works on your computer, using circadian...
Read more >
Physiology, Circadian Rhythm - StatPearls - NCBI Bookshelf
Circadian rhythm is the 24-hour internal clock in our brain that regulates cycles of alertness and sleepiness by responding to light changes in...
Read more >
Circadian Synchrony: Sleep, Nutrition, and Physical Activity
The circadian clock in mammals regulates the sleep/wake cycle and many associated behavioral and physiological processes.
Read more >
The mammalian circadian pacemaker regulates wakefulness ...
The SCN, in turn, regulates the timing of sleep and wakefulness. ... These results suggest that this neural pathway is crucial for circadian...
Read more >
The Best Smart Bulbs to Light Up Your Room - WIRED
Controlling light bulbs from your phone has its perks, but a remote gives you more flexibility. It's small, can turn the bulb on...
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