Commit graph

346 commits

Author SHA1 Message Date
Bas Nijholt
f049c8d5db
Merge pull request #324 from basnijholt/service_data_empty
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
Gleb
c208139aa1
Adds Russian translation 2022-08-30 13:04:21 +03:00
Bas Nijholt
1fd6787505 Bump version to 1.0.17 2022-08-29 19:40:14 -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
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
6b3686696b Fix pre-commit issues 2022-08-29 09:25:38 -07:00
Bas Nijholt
34f485881d
Merge branch 'master' into context-cleanup 2022-08-29 09:19:21 -07:00
Bas Nijholt
5aee7ae1d5 Fix hassfest error 2022-08-29 08:31:05 -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
01fd7f96e2 Run all pre-commit filters 2022-08-28 15:08:03 -07:00
Bas Nijholt
57d51183fe
Update version number 2022-08-28 11:30:20 -07:00
Bas Nijholt
34a855d75f Remove support for "white_value", closes #313 2022-08-28 11:19:40 -07:00
Hudson Brendon
b2790d4a19
Rename pt-br.json to pt-BR.json 2022-08-06 04:41:23 -03:00
Hudson Brendon
f4e6ab4c58
Create pt-br.json 2022-08-06 03:48:08 -03:00
LukaszP2
995a74b779
Create pl.json
Polish translotion
2022-07-03 12:01:03 +02:00
Joscha Wagner
86be7c63eb
Update manifest.json 2022-05-19 05:55:46 +02:00
Bas Nijholt
b6419bd09e remove unused imports 2022-04-17 19:51:44 -07:00
Bas Nijholt
44a7e41e80 use pyupgrade 2022-04-17 19:50:55 -07:00
Bas Nijholt
13ff09dc2f run black 2022-04-17 19:50:11 -07:00
Lynilia
c96a351864 Add French translation 2022-03-11 02:36:13 +01:00
MangoScango
d56852a197 Update Strings 2021-12-24 12:46:02 -05:00
MangoScango
c509bd81c0 add adapt_delay config
Option to set a delay between when a lightstate off -> on event is detected, and lights are adapted. Trying to adapt lights that are still going through their initial turning on fade in transition can cause flickering, so setting this to a number higher than the transition time avoids the problem.
2021-12-24 11:44:34 -05:00
bedaes
b4138c7827 Fix tuple expression in type annotation 2021-12-12 00:01:21 +01:00
covid10
21f088e825
device_state_attributes warnings 2021.12.0b (#230)
* device_state_attributes warnings 2021.12.0b

Fix for device_state_attributes warnings which began in release 2021.12.0b

* device_state_attributes warnings 2021.12.0b

Fix for device_state_attributes warnings which began in release 2021.12.0b
2021-12-11 13:23:31 +01:00
covid10
741225ab90
Norwegian translation
Norwegian (norsk bokmål) translation
2021-12-10 17:27:42 +01:00
covid10
169042ce9d
Create nb.json
Norwegian (norsk bokmål) translation
2021-12-10 17:14:50 +01:00
Simon Gurcke
cc90c51255 Fix default lights for adaptive_lighting.apply service 2021-11-13 23:49:03 +10:00
vapescherov
249d6f82c8 Allow sunsets after midnight 2021-11-08 03:46:50 +05:00
Sindre Broch
346dda9c6c
Fix spelling in description to Kelvin 2021-09-22 21:40:21 +02:00
Michel Peterson
f3a3c1cd48 Default lights of the apply service
The apply service is meant to apply the adaptive lighting parameters to a specific set of light(s). This set of lights need to be passed to the service, even though each Adaptive Lighting switch already has this list configured on itself. While having the flexibility to apply to some, it also might be useful to apply to all lights that the switch manages.

This patch makes the lights paramater optional and defaults it to the lights configured on the corresponding configuration entry of the switch being called.
2021-09-22 11:22:10 +03:00
Bas Nijholt
95d4f8c327
Merge pull request #180 from quantumlemur/master
Calculate future settings to allow for long transition periods
2021-09-16 12:21:32 +02:00
Avi Miller
fa10d95305
Make the transition time to/from sleep mode configurable
Signed-off-by: Avi Miller <me@dje.li>
2021-09-16 14:15:36 +10:00
Michael "Chishm" Chisholm
7581c8bf82 Associate contexts with causing events/services via parent_id 2021-09-08 13:27:55 +10:00
Mike Roberts
64e48dfd54 calculate light settings at end of transition period 2021-09-07 13:30:34 -07:00
@RubenKelevra
995ecb4ebf
update code owners in manifest
- fix formatting
- update version
2021-08-01 22:14:36 +02:00
@RubenKelevra
038e7c8a32
manifest.json: fix informations/add missing ones
- fix documentation link
- add issue_tracker link
- add iot_class
- fix version
2021-08-01 18:06:38 +02:00
Michael Kirsch
c17170c507 add xy and hs as alternative color modes 2021-07-18 21:12:34 +02:00
Denys Dovhan
cd439ea58f
Add Ukrainian 2021-06-20 16:51:33 +03:00
Nicholai Nissen
18e057fd42 i18n: Add Danish translation 2021-06-20 13:06:42 +02:00
Bas Nijholt
40bc5dad17
fix time_zone AttributeError, fixes #128
Thanks @yurnih!
2021-06-03 09:56:38 +02:00
David Stenbeck
b45f8d7f32 Spelling error 2021-05-27 15:33:46 +02:00
David Stenbeck
deb348a535 Improvements to setting descriptions. 2021-05-27 15:30:11 +02:00
Bas Nijholt
41d149d9bb always add brightness when color is supported, see comment by @DigitalFeonix
https://github.com/basnijholt/adaptive-lighting/issues/112#issuecomment-836944011
2021-05-10 20:19:47 +02:00
Bas Nijholt
99049415dc support ATTR_SUPPORTED_COLOR_MODES 2021-05-10 18:26:26 +02:00
Bas Nijholt
20a37b4103 fix 'AttributeError: 'Location' object has no attribute 'solar_noon'' 2021-04-30 11:00:06 +02:00