diff options
| author | manuel <manuel@mausz.at> | 2026-04-08 00:25:27 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2026-04-08 00:25:27 +0200 |
| commit | f9c16254aa9a07c1f9f2ba0b2531e291e430ecd8 (patch) | |
| tree | bc87f2547f9a23b5f7ace6cfec2043adb883d6bc /esphome/config/bedlight.yaml | |
| parent | bd3d4be315853bd179e33da0b091cf78e79eddae (diff) | |
| download | arduino-f9c16254aa9a07c1f9f2ba0b2531e291e430ecd8.tar.gz arduino-f9c16254aa9a07c1f9f2ba0b2531e291e430ecd8.tar.bz2 arduino-f9c16254aa9a07c1f9f2ba0b2531e291e430ecd8.zip | |
update power_save_mode to LIGHT + fix bedlight
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' |
