Skip to content

Commit ab9e05e

Browse files
committed
Rename watchdog ID to avoid conflict in ESPHome 2024.8
1 parent fa8feba commit ab9e05e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/airgradient_d1_mini_board.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
substitutions:
2-
config_version: 4.0.2
2+
config_version: 4.0.4
33

44
esphome:
55
name: "${name}"

packages/airgradient_esp32-c3_board.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
substitutions:
2-
config_version: 4.0.2
2+
config_version: 4.0.3
33

44
esphome:
55
name: "${name}"

packages/watchdog.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Hardware watchdog for boards with ESP32-C3 chips
1+
# External hardware watchdog for boards with ESP32-C3 chips
22
# Must notify the watchdog the device is still alive, or it will force a hardware restart to attempt to clear errors
33

44
output:
55
- platform: gpio
66
# Pin to notify external watchdog that activity is present
7-
id: watchdog
7+
id: external_watchdog
88
pin:
99
number: GPIO2
1010
ignore_strapping_warning: true # Acknowledging that this is a strapping pin and should not have external pullup/down resistors https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
@@ -14,6 +14,6 @@ interval:
1414
- interval: 2.5min
1515
# Notify watchdog device it is still alive
1616
then:
17-
- output.turn_on: watchdog
17+
- output.turn_on: external_watchdog
1818
- delay: 20ms
19-
- output.turn_off: watchdog
19+
- output.turn_off: external_watchdog

0 commit comments

Comments
 (0)