Skip to content

Commit

Permalink
Merge pull request #6 from ApolloAutomation/RemoveManagedUpdates
Browse files Browse the repository at this point in the history
Remove Managed Updates
  • Loading branch information
TrevorSchirmer authored Jul 5, 2024
2 parents 303d76c + b158f15 commit 5c1ed95
Show file tree
Hide file tree
Showing 4 changed files with 698 additions and 55 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
pull_request:

jobs:
ci:
name: Building ${{ matrix.file }}
runs-on: ubuntu-latest
strategy:
matrix:
file:
- Integrations/ESPHome/MSR-2.yaml
- Integrations/ESPHome/MSR-2_BLE.yaml
steps:
- name: Checkout source code
uses: actions/[email protected]
- name: Build ESPHome firmware to verify configuration
uses: esphome/[email protected]
with:
yaml_file: ${{ matrix.file }}
33 changes: 0 additions & 33 deletions .github/workflows/main.yml

This file was deleted.

29 changes: 7 additions & 22 deletions Integrations/ESPHome/MSR-2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Define Project
substitutions:
name: apollo-msr-2
version: "24.7.3.1"
version: "24.7.5.1"
device_description: ${name} made by Apollo Automation - version ${version}.

esphome:
Expand Down Expand Up @@ -42,26 +42,6 @@ dashboard_import:
import_full_config: false


ota:
- platform: esphome
id: ota_default
- platform: http_request
id: ota_managed

http_request:
useragent: esphome/device
timeout: 10s
verify_ssl: false

update:
- platform: http_request
id: firmware_update
name: Firmware Update
source: https://apolloautomation.github.io/MSR-2/artifact/manifest.json


logger:

globals:
- id: button_press_timestamp
restore_value: no
Expand Down Expand Up @@ -121,8 +101,12 @@ api:
id: ld2410_radar
password: !lambda 'return password;'

ota:
- platform: esphome
id: ota_default

wifi:

power_save_mode: none

# Enable fallback hotspot (captive portal) in case wifi connection fails
Expand Down Expand Up @@ -381,6 +365,7 @@ sensor:
name: "ESP Temperature"
id: sys_esp_temperature


- platform: uptime
name: Uptime
id: sys_uptime
Expand Down Expand Up @@ -683,4 +668,4 @@ script:
green: 0%
blue: 0%
- light.turn_off:
id: rgb_light
id: rgb_light
Loading

0 comments on commit 5c1ed95

Please sign in to comment.