Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Created January 5, 2018 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarsBergqvist/f99a45355c619ce294ca0aa904fa377e to your computer and use it in GitHub Desktop.
Save LarsBergqvist/f99a45355c619ce294ca0aa904fa377e to your computer and use it in GitHub Desktop.
MQTT sensors with data from Node-RED
sensor:
- platform: mqtt
state_topic: "Home/Porch/Temperature"
name: porch_temp
unit_of_measurement: "°C"
- platform: mqtt
state_topic: "Home/Outdoor/Temperature"
name: outdoor_temp
unit_of_measurement: "°C"
- platform: mqtt
state_topic: "Home/Outdoor/Humidity"
name: outdoor_humidity
unit_of_measurement: "%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment