Advertisement
Guest User

Untitled

a guest
Jul 1st, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 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: 53.9
  6. longitude: 27.5667
  7. # Impacts weather/sunrise data (altitude above sea level in meters)
  8. elevation: 220
  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/Minsk
  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.  
  22. # Enables configuration UI
  23. config:
  24.  
  25. http:
  26. # Secrets are defined in the file secrets.yaml
  27. # api_password: !secret http_password
  28. # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  29. # base_url: example.duckdns.org:8123
  30.  
  31. # Checks for available updates
  32. # Note: This component will send some information about your system to
  33. # the developers to assist with development of Home Assistant.
  34. # For more information, please see:
  35. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  36. updater:
  37. # Optional, allows Home Assistant developers to focus on popular components.
  38. # include_used_components: true
  39.  
  40. # Discover some devices automatically
  41. discovery:
  42.  
  43. # Allows you to issue voice commands from the frontend in enabled browsers
  44. conversation:
  45.  
  46. # Enables support for tracking state changes over time
  47. history:
  48.  
  49. # View all events in a logbook
  50. logbook:
  51.  
  52. # Enables a map showing the location of tracked devices
  53. map:
  54.  
  55. # Track the sun
  56. sun:
  57.  
  58. # Weather prediction
  59. sensor:
  60. - platform: yr
  61.  
  62. # Text to speech
  63. tts:
  64. - platform: google
  65.  
  66. # Cloud
  67. cloud:
  68.  
  69. group: !include groups.yaml
  70. automation: !include automations.yaml
  71. script: !include scripts.yaml
  72.  
  73. panel_iframe:
  74. configurator:
  75. title: Configurator
  76. icon: mdi:wrench
  77. url: http://hassio.local:3218
  78.  
  79. netatmo:
  80. api_key: 5b3876d1ae4763b4ec8b4f35
  81. secret_key: Az5EqzP7eegOyKAXzECAWspvWFN
  82. username: victor@korolchik.com
  83. password: korolchik80
  84.  
  85. telegram_bot:
  86. - platform: polling
  87. api_key: 616053721:AAF79kTPEX-RC7e7PUV1M7fROH4-duUNRas
  88. allowed_chat_ids:
  89. - 4896255
  90. notify:
  91. - name: telegram_notify
  92. platform: telegram
  93. chat_id: 4896255
  94.  
  95. device_tracker:
  96. - platform: nmap_tracker
  97. hosts: 192.168.98.0/24
  98. home_interval: 1
  99. exclude:
  100. - 192.168.1.1
  101.  
  102. automation Welcome:
  103. trigger:
  104. platform: state
  105. entity_id: device_tracker.30074d087a21
  106. from: 'not_home'
  107. to: 'home'
  108. action:
  109. service: notify.telegram_notify
  110. data:
  111. message: 'Person is now home'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement