Skip to content

Commit 5b0bbc3

Browse files
committed
Add example.yaml
1 parent 37603fd commit 5b0bbc3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

example.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
substitutions:
2+
friendly_name: GitRef example
3+
4+
esphome:
5+
name: gitref-example
6+
7+
esp32:
8+
board: wemos_d1_mini32
9+
framework:
10+
type: arduino
11+
12+
external_components:
13+
- source: github://RoboMagus/esphome-gitref-sensor
14+
15+
wifi:
16+
ssid: !secret WiFi_ssid
17+
password: !secret WiFi_password
18+
19+
# Enable Home Assistant API
20+
api:
21+
encryption:
22+
key: !secret api_encryption_key
23+
24+
ota:
25+
password: !secret ota_password
26+
27+
text_sensor:
28+
- platform: git_ref
29+
name: "${friendly_name} Git Ref"
30+
long: true
31+
all: true
32+
abbrev: 16
33+
dirty: "-dirty"

0 commit comments

Comments
 (0)