Advertisement
Guest User

Untitled

a guest
Nov 5th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. homeassistant:
  2. name: Paddock View Home
  3. latitude: !secret homeassistant_latitude
  4. longitude: !secret homeassistant_longitude
  5. elevation: 10 #!secret homeassistant_elevation
  6. unit_system: metric
  7. time_zone: Europe/London
  8.  
  9. #customize: !include_dir_merge_named customize
  10.  
  11. frontend:
  12.  
  13.  
  14. # Enables configuration UI
  15. config:
  16.  
  17.  
  18. updater:
  19. # Optional, allows Home Assistant developers to focus on popular components.
  20. # include_used_components: true
  21.  
  22. # Discover some devices automatically
  23. discovery:
  24.  
  25. # Allows you to issue voice commands from the frontend in enabled browsers
  26. conversation:
  27.  
  28. # Enables support for tracking state changes over time
  29. history:
  30.  
  31. # View all events in a logbook
  32. logbook:
  33.  
  34. # Enables a map showing the location of tracked devices
  35. map:
  36.  
  37.  
  38. # Track the sun
  39. sun:
  40.  
  41. ### Devices ###
  42. light: !include lights.yaml
  43. #group: !include groups.yaml
  44.  
  45. #switch:
  46. # - platform: rest
  47. # resource: http://127.0.0.1:8126/container/grafana
  48. # name: Grafana
  49. # body_on: '{"state": "start"}'
  50. # body_off: '{"state": "stop"}'
  51. # is_on_template: '{{ value_json is not none and value_json.state == "running" }}'
  52.  
  53.  
  54. binary_sensor:
  55. #living-up
  56. - platform: mqtt
  57. state_topic: 'stat/living-up/POWER'
  58. name: 'PIR living-up'
  59.  
  60. sensor:
  61. - platform: mqtt
  62. state_topic: 'tele/living-up/SENSOR'
  63. name: 'Temperature Living-up'
  64. units_of_measurement: '°C'
  65. value_template: '{{ value_json[SHT3X-0x44].Temperature}}'
  66. - platform: mqtt
  67. state_topic: 'tele/living-up/SENSOR'
  68. name: 'Humidity Living-up'
  69. units_of_measurement: '%'
  70. value_template: '{{ value_json[SHT3X-0x44].Humidity}}'
  71.  
  72.  
  73. - platform: mqtt
  74. state_topic: 'tele/heater/SENSOR'
  75. name: 'Temperature Heater'
  76. units_of_measurement: '°C'
  77. value_template: '{{ value_json['SHT3X-0x44'].Temperature }}'
  78. - platform: mqtt
  79. state_topic: 'tele/heater/SENSOR'
  80. name: 'Humidity Heater'
  81. units_of_measurement: '%'
  82. value_template: '{{ value_json['SHT3X-0x44'].Humidity }}'
  83.  
  84. - platform: mqtt
  85. state_topic: 'tele/living1/SENSOR'
  86. name: 'Temperature Living1'
  87. units_of_measurement: '°C'
  88. value_template: '{{ value_json.BMP280.Temperature}}'
  89. - platform: mqtt
  90. state_topic: 'tele/living1/SENSOR'
  91. name: 'Pressure Living1'
  92. value_template: '{{ value_json.BMP280.Pressure}}'
  93.  
  94. harmony_online:
  95. value_template: "{% if states.device_tracker.harmonyhub %}
  96. {% if is_state('device_tracker.harmonyhub', 'home') %}
  97. Online
  98. {% else %}
  99. Offline
  100. {% endif %}
  101. {% else %}
  102. Unknown
  103. {% endif %}"
  104. friendly_name: 'Harmony Hub'
  105.  
  106. #DarkSky
  107. #weather:
  108. # - platform: darksky
  109. # api_key: !secret forecast_key
  110.  
  111. #mysensors:
  112. # gateways:
  113. # - device: '/dev/ttyACM0'
  114.  
  115. #mqtt:
  116. # broker: 127.0.0.1
  117. # port: 1883
  118. # client_id: home-assistant-Carlo
  119. # username: !secret MQTT_username
  120. # password: !secret MQTT_password
  121. mqtt:
  122. broker: 192.168.1.100
  123. port: 1883
  124. client_id: home-assistant
  125. keepalive: 60
  126. username: !secret MQTT_username
  127. password: !secret MQTT_password
  128.  
  129. #device_tracker: !include_dir_merge_list device_tracker
  130. #sensor: !include_dir_merge_list sensor
  131. #automation: !include_dir_merge_list automation
  132. #scene: !include_dir_merge_list scene
  133. #switch: !include_dir_merge_list switch
  134. #script: !include_dir_merge_named script
  135. #input_boolean: !include_dir_merge_named input_boolean
  136. #shell_command: !include_dir_merge_named shell_command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement