-
Notifications
You must be signed in to change notification settings - Fork 16
/
full_example_V3.yaml
67 lines (57 loc) · 1.37 KB
/
full_example_V3.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
esphome:
name: igrill
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret encryption_key
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
external_components:
- source: github://bendikwa/[email protected]
esp32_ble_tracker:
ble_client:
- mac_address: 70:91:8F:XX:XX:XX
id: igrill_v3
on_connect:
then:
- binary_sensor.template.publish:
id: v3_connection_bin
state: ON
on_disconnect:
then:
- binary_sensor.template.publish:
id: v3_connection_bin
state: OFF
sensor:
- platform: igrill
ble_client_id: igrill_v3
update_interval: 30s # default
send_value_when_unplugged: true # default
unplugged_probe_value: 0 # default
battery_level:
name: "IGrill v3 battery"
temperature_probe1:
name: "IGrill v3 temp probe 1"
temperature_probe2:
name: "IGrill v3 temp probe 2"
temperature_probe3:
name: "IGrill v3 temp probe 3"
temperature_probe4:
name: "IGrill v3 temp probe 4"
propane_level:
name: "IGrill v3 Propane level"
binary_sensor:
- platform: template
name: "iGrill v3 connection status"
id: v3_connection_bin
device_class: connectivity
entity_category: diagnostic