forked from MiguelAngelLV/esphaier
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathesphaier.yaml
51 lines (41 loc) · 807 Bytes
/
esphaier.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
esphome:
name: haier
platform: ESP8266
board: d1_mini
includes:
- Haier.h
# Set statul led for Wemos D1 mini
status_led:
pin: GPIO2
wifi:
ssid: ""
password: ""
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Haier_wifi"
password: "Haier_wifi"
captive_portal:
# Enable web server (can be disabled)
web_server:
port: 80
time:
- platform: sntp
id: sntp_time
timezone: "Asia/ Yekaterinburg"
# Enable logging
logger:
level: DEBUG
baud_rate: 0 #Important. You can't use serial port
# Enable Home Assistant API
api:
password: ""
ota:
password: ""
climate:
- platform: custom
lambda: |-
auto haier = new Haier();
App.register_component(haier);
return {haier};
climates:
- name: "Haier"