mirror of
https://github.com/nuttytree/ESPHome-Devices.git
synced 2024-08-30 18:12:19 +00:00
Finish removing underscores from names (#36)
Move remaining devices to new wifi Compile all devices script does a backup first
This commit is contained in:
parent
c911f80995
commit
f3718ac265
@ -10,9 +10,6 @@ substitutions:
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
wifi:
|
||||
use_address: 192.168.128.22
|
||||
|
||||
packages:
|
||||
feit_dimmer: !include ../packages/feit_dimmer.yaml
|
||||
|
||||
|
@ -5,6 +5,13 @@ substitutions:
|
||||
ota_pwd: !secret family-room-tv-ota-pwd
|
||||
api_pwd: !secret family-room-tv-api-pwd
|
||||
ap_wifi_pwd: !secret family-room-tv-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
wifi:
|
||||
use_address: 192.168.128.46
|
||||
|
||||
packages:
|
||||
feit_dimmer: !include ../packages/topgreener_smart_plug.yaml
|
||||
|
@ -1,11 +1,15 @@
|
||||
substitutions:
|
||||
device_id: master_bath_fan
|
||||
device_id: master-bath-fan
|
||||
device_name: Master Bathroom Fan
|
||||
ip_address: !secret master-bath-fan-ip
|
||||
ota_pwd: !secret master-bath-fan-ota-pwd
|
||||
api_pwd: !secret master-bath-fan-api-pwd
|
||||
ap_wifi_pwd: !secret master-bath-fan-ap-pwd
|
||||
fan_wattage: "26.6"
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
device_base: !include ../packages/feit_dimmer_as_fan.yaml
|
@ -1,10 +1,14 @@
|
||||
substitutions:
|
||||
device_id: master_bath_lights
|
||||
device_id: master-bath-lights
|
||||
device_name: Master Bathroom Lights
|
||||
ip_address: !secret master-bath-lights-ip
|
||||
ota_pwd: !secret master-bath-lights-ota-pwd
|
||||
api_pwd: !secret master-bath-lights-api-pwd
|
||||
ap_wifi_pwd: !secret master-bath-lights-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
feit_dimmer: !include ../packages/feit_dimmer.yaml
|
@ -1,10 +1,14 @@
|
||||
substitutions:
|
||||
device_id: master_bath_lights_2
|
||||
device_id: master-bath-lights-2
|
||||
device_name: Master Bathroom Lights 2
|
||||
ip_address: !secret master-bath-lights-2-ip
|
||||
ota_pwd: !secret master-bath-lights-2-ota-pwd
|
||||
api_pwd: !secret master-bath-lights-2-api-pwd
|
||||
ap_wifi_pwd: !secret master-bath-lights-2-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
feit_dimmer: !include ../packages/feit_dimmer_without_power.yaml
|
@ -1,11 +1,15 @@
|
||||
substitutions:
|
||||
device_id: master_bed
|
||||
device_id: master-bed
|
||||
device_name: Master Bed
|
||||
board: nodemcuv2
|
||||
ip_address: !secret master-bed-ip
|
||||
ota_pwd: !secret master-bed-ota-pwd
|
||||
api_pwd: !secret master-bed-api-pwd
|
||||
ap_wifi_pwd: !secret master-bed-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
device_base: !include ../packages/device_base.yaml
|
@ -1,10 +1,14 @@
|
||||
substitutions:
|
||||
device_id: office_light
|
||||
device_id: office-light
|
||||
device_name: Office Light
|
||||
ip_address: !secret office-light-ip
|
||||
ota_pwd: !secret office-light-ota-pwd
|
||||
api_pwd: !secret office-light-api-pwd
|
||||
ap_wifi_pwd: !secret office-light-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
feit_dimmer: !include ../packages/feit_dimmer.yaml
|
@ -6,6 +6,10 @@ substitutions:
|
||||
ota_pwd: !secret patio-lights-ota-pwd
|
||||
api_pwd: !secret patio-lights-api-pwd
|
||||
ap_wifi_pwd: !secret patio-lights-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
device_base: !include ../packages/device_base.yaml
|
||||
|
@ -1,11 +1,15 @@
|
||||
substitutions:
|
||||
device_id: pool_pumps
|
||||
device_id: pool-pumps
|
||||
device_name: Pool Pumps
|
||||
board: modwifi
|
||||
ip_address: !secret pool-pumps-ip
|
||||
ota_pwd: !secret pool-pumps-ota-pwd
|
||||
api_pwd: !secret pool-pumps-api-pwd
|
||||
ap_wifi_pwd: !secret pool-pumps-ap-pwd
|
||||
wifi_ssid: !secret new-wifi-ssid
|
||||
wifi_password: !secret new-wifi-password
|
||||
ip_subnet: !secret new-ip-subnet
|
||||
ip_gateway: !secret new-ip-gateway
|
||||
|
||||
packages:
|
||||
device_base: !include ../packages/device_base.yaml
|
@ -1,3 +1,17 @@
|
||||
Write-Output "`nBacking up build folder"
|
||||
if (Test-Path $PSScriptRoot\..\build\_backup)
|
||||
{
|
||||
Remove-Item -Path $PSScriptRoot\..\build\_backup -Recurse -Force
|
||||
}
|
||||
if (Test-Path $PSScriptRoot\..\_backup)
|
||||
{
|
||||
Remove-Item -Path $PSScriptRoot\..\_backup -Recurse -Force
|
||||
}
|
||||
New-Item $PSScriptRoot\..\_backup -ItemType Directory | Out-Null
|
||||
Move-Item -Path $PSScriptRoot\..\build\* -Destination $PSScriptRoot\..\_backup -Force
|
||||
Move-Item -Path $PSScriptRoot\..\_backup -Destination $PSScriptRoot\..\build -Force
|
||||
|
||||
Write-Output "`nCompiling all devices"
|
||||
$files = Get-ChildItem $PSScriptRoot\..\devices\*.yaml -Exclude "secrets.yaml"
|
||||
$failures = New-Object Collections.Generic.List[String]
|
||||
foreach ($file in $files) {
|
||||
|
Loading…
Reference in New Issue
Block a user