Skip to content

Commit 697a122

Browse files
Merge pull request #26 from ApolloAutomation/FirmwareReduction
Remove Logger, Add Safe Mode
2 parents d2b502e + 2577ce3 commit 697a122

File tree

3 files changed

+23
-41
lines changed

3 files changed

+23
-41
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
ci:
8+
name: Building ${{ matrix.file }}
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
file:
13+
- Integrations/ESPHome/AIR-1.yaml
14+
steps:
15+
- name: Checkout source code
16+
uses: actions/[email protected]
17+
- name: Build ESPHome firmware to verify configuration
18+
uses: esphome/[email protected]
19+
with:
20+
yaml_file: ${{ matrix.file }}

.github/workflows/main.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

Integrations/ESPHome/AIR-1.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Define Project
22
substitutions:
33
name: apollo-air-1
4-
version: "24.7.3.1"
4+
version: "24.7.4.1"
55
device_description: ${name} made by Apollo Automation - version ${version}.
66

77
esphome:
@@ -75,22 +75,17 @@ update:
7575
name: Firmware Update
7676
source: https://apolloautomation.github.io/AIR-1/artifact/manifest.json
7777

78-
7978
wifi:
80-
power_save_mode: none
81-
82-
# Enable fallback hotspot (captive portal) in case wifi connection fails
8379
ap:
8480
ssid: "Apollo AIR1 Hotspot"
8581

8682
captive_portal:
8783

84+
safe_mode:
8885

8986
web_server:
9087
port: 80
9188

92-
logger:
93-
9489
i2c:
9590
sda: GPIO1
9691
scl: GPIO0
@@ -123,7 +118,7 @@ number:
123118
update_interval: never
124119
step: 0.1
125120
mode: box
126-
121+
127122

128123
binary_sensor:
129124
- platform: status

0 commit comments

Comments
 (0)