From 5d26858a9598a6ccf13571875ac0c83679a2ab68 Mon Sep 17 00:00:00 2001 From: sen Date: Tue, 4 Nov 2025 15:42:12 +0800 Subject: [PATCH] update f2 support esphome 2025.10.4 --- f2/yaml/human-sensor-f2-stable.yaml | 34 +++++------------------------ 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/f2/yaml/human-sensor-f2-stable.yaml b/f2/yaml/human-sensor-f2-stable.yaml index 8f6c2c6..d5da90c 100644 --- a/f2/yaml/human-sensor-f2-stable.yaml +++ b/f2/yaml/human-sensor-f2-stable.yaml @@ -17,14 +17,10 @@ esphome: name: Screek.Human_Presence_Sensor version: F2 on_boot: - - priority: 100 - then: - lambda: |- - id(cpu_speed) = ESP.getCpuFreqMHz(); - priority: 300 then: lambda: |- - id(screek_version).publish_state("V240708_1"); + id(screek_version).publish_state("V251104_1"); - priority: -200 then: - uart.write: @@ -65,11 +61,6 @@ preferences: flash_write_interval: 5s external_components: - - source: - type: git - url: https://github.com/screekworkshop/custom_components_support_for_screek_2a - ref: main - components: [uart] - source: type: git url: https://github.com/ssieb/custom_components #Thanks for @ssieb components. @@ -78,15 +69,11 @@ external_components: esp32: board: lolin_c3_mini framework: - type: arduino - version: 2.0.9 - platform_version: 6.3.0 + type: esp-idf + # version: 2.0.9 + # platform_version: 6.3.0 globals: - - id: cpu_speed - type: int - restore_value: no - initial_value: '0' - id: last_update_ld2450 type: unsigned long restore_value: no @@ -244,20 +231,9 @@ binary_sensor: device_class: motion sensor: - - platform: template - name: "ESP CPU Speed" - accuracy_decimals: 0 - icon: mdi:cpu-32-bit - unit_of_measurement: Mhz - disabled_by_default: True - lambda: |- - return (id(cpu_speed)); - entity_category: "diagnostic" - update_interval: 600s - - platform: template + - platform: internal_temperature id: sys_esp_temperature name: ESP Temperature - lambda: return temperatureRead(); unit_of_measurement: °C device_class: TEMPERATURE update_interval: 45s