Commit graph

497 commits

Author SHA1 Message Date
Bas Nijholt
c78d1bec75 Fix setting RGB light in sleep 2022-08-31 23:18:09 -07:00
Bas Nijholt
4a6c966a53 Change order 2022-08-31 23:18:09 -07:00
Bas Nijholt
8965e6becf Ugly first implementation 2022-08-31 23:18:09 -07:00
Bas Nijholt
f500a3758e Update to translations and cleanup 2022-08-31 23:18:09 -07:00
Bas Nijholt
37304f3d35 test 2022-08-31 23:18:09 -07:00
Bas Nijholt
29a4b8a33c Add selection between RGB and color temp 2022-08-31 23:18:09 -07:00
Bas Nijholt
d3dce3166e Add strings and options 2022-08-31 23:18:09 -07:00
Bas Nijholt
7d10259bc8 Use RGB selector 2022-08-31 23:18:09 -07:00
Bas Nijholt
b8e54d5d5d
Merge pull request #327 from awashingmachine/master
Adds italian translation
2022-08-30 11:39:34 -07:00
Bas Nijholt
6fd16e34f4 Run pre-commit 2022-08-30 11:35:25 -07:00
awashingmachine
898be636fd Merge branch 'master' of https://github.com/basnijholt/adaptive-lighting 2022-08-30 20:17:26 +02:00
awashingmachine
6dc90ea81d Adds italian translation 2022-08-30 20:17:05 +02:00
Bas Nijholt
49fb9d8686
Merge pull request #326 from basnijholt/fix_no_settings 1.0.20
Make sure that 'settings' dict is populated when switch is off
2022-08-30 10:53:06 -07:00
Bas Nijholt
c0bc8d23da Bump to 1.0.20 2022-08-30 10:49:24 -07:00
Bas Nijholt
26797b677d Make sure that 'settings' dict is populated when switch is off
Closes #249 and #190
2022-08-30 10:48:34 -07:00
Bas Nijholt
61fff3e95b
Merge pull request #325 from basnijholt/no_turn_on_event 1.0.19
Take care of the turn_on_event not having registered an event for entity_id
2022-08-30 10:39:12 -07:00
Bas Nijholt
1642ae8da3 Bump to 1.0.19 2022-08-30 10:34:36 -07:00
Bas Nijholt
dee6eed67f Take care of the turn_on_event not having registered an event for entity_id 2022-08-30 10:29:32 -07:00
Bas Nijholt
f049c8d5db
Merge pull request #324 from basnijholt/service_data_empty 1.0.18
Take care of edge case where no area_id or entity_id in service_data
2022-08-30 09:50:26 -07:00
Bas Nijholt
52220b0328 Bump version to 1.0.18 2022-08-30 09:46:13 -07:00
Bas Nijholt
9e22e70d63 Take care of edge case where no area_id or entity_id in service_data 2022-08-30 09:45:05 -07:00
Bas Nijholt
dfee0fa6bd
Merge pull request #323 from glebsterx/patch-1
Adds Russian translation
2022-08-30 08:03:55 -07:00
Gleb
c208139aa1
Adds Russian translation 2022-08-30 13:04:21 +03:00
Bas Nijholt
1fd6787505 Bump version to 1.0.17 1.0.17 2022-08-29 19:40:14 -07:00
Bas Nijholt
bc0f84f88f
Merge pull request #321 from basnijholt/area_id
Add support for areas and add a test that reproduce issue of #75 #283
2022-08-29 19:38:49 -07:00
Bas Nijholt
48b7bc4398 Fix test_area 2022-08-29 19:36:15 -07:00
Bas Nijholt
7bcd70cbec Add TODO to the test 2022-08-29 19:25:04 -07:00
Bas Nijholt
acd506aeeb Only add the lights for an area 2022-08-29 19:07:34 -07:00
Bas Nijholt
b64c44fc8d Use area_entities to extract entity_ids from area 2022-08-29 18:51:24 -07:00
Bas Nijholt
17061f360f Add test_area test, reproduce issue of #75 2022-08-29 18:28:54 -07:00
Bas Nijholt
7cabb0d100 Add adapt_delay to README docs 2022-08-29 09:35:39 -07:00
Bas Nijholt
b9f28dd0ab Fix linting issues 2022-08-29 09:30:20 -07:00
Bas Nijholt
dd141d2335
Merge pull request #239 from MangoScango/delay
Avoid flickering on light turn on with a configurable delay
2022-08-29 09:29:51 -07:00
Bas Nijholt
26e412c583
Merge pull request #320 from basnijholt/add-pre-commit
Add pre-commit CI
2022-08-29 09:25:47 -07:00
Bas Nijholt
6b3686696b Fix pre-commit issues 2022-08-29 09:25:38 -07:00
Bas Nijholt
166044074a Add pre-commit CI 2022-08-29 09:25:26 -07:00
Bas Nijholt
707f955b0c
Merge pull request #30 from blueshiftlabs/context-cleanup
Clean up context ID generation.
2022-08-29 09:23:56 -07:00
Bas Nijholt
34f485881d
Merge branch 'master' into context-cleanup 2022-08-29 09:19:21 -07:00
Bas Nijholt
54eba57baf Rename steps in CI 2022-08-29 08:38:37 -07:00
Bas Nijholt
5aee7ae1d5 Fix hassfest error 2022-08-29 08:31:05 -07:00
Bas Nijholt
412ca6cf52 Add components.http dependencies 2022-08-28 22:28:36 -07:00
Bas Nijholt
93766b4a82
Merge pull request #317 from basnijholt/tests
Add tests
2022-08-28 22:25:32 -07:00
Bas Nijholt
2661765990 Remove test_expand_light_groups 2022-08-28 22:25:13 -07:00
Bas Nijholt
f198071584 Use variable 2022-08-28 22:24:36 -07:00
Bas Nijholt
60179cbe38 Fix test_separate_turn_on_commands 2022-08-28 22:02:52 -07:00
Bas Nijholt
3b03482593 Never return an empty list, fixes #81 2022-08-28 16:17:41 -07:00
Bas Nijholt
bc825f035c Remove fixture that is not neede 2022-08-28 16:12:12 -07:00
Bas Nijholt
26bce85318 Setup demo platform 2022-08-28 16:11:23 -07:00
Bas Nijholt
01fd7f96e2 Run all pre-commit filters 2022-08-28 15:08:03 -07:00
Bas Nijholt
5c760b5f4a call platform.init() 2022-08-28 15:07:07 -07:00