Advertisement
Guest User

Untitled

a guest
Mar 19th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 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: x
  6. longitude: y
  7. # Impacts weather/sunrise data (altitude above sea level in meters)
  8. elevation: z
  9. # metric for Metric, imperial for Imperial
  10. unit_system: imperial
  11. # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  12. time_zone: America/Chicago
  13.  
  14. # Show links to resources in log and frontend
  15. introduction:
  16.  
  17. # Enables the frontend
  18. frontend:
  19.  
  20. # Enables configuration UI
  21. config:
  22.  
  23. http:
  24. # Uncomment this to add a password (recommended!)
  25. api_password: dont_steal_my_password
  26. # Uncomment this if you are using SSL or running in Docker etc
  27. # base_url: example.duckdns.org:8123
  28.  
  29. # Checks for available updates
  30. updater:
  31.  
  32. # Discover some devices automatically
  33. discovery:
  34. ignore:
  35.  
  36.  
  37.  
  38. # Define our dropdown list
  39. input_select:
  40. test:
  41. name: test
  42. options:
  43. - test
  44. - None
  45. initial: None
  46. icon: mdi:weather-rainy
  47.  
  48.  
  49. automation:
  50. - alias: Play test noises
  51.  
  52. trigger:
  53. platform: state
  54. entity_id: input_select.test
  55. to: "test"
  56.  
  57. action:
  58. service: media_player.play_media
  59. data:
  60. entity_id: media_player.office_home
  61. media_content_id: http://17553.live.streamtheworld.com:3690/KIOSFM_SC
  62. media_content_type: audio/mp4
  63.  
  64.  
  65.  
  66. # If you select "None, turn the Chromecast off
  67. - alias: Stop the music
  68.  
  69. trigger:
  70. platform: state
  71. entity_id: input_select.test
  72. to: "None"
  73.  
  74. action:
  75. service: media_player.turn_off
  76. data:
  77. entity_id: media_player.office_home
  78.  
  79.  
  80.  
  81.  
  82. # Allows you to issue voice commands from the frontend in enabled browsers
  83. conversation:
  84.  
  85. # Enables support for tracking state changes over time.
  86. history:
  87.  
  88. # View all events in a logbook
  89. logbook:
  90.  
  91. # Track the sun
  92. sun:
  93.  
  94. # Weather Prediction
  95. sensor:
  96. platform: yr
  97.  
  98. # Text to speech
  99. tts:
  100. platform: google
  101.  
  102. group: !include groups.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement