Remove old style platform configuration

This commit is contained in:
Vladimir Panchenko
2025-04-14 18:39:52 +02:00
parent 208253cef1
commit eab4c510dd
2 changed files with 9 additions and 6 deletions

View File

@@ -40,7 +40,8 @@ substitutions:
esphome:
name: domofon
platform: ESP8266
esp8266:
board: $board
wifi:
@@ -54,7 +55,8 @@ wifi:
logger:
ota:
password: $ota_password
- platform: esphome
password: $ota_password
# Blue status led
status_led:

View File

@@ -1,10 +1,7 @@
esphome:
name: $mdns_name
build_path: $build_path
platform: ESP8266
board: $board
comment: "espdomofon.ru"
esp8266_restore_from_flash: true
project:
name: "espdomofon.ru"
version: "1.6.2"
@@ -17,6 +14,9 @@ esphome:
- light.turn_on:
id: rgb_led
effect: "Domofon"
esp8266:
board: $board
restore_from_flash: true
wifi:
ssid: $wifi_ssid
@@ -32,7 +32,8 @@ logger:
light: INFO
ota:
password: $ota_password
- platform: esphome
password: $ota_password
globals:
- id: mode_auto_open