-
Notifications
You must be signed in to change notification settings - Fork 27
/
example.yaml
75 lines (63 loc) · 1.47 KB
/
example.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
esp8266:
board: d1_mini
# Enable logging
logger:
# Disable serial logging
baud_rate: 0
external_components:
- source: github://TillFleisch/ESPHome-Philips-Smart-Coffee@main
uart:
# UART connected to the mainboard
- tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 115200
id: uart_mainboard
# UART connected to the display
- tx_pin: GPIO15
rx_pin: GPIO13
baud_rate: 115200
id: uart_display
philips_coffee_machine:
display_uart: uart_display
mainboard_uart: uart_mainboard
power_pin: GPIO12
id: philip
text_sensor:
- platform: philips_coffee_machine
controller_id: philip
id: status
name: "Status"
switch:
- platform: philips_coffee_machine
controller_id: philip
name: "Power"
icon: mdi:coffee-maker
button:
- platform: philips_coffee_machine
controller_id: philip
action: MAKE_COFFEE
name: "Make Coffee"
icon: mdi:coffee
- platform: philips_coffee_machine
controller_id: philip
action: SELECT_HOT_WATER
name: "Select Hot Water"
icon: mdi:tea
- platform: philips_coffee_machine
controller_id: philip
action: PLAY_PAUSE
name: "Select play/pause"
icon: mdi:play-pause
number:
- platform: philips_coffee_machine
type: bean
name: "Coffee beans"
controller_id: philip
status_sensor_id: status
source: COFFEE
- platform: philips_coffee_machine
type: size
name: "Coffee size"
controller_id: philip
status_sensor_id: status
source: COFFEE