home-automation-home-assistant/sensors/mqtt.yaml
2019-03-18 20:07:08 +01:00

29 lines
946 B
YAML

- platform: mqtt
name: "mobile_fb_battery"
state_topic: "homeassistant/sensor/android_mobile_fb_battery/state"
unit_of_measurement: '%'
value_template: "{{ value_json.level }}"
json_attributes_topic: "homeassistant/sensor/android_mobile_fb_battery/state"
- platform: mqtt
name: "mobile_fb_callstate"
state_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"
value_template: "{{ value_json.state }}"
json_attributes_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"
- platform: mqtt
name: "Attic Humidity"
state_topic: "home/attic/homenodeTiny1/humidity"
force_update: true
unit_of_measurement: "%"
- platform: mqtt
name: "Attic Temperature"
state_topic: "home/attic/homenodeTiny1/temperature"
force_update: true
unit_of_measurement: "°C"
- platform: mqtt
name: "Attic HeatIndex"
state_topic: "home/attic/homenodeTiny1/heatIndex"
force_update: true
unit_of_measurement: "°C"