diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 34cb900..8d1b19a 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -2,6 +2,7 @@ name-template: 'Release v$NEXT_PATCH_VERSION' tag-template: "$RESOLVED_VERSION" change-template: "- #$NUMBER $TITLE @$AUTHOR" sort-direction: ascending +category-template: '**$TITLE**' categories: - title: "🚨 Breaking changes" @@ -41,11 +42,9 @@ include-labels: no-changes-template: '- No changes' +# The shared build workflow appends a Full Changelog compare link to the +# release body (release-drafter cannot render 4-part version tags). template: | - ## What's Changed + **What's Changed** $CHANGES - - **Full Changelog**: https://github.com/ApolloAutomation/MTR-1/compare/$PREVIOUS_TAG...$RESOLVED_VERSION.1 - - Be sure to 🌟 this repository for updates! \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bccae58..b9aa44f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,8 @@ jobs: device-name: mtr-1 yaml-files: | Integrations/ESPHome/MTR-1_Factory.yaml - firmware-names: "1_Factory:firmware" + Integrations/ESPHome/MTR-1_BLE.yaml + firmware-names: "1_Factory:firmware,1_BLE:firmware-ble" core-yaml-path: Integrations/ESPHome/Core.yaml esphome-version: stable # Bypass check if manually triggered with bypass option diff --git a/Integrations/ESPHome/MTR-1.yaml b/Integrations/ESPHome/MTR-1.yaml index 3f93e8a..df11e00 100644 --- a/Integrations/ESPHome/MTR-1.yaml +++ b/Integrations/ESPHome/MTR-1.yaml @@ -8,7 +8,7 @@ esphome: name: "ApolloAutomation.MTR-1" version: "${version}" - min_version: 2025.8.0 + min_version: 2025.11.0 on_boot: - priority: 500 then: @@ -32,9 +32,24 @@ dashboard_import: ota: - platform: esphome id: ota_default + - platform: http_request + id: ota_managed + +http_request: + verify_ssl: true + +safe_mode: + +update: + - platform: http_request + id: update_http_request + name: Firmware Update + source: https://apolloautomation.github.io/MTR-1/firmware/manifest.json wifi: power_save_mode: none + on_connect: + - component.update: update_http_request ap: ssid: "Apollo MTR1 Hotspot" diff --git a/Integrations/ESPHome/MTR-1_BLE.yaml b/Integrations/ESPHome/MTR-1_BLE.yaml index 6b2fd2e..e73f411 100644 --- a/Integrations/ESPHome/MTR-1_BLE.yaml +++ b/Integrations/ESPHome/MTR-1_BLE.yaml @@ -8,7 +8,7 @@ esphome: name: "ApolloAutomation.MTR-1" version: "${version}" - min_version: 2025.8.0 + min_version: 2025.11.0 on_boot: - priority: 500 then: @@ -32,8 +32,23 @@ dashboard_import: ota: - platform: esphome id: ota_esphome + - platform: http_request + id: ota_managed + +http_request: + verify_ssl: true + +safe_mode: + +update: + - platform: http_request + id: update_http_request + name: Firmware Update + source: https://apolloautomation.github.io/MTR-1/firmware-ble/manifest.json wifi: + on_connect: + - component.update: update_http_request ap: ssid: "Apollo MTR1 Hotspot" diff --git a/Integrations/ESPHome/MTR-1_Factory.yaml b/Integrations/ESPHome/MTR-1_Factory.yaml index 724f94f..c2cf8bf 100644 --- a/Integrations/ESPHome/MTR-1_Factory.yaml +++ b/Integrations/ESPHome/MTR-1_Factory.yaml @@ -8,7 +8,7 @@ esphome: name: "ApolloAutomation.MTR-1" version: "${version}" - min_version: 2025.8.0 + min_version: 2025.11.0 on_boot: - priority: 500 then: @@ -33,6 +33,8 @@ esp32_improv: authorizer: none wifi: + on_connect: + - component.update: update_http_request ap: ssid: "Apollo MTR1 Hotspot" @@ -41,7 +43,19 @@ logger: ota: - platform: esphome id: ota_esphome + - platform: http_request + id: ota_managed +http_request: + verify_ssl: true + +safe_mode: + +update: + - platform: http_request + id: update_http_request + name: Firmware Update + source: https://apolloautomation.github.io/MTR-1/firmware/manifest.json packages: core: !include Core.yaml