Fix OTA for ESPHome 2024.6

This commit is contained in:
dexn authored and GitHub committed 2024-06-20 21:34:04 +10:00
1 parent e5bc271d6c
commit 5b9e522653
1 file changed
+4 -2
+4 -2
View File
@@ -6,7 +6,7 @@ substitutions:
device_description: "athom esp32-c3 smart plug"
project_name: "Athom Technology.Smart Plug V3"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v1.0.1"
project_version: "v1.0.2"
relay_restore_mode: RESTORE_DEFAULT_OFF
sensor_update_interval: 10s
# Current Limit in Amps. AU Plug = 10. IL, BR, EU, UK, US Plug = 16.
@@ -23,6 +23,7 @@ esphome:
friendly_name: "${friendly_name}"
area: "${room}"
name_add_mac_suffix: true
min_version: 2024.6.0
project:
name: "${project_name}"
version: "${project_version}"
@@ -45,6 +46,7 @@ preferences:
api:
ota:
- platform: esphome
logger:
baud_rate: 0
@@ -290,4 +292,4 @@ time:
then:
- text_sensor.template.publish:
id: device_last_restart
state: !lambda 'return id(sntp_time).now().strftime("%a %d %b %Y - %I:%M:%S %p");'
state: !lambda 'return id(sntp_time).now().strftime("%a %d %b %Y - %I:%M:%S %p");'