mirror of
https://github.com/athom-tech/esp32-configs.git
synced 2026-10-26 22:10:21 +00:00
Fix OTA for ESPHome 2024.6
This commit is contained in:
1 file changed
+4
-2
@@ -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");'
|
||||
Reference in new issue
Block a user