diff options
| -rw-r--r-- | esphome/config/bedlight.yaml | 21 | ||||
| -rw-r--r-- | esphome/config/couchlight.yaml | 3 | ||||
| -rw-r--r-- | esphome/config/hoblight.yaml | 3 | ||||
| -rw-r--r-- | esphome/config/tvlight.yaml | 3 |
4 files changed, 18 insertions, 12 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 |
diff --git a/esphome/config/couchlight.yaml b/esphome/config/couchlight.yaml index faa49a8..b15f88d 100644 --- a/esphome/config/couchlight.yaml +++ b/esphome/config/couchlight.yaml | |||
| @@ -8,7 +8,8 @@ logger: | |||
| 8 | 8 | ||
| 9 | # Enable Home Assistant API | 9 | # Enable Home Assistant API |
| 10 | api: | 10 | api: |
| 11 | password: !secret api_password | 11 | encryption: |
| 12 | key: !secret api_encryption_key | ||
| 12 | 13 | ||
| 13 | # OTA | 14 | # OTA |
| 14 | ota: | 15 | ota: |
diff --git a/esphome/config/hoblight.yaml b/esphome/config/hoblight.yaml index 0421ea4..6ed21a5 100644 --- a/esphome/config/hoblight.yaml +++ b/esphome/config/hoblight.yaml | |||
| @@ -10,7 +10,8 @@ logger: | |||
| 10 | 10 | ||
| 11 | # Enable Home Assistant API | 11 | # Enable Home Assistant API |
| 12 | api: | 12 | api: |
| 13 | password: !secret api_password | 13 | encryption: |
| 14 | key: !secret api_encryption_key | ||
| 14 | 15 | ||
| 15 | # OTA | 16 | # OTA |
| 16 | ota: | 17 | ota: |
diff --git a/esphome/config/tvlight.yaml b/esphome/config/tvlight.yaml index 4447744..1aea51a 100644 --- a/esphome/config/tvlight.yaml +++ b/esphome/config/tvlight.yaml | |||
| @@ -8,7 +8,8 @@ logger: | |||
| 8 | 8 | ||
| 9 | # Enable Home Assistant API | 9 | # Enable Home Assistant API |
| 10 | api: | 10 | api: |
| 11 | password: !secret api_password | 11 | encryption: |
| 12 | key: !secret api_encryption_key | ||
| 12 | 13 | ||
| 13 | # OTA | 14 | # OTA |
| 14 | ota: | 15 | ota: |
