-
Notifications
You must be signed in to change notification settings - Fork 15
/
ir-ac-config.yaml
68 lines (62 loc) · 1.39 KB
/
ir-ac-config.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
#This is a configuration snippet that should go into your configuration.yaml form Home Assistant
input_slider:
lg_ac_temperature:
name: AC Temperature
initial: 22
min: 18
max: 30
step: 1
input_select:
lg_ac_fan_mode:
name: Fan mode
options:
- cycle
- low
- med
- high
initial: 'low'
switch:
- platform: mqtt
command_topic: 'ha/lg_ac/power/set'
state_topic: 'ha/lg_ac/power/get'
payload_on: 'ON'
payload_off: 'OFF'
name: 'AC Power'
retain: false
- platform: mqtt
command_topic: 'ha/lg_ac/ionizer/set'
state_topic: 'ha/lg_ac/ionizer/get'
payload_on: 'ON'
payload_off: 'OFF'
name: 'AC Ionizer'
retain: true
- platform: mqtt
command_topic: 'ha/lg_ac/jet/set'
state_topic: 'ha/lg_ac/jet/get'
payload_on: 'ON'
payload_off: 'OFF'
name: 'AC Jet'
retain: true
- platform: mqtt
command_topic: 'ha/lg_ac/swing/set'
state_topic: 'ha/lg_ac/swing/get'
payload_on: 'ON'
payload_off: 'OFF'
name: 'AC Swing'
retain: true
#make a group for better visibility
group:
lg_ac:
name: Air Conditioning
view: yes
entities:
- group.lg_ac_group
lg_ac_group:
name: LG AC
entities:
- switch.ac_power
- input_slider.lg_ac_temperature
- input_select.lg_ac_fan_mode
- switch.ac_jet
- switch.ac_ionizer
- switch.ac_swing