Skip to content

Commit

Permalink
Fix Build Action
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorSchirmer committed Aug 7, 2024
1 parent 3c6de85 commit a7fb430
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build
env:
DEVICE_NAME: temp-1
DEVICE_NAME: plt-1
RELEASE_URL: ${{ github.server_url }}/${{ github.repository }}/releases/latest

on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
file:
- Integrations/ESPHome/TEMP-1.yaml
- Integrations/ESPHome/TEMP-1_BLE.yaml
- Integrations/ESPHome/PLT-1.yaml
- Integrations/ESPHome/PLT-1_BLE.yaml
steps:
- name: Checkout source code
uses: actions/[email protected]
Expand Down
27 changes: 23 additions & 4 deletions Integrations/ESPHome/Core.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
substitutions:
name: apollo-plt-1
version: "24.8.6.2"
version: "24.8.7.1"
device_description: ${name} made by Apollo Automation - version ${version}.

esp32:
Expand Down Expand Up @@ -92,6 +92,20 @@ number:
step: 0.1
mode: box

- platform: template
name: Moisture Alarm Level
id: moisture_alarm_level
restore_value: true
initial_value: 0
min_value: 0.0
max_value: 100.0
entity_category: "CONFIG"
unit_of_measurement: "%"
optimistic: true
update_interval: never
step: 1
mode: box

- platform: template
name: "Run Duration"
id: deep_sleep_run_duration
Expand Down Expand Up @@ -187,7 +201,7 @@ sensor:
entity_category: "diagnostic"

- platform: dallas_temp
name: "Temperature Probe"
name: "Soil Temperature"
update_interval: 5s

- platform: aht10
Expand All @@ -209,6 +223,11 @@ sensor:
battery_level:
name: Battery level
id: batt_pct
filters:
- lambda: |
if (x > 100) return 100;
else return (x);
- platform: adc
pin: GPIO4
attenuation: auto
Expand Down Expand Up @@ -278,8 +297,8 @@ switch:
name: "Accessory Power"
id: accessory_power
- platform: template
name: "Alarm Outside Temp Range"
id: alarm_outside_temp_range
name: "Beep Below Moisture Level"
id: beep_below_moisture_level
optimistic: true
- platform: template
name: "Prevent Sleep"
Expand Down

0 comments on commit a7fb430

Please sign in to comment.