home-automation-home-assistant/sensors/mqtt.yaml
Florian Brinker cd860031fb Add config
2019-01-16 13:47:15 +01:00

36 wiersze
920 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:
- voltage
- temperature
- status
- power
- health
- technology
- platform: mqtt
name: "mobile_fb_callstate"
state_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"
value_template: "{{ value_json.state }}"
json_attributes:
- icon
- 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"