Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
530bb7b
Merge pull request #32 from ApolloAutomation/main
TrevorSchirmer Mar 13, 2025
126cfe4
Improve Calculation And Add Release Notes
TrevorSchirmer Mar 30, 2025
3440e71
Merge pull request #33 from ApolloAutomation/ImproveCalculation
TrevorSchirmer Mar 30, 2025
f231930
Post Release To Discord
TrevorSchirmer Mar 30, 2025
161bf28
Merge pull request #34 from ApolloAutomation/PostReleases
TrevorSchirmer Mar 30, 2025
00ca259
fix: increase step resolution for voltage configs
bharvey88 Apr 1, 2025
1a55e70
Increase step resolution for sleep duration
bharvey88 Apr 1, 2025
1e88af4
update build number
bharvey88 Apr 1, 2025
269d1b8
Merge branch 'beta' into plt-1-beta-sleep-step-change
bharvey88 Apr 1, 2025
41631ac
Merge pull request #36 from ApolloAutomation/plt-1-beta-voltage-step-…
bharvey88 Apr 1, 2025
4bf1724
Merge pull request #37 from ApolloAutomation/plt-1-beta-sleep-step-ch…
bharvey88 Apr 1, 2025
ec3360e
updates wet and dry voltages to step to 0.01 instead of 0.1
bharvey88 Jun 17, 2025
eb50fba
Update Pipeline
TrevorSchirmer Jun 24, 2025
0cbb641
Update For IDF 5
TrevorSchirmer Jun 24, 2025
a34ed6e
Merge pull request #40 from ApolloAutomation/NewPipeline
TrevorSchirmer Jun 24, 2025
428a001
Merge branch 'beta' into plt-1-beta-wet-dry-voltage-step-change
TrevorSchirmer Jun 24, 2025
af6c4d5
Merge pull request #39 from ApolloAutomation/plt-1-beta-wet-dry-volta…
TrevorSchirmer Jun 24, 2025
6274d3d
fix-strapping-pin-warning
bharvey88 Jun 24, 2025
881e3b1
Merge pull request #41 from ApolloAutomation/fix-strapping-pin-warning
TrevorSchirmer Jun 24, 2025
62b797f
add logger to ble fork
adepssimius Jul 29, 2025
ba6425a
Merge branch 'beta' into ble-add-logger
TrevorSchirmer Jul 31, 2025
9ecc693
Merge pull request #43 from adepssimius/ble-add-logger
TrevorSchirmer Jul 31, 2025
62c254a
CI Fix
Bunton33 Aug 6, 2025
3adc141
Merge pull request #45 from ApolloAutomation/CI-Fix
TrevorSchirmer Aug 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!--
From Core.yaml. Should match date YY.MM.DD.# ( Usually # is 1 )
-->
Version:

<!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## What does this implement/fix?



## Types of changes
<!--
What type of change does your PR introduce?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->

- [ ] Bugfix (fixed change that fixes an issue)
- [ ] New feature (thanks!)
- [ ] Breaking change (repair/feature that breaks existing functionality)
- [ ] Dependency Update - Does not publish
- [ ] Other - Does not publish
- [ ] Website of github readme file update - Does not publish
- [ ] Github workflows - Does not publish


## Checklist / Checklijst:
<!--
Put an x in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->

- [ ] The code change has been tested and works locally
- [ ] The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:
- [ ] Added/updated documentation for the web page

<!--
Thank you for contributing <3
-->


51 changes: 51 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name-template: 'Release v$NEXT_PATCH_VERSION'
tag-template: "$RESOLVED_VERSION"
change-template: "- #$NUMBER $TITLE @$AUTHOR"
sort-direction: ascending

