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
Bas Nijholt
b5eed585ca
support Astral v2
2021-04-30 10:46:14 +02:00
Bas Nijholt
30d85e3ae7
add version string in manifest.json
2021-03-01 19:20:18 +01:00
Jüri Rebane
36c1007522
Create et.json
...
Made Estonian (et-EE) translation.
Best, JR
2020-12-27 21:07:30 +01:00
Bas Nijholt
73ce5f1543
separate_turn_on_commands fix when _split_service_data returns 1 item
2020-12-27 13:35:43 +01:00
Bas Nijholt
1ec6866189
fix bug when resetting switch and it's off
2020-12-27 13:05:05 +01:00
Bas Nijholt
4257d27dee
deal with 'light.turn_on' with multiple lights, which appear as csv list
...
Solves the bug reported in #39 (https://github.com/basnijholt/adaptive-lighting/issues/39 )
2020-12-19 16:33:33 +01:00
Bas Nijholt
91b27490ef
wait between turn_on commands for transition/2 if separate_turn_on_commands is used
...
See #49
2020-12-19 14:34:47 +01:00
Bas Nijholt
b9ec138c7d
log fire adaptive_lighting.manual_control event
2020-12-19 14:09:26 +01:00
Bas Nijholt
ff2321ece9
simplify _split_service_data
2020-12-19 14:06:48 +01:00
Bas Nijholt
44c2850e32
add switch entity_id to adaptive_lighting.manual_control event
2020-12-19 13:56:38 +01:00
Bas Nijholt
17ac395124
improve separate_turn_on_commands option
2020-10-30 12:08:47 +01:00
Bas Nijholt
8c39662318
add separate_turn_on_commands option for MQTT lights
...
Closes https://github.com/basnijholt/adaptive-lighting/issues/29
2020-10-27 20:39:05 +01:00
Bas Nijholt
c8620c3338
if lights is not specified in set_manual_control, select all lights
...
Closes #28
2020-10-27 17:52:37 +01:00
Matt Forster
ea87e69d3d
chore: move comment
2020-10-26 13:50:47 -06:00
Matt Forster
f92a4b9e0a
feat: add white value to service data
...
White value is available as a channel for brightness. This adds the support for lights that use it, using the same calculated value as brightness.
2020-10-26 13:44:23 -06:00
Bas Nijholt
3352fa3b9c
fix apply service, closes #24
2020-10-25 09:35:54 +01:00
Bas Nijholt
4ffa6fc0e4
fix bug: make sure 'last_state is not None'
2020-10-22 23:04:57 +02:00
Bas Nijholt
4d242493dc
Merge pull request #19 from myhrmans/patch-2
...
Add translation for Swedish
2020-10-22 14:45:26 +02:00
Bas Nijholt
da0b2552b9
fix name bug
2020-10-22 12:34:36 +02:00
Bas Nijholt
4de7e8d1e0
fix issue with initial state
2020-10-22 11:15:38 +02:00
Martin Myhrman
9d0d069c4b
Add translation for Swedish
2020-10-22 10:37:08 +02:00
Bas Nijholt
f65ba6c2b2
Merge pull request #17 from Fabian1185/master
...
Added german translation
2020-10-21 23:44:12 +02:00
Bas Nijholt
90e8544954
no need to track the state of adapt_brightness and color switches
2020-10-21 23:14:20 +02:00
Bas Nijholt
8b6527fd14
define a adapt_brightness and adapt_color switch and watch for color or brightness related data in light.turn_on
2020-10-21 23:05:12 +02:00
Fabian1185
d1ba4b1be8
Added german translation
...
de.json added
2020-10-21 11:11:31 +02:00
Bas Nijholt
7555638b6f
add percent
2020-10-20 00:06:10 +02:00
Bas Nijholt
5aed27eb0a
small changes that came up in implementing tests
2020-10-19 20:43:58 +02:00
Bas Nijholt
4b31281cf5
remove long doc-string
2020-10-17 16:54:15 +02:00
Bas Nijholt
7ce7f4e2c1
fix tz bug
2020-10-17 15:43:24 +02:00