update f2 support esphome 2025.10.4
This commit is contained in:
parent
33000d2c7d
commit
5d26858a95
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user