Commit graph

107 commits

Author SHA1 Message Date
Benjamin Auquite
4fcf238360
Update README.md on transition_until_sleep parameter (#539)
* Update README.md

I believe you changed the config option's name after I posted the graph, so I renamed the config option there too.

There was also a deleted user on the contributions list so I went ahead and removed that too.

* chore(docs): update TOC

* Update README.md

---------

Co-authored-by: th3w1zard1 <th3w1zard1@users.noreply.github.com>
2023-04-04 20:52:54 -07:00
allcontributors[bot]
744e43f4bf
docs: add th3w1zard1 as a contributor for maintenance (#538)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-04 08:54:54 -07:00
allcontributors[bot]
be0735002c
docs: add th3w1zard1 as a contributor for bug (#534)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-03 21:59:14 -07:00
Bas Nijholt
b730c7cc90
Add scripts to auto update en.json, strings.json and services.yaml (#520)
* Add scripts to auto update strings.json and services.yaml

* Run services

* simplify

* Run strings

* rerun

* revert

* allow unicode

* Add CODEOWNERS

* Update CODEOWNERS

* set CONF_USE_DEFAULTS docs

* add field_name

* Auto run scripts

* Update desc

* Update README.md, strings.json, and services.yaml

* double quotes

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

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

* Update README.md, strings.json, and services.yaml

* Add newline

* sync changes between en.json and strings.json

* Update README.md, strings.json, and services.yaml

* double quotes

* fix

* Update README.md, strings.json, and services.yaml

* Add comments

* Remove comments

* shorter

* Update README.md, strings.json, and services.yaml

* Rephrase

* Update README.md, strings.json, and services.yaml

* remove key from desc

---------

Co-authored-by: Benjamin Auquite <halomastar@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-03 14:59:14 -07:00
Bas Nijholt
19fcb1d6b9
Automatically generate more service tables in the README (#509)
* Automatically sync more data

* Automatically generate apply table

* Generate manual control

* Add manual control docs

* Update README.md

* Move docs functions to separate file

* Update code

* simple

* no path

* link paths

* Fix link

* missed

* cd core

* Update README.md

* Allow alternative docs

* update readme

* More special

* Fx

* Update README.md

* Remove common descriptions

* Update README.md

* Update README.md

* Rephrase

* Update README.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-03 00:58:39 -07:00
allcontributors[bot]
cdc3585a66
docs: add igiannakas as a contributor for code (#517)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-04-03 07:58:20 +00:00
igiannakas
9caf3048f1
Continue to adapt color temperature down to the sleep temperature after sunset (#87)
* Update switch.py

Continue to adapt color temperature down to the sleep temperature after sunset. Results in a gradually warming light during the night time rather than a fixed color temperature throughout the night time.

* Run pre-commit

* Merge branch 'master' into pr/87

* add config option bool `adapt_until_sleep` defaulting to `false`

---------

Co-authored-by: Bas Nijholt <bas@nijho.lt>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
Co-authored-by: Benjamin Auquite <halomastar@gmail.com>
2023-04-03 07:27:07 +00:00
Benjamin Auquite
c915bda9b9
Autoreset_Control_Time - small changes (#515)
* small changes

* Update README.md

* trivial comment change

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2023-04-03 06:57:12 +00:00
Bas Nijholt
ea2a6b0173
Add auto_reset_manual_control with async timer (#487)
* Add auto_reset_manual_control with async timer

* Add failing test

* Debugging

* Refactor find_switch_for_lights

* Revert changes in is_manually_controlled

* style

* Fix test_manual_control

* add types

* fixes

* dict

* make all tests pass

* text

* Rework find_switch_for_lights

* Style

* Better check

* revert, do in other test!

* No need to log when raising

* Add type hint

* Suggestion https://github.com/basnijholt/adaptive-lighting/pull/488/files#r1152408541 by @th3w1zard1

* Small fixes

* document new config everywhere (#496)

* chore(docs): update TOC

* undo change

* fi

* Update README.md

* Update README.md

* chore(docs): update TOC

* Update README.md

* Use markdown-code-runner

* Remove

* Use markdown-code-runner instead of packaged solution

* fix comment

* Only commit when needed

---------

Co-authored-by: Benjamin Auquite <halomastar@gmail.com>
Co-authored-by: basnijholt <basnijholt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-03 02:22:23 +00:00
Bas Nijholt
8108bd0a4b
Use markdown-code-runner instead of packaged solution (#505)
* Use markdown-code-runner instead of packaged solution

* add debug
2023-04-02 18:56:36 -07:00
Bas Nijholt
cc8ce29a8a
Auto-generate the configuration options documentation (#498)
* Autogenerate the documentation and strings

* Line limit

* Split

* Happy pre-commit

* Split up workflows

* Generate table function

* raise

* Add gen script

* chore(docs): update TOC

* Add gen script

* path

* Run - name: Install Home Assistant

* chore(docs): update TOC

* add copyright

* Fix branch name

* Run on PRs

* dev

* remove steps

* use matrix

* Run script

* chore(docs): update TOC

* Try fixing CI

* fix

* test

* refactor

* chore(docs): update TOC

* fix

* update

* use v3

* rename

* Fix input

* fix pytest

* fix path

* paths

* Change to github.head_ref

* More backticks

* Add extra text

* chore(docs): update TOC

* backticks

* Update README.md

---------

Co-authored-by: basnijholt <basnijholt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-01 23:43:20 -07:00
Bas Nijholt
26c19525cd
Rewrite the README (#492)
* Rewrite the README

* More changes

* More

* Rewrites

* Test collapse

* test

* Fix

* backticks

* Rewrite options

* emoji headings

* chore(docs): update TOC

---------

Co-authored-by: basnijholt <basnijholt@users.noreply.github.com>
2023-03-30 20:58:29 +00:00
Bas Nijholt
1ca3bf0f6a
Retroactive review changes for #443 (#485)
* Retroactive review changes for #443

* Move up __init__

* Add test for test_change_switch_settings_service

* Add docs

* Add test for defaults

* Remove unused function

* Add skip var

* move pylint marker

* Refactor validate

* Update README.md

---------

Co-authored-by: Benjamin Auquite <halomastar@gmail.com>
2023-03-27 20:56:54 -05:00
Benjamin Auquite
c05e0cc244 Change attributes in AdaptiveSwitch via service call (#443) 2023-03-27 09:05:24 -07:00
Bas Nijholt
36154ca606
Format the Markdown table in README.md (#471) 2023-03-27 01:21:00 +00:00
allcontributors[bot]
66e65e2fe7
docs: add raman325 as a contributor for code (#466)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-03-25 20:41:56 -07:00
allcontributors[bot]
97e2e27a9b
docs: add firstof9 as a contributor for code (#465)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-03-25 20:28:22 -07:00
allcontributors[bot]
5552f5ec89
docs: add skycarl as a contributor for doc (#464)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-03-25 19:12:47 -07:00
allcontributors[bot]
8c630c995a
docs: add th3w1zard1 as a contributor for code (#463)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-03-25 12:46:10 -07:00
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
allcontributors[bot]
c3f26a3685
docs: add brebtatv as a contributor for translation (#431)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-02-12 14:34:42 -08:00
allcontributors[bot]
53455f15a7
docs: add deviantintegral as a contributor for doc (#428)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2023-02-12 14:28:56 -08:00
Andrew Berry
6482fc54c2
Add troubleshooting steps for lights (#427)
* Fix skipping heading level

* Add troubleshooting for when lights misbehave

* Rephrase Zigbee groups troubleshooting section

Co-authored-by: Andrew Berry <andrew@furrypaws.ca>

---------

Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2023-02-12 14:28:37 -08:00
allcontributors[bot]
4ef577ff7c
docs: add ngommers as a contributor for translation (#401)
* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-12-11 09:35:55 -08:00
allcontributors[bot]
185b4041bf
docs: add talllguy as a contributor for doc (#397)
* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-12-08 10:48:44 -08:00
Elliott Plack
b910b565d4
Updated optional status for lights in service
While implementing `adaptive_lighting.**apply**` in automations, I've noticed that listing the lights isn't required. For instance, if I have an adaptive lighting entity called `adaptive_lighting.office`, I can condition a motion sensor trigger with the following action successfully:

    service: adaptive_lighting.apply
    data:
      entity_id: switch.adaptive_lighting_office
      turn_on_lights: true
2022-12-08 09:22:14 -05:00
Mark Niemeyer
bf82beab82 add send_split_delay to README 2022-11-27 20:37:28 +01:00
allcontributors[bot]
d7e1b5cf4d
docs: update README.md 2022-11-27 17:09:00 +00:00
allcontributors[bot]
8275ccd36c
docs: update README.md 2022-11-27 17:07:33 +00:00
Bas Nijholt
9ed1f596eb Change title for better view in HACS 2022-11-13 12:33:42 -08:00
Bas Nijholt
e9984ef4e1 Change title, better description in HACS 2022-11-13 12:13:00 -08:00
Bas Nijholt
48fa920e37 Regenerate README 2022-11-09 19:10:38 -08:00
Bas Nijholt
4740844f1d docs: add @matt-forster as a contributor 2022-11-09 19:09:24 -08:00
Bas Nijholt
1e87750ba0 docs: add @robert-crandall as a contributor 2022-11-09 19:09:14 -08:00
Bas Nijholt
015b46a3fd Fix time defaults in table 2022-11-08 18:55:37 -08:00
Bas Nijholt
bd1bad3f53 docs: add @claytonjn as a contributor 2022-11-08 10:21:09 -08:00
Bas Nijholt
125bc43173 move badge 2022-11-08 10:20:40 -08:00
Bas Nijholt
fd88bbe563 docs: add @awashingmachine as a contributor 2022-11-08 10:00:41 -08:00
Bas Nijholt
a341a9169a docs: add @bedaes as a contributor 2022-11-08 10:00:40 -08:00
Bas Nijholt
ed7fbe856d docs: add @blueshiftlabs as a contributor 2022-11-08 10:00:38 -08:00
Bas Nijholt
e30910ad73 docs: add @chishm as a contributor 2022-11-08 10:00:37 -08:00
Bas Nijholt
b6808125a2 docs: update @covid10 as a contributor 2022-11-08 10:00:35 -08:00
Bas Nijholt
0c74ee81b0 docs: add @covid10 as a contributor 2022-11-08 10:00:34 -08:00
Bas Nijholt
a0bca63800 docs: add @danaues as a contributor 2022-11-08 10:00:32 -08:00
Bas Nijholt
4573261c7b docs: add @Davst as a contributor 2022-11-08 10:00:31 -08:00
Bas Nijholt
58fe0888fc docs: add @denysdovhan as a contributor 2022-11-08 10:00:29 -08:00
Bas Nijholt
93f3232587 docs: update @Djelibeybi as a contributor 2022-11-08 10:00:28 -08:00
Bas Nijholt
9063dedb37 docs: add @Djelibeybi as a contributor 2022-11-08 10:00:27 -08:00
Bas Nijholt
5d84859332 docs: add @ghost as a contributor 2022-11-08 10:00:25 -08:00
Bas Nijholt
5ed39db275 docs: add @glebsterx as a contributor 2022-11-08 10:00:24 -08:00