forked from DotNetDann/ESP-MQTT-GarageDoorSensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExample Home Assistant Configuration.yaml
70 lines (65 loc) · 1.65 KB
/
Example Home Assistant Configuration.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
mqtt:
broker: your.mqtt.ip.address
port: 1883
client_id: home-assistant-1
keepalive: 60
username: YOURUSERNAME
password: YOURPASSWORD
protocol: 3.1
sensor:
- platform: mqtt
state_topic: "GarDoor/temperature"
name: "Garage Temperature"
qos: 0
unit_of_measurement: '°F'
- platform: mqtt
state_topic: "GarDoor/humidity"
name: "Garage Humidity"
qos: 0
unit_of_measurement: '%'
cover:
- platform: mqtt
name: "Garage Door 1"
state_topic: "GarDoor/1/status/value"
command_topic: "GarDoor/1/action"
availability_topic: "GarDoor/availability"
qos: 0
optimistic: false
retain: false
payload_open: "OPEN"
payload_close: "CLOSE"
payload_stop: "STATE"
state_open: "open"
state_closed: "closed"
payload_available: "online"
payload_not_available: "offline"
- platform: mqtt
name: "Garage Door 2"
state_topic: "GarDoor/2/status/value"
command_topic: "GarDoor/2/action"
availability_topic: "GarDoor/availability"
qos: 0
optimistic: false
retain: false
payload_open: "OPEN"
payload_close: "CLOSE"
payload_stop: "STATE"
state_open: "open"
state_closed: "closed"
payload_available: "online"
payload_not_available: "offline"
- platform: mqtt
name: "Garage Door 3"
state_topic: "GarDoor/3/status/value"
command_topic: "GarDoor/3/action"
availability_topic: "GarDoor/availability"
qos: 0
optimistic: false
retain: false
payload_open: "OPEN"
payload_close: "CLOSE"
payload_stop: "STATE"
state_open: "open"
state_closed: "closed"
payload_available: "online"
payload_not_available: "offline"