Commit graph

69 commits

Author SHA1 Message Date
Bas Nijholt
f95093e1dc Bump to v1.30.0 2026-01-05 12:43:07 -08:00
Bas Nijholt
dc61bd191c
Bump to v1.29.0 2025-12-09 23:58:19 -08:00
Bas Nijholt
1968e1a9a6
Bump to v1.28.0 (#1310) 2025-11-27 12:42:20 -08:00
Bas Nijholt
e8af7a485e
Bump to 1.27.0 for fixes in 2025.12 (#1293) 2025-11-27 09:06:41 -08:00
Bas Nijholt
a8e35ae216
Release v1.26.0 (#1227) 2025-06-15 22:20:53 -07:00
Bas Nijholt
69c3e3503c
Release v1.25.0 (#1157) 2025-01-01 20:02:46 -08:00
Bas Nijholt
ac37b50330
Update manifest.json with version 2024-08-25 11:34:34 -07:00
Bas Nijholt
5a55299628
Bump to 1.22.0 (#1004) 2024-05-20 08:17:41 -07:00
Bas Nijholt
a0476632a5
Bump to 1.21.4 2024-05-20 08:15:00 -07:00
Marck
36115327da
Added light dependencies (#1003) 2024-05-20 08:14:11 -07:00
Bas Nijholt
01f639f5bb
Use after_dependencies to fix #950 (#999)
* Use `after_dependencies` to fix #950

* Sort manifest.json

* sort
2024-05-15 09:02:37 -07:00
Bas Nijholt
b1f8df6f14
Bump to 1.21.2 in manifest.json (#995) 2024-05-13 08:51:23 -07:00
Bas Nijholt
1a2cd7399d
Fix for HA <= 2024.3, closes #973 (#974)
* Fix for HA <= 2024.3, closes #973

* Link
2024-04-08 23:59:18 -07:00
Bas Nijholt
edf0427131
Update version in manifest.json (1.21.0) (#971) 2024-04-07 14:25:47 +02:00
Bas Nijholt
bb29bcc6c5
Update manifest.json (#862) 2023-12-07 23:52:02 -08:00
Bas Nijholt
792bed8cf6 Bump to 1.19.1 in manifest.json 2023-08-15 15:25:29 -07:00
Bas Nijholt
9112bb9f73
Bump to 1.19.0 in manifest.json (#734) 2023-08-09 19:06:48 -07:00
Bas Nijholt
da5147a583
Bump to 1.19.0b5 in manifest.json (#728) 2023-08-09 13:56:00 -07:00
Bas Nijholt
00ec76a467
Bump to 1.19.0b4 in manifest.json (#718) 2023-08-06 19:21:39 -07:00
Bas Nijholt
104664d358
Bump to 1.19.0b3 in manifest.json (#713) 2023-08-06 11:21:54 -07:00
Bas Nijholt
d2c6811e63
Bump to 1.19.0b2 in manifest.json (#710) 2023-08-05 23:06:27 -07:00
Bas Nijholt
11a4489cb5
Bump to 1.19.0b1 manifest.json (#706) 2023-08-05 14:42:40 -07:00
Bas Nijholt
4251ccacc5
Bump to 1.18.3 in manifest.json (#698) 2023-08-04 00:46:19 +00:00
Bas Nijholt
1842ac9bd5
Do not assert but issue a warning (#687)
* Do not assert but issue a warning

* bump to 1.18.2
2023-07-30 13:28:58 -07:00
Bas Nijholt
e98f0dfa55 Bump to 1.18.1 2023-07-30 13:11:30 -07:00
Bas Nijholt
8967747f31
Release 1.18.0 (fixes lights accidentally turning on 🚀🎉) (#676) 2023-07-28 17:25:50 -07:00
Bas Nijholt
f23aeb269b Bump to 1.17.5 2023-07-27 18:09:37 -07:00
Bas Nijholt
9e15d1bd22
Update to 1.17.4 in manifest.json (#670) 2023-07-27 16:51:59 +00:00
Bas Nijholt
e9297d562f
Cleanup after add_to_platform_abort is called, try-except intercept, update strings.json, fixes #658 (#659)
* Cleanup after add_to_platform_abort is called, fixes #658

* Add note

* try-catch because of priv

* Catch all exceptions

* Bump to 1.17.3 in manifest.json

* assert that hass is not None

* Rename _light_event_action -> _light_state_event_action

* update .github/update-strings.py

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

* update name

* Fixes

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

* Add name

* Do not add name

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-26 12:52:03 -07:00
Bas Nijholt
8696092879
Avoid adapting lights with nothing in service_data, closes #661 (#662) 2023-07-26 02:17:11 +00:00
Bas Nijholt
f9b6753e6d
Ensure that interpolation is in [0, 1], fixes #624 (#660)
* Ensure that interpolation is in [0, 1], fixes #624

* Bump to 1.17.1

* Add assert

* Interpolate via HSV space

* Add test
2023-07-25 10:46:34 -07:00
Bas Nijholt
7650a1b3e6
Bump to 1.17.0 in manifest.json (#657) 2023-07-23 21:44:17 +00:00
Bas Nijholt
fee90250ee
Better logging and prevent KeyError in state_changed_event_listener (#650)
* Better logging

* Remove useless and erroneous logging statement

* Bump to 1.16.3
2023-07-22 12:34:20 -07:00
Bas Nijholt
52c7e4b1d5
Bump to v1.16.2 in manifest.json (#647) 2023-07-21 14:56:44 -07:00
Bas Nijholt
2575f4ec30
Only adapt if switch if on in _service_interceptor_turn_on_handler (#642)
* Do not adapt if switch is off in _service_interceptor_turn_on_handler

* Bump to 1.16.1
2023-07-20 17:12:41 -07:00
Bas Nijholt
6c001b4132
Update version to 1.16.0 in manifest.json (#640) 2023-07-20 14:42:36 -07:00
Bas Nijholt
fd5f6bf310
Pass on lights that are not managed by AL, closes #638 (#639)
* Pass on lights that are not managed by AL, closes #638

* Rename exception
2023-07-20 11:53:38 -07:00
Bas Nijholt
1b31b26938
Add @protyposis to codeowners (#636) 2023-07-20 08:53:11 -07:00
Bas Nijholt
1133f0defa
Find adaptive_switch in TurnOnOffListener (#635)
* Find adaptive_switch in TurnOnOffListener

* remove unused argument

* Bump to 1.15.1
2023-07-20 08:52:14 -07:00
Mario Guggenberger
1cedb3fbc7
chore: bump manifest version to 1.15.0 (#634) 2023-07-19 18:53:42 +02:00
Bas Nijholt
68d500bd12
Update manifest.json (#613) 2023-06-12 16:13:29 -07:00
Bas Nijholt
90b8d6089d
Bump to 1.13.0 in manifest.json (#610) 2023-06-08 16:09:57 -07:00
Bas Nijholt
4683f083f6
Update version to 1.12.0 in manifest.json (#596) 2023-05-22 12:16:40 -07:00
Benjamin Auquite
e30b7debe5
Refactor _adapt_lights into _update_manual_control_and_maybe_adapt (#513)
* Add auto_reset_manual_control with async timer

* cherry-pick wait for transition stuff

* Update switch.py

* merge wait_for_transition

* Update switch.py

* not renamed in this branch yet.

* Update switch.py

* update tests

* Update switch.py

* Update switch.py

* merge related fix

* cleanup

* Revert "cleanup"

This reverts commit 3aa2f3242b.

* 0.1 sometimes fails the test

* not in this pr yet

* Update switch.py

* Update switch.py

* Update switch.py

* Update switch.py

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

* slight refactor

* Update switch.py

* Update switch.py

* Possible refactor of _update_attrs_and_maybe_adapt_lights

* cleaned up

* Revert "cleaned up"

This reverts commit 441cb1ff5c.

* Possible refactor of _update_attrs_and_maybe_adapt_lights (#537)

Co-authored-by: Benjamin Auquite <halomastar@gmail.com>

* Revert "Revert "cleaned up""

This reverts commit 11b268148b.

* remove bad merge conflict

* revert permissions

* Bump to 1.11.0

* Undo unrelated test changes

* 'else' instead of 'continue'

---------

Co-authored-by: Bas Nijholt <bas@nijho.lt>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2023-04-08 18:54:06 -07:00
Benjamin Auquite
a01fec0211
Bump to 1.10.1 (#551)
* Update manifest.json

* undo merge mistake

* Version 1.10.1
2023-04-06 13:29:32 -07:00
Bas Nijholt
59877a0343
Make sure context_id is 26 chars and partially conform to ULID standard (#550) 2023-04-06 12:37:02 -07:00
Benjamin Auquite
c7f44e472f
Correctly wait for transitions (#510)
* Add auto_reset_manual_control with async timer

* cherry-pick wait for transition stuff

* Update switch.py

* not renamed in this branch yet.

* Update switch.py

* update tests

* Update switch.py

* merge related fix

* cleanup

* Revert "cleanup"

This reverts commit 3aa2f3242b.

* Update switch.py

* Update switch.py

* Update switch.py

* Small refactor

* Move test to old position for better diffs

* Revert "Small refactor"

This reverts commit b986b3f77c.

* Update README.md

* fix the test

last_state_change isn't updated quick enough.

* #510 changes (#516)

* Change (WIP)

* Update test_switch.py

* Refactor

* Revert "Revert "Small refactor""

This reverts commit 3731c99936.

* Update README.md

* Fix the test

* Bump to 1.9.0 (#518)

* Basic community fixes PR (#460)

* Fixes #423

#423

* Do not adapt lights turned on with custom payloads.

* Update switch.py

* Issue fixes

#423, #378, #403, #449

* quickly test #274

* Revert feature requests, this branch only has fixes.

Reverted FR 274

* pre-commit fix

* Create automerge.yaml

* test

* Delete automerge.yaml

My bad.

* Fix #460 and #408

* see @basnijholt 's comment in #450.

* @basnijholt requested changes.

---------

Co-authored-by: Bas Nijholt <bas@nijho.lt>

* Undo accidental changes introduced in #509, but adds the changes from #460 (#521)

* Release 1.9.1 (#522)

* Bump to 1.9.1

* Add CODEOWNERS

---------

Co-authored-by: Benjamin Auquite <halomastar@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* No need to wrap the reset

* Remove unused attrs

* Shorter log message

* revert unrelated tests change

* remove unused function

* Use patch

* Bump to 1.10.0

---------

Co-authored-by: Bas Nijholt <bas@nijho.lt>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2023-04-03 17:04:06 -07:00
Bas Nijholt
d768a1e825
Release 1.9.1 (#522)
* Bump to 1.9.1

* Add CODEOWNERS
2023-04-03 02:07:05 -07:00
Bas Nijholt
87391e6d24
Bump to 1.9.0 (#518) 2023-04-03 01:01:58 -07:00
Bas Nijholt
ccf18c3879
Bump to 1.8.0 (#508) 2023-04-02 19:17:35 -07:00