mirror of
https://github.com/nuttytree/ESPHome-Devices.git
synced 2024-08-30 18:12:19 +00:00
Couple of minor bug fixes (#29)
This commit is contained in:
parent
5c7c1a2060
commit
c3d51bce9a
@ -1,7 +1,7 @@
|
||||
substitutions:
|
||||
device_id: front_entry_lights_2
|
||||
device_name: Front Entry Lights 2
|
||||
ip_address: !secret front-entry-lights_2-ip
|
||||
ip_address: !secret front-entry-lights-2-ip
|
||||
ota_pwd: !secret front-entry-lights-2-ota-pwd
|
||||
api_pwd: !secret front-entry-lights-2-api-pwd
|
||||
ap_wifi_pwd: !secret front-entry-lights-2-ap-pwd
|
||||
|
@ -4,7 +4,7 @@ substitutions:
|
||||
ip_address: !secret washing-machine-ip
|
||||
ota_pwd: !secret washing-machine-ota-pwd
|
||||
api_pwd: !secret washing-machine-api-pwd
|
||||
ap_wifi_pwd: !secret washing-machine-ap-wifi-pwd
|
||||
ap_wifi_pwd: !secret washing-machine-ap-pwd
|
||||
|
||||
packages:
|
||||
feit_dimmer: !include ../packages/topgreener_smart_plug.yaml
|
||||
|
@ -1,9 +1,8 @@
|
||||
Push-Location $PSScriptRoot\..\devices
|
||||
|
||||
$files = Get-ChildItem "*.yaml" -Exclude "secrets.yaml"
|
||||
$files = Get-ChildItem $PSScriptRoot\..\devices\*.yaml -Exclude "secrets.yaml"
|
||||
$failures = New-Object Collections.Generic.List[String]
|
||||
foreach ($file in $files) {
|
||||
esphome compile $file.Name
|
||||
$fileName = $file.Name
|
||||
esphome compile $PSScriptRoot\..\devices\$fileName
|
||||
if ($LASTEXITCODE -ne "0") {
|
||||
$failures.Add($file.Name)
|
||||
}
|
||||
@ -18,5 +17,3 @@ else {
|
||||
Write-Output $failure
|
||||
}
|
||||
}
|
||||
|
||||
Pop-Location
|
Loading…
Reference in New Issue
Block a user