Skip to content

Commit dd06183

Browse files
Merge pull request #10 from ApolloAutomation/AddUpdateButton
Add Update Button
2 parents 4153140 + f0dad18 commit dd06183

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Integrations/ESPHome/Core.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
substitutions:
2-
version: "25.5.22.1"
2+
version: "25.5.22.2"
33

44
esp32:
55
board: esp32-s3-devkitc-1
@@ -111,6 +111,15 @@ button:
111111
id: scd40
112112
disabled_by_default: true
113113

114+
- platform: template
115+
name: "Update Firmware"
116+
id: update_firmware
117+
entity_category: config
118+
on_press:
119+
then:
120+
- lambda: |-
121+
id(update_http_request).perform(true);
122+
114123
number:
115124
- platform: ld2450
116125
ld2450_id: ld2450_radar

0 commit comments

Comments
 (0)