Skip to content

Commit

Permalink
Update configs to latest ESPHome
Browse files Browse the repository at this point in the history
  • Loading branch information
golles committed Jun 22, 2024
1 parent 8a5ebaa commit 1092ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/device_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ api:
key: ${encryption_key}

ota:
platform: esphome
password: ${ota_password}

captive_portal:
Expand Down
7 changes: 1 addition & 6 deletions particulate_matter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ wifi:
http_request:
useragent: esphome/${name}
timeout: 10s
verify_ssl: false

uart: # Enable UART for SDS011
rx_pin: GPIO32
Expand Down Expand Up @@ -111,7 +112,6 @@ script:
JsonObject pm25 = sensordatavalues.createNestedObject();
pm25["value_type"] = "P2";
pm25["value"] = id(${name}_pm25).state;
verify_ssl: false
- delay: 30s

Expand All @@ -132,7 +132,6 @@ script:
JsonObject signal = sensordatavalues.createNestedObject();
signal["value_type"] = "signal";
signal["value"] = id(${name}_esphome_wifi_signal).state;
verify_ssl: false
- delay: 30s

Expand All @@ -150,7 +149,6 @@ script:
JsonObject pm25 = sensordatavalues.createNestedObject();
pm25["value_type"] = "SDS_P2";
pm25["value"] = id(${name}_pm25).state;
verify_ssl: false
- id: push_bme280_data
then:
Expand All @@ -172,7 +170,6 @@ script:
JsonObject temperature = sensordatavalues.createNestedObject();
temperature["value_type"] = "temperature";
temperature["value"] = id(${name}_temperature).state;
verify_ssl: false
- delay: 30s

Expand All @@ -196,7 +193,6 @@ script:
JsonObject signal = sensordatavalues.createNestedObject();
signal["value_type"] = "signal";
signal["value"] = id(${name}_esphome_wifi_signal).state;
verify_ssl: false
- delay: 30s

Expand All @@ -217,4 +213,3 @@ script:
JsonObject temperature = sensordatavalues.createNestedObject();
temperature["value_type"] = "BME280_temperature";
temperature["value"] = id(${name}_temperature).state;
verify_ssl: false

0 comments on commit 1092ca4

Please sign in to comment.