-
Notifications
You must be signed in to change notification settings - Fork 11
/
example.yaml
79 lines (66 loc) · 1.64 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
76
77
esphome:
name: "test-node"
esp32:
board: nodemcu-32s
framework:
type: arduino
substitutions:
mac_water_heater: XX:XX:XX:XX:XX:XX
external_components:
- source:
type: git
url: https://github.com/pedobry/esphome-smartboiler
components: [smartboiler]
# Enable Home Assistant API
api:
encryption:
key: !secret ha_API_key
ble_client:
- mac_address: ${mac_water_heater}
id: drazice_okhe
smartboiler:
- ble_client_id: drazice_okhe
temp1:
name: "Water heater temp1"
temp2:
name: "Water heater temp2"
mode:
name: "Water heater mode"
thermostat:
name: "Water heater thermostat"
heat_on:
name: "Water heater heat"
hdo_low_tariff:
name: "Water heater HDO"
pin:
name: "Water heater PIN"
state:
name: "Water heater state"
version:
name: "Water heater version"
b_name:
name: "Water heater name"
consumption:
name: "Water heater energy"
sensor:
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: "WiFi Signal dB"
id: water_heater_wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: water_heater_wifi_signal_db
name: "WiFi Signal Percent"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "Signal %"
entity_category: "diagnostic"
switch:
- platform: ble_client
ble_client_id: drazice_okhe
name: "Enable water heater monitoring"
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi1_ssid
password: !secret wifi1_psk