Skip to content

Commit

Permalink
[A] Remove old style configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Feb 21, 2025
1 parent d65205d commit 5b52ce4
Show file tree
Hide file tree
Showing 29 changed files with 70 additions and 39 deletions.
5 changes: 3 additions & 2 deletions src/docs/devices/AHRise-AHR-083/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ substitutions:

esphome:
name: ${unique_id}
platform: ESP8266

esp8266:
board: esp01_1m
esp8266_restore_from_flash: true
restore_from_flash: true

# WiFi connection
wifi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ between the GPIO13 and the RESET pin of the ESP8266 MCU.
# https://esphome.io/devices/esp8266.html
esphome:
name: ir_remote
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/AWP02L2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ substitutions:

esphome:
name: "${device_name}"
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
10 changes: 6 additions & 4 deletions src/docs/devices/AWP04L/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ substitutions:
esphome:
name: ${device_name}
comment: ${device_description}
platform: ESP8266

esp8266:
board: esp01_1m
esp8266_restore_from_flash: true #writes each state change to flash for switch or light with restore_mode: RESTORE_DEFAULT_OFF/ON, see https://esphome.io/components/esphome.html#esp8266-restore-from-flash
restore_from_flash: true #writes each state change to flash for switch or light with restore_mode: RESTORE_DEFAULT_OFF/ON, see https://esphome.io/components/esphome.html#esp8266-restore-from-flash

wifi:
ssid: !secret wifi_ssid
Expand Down Expand Up @@ -269,9 +270,10 @@ In plug_common.yaml:
esphome:
name: ${device_name}
comment: ${device_description}
platform: ESP8266

esp8266:
board: esp01_1m
esp8266_restore_from_flash: true #writes each state change to flash for switch or light with restore_mode: RESTORE_DEFAULT_OFF/ON, see https://esphome.io/components/esphome.html#esp8266-restore-from-flash
restore_from_flash: true #writes each state change to flash for switch or light with restore_mode: RESTORE_DEFAULT_OFF/ON, see https://esphome.io/components/esphome.html#esp8266-restore-from-flash

wifi:
ssid: !secret wifi_ssid
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Acenx-SOP04-US/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ substitutions:

esphome:
name: "${device_name}"
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/AirGradient-DIY/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ If you have multiple sensor boards, you will likely need to make each sensor nam
```yaml
esphome:
name: airgradient
platform: ESP8266

esp8266:
board: d1_mini

# Enable logging
Expand Down
8 changes: 5 additions & 3 deletions src/docs/devices/Aoycocr-X10S-Plug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ substitutions:
esphome:
name: ${device_name}
comment: ${device_description}
platform: ESP8266

esp8266:
board: esp01_1m
esp8266_restore_from_flash: true #writes each state change to flash for switch or light with restore_mode: RESTORE_DEFAULT_OFF/ON, see https://esphome.io/components/esphome.html#esp8266-restore-from-flash
restore_from_flash: true #writes each state change to flash for switch or light with restore_mode: RESTORE_DEFAULT_OFF/ON, see https://esphome.io/components/esphome.html#esp8266-restore-from-flash

wifi:
ssid: !secret wifi_ssid
Expand Down Expand Up @@ -272,7 +273,8 @@ In aoycocr_x10s_common:
esphome:
name: ${device_name}
comment: ${device_description}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Aoycocr-X13-Outdoor-Plug-2AKBP-X13/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ substitutions:

esphome:
name: $devicename
platform: ESP8266

esp8266:
board: esp01_1m
arduino_version: espressif8266@2.6.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ substitutions:
esphome:
name: ${device_name}
comment: ${name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Arlec-6000HA-Switch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ substitutions:
esphome:
name: ${device_name}
comment: ${name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Arlec-FL052HA-Security-Flood-Light/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ As the flood lights do not have any physical buttons, you will follow the same f
# Basic Config
esphome:
name: fl052ha_flood_light
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ substitutions:

esphome:
name: ${device_name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ substitutions:

esphome:
name: ${device_name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ As the LED bulb do not have any physical buttons, by turning the bulb on and off
# Basic Config
esphome:
name: "arlec_GLD112HA"
platform: ESP8266

esp8266:
board: esp01_1m
esp8266_restore_from_flash: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ substitutions:

esphome:
name: ${device_name}
platform: ESP8266

esp8266:
board: esp01_1m

# Enable logging
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Arlec-PB89HA-Plug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ substitutions:
esphome:
name: ${device_name}
comment: ${name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Arlec-PC189HA-Plug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ substitutions:
esphome:
name: ${device_name}
comment: ${name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Arlec-PC288HA-Plug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ substitutions:
esphome:
name: ${device_name}
comment: ${name}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Arlec-Smart-5m-LED-Strip-Light/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ which comes as a colour changing LED strip with controller and transformer.
```yaml
esphome:
name: led_strip
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
5 changes: 3 additions & 2 deletions src/docs/devices/Athom-BR30-Bulb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ substitutions:
esphome:
name: "${device_name}"
name_add_mac_suffix: true
platform: ESP8266
board: esp8285
project:
name: "${project_name}"
version: "${project_version}"

esp8266:
board: esp8285

api:

ota:
Expand Down
5 changes: 3 additions & 2 deletions src/docs/devices/Athom-E27-15W-Bulb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ substitutions:
esphome:
name: "${device_name}"
name_add_mac_suffix: true
platform: ESP8266
board: esp8285
project:
name: "${project_name}"
version: "${project_version}"

esp8266:
board: esp8285

api:

ota:
Expand Down
5 changes: 3 additions & 2 deletions src/docs/devices/Athom-E27-7W-Bulb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ substitutions:
esphome:
name: "${device_name}"
name_add_mac_suffix: true
platform: ESP8266
board: esp8285
project:
name: "${project_name}"
version: "${project_version}"

esp8266:
board: esp8285

api:

ota:
Expand Down
5 changes: 3 additions & 2 deletions src/docs/devices/Athom-GU10-Bulb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ substitutions:
esphome:
name: "${device_name}"
name_add_mac_suffix: true
platform: ESP8266
board: esp8285
project:
name: "${project_name}"
version: "${project_version}"

esp8266:
board: esp8285

api:

ota:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Athom-Smart-Plug-AU/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ substitutions:

esphome:
name: $devicename
platform: ESP8266

esp8266:
board: esp8285

# Enable logging
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Athom-Smart-Plug-TP29/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ substitutions:

esphome:
name: $devicename
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Aukey-SH-PA1-Smart-Plug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ board: esp8266
# Basic Config
esphome:
name: mini_tree
platform: ESP8266

esp8266:
board: esp01_1m
platformio_options:
upload_speed: 115200
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Awow-EU3S-Power-Monitoring-Plug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ substitutions:
esphome:
name: ${devicename}
comment: ${device_description}
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/Azpen-Home-With-USB/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ GPIO Descriptions
# Basic Config
esphome:
name: azpenhome
platform: ESP8266

esp8266:
board: esp01_1m

wifi:
Expand Down
3 changes: 2 additions & 1 deletion src/docs/devices/anoopsyche-jh-g01b1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ substitutions:

esphome:
name: "${device_name}"
platform: ESP8266

esp8266:
board: esp01_1m

logger:
Expand Down

0 comments on commit 5b52ce4

Please sign in to comment.