File tree Expand file tree Collapse file tree 6 files changed +83
-1
lines changed Expand file tree Collapse file tree 6 files changed +83
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " ESPHome Devcontainer" ,
3
+ "image" : " esphome/esphome:latest" ,
4
+ "customizations" : {
5
+ "vscode" : {
6
+ "extensions" : [
7
+ " esphome.esphome-vscode" ,
8
+ " redhat.vscode-yaml" ,
9
+ " ms-python.python"
10
+ ]
11
+ }
12
+ },
13
+ "features" : {},
14
+ "remoteUser" : " root" ,
15
+ "workspaceFolder" : " /workspaces/esphome_components"
16
+ }
Original file line number Diff line number Diff line change
1
+ * text =auto
Original file line number Diff line number Diff line change
1
+ # .github/workflows/build-matrix.yml
2
+ name : 🧪 Build selected ESPHome YAMLs (Matrix)
3
+
4
+ on :
5
+ pull_request :
6
+ push :
7
+ branches :
8
+ - main
9
+
10
+ jobs :
11
+ setup :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Create dummy secrets.yaml
18
+ run : |
19
+ cat <<EOF > secrets.yaml
20
+ wifi_ssid: "dummy_ssid"
21
+ wifi_pass: "dummy_pass"
22
+ EOF
23
+
24
+ - name : Upload workspace state
25
+ uses : actions/upload-artifact@v4
26
+ with :
27
+ name : esphome-workspace
28
+ path : |
29
+ .
30
+
31
+ build :
32
+ needs : setup
33
+ runs-on : ubuntu-latest
34
+ container :
35
+ image : esphome/esphome:latest
36
+ strategy :
37
+ matrix :
38
+ yaml_file :
39
+ - buderus-km271.yaml
40
+ - buderus-km271_en.yaml
41
+
42
+ steps :
43
+ - name : Download prepared workspace
44
+ uses : actions/download-artifact@v4
45
+ with :
46
+ name : esphome-workspace
47
+
48
+ - name : Compile ${{ matrix.yaml_file }}
49
+ run : |
50
+ esphome compile "${{ matrix.yaml_file }}"
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ km271.files
7
7
km271.includes
8
8
* ~
9
9
.DS_Store
10
+ .esphome
Original file line number Diff line number Diff line change 1
1
esphome :
2
2
name : buderus-km271
3
- platform : ESP32
3
+
4
+ esp32 :
4
5
board : esp32dev
5
6
6
7
# Enable logging
@@ -10,6 +11,7 @@ logger:
10
11
api :
11
12
12
13
ota :
14
+ platform : esphome
13
15
password : " put-your-ota-passphrase-here" # Should be auto generated, when device is first created
14
16
15
17
wifi :
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : [
3
+ " config:base"
4
+ ],
5
+ "enabledManagers" : [
6
+ " devcontainer" ,
7
+ " github-actions"
8
+ ],
9
+ "labels" : [" dependencies" ],
10
+ "dependencyDashboard" : true ,
11
+ "dependencyDashboardTitle" : " 📦 Renovate Dependency Dashboard" ,
12
+ }
You can’t perform that action at this time.
0 commit comments