-
Notifications
You must be signed in to change notification settings - Fork 16
/
full_example_mini.yaml
59 lines (49 loc) · 1.15 KB
/
full_example_mini.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
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_mini
on_connect:
then:
- binary_sensor.template.publish:
id: mini_connection_bin
state: ON
on_disconnect:
then:
- binary_sensor.template.publish:
id: mini_connection_bin
state: OFF
sensor:
- platform: igrill
ble_client_id: igrill_mini
update_interval: 30s # default
send_value_when_unplugged: true # default
unplugged_probe_value: 0 # default
battery_level:
name: "IGrill Mini battery"
temperature_probe1:
name: "IGrill Mini temp probe"
binary_sensor:
- platform: template
name: "iGrill mini connection status"
id: mini_connection_bin
device_class: connectivity
entity_category: diagnostic