Advertisement
Guest User

Untitled

a guest
Mar 30th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. ##
  2.  
  3. homeassistant:
  4. # Name of the location where Home Assistant is running
  5. name: Home
  6. # Location required to calculate the time the sun rises and sets
  7. latitude: 22.291
  8. longitude: 114.15
  9. # Impacts weather/sunrise data (altitude above sea level in meters)
  10. elevation: 0
  11. # metric for Metric, imperial for Imperial
  12. unit_system: metric
  13. # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  14. time_zone: Asia/Hong_Kong
  15. # Customization file
  16. customize: !include customize.yaml
  17.  
  18. # Show links to resources in log and frontend
  19. introduction:
  20.  
  21. # Enables the frontend
  22. frontend:
  23.  
  24. # Enables configuration UI
  25. config:
  26.  
  27. http:
  28. # Secrets are defined in the file secrets.yaml
  29. # api_password: !secret http_password
  30. # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  31. # base_url: example.duckdns.org:8123
  32.  
  33. # Add Configurator icon in side bar
  34. panel_iframe:
  35. configurator:
  36. title: Configurator
  37. icon: mdi:wrench
  38. url: http://hassio.local:3218
  39.  
  40. # Add MQTT Mosquitto
  41. mqtt:
  42. broker: core-mosquitto
  43. username: sandwichclass
  44. password: partygo
  45.  
  46. # Add Sonoff Light Switch
  47.  
  48. switch:
  49. - platform: mqtt
  50. name: "Partygo Moon Light"
  51. state_topic: "stat/sonoffT1UK301/POWER1"
  52. command_topic: "cmnd/sonoffT1UK301/POWER1"
  53. qos: 1
  54. payload_on: "ON"
  55. payload_off: "OFF"
  56. retain: true
  57.  
  58. - platform: mqtt
  59. name: "Partygo Star Light"
  60. state_topic: "stat/sonoffT1UK301/POWER2"
  61. command_topic: "cmnd/sonoffT1UK301/POWER2"
  62. qos: 1
  63. payload_on: "ON"
  64. payload_off: "OFF"
  65. retain: true
  66.  
  67. - platform: mqtt
  68. name: "Partygo Star Light - 2"
  69. state_topic: "stat/sonoffT1UK301/POWER3"
  70. command_topic: "cmnd/sonoffT1UK301/POWER3"
  71. qos: 1
  72. payload_on: "ON"
  73. payload_off: "OFF"
  74. retain: true
  75.  
  76. - platform: mqtt
  77. name: "Partygo Spot Light - 1"
  78. state_topic: "stat/sonoffT1UK201/POWER1"
  79. command_topic: "cmnd/sonoffT1UK201/POWER1"
  80. qos: 1
  81. payload_on: "ON"
  82. payload_off: "OFF"
  83. retain: true
  84.  
  85. - platform: mqtt
  86. name: "Partygo Spot Light - 2"
  87. state_topic: "stat/sonoffT1UK201/POWER2"
  88. command_topic: "cmnd/sonoffT1UK201/POWER2"
  89. qos: 1
  90. payload_on: "ON"
  91. payload_off: "OFF"
  92. retain: true
  93.  
  94. - platform: mqtt
  95. name: "Tiolet Light"
  96. state_topic: "stat/sonoffT1UK1/POWER"
  97. command_topic: "cmnd/sonoffT1UK1/POWER"
  98. qos: 1
  99. payload_on: "ON"
  100. payload_off: "OFF"
  101. retain: true
  102.  
  103.  
  104. # Add TV & Onkyo AV Receiver
  105.  
  106. wake_on_lan:
  107.  
  108. media_player:
  109. - platform: onkyo
  110. host: 192.168.1.55
  111. name: NR646
  112.  
  113. - platform: webostv
  114. host: 192.168.1.110
  115. Name: LG TV
  116. mac: 78:5D:C8:3F:4E:79
  117. filename: webostv.conf
  118. icon: mdi:television
  119. turn_on_action:
  120. service: wake_on_lan.send_magic_packet
  121. data:
  122. mac: 78:5D:C8:3F:4E:79
  123.  
  124.  
  125. # Checks for available updates
  126. # Note: This component will send some information about your system to
  127. # the developers to assist with development of Home Assistant.
  128. # For more information, please see:
  129. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  130. updater:
  131. # Optional, allows Home Assistant developers to focus on popular components.
  132. # include_used_components: true
  133.  
  134. # Discover some devices automatically
  135. discovery:
  136.  
  137. # Allows you to issue voice commands from the frontend in enabled browsers
  138. conversation:
  139.  
  140. # Enables support for tracking state changes over time
  141. history:
  142.  
  143. # View all events in a logbook
  144. logbook:
  145.  
  146. # Enables a map showing the location of tracked devices
  147. map:
  148.  
  149. # Track the sun
  150. sun:
  151.  
  152. # Weather prediction
  153. sensor:
  154. - platform: yr
  155.  
  156. # Text to speech
  157. tts:
  158. - platform: google
  159.  
  160. # Cloud
  161. cloud:
  162.  
  163. group: !include groups.yaml
  164. automation: !include automations.yaml
  165. script: !include scripts.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement