diff options
Diffstat (limited to 'esphome/config/bedlight.yaml')
| -rw-r--r-- | esphome/config/bedlight.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/esphome/config/bedlight.yaml b/esphome/config/bedlight.yaml index ac83f5d..d9d64f9 100644 --- a/esphome/config/bedlight.yaml +++ b/esphome/config/bedlight.yaml | |||
| @@ -47,8 +47,7 @@ wifi: | |||
| 47 | domain: .lan | 47 | domain: .lan |
| 48 | ssid: !secret wifi_ssid | 48 | ssid: !secret wifi_ssid |
| 49 | password: !secret wifi_password | 49 | password: !secret wifi_password |
| 50 | # see https://github.com/esphome/issues/issues/1532 | 50 | power_save_mode: LIGHT |
| 51 | power_save_mode: HIGH | ||
| 52 | 51 | ||
| 53 | # Enable fallback hotspot (captive portal) in case wifi connection fails | 52 | # Enable fallback hotspot (captive portal) in case wifi connection fails |
| 54 | ap: | 53 | ap: |
| @@ -67,6 +66,9 @@ light: | |||
| 67 | warm_white_color_temperature: 2000 K | 66 | warm_white_color_temperature: 2000 K |
| 68 | #restore_mode: RESTORE_AND_OFF | 67 | #restore_mode: RESTORE_AND_OFF |
| 69 | restore_mode: RESTORE_DEFAULT_OFF | 68 | restore_mode: RESTORE_DEFAULT_OFF |
| 69 | initial_state: | ||
| 70 | brightness: 1% | ||
| 71 | color_temperature: 250.0 mireds | ||
| 70 | 72 | ||
| 71 | output: | 73 | output: |
| 72 | #- id: gpio_r | 74 | #- id: gpio_r |
| @@ -170,6 +172,7 @@ globals: | |||
| 170 | - id: g_dim_level | 172 | - id: g_dim_level |
| 171 | type: float | 173 | type: float |
| 172 | initial_value: '0.02' | 174 | initial_value: '0.02' |
| 175 | restore_value: yes | ||
| 173 | - id: g_min_dim_level | 176 | - id: g_min_dim_level |
| 174 | type: float | 177 | type: float |
| 175 | initial_value: '0.02' | 178 | initial_value: '0.02' |