categories:
- title: "🚨 Breaking changes"
labels:
- "breaking-change"
- title: "✨ New features"
labels:
- "new-feature"
- title: "🐛 Bug fixes"
labels:
- "bugfix"
# - title: "🚀 Enhancements"
# labels:
# - "enhancement"
# - "refactor"
# - "performance"
# - title: "🧰 Maintenance"
# labels:
# - "maintenance"
# - "ci"
# - title: "📚 Documentation"
# labels:
# - "documentation"
- title: "⬆️ Dependency updates"
collapse-after: 5
labels:
- "dependency-update"
# - title: "🚨🚨 Security Fixes 🚨🚨"
# labels:
# - "security"


include-labels:
- "bugfix"
- "new-feature"
- "breaking-change"

no-changes-template: '- No changes'

template: |
## What's Changed

$CHANGES

**Full Changelog**: https://github.com/ApolloAutomation/PLT-1/compare/$PREVIOUS_TAG...$RESOLVED_VERSION.1

Be sure to 🌟 this repository for updates!
2 changes: 1 addition & 1 deletion .github/workflows/autoassign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
uses: pozil/auto-assign-issue@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: TrevorSchirmer
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and Publish

on:
push:
branches:
- main
workflow_dispatch:
inputs:
bypass-yaml-check:
description: 'Bypass YAML change check (force build/publish)'
type: boolean
required: false
default: false
# release:
# types: [published]

jobs:
build-and-publish:
uses: ApolloAutomation/Workflows/.github/workflows/build.yml@main
permissions:
contents: write
pages: write
id-token: write
pull-requests: write
with:
device-name: plt-1
yaml-files: |
Integrations/ESPHome/PLT-1.yaml
Integrations/ESPHome/PLT-1B.yaml
firmware-names: "1:firmware,1B:firmware-b"
core-yaml-path: Integrations/ESPHome/Core.yaml
esphome-version: stable
# Bypass check if manually triggered with bypass option
check-yaml-changes: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.bypass-yaml-check == 'true') }}
publish-to-pages: true
has-installer: true
installer-path: static
33 changes: 23 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,45 @@ name: CI
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
# Allow GITHUB_TOKEN to add labels to pull requests
pull-requests: write
issues: write
contents: read
id-token: write

jobs:
label-check:
name: Label Check
uses: ApolloAutomation/Workflows/.github/workflows/label-check.yml@main

ci:
name: Building ${{ matrix.file }}
name: Building ${{ matrix.file }} / ESPHome ${{ matrix.esphome-version }} / ESPHome ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
file:
- Integrations/ESPHome/PLT-1.yaml
- Integrations/ESPHome/PLT-1_BLE.yaml
- Integrations/ESPHome/PLT-1B_BLE.yaml
- Integrations/ESPHome/PLT-1B.yaml
- Integrations/ESPHome/PLT-1B_Minimal.yaml
- Integrations/ESPHome/PLT-1B_BLE.yaml
- Integrations/ESPHome/PLT-1_Minimal.yaml
- Integrations/ESPHome/PLT-1B_Minimal.yaml
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.2
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v6
uses: esphome/build-action@v7
with:
yaml-file: ${{ matrix.file }}
yaml-file: ${{ matrix.file }}







103 changes: 0 additions & 103 deletions .github/workflows/publish.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Weekly Firmware Build

on:
schedule:
- cron: '0 0 * * 1'

jobs:
build:
name: Building ${{ matrix.file }} / ESPHome ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
matrix:
file:
- Integrations/ESPHome/PLT-1.yaml
- Integrations/ESPHome/PLT-1_BLE.yaml
- Integrations/ESPHome/PLT-1B.yaml
- Integrations/ESPHome/PLT-1B_BLE.yaml
- Integrations/ESPHome/PLT-1_Minimal.yaml
- Integrations/ESPHome/PLT-1B_Minimal.yaml
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v4.2.2
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v7
with:
yaml-file: ${{ matrix.file }}
2 changes: 1 addition & 1 deletion Integrations/ESPHome/Battery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ number:
id: deep_sleep_sleep_duration
min_value: 0
max_value: 800
step: 1
step: 0.01
mode: box
update_interval: never
optimistic: true
Expand Down
Loading