Skip to content

Commit c8b92a0

Browse files
janwLandrash
authored andcommitted
switch.flux: Corrected update service name in docs (home-assistant#2783)
The docs previously suggested a "generalized" service name for updating flux manually, when the name is actually determined by the name of the switch in the config.
1 parent 86b7fc4 commit c8b92a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/switch.flux.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The component will update your lights based on the the time of day. It will only
1818

1919
During the day (in between `start time` and `sunset time`), it will fade the lights from the `start_colortemp` to the `sunset_colortemp`. After sunset (between `sunset_time` and `stop_time`), the lights will fade from the the `sunset_colortemp` to the `stop_colortemp`. If the lights are still on after the `stop_time` it will continue to change the light to the `stop_colortemp` until the light is turned off. The fade effect is created by updating the lights every 30 seconds with a 30 second transition time.
2020

21-
If you don't wish to have flux update on 30 second intervals, you can leave the switch turned off and use automation rules that call the service `switch.flux_update` whenever you want the lights updated.
21+
If you don't wish to have flux update on 30 second intervals, you can leave the switch turned off and use automation rules that call the service `switch.<name>_update` whenever you want the lights updated, where `<name>` equals the `name:` property in the switch configuration.
2222

2323
To use the Flux switch in your installation, add the following to your `configuration.yaml` file:
2424

0 commit comments

Comments
 (0)