adaptive-lighting/custom_components/adaptive_lighting
Benjamin Auquite 231e7c197d
Show config options on the switch as attributes with include_config_in_attributes option (#445)
* Switch attributes now show the config settings.

`sunset_time`, `sunrise_time`, `max_sunrise_time`, and `min_sunset_time` show 'null' when not overridden - TODO

* fixed basnijholt's requested issues

* Run pre-commit

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* 'configuration' attr holds list of config options

returned the `=` from basnijholt's review.

* Small style changes

* Add include_config_in_attributes to en.json

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <bas@nijho.lt>
2023-03-25 12:43:51 -07:00
..
translations Show config options on the switch as attributes with include_config_in_attributes option (#445) 2023-03-25 12:43:51 -07:00
__init__.py Run all pre-commit filters 2022-08-28 15:08:03 -07:00
config_flow.py linting, sub string for constant 2022-10-29 23:58:03 +00:00
const.py Show config options on the switch as attributes with include_config_in_attributes option (#445) 2023-03-25 12:43:51 -07:00
manifest.json Also trigger manual control when using "color_temp" in mired format (#402) 2022-12-11 17:23:08 -08:00
services.yaml Default lights of the apply service 2021-09-22 11:22:10 +03:00
strings.json Show config options on the switch as attributes with include_config_in_attributes option (#445) 2023-03-25 12:43:51 -07:00
switch.py Show config options on the switch as attributes with include_config_in_attributes option (#445) 2023-03-25 12:43:51 -07:00