Skip to content

Commit 19e3438

Browse files
authored
Adding YAMLs hidden in components folder (#99)
Updates to the CI workflows, factory YAML configurations, and adds new components for specific ESPHome configurations. The key changes include extending CI and publishing workflows to include new configurations, updating package import URLs across factory YAML files, and adding new factory and core YAML files for specific use cases.
1 parent afefa7b commit 19e3438

12 files changed

+46
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: CI
22

33
on:
44
pull_request:
5-
paths:
6-
- '*.yaml'
7-
- '.github/workflows/ci.yml'
85
# push:
96
# branches:
107
# - main
@@ -33,6 +30,8 @@ jobs:
3330
- buderus-km271-hc2-rw
3431
- buderus-km271-writable-espidf
3532
- buderus-km271-writable-8MB
33+
- components/km271_wifi/km271-for-friends
34+
- components/km271_wifi/km271_hc1_only
3635
#### Modify above here to match your project ####
3736

3837
esphome-version:

.github/workflows/publish-firmware.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
buderus-km271-hc2-rw.yaml
5353
buderus-km271-writable-espidf.yaml
5454
buderus-km271-writable-8MB.yaml
55+
components/km271_wifi/km271-for-friends.yaml
56+
components/km271_wifi/km271_hc1_only.yaml
5557
esphome-version: 2025.7.2
5658
combined-name: buderus-km271
5759
release-version: ${{ needs.set-release-version.outputs.release_version }}

.github/workflows/semantic-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,4 @@ jobs:
9797
tag_name: v${{ steps.semver.outputs.version }}
9898
name: Release v${{ steps.semver.outputs.version }}
9999
body: ${{ steps.changelog.outputs.release_notes }}
100+
generate_release_notes: true

buderus-km271-hc2-rw.factory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ esphome:
1414
# In this case it is the core yaml file that does not contain the extra things
1515
# that are provided by this factory yaml file as the user does not need these once adopted.
1616
dashboard_import:
17-
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en_8MB.yaml
17+
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271-hc2-rw.yaml
1818

1919
# Sets up the improv via serial client for Wi-Fi provisioning.
2020
# Handy if your device has a usb port for the user to add credentials when they first get it.

buderus-km271-writable-espidf.factory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ esphome:
1414
# In this case it is the core yaml file that does not contain the extra things
1515
# that are provided by this factory yaml file as the user does not need these once adopted.
1616
dashboard_import:
17-
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en_8MB.yaml
17+
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271-writable-espidf.yaml
1818

1919
# Sets up the improv via serial client for Wi-Fi provisioning.
2020
# Handy if your device has a usb port for the user to add credentials when they first get it.

buderus-km271.factory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ esphome:
1414
# In this case it is the core yaml file that does not contain the extra things
1515
# that are provided by this factory yaml file as the user does not need these once adopted.
1616
dashboard_import:
17-
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en_8MB.yaml
17+
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271-writable-espidf.yaml
1818

1919
# Sets up the improv via serial client for Wi-Fi provisioning.
2020
# Handy if your device has a usb port for the user to add credentials when they first get it.

buderus-km271_en.factory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ esphome:
1414
# In this case it is the core yaml file that does not contain the extra things
1515
# that are provided by this factory yaml file as the user does not need these once adopted.
1616
dashboard_import:
17-
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en_8MB.yaml
17+
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en.yaml
1818

1919
# Sets up the improv via serial client for Wi-Fi provisioning.
2020
# Handy if your device has a usb port for the user to add credentials when they first get it.

buderus-km271_en_noimprov.factory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ esphome:
1414
# In this case it is the core yaml file that does not contain the extra things
1515
# that are provided by this factory yaml file as the user does not need these once adopted.
1616
dashboard_import:
17-
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en_8MB.yaml
17+
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/buderus-km271_en_noimprov.yaml
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
packages:
2+
# Include all of the core configuration
3+
core: !include km271-for-friends.yaml
4+
5+
esphome:
6+
# This will allow for project identification,
7+
# configuration and updates.
8+
project:
9+
#name: esphome.project-template
10+
name: esphome.km271-wifi
11+
version: dev # This will be replaced by the github workflows with the `release` version
12+
13+
# This should point to the public location of the yaml file that will be adopted.
14+
# In this case it is the core yaml file that does not contain the extra things
15+
# that are provided by this factory yaml file as the user does not need these once adopted.
16+
dashboard_import:
17+
package_import_url: github://the78mole/ESPhome-KM271-WiFi/blob/main/components/km271_wifi/km271-for-friends.yaml

components/km271_wifi/km271-for-friends.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ logger:
3939
api:
4040

4141
ota:
42+
platform: esphome
4243
# password: "xxx"
4344

4445
wifi:

0 commit comments

Comments
 (0)