Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.58 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: 1
  6.   longitude: 1
  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.  
  36. # platform: yr
  37.  
  38.  
  39. #MQTT
  40. mqtt:
  41.   broker: 192.168.1.105
  42.   port: 1883
  43.   client_id: home-assistant-1
  44.   keepalive: 60
  45.   username: homeassistant
  46.   password: yaml
  47.   protocol: 3.1
  48.  
  49. light:
  50.   platform: mqtt
  51.   command_topic: "alarms/big_red_button"
  52.  
  53. switch:
  54.   platform: mqtt
  55.   command_topic: "alarms/big_red_button"
  56.  
  57. alarm_control_panel:
  58.   platform: mqtt
  59.   state_topic: "home-assistant/lottery/number"
  60.   command_topic: "home-assistant/lottery/number/set"
  61.  
  62. #For reading random numbers
  63. sensor:
  64.   platform: mqtt
  65.   name: "Lottery"
  66.   state_topic: "home-assistant/lottery/number"
  67.   unit_of_measurement: "No."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement