-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmqtt.yaml
42 lines (42 loc) · 1.43 KB
/
mqtt.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
# binary_sensor:
# - state_topic: "FP"
# name: "Front Porch Motion"
# payload_on: "on"
# off_delay: 600000
# device_class: motion
# - state_topic: "backyard"
# name: "Backyard Motion"
# payload_on: "on"
# off_delay: 600000
# device_class: motion
sensor:
- state_topic: "rtl_433/events/Acurite-Tower/15750"
name: "Bathroom Temperature"
unit_of_measurement: "°F"
value_template: '{{ (value_json.temperature_C * 9 / 5 + 32)}}'
json_attributes_topic: "rtl_433/events/Acurite-Tower/15750"
force_update: true
unique_id: bathroom_temperature
device_class: temperature
- state_topic: "rtl_433/events/Acurite-Tower/15750"
name: "Bathroom Humidity"
unit_of_measurement: "%"
value_template: '{{ value_json.humidity }}'
force_update: true
unique_id: bathroom_humidity
device_class: humidity
- state_topic: "rtl_433/events/Acurite-Tower/414"
name: "Bedroom Temperature"
unit_of_measurement: "°F"
value_template: '{{ (value_json.temperature_C * 9 / 5 + 32)}}'
json_attributes_topic: "rtl_433/events/Acurite-Tower/15750"
force_update: true
unique_id: bedroom_temperature
device_class: temperature
- state_topic: "rtl_433/events/Acurite-Tower/414"
name: "Bedroom Humidity"
unit_of_measurement: "%"
value_template: '{{ value_json.humidity }}'
force_update: true
unique_id: bedroom_humidity
device_class: humidity