-
Notifications
You must be signed in to change notification settings - Fork 8
/
example.yaml
75 lines (65 loc) · 1.88 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
esphome:
name: "climate-living-room"
esp32:
board: nodemcu-32s
framework:
type: arduino
external_components:
- source:
type: git
url: https://github.com/pedobry/esphome_toshiba_suzumi
components: [toshiba_suzumi]
logger:
level: info
uart:
id: uart_bus
tx_pin: 33
rx_pin: 32
parity: EVEN
baud_rate: 9600
climate:
- platform: toshiba_suzumi
name: living-room
id: living_room
uart_id: uart_bus
outdoor_temp: # Optional. Outdoor temperature sensor
name: Outdoor Temp
filters:
# Filter out value 127 as that's what unit sends when it can's measure the outside temp.
- filter_out: 127
power_select:
name: "Power level"
#min_temp: 7 # Optional. Min temp is by default set to 17°C. If your AC has 8° heating mode, you can set different min temperature here.
#horizontal_swing: true # Optional. Uncomment if your HVAC supports also horizontal swing
#special_mode: # Optional. Enable only the features your HVAC supports.
#name: "Special mode"
#modes:
#- "Off"
#- "ECO"
#- "Hi POWER"
#- "8 degrees"
#- "Fireplace"
#disable_wifi_led: true # Optional. Disable Wifi LED on internal unit.
# Enable button to scan for unknown values in AC unit. This is optional.
button:
- platform: template
name: "Scan for unknown sensors"
icon: "mdi:reload"
on_press:
then:
- lambda: |-
auto* controller = static_cast<toshiba_suzumi::ToshibaClimateUart*>(id(living_room));
controller->scan();
# Enable Home Assistant API
api:
encryption:
key: !secret ha_enc_key
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "A Fallback Hotspot"
password: "xxxxxxxxxxx"