Advertisement
Guest User

Untitled

a guest
Nov 20th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.53 KB | None | 0 0
  1. homeassistant:
  2.  # Name of the location where Home Assistant is running
  3.   name: Home
  4.   # Location required to calculate the time the sun rises and sets
  5.   latitude: 51.8
  6.   longitude: 19.75
  7.   # Impacts weather/sunrise data (altitude above sea level in meters)
  8.   elevation: 191
  9.   # metric for Metric, imperial for Imperial
  10.   unit_system: metric
  11.   # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  12.   time_zone: Europe/Warsaw
  13.  
  14. # Show links to resources in log and frontend
  15. introduction:
  16. # Enables the frontend
  17. frontend:
  18. http:
  19.  # Uncomment this to add a password (recommended!)
  20.   # api_password: yaml
  21.  
  22. # Checks for available updates
  23. updater:
  24. # Discover some devices automatically
  25. discovery:
  26. # Allows you to issue voice commands from the frontend in enabled browsers
  27. conversation:
  28. # Enables support for tracking state changes over time.
  29. history:
  30. # View all events in a logbook
  31. logbook:
  32. # Track the sun
  33. sun:
  34. # Weather Prediction
  35. sensor:
  36. # platform: yr
  37.  
  38.   platform: mqtt
  39.   name: "Lottery"
  40.   state_topic: "home-assistant/lottery/number"
  41.   unit_of_measurement: "No."
  42.  
  43. #MQTT
  44. mqtt:
  45.   broker: 192.168.1.105
  46.   port: 1883
  47.   client_id: home-assistant-1
  48.   keepalive: 60
  49.   username: homeassistant
  50.   password: yaml
  51.   protocol: 3.1
  52.  
  53. light:
  54.   - platform: mqtt
  55.     command_topic: "alarms/big_red_button"
  56.  
  57. switch:
  58.   - platform: mqtt
  59.     command_topic: "alarms/big_red_button"
  60.  
  61. alarm_control_panel:
  62.   platform: mqtt
  63.   state_topic: "home/alarm"
  64.   command_topic: "home/alarm/set"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement