-
-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathexample_esp32h2_basic.yaml
More file actions
58 lines (51 loc) · 938 Bytes
/
example_esp32h2_basic.yaml
File metadata and controls
58 lines (51 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
esphome:
name: zb-example-h2
external_components:
- source: components
components: [zigbee]
esp32:
board: esp32-h2-devkitm-1
partitions: partitions_zb.csv
framework:
type: esp-idf
# Enable logging
logger:
hardware_uart: UART0
sensor:
- platform: internal_temperature
name: "Internal Temperature"
id: "temp"
filters:
- delta: 0.1
zigbee:
id: "zb"
components: all
on_join:
then:
- logger.log: "Joined network"
light:
- platform: esp32_rmt_led_strip
rgb_order: GRB
pin: 8
num_leds: 1
id: light_1
name: "my_light"
chipset: ws2812
binary_sensor:
- platform: gpio
pin:
number: 9
mode:
input: true
pullup: true
inverted: true
id: button_1
name: "button1"
#on_press:
# then:
# - zigbee.report: zb
on_click:
min_length: 5s
max_length: 20s
then:
- zigbee.reset: zb