github claytonjn/hass-circadian_lighting 2.0.4

latest releases: 2.1.4, 2.1.3, 2.1.3-beta...
2 years ago

New options, async, fixes for 2021.5.x

Most of this work was contributed by @basnijholt - thanks also go to @KTibow @emansom @samnewman86 @rubdos

  • Simplified and rewritten a lot of the code
  • Adds only_once option to switch, which makes the light change to the correct value only when turning it on (or disabled_state, sleeping_state switch). This is useful when you want to manually change the settings of the lights sometimes and make it stay
  • Adds ability to make sleep_state and disable_state lists of options. For example when using an input_select where something should be disabled on multiple states. This is a non-breaking change because it also accepts just a single string
  • Switch is now fully async, which means that when adjusting the lights, all lights get the service call simultaneously
  • Removes timezonefinder requirement which relies on numpy, causing installation issues for a number of people on "non-standard" (Home Assistant Core) installs
  • Updates manifest.json to include a version as required by HA Core 2021.5.x, and also includes some other changes to follow the latest developer documentation. This update also includes changes to allow the component to work with Astral v2 while remaining backwards compatible with v1

Don't miss a new hass-circadian_lighting release

NewReleases is sending notifications on new releases.