-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfan-taiseia.yaml
112 lines (93 loc) · 1.79 KB
/
fan-taiseia.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
substitutions:
devicename: fan-taiseia
upper_devicename: "Fan TaiSEIA"
esphome:
name: $devicename
friendly_name: ${upper_devicename}
comment: $upper_devicename
name_add_mac_suffix: true
project:
name: TaiSEIA.climate
version: "1.0"
external_components:
- source: github://tsunglung/taixia@master
components: [ taixia ]
esp32:
board: esp32dev
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# reboot_timeout: 0s
ap:
password: "admin1234"
ap_timeout: 30s
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
ota:
uart:
id: uart_taixia
tx_pin: TX
rx_pin: RX
baud_rate: 9600
binary_sensor:
- platform: status
name: "Status"
button:
- platform: safe_mode
name: Safe Mode Boot
entity_category: diagnostic
- platform: restart
name: "Restart"
fan:
- platform: taixia
name: Fan
speed: true
speed_count: 2
number:
- platform: taixia
type: electricfan
off_timer:
name: "Off Timer"
sensor:
- platform: wifi_signal
name: "WiFi Signal"
update_interval: 60s
- platform: uptime
name: "Uptime"
filters:
- lambda: return x / 3600;
unit_of_measurement: "h"
accuracy_decimals: 1
- platform: internal_temperature
name: "Internal Temperature"
switch:
- platform: taixia
type: electricfan
power:
name: "Power Switch"
text_sensor:
- platform: version
name: "ESPHome Version"
- platform: wifi_info
ip_address:
name: "IP Address"
- platform: taixia
sa_id:
name: "SA ID"
id: sa_id
brand:
name: "SA Brand"
model:
name: "SA Model"
version:
name: "SA Version"
services:
name: "SA Services"
taixia:
sa_id: 15
time:
- platform: homeassistant
id: homeassistant_time