Guest User

HASS_CONFIGURATION_YAML

a guest
Feb 28th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.08 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: 22.5697
  6.   longitude: 88.3697
  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: Asia/Kolkata
  13.   # Customization file
  14.   customize: !include customize.yaml
  15.  
  16. # Show links to resources in log and frontend
  17. #introduction:
  18.  
  19. # Enables the frontend
  20. frontend:
  21. # Enables configuration UI
  22. config:
  23.  
  24. mqtt:
  25.     broker: core-mosquitto
  26.     username: omnibuz
  27.     password: omnibuz
  28.  
  29.  
  30.  
  31. switch DUAL:
  32.   - platform: mqtt
  33.     command_topic: "cmnd/dual/POWER1"
  34.     stat_topic: "stat/dual/POWER1"
  35.     name: 'Switch 1'
  36.     qos: 1
  37.     payload_on: "ON"
  38.     payload_off: "OFF"
  39.     retain: true
  40.  
  41.   - platform: mqtt
  42.     command_topic: "cmnd/dual/POWER2"
  43.     stat_topic: "stat/dual/POWER2"
  44.     name: 'Switch 2'
  45.     qos: 1
  46.     payload_on: "ON"
  47.     payload_off: "OFF"
  48.     retain: true
  49.    
  50.    
  51. switch QUAD:
  52.   - platform: mqtt
  53.     command_topic: "cmnd/quad/POWER1"
  54.     stat_topic: "stat/quad/POWER1"
  55.     name: 'Switch 1'
  56.     qos: 1
  57.     payload_on: "ON"
  58.     payload_off: "OFF"
  59.     retain: true
  60.  
  61.   - platform: mqtt
  62.     command_topic: "cmnd/quad/POWER2"
  63.     stat_topic: "stat/quad/POWER2"
  64.     name: 'Switch 2'
  65.     qos: 1
  66.     payload_on: "ON"
  67.     payload_off: "OFF"
  68.     retain: true
  69.  
  70.   - platform: mqtt
  71.     command_topic: "cmnd/quad/POWER3"
  72.     stat_topic: "stat/quad/POWER3"
  73.     name: 'Switch 3'
  74.     qos: 1
  75.     payload_on: "ON"
  76.     payload_off: "OFF"
  77.     retain: true
  78.  
  79.   - platform: mqtt
  80.     command_topic: "cmnd/quad/POWER4"
  81.     stat_topic: "stat/quad/POWER4"
  82.     name: 'Switch 4'
  83.     qos: 1
  84.     payload_on: "ON"
  85.     payload_off: "OFF"
  86.     retain: true
  87.  
  88.  
  89. http:
  90.  # Secrets are defined in the file secrets.yaml
  91.   # api_password: !secret http_password
  92.   # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  93.   # base_url: example.duckdns.org:8123
  94.  
  95. # Checks for available updates
  96. # Note: This component will send some information about your system to
  97. # the developers to assist with development of Home Assistant.
  98. # For more information, please see:
  99. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  100. updater:
  101.  # Optional, allows Home Assistant developers to focus on popular components.
  102.   # include_used_components: true
  103.  
  104. # Discover some devices automatically
  105. discovery:
  106. # Allows you to issue voice commands from the frontend in enabled browsers
  107. conversation:
  108. # Enables support for tracking state changes over time
  109. history:
  110. # View all events in a logbook
  111. logbook:
  112. # Enables a map showing the location of tracked devices
  113. map:
  114. # Track the sun
  115. sun:
  116. # Weather prediction
  117. sensor:
  118.   - platform: yr
  119.  
  120. # Text to speech
  121. tts:
  122.   - platform: google
  123.  
  124. # Cloud
  125. cloud:
  126. group: !include groups.yaml
  127. automation: !include automations.yaml
  128. script: !include scripts.yaml
Add Comment
Please, Sign In to add comment