diff options
| author | manuel <manuel@mausz.at> | 2023-10-12 11:32:46 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2023-10-12 11:32:46 +0200 |
| commit | 4454e96b906de8670ed2aa7af70ebf8d532c7d83 (patch) | |
| tree | efdd7267f629103e5abdad700d48b69c8573dbf6 /esphome/config/bedlight.yaml | |
| parent | 714da4710132ef1af05640d3e10aab507101f70d (diff) | |
| download | arduino-4454e96b906de8670ed2aa7af70ebf8d532c7d83.tar.gz arduino-4454e96b906de8670ed2aa7af70ebf8d532c7d83.tar.bz2 arduino-4454e96b906de8670ed2aa7af70ebf8d532c7d83.zip | |
esphome: migrate to api encryption key
Diffstat (limited to 'esphome/config/bedlight.yaml')
| -rw-r--r-- | esphome/config/bedlight.yaml | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/esphome/config/bedlight.yaml b/esphome/config/bedlight.yaml index 81392b0..f34f021 100644 --- a/esphome/config/bedlight.yaml +++ b/esphome/config/bedlight.yaml | |||
| @@ -2,15 +2,16 @@ esphome: | |||
| 2 | name: bedlight | 2 | name: bedlight |
| 3 | platform: ESP8266 | 3 | platform: ESP8266 |
| 4 | board: esp01_1m | 4 | board: esp01_1m |
| 5 | #esp8266_restore_from_flash: true | ||
| 5 | 6 | ||
| 6 | # light default values | 7 | # light default values |
| 7 | on_boot: | 8 | #on_boot: |
| 8 | then: | 9 | # then: |
| 9 | - light.control: | 10 | # - light.control: |
| 10 | id: bed | 11 | # id: bed |
| 11 | state: off | 12 | # state: on |
| 12 | brightness: 50% | 13 | # brightness: 10% |
| 13 | color_temperature: 3000 K | 14 | # color_temperature: 330.0 mireds |
| 14 | 15 | ||
| 15 | # Enable logging | 16 | # Enable logging |
| 16 | logger: | 17 | logger: |
| @@ -19,7 +20,8 @@ logger: | |||
| 19 | 20 | ||
| 20 | # Enable Home Assistant API | 21 | # Enable Home Assistant API |
| 21 | api: | 22 | api: |
| 22 | password: !secret api_password | 23 | encryption: |
| 24 | key: !secret api_encryption_key | ||
| 23 | 25 | ||
| 24 | # OTA | 26 | # OTA |
| 25 | ota: | 27 | ota: |
| @@ -46,7 +48,8 @@ light: | |||
| 46 | warm_white: pwm_b_t | 48 | warm_white: pwm_b_t |
| 47 | cold_white_color_temperature: 6536 K | 49 | cold_white_color_temperature: 6536 K |
| 48 | warm_white_color_temperature: 2000 K | 50 | warm_white_color_temperature: 2000 K |
| 49 | restore_mode: RESTORE_AND_OFF | 51 | #restore_mode: RESTORE_AND_OFF |
| 52 | restore_mode: RESTORE_DEFAULT_OFF | ||
| 50 | 53 | ||
| 51 | output: | 54 | output: |
| 52 | - id: gpio_r | 55 | - id: gpio_r |
