Commit graph

4 commits

Author SHA1 Message Date
Bas Nijholt
c1528ec10a
Refactor, simplify code, rename, and set minimal HA core ≥2022.11 (#655)
* Rename TurnOnOffListener to AdaptiveLightingManager

* Bump Python version

* Refactor and unify methods that are called once

* Simplify adaptation_utils.py

* Improve readability in adaptation_utils.py

* More renames

* Simplify

* More renames and simplifications

* fix test

* simplify _supported_features

* rename

* walrus

* drop old astral support

* Only support HA  ≥2021.06

* Require 2016.06

* Try 2023.1

* even more old versions

* test

* more versions

* verify that only ≥2022.11 works

* named args

* setdefault

* no astral v1

* var

* simplify

* no need to pass adapt_brightness and adapt_color

* Add comment
2023-07-22 21:19:01 -07:00
Bas Nijholt
150c7f9c92 remove domains from hacs.json 2022-08-28 11:22:03 -07:00
gvssr
87ba587d0f
Prettify integration name in HACS
Add capitalized naming and removed underscore ( _ )
2021-12-16 09:22:33 +01:00
Bas Nijholt
d198528029 add hacs.json 2020-09-28 14:48:09 +02:00