Changed save_on_change to default to False (#6321)

This commit is contained in:
Zoé Bőle 2018-09-20 20:24:18 +02:00 committed by Paulus Schoutsen
parent b464765a1c
commit 1f4aad31cc

View File

@ -28,7 +28,7 @@ light:
name: Living Room
transition: 1000
use_music_mode: True #(defaults to False)
save_on_change: False #(defaults to True)
save_on_change: True #(defaults to False)
192.168.1.13:
name: Front Door
```
@ -39,7 +39,7 @@ Configuration variables:
- **name** (*Optional*): A friendly name for the device.
- **transition** (*Optional*, default 350): Smooth transitions over time (in ms).
- **use_music_mode** (*Optional*, default False): Enable music mode.
- **save_on_change** (*Optional*, default True): Saves the bulb state when changed from Home Assistant.
- **save_on_change** (*Optional*, default False): Saves the bulb state in its nonvolatile memory when changed from Home Assistant.
#### {% linkable_title Music mode %}
Per default the bulb limits the amount of requests per minute to 60, a limitation which can be bypassed by enabling the music mode. In music mode the bulb is commanded to connect back to a socket provided by the component and it tries to keep the connection open, which may not be wanted in all use-cases.