Advertisement
Guest User

Untitled

a guest
Jan 13th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 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: 55.7522
  6. longitude: 37.6156
  7. # Impacts weather/sunrise data (altitude above sea level in meters)
  8. elevation: 0
  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/Moscow
  13. # Customization file
  14. customize: !include customize.yaml
  15.  
  16. # Show links to resources in log and frontend
  17. #introduction:
  18. panel_iframe:
  19. configurator:
  20. title: Configurator
  21. icon: mdi:wrench
  22. url: http://home.ice-flame.ru:3218
  23.  
  24. # Enables the frontend
  25. frontend:
  26.  
  27. # Enables configuration UI
  28. config:
  29.  
  30. http:
  31. # Secrets are defined in the file secrets.yaml
  32. # api_password: !secret http_password
  33. # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  34. # base_url: example.duckdns.org:8123
  35.  
  36. # Checks for available updates
  37. # Note: This component will send some information about your system to
  38. # the developers to assist with development of Home Assistant.
  39. # For more information, please see:
  40. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  41. updater:
  42. # Optional, allows Home Assistant developers to focus on popular components.
  43. # include_used_components: true
  44.  
  45. # Discover some devices automatically
  46. discovery:
  47.  
  48. # Allows you to issue voice commands from the frontend in enabled browsers
  49. conversation:
  50.  
  51. # Enables support for tracking state changes over time
  52. history:
  53.  
  54. # View all events in a logbook
  55. logbook:
  56.  
  57. # Enables a map showing the location of tracked devices
  58. map:
  59.  
  60. # Track the sun
  61. #sun:
  62.  
  63.  
  64.  
  65. # Weather prediction
  66. #sensor:
  67. # - platform: yr
  68. #
  69. # Text to speech
  70. #tts:
  71. # - platform: google
  72. #
  73. # Cloud
  74. mqtt:
  75. broker: core-mosquitto
  76. username: 1фывфывфыв
  77. password: mфывфывфывypw
  78.  
  79.  
  80. light:
  81. - platform: mqtt
  82. name: "Hall"
  83. state_topic: "stat/hallway/POWER"
  84. command_topic: "cmnd/hallway/POWER"
  85. availability_topic: "tele/hallway/LWT"
  86. qos: 1
  87. payload_on: "ON"
  88. payload_off: "OFF"
  89. payload_available: "Online"
  90. payload_not_available: "Offline"
  91. retain: true
  92.  
  93. - platform: mqtt
  94. name: "Bath"
  95. state_topic: "stat/hallway/POWER"
  96. command_topic: "cmnd/hallway/POWER"
  97. availability_topic: "tele/hallway/LWT"
  98. qos: 1
  99. payload_on: "ON"
  100. payload_off: "OFF"
  101. payload_available: "Online"
  102. payload_not_available: "Offline"
  103. retain: true
  104.  
  105.  
  106. - platform: mqtt
  107. name: "Kitchen Main"
  108. state_topic: "stat/hallway/POWER"
  109. command_topic: "cmnd/hallway/POWER"
  110. availability_topic: "tele/hallway/LWT"
  111. qos: 1
  112. payload_on: "ON"
  113. payload_off: "OFF"
  114. payload_available: "Online"
  115. payload_not_available: "Offline"
  116. retain: true
  117.  
  118.  
  119. - platform: mqtt
  120. name: "Kitchen Table"
  121. state_topic: "stat/hallway/POWER"
  122. command_topic: "cmnd/hallway/POWER"
  123. availability_topic: "tele/hallway/LWT"
  124. qos: 1
  125. payload_on: "ON"
  126. payload_off: "OFF"
  127. payload_available: "Online"
  128. payload_not_available: "Offline"
  129. retain: true
  130.  
  131.  
  132. - platform: mqtt
  133. name: "Kitchen 3"
  134. state_topic: "stat/hallway/POWER"
  135. command_topic: "cmnd/hallway/POWER"
  136. availability_topic: "tele/hallway/LWT"
  137. qos: 1
  138. payload_on: "ON"
  139. payload_off: "OFF"
  140. payload_available: "Online"
  141. payload_not_available: "Offline"
  142. retain: true
  143.  
  144. - platform: mqtt
  145. name: "Room Main"
  146. state_topic: "stat/hallway/POWER"
  147. command_topic: "cmnd/hallway/POWER"
  148. availability_topic: "tele/hallway/LWT"
  149. qos: 1
  150. payload_on: "ON"
  151. payload_off: "OFF"
  152. payload_available: "Online"
  153. payload_not_available: "Offline"
  154. retain: true
  155.  
  156. - platform: mqtt
  157. name: "Room backlight"
  158. state_topic: "stat/hallway/POWER"
  159. command_topic: "cmnd/hallway/POWER"
  160. availability_topic: "tele/hallway/LWT"
  161. qos: 1
  162. payload_on: "ON"
  163. payload_off: "OFF"
  164. payload_available: "Online"
  165. payload_not_available: "Offline"
  166. retain: true
  167. cloud:
  168.  
  169. #group: !include groups.yaml
  170. group:
  171. # default_view:
  172. # view: yes
  173. # icon: mdi:home
  174. # entities:
  175. # - group.kitchen
  176. # - group.room
  177. kitchen:
  178. name: Kitchen
  179. entities:
  180. - light.kitchen_main
  181. - light.kitchen_table
  182. - light.kitchen_3
  183. date_time:
  184. name: Date Time
  185. entities:
  186. - sensor.time
  187. - sensor.date
  188. room:
  189. name: Room
  190. entities:
  191. - light.room_main
  192. - light.room_backlight
  193. other_light:
  194. name: Other Light
  195. entities:
  196. - light.hall
  197. - light.bath
  198. automation: !include automations.yaml
  199. script: !include scripts.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement