Commit graph

789 commits

Author SHA1 Message Date
Bas Nijholt
aeeddd034a shorter periods 2023-08-10 15:59:41 -07:00
Bas Nijholt
2f0223d603 await in test again 2023-08-10 14:12:32 -07:00
Bas Nijholt
98390a5bab revert tests 2023-08-10 14:07:23 -07:00
Bas Nijholt
6ef8d414e4 undo log 2023-08-10 14:03:38 -07:00
Bas Nijholt
04b3c53754 remove log statement 2023-08-10 13:58:20 -07:00
Bas Nijholt
5648750f92 assert 0 2023-08-10 13:49:49 -07:00
Bas Nijholt
eb572093a7 await switch.manager.adaptation_tasks 2023-08-10 13:48:36 -07:00
Bas Nijholt
29ce84b27c add log 2023-08-10 13:19:23 -07:00
Bas Nijholt
1193f4d102 remove logging call and use hass.async_create_task 2023-08-10 13:14:54 -07:00
Bas Nijholt
8ad56a3403 add one more logging call 2023-08-10 13:10:21 -07:00
Bas Nijholt
ad897fdcba add more logging 2023-08-10 13:02:24 -07:00
Bas Nijholt
e17902484e probably 3a06659120aa629e0db290ec9e83e2ad129baaf3 is the cause 2023-08-10 12:14:35 -07:00
Bas Nijholt
11c4d72bcc limit range 2023-08-10 12:08:26 -07:00
Bas Nijholt
3a79c8dd6a limit range 2023-08-10 11:54:32 -07:00
Bas Nijholt
82c57cc82f test more 2023-08-10 11:48:04 -07:00
Bas Nijholt
d910bf5f7e run a crazy amount of jobs 2023-08-10 00:50:57 -07:00
Bas Nijholt
163493b6d4 one before 2023.7.3 and one after 2023-08-10 00:45:01 -07:00
Bas Nijholt
255b443f25 more 2023-08-10 00:30:44 -07:00
Bas Nijholt
bb09c73dda more 2023-08-09 23:39:49 -07:00
Bas Nijholt
d5c0fe1f0f more 2023-08-09 23:32:16 -07:00
Bas Nijholt
eb7786352e more 2023-08-09 23:25:42 -07:00
Bas Nijholt
4508c3939d verify error in 2023.8.0 2023-08-09 23:19:10 -07:00
Bas Nijholt
814bbd6abc use full ref 2023-08-09 23:18:18 -07:00
Bas Nijholt
34b3dee773 more tests 2023-08-09 23:15:24 -07:00
Bas Nijholt
af6db3dc65 Merge remote-tracking branch 'origin/main' into fix-autoreset-dev-core 2023-08-09 23:10:17 -07:00
Bas Nijholt
a591b238a2 Test working and non-working 2023-08-09 23:09:14 -07:00
Bas Nijholt
9112bb9f73
Bump to 1.19.0 in manifest.json (#734) 1.19.0 2023-08-09 19:06:48 -07:00
Bas Nijholt
cf8bd946ca remove loggin 2023-08-09 18:28:10 -07:00
Bas Nijholt
a641f28d3e change times 2023-08-09 18:27:42 -07:00
Bas Nijholt
76a0f898d9 Fix autoreset_control_seconds_test on dev HA core 2023-08-09 17:41:33 -07:00
Bas Nijholt
5b7ee44629
Fix length of descriptions in UI (config flow) (#732)
* Fix length of strings in UI

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

* fix

* add desc

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

* mention webapp

* Add desc

* link

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-10 00:17:25 +00:00
Bas Nijholt
487756b345 Add full changelog to releases 2023-08-09 15:01:00 -07:00
Bas Nijholt
750acc9784 Add release-drafter config 2023-08-09 14:57:34 -07:00
Bas Nijholt
0d387d4bcd
Add release-drafter GitHub Action (#731) 2023-08-09 14:56:08 -07:00
Bas Nijholt
435b2ce5d0
Fix adapt_only_on_bare_turn_on and apply does not result in manual_control (#729)
* Fix adapt_only_on_bare_turn_on and apply does not result in manual_control

Closes #723

* fix style
2023-08-09 21:48:18 +00:00
Bas Nijholt
da5147a583
Bump to 1.19.0b5 in manifest.json (#728) 1.19.0b5 2023-08-09 13:56:00 -07:00
Bas Nijholt
597e050ab2
Prevent light.turn_on of light that was just turned off (#727)
Closes #726
2023-08-09 13:54:18 -07:00
Bas Nijholt
b06d38eb24 Add mp4 link in README 2023-08-08 18:03:17 -07:00
Bas Nijholt
db5f9d623c
Mention app more prominently and improve style (#725)
* Mention app more prominently

* Use dark-mode

* add setuptools

* no cyber

* no not run on PR

* Ruff fixes

* Add link

* remove unused deps
2023-08-08 17:34:35 -07:00
Bas Nijholt
f8e7880a96
Split up SunLightSettings and improve https://basnijholt.github.io/adaptive-lighting/ (#719)
* Split up SunLightSettings

* Renames

* factor out SunEvents

* more renames

* rewrite

* rewrite more

* simpler

* refactor

* refact

* raise

* refact

* rename

* move method

* clean

* Move to new module 'sun.py'

* make sun independent of HA

* rename

* Move to webapp/homeassistant_util_color.py

* Rework app

* Add link

* new plotting

* app changes

* fix tests

* test clean

* tz fixes

* fix

* use sed

* verbose

* fix tz

* fix

* tiem
2023-08-08 21:31:17 +00:00
pre-commit-ci[bot]
61d51cbf1e
[pre-commit.ci] pre-commit autoupdate (#722)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.282](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.281...v0.0.282)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-07 22:20:28 -07:00
Bas Nijholt
00ec76a467
Bump to 1.19.0b4 in manifest.json (#718) 1.19.0b4 2023-08-06 19:21:39 -07:00
Bas Nijholt
ef1546b6b9
Fix min_sunrise_time and max_sunset_time (#717)
Closes #714
2023-08-07 02:21:16 +00:00
Bas Nijholt
69355b8c3a
Small WebApp improvements (#716)
* Small WebApp improvements

* Add link
2023-08-07 00:20:58 +00:00
Bas Nijholt
943a6360c7
Add simple webapp to play with different parameters (#715)
* Add simple webapp to play with different parameters

* ignore
2023-08-06 16:42:56 -07:00
Bas Nijholt
104664d358
Bump to 1.19.0b3 in manifest.json (#713) 1.19.0b3 2023-08-06 11:21:54 -07:00
Bas Nijholt
cb9ae39ee4
Fix adaptive_lighting.change_switch_settings service (#712)
* Fix adaptive_lighting.change_switch_settings service

Closes #623

* filter defaults

* fix mutable

* Revert debugging logs
2023-08-06 11:15:14 -07:00
Bas Nijholt
d2c6811e63
Bump to 1.19.0b2 in manifest.json (#710) 1.19.0b2 2023-08-05 23:06:27 -07:00
Benjamin Auquite
fec50ad526
Adapt lights simultaneously instead of one by one (#529)
* Update switch.py

* Update test_switch.py

* Revert "Update test_switch.py"

This reverts commit 87ea5243b9.

* remove unnecessary create_task

* remove unneeded len()

* Revert "remove unnecessary create_task"

This reverts commit 2c5da6d739.

* use `hass.async_create_task`

---------

Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
Co-authored-by: Bas Nijholt <bas@nijho.lt>
2023-08-05 21:19:18 -07:00
Bas Nijholt
d44cb66148
Add adapt_only_on_bare_turn_on which instantly triggers manual_control when turning on with brightness or color (#709) 2023-08-05 20:56:32 -07:00