Skip to content

Commit 787ef1b

Browse files
authored
Merge pull request #47 from parithosh/patch-1
Update to support ESPHome breaking change
2 parents ebfa8d0 + c3f87d7 commit 787ef1b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

AirGradient-ESPHome/airgradient-diy-pro.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ api:
1212
key: !secret api_encryption_key
1313

1414
ota:
15-
password: !secret ota_password
15+
- platform: esphome
16+
password: !secret ota_password
1617

1718
# See: https://community.home-assistant.io/t/esphome-flashing-over-wifi-does-not-work/357352
1819
switch:

AirGradient-ESPHome/airgradient-diy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ api:
1212
key: !secret api_encryption_key
1313

1414
ota:
15-
password: !secret ota_password
15+
- platform: esphome
16+
password: !secret ota_password
1617

1718
# See: https://community.home-assistant.io/t/esphome-flashing-over-wifi-does-not-work/357352
1819
switch:

AirGradient-ESPHome/airgradient-one.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ api:
3333
key: !secret api_encryption_key
3434

3535
ota:
36-
password: !secret ota_password
36+
- platform: esphome
37+
password: !secret ota_password
3738

3839
wifi:
3940
ssid: !secret wifi_ssid

0 commit comments

Comments
 (0)