Advertisement
Kendobendo

configuration.yaml

Jan 15th, 2019
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.51 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.3066
  6.   longitude: 11.3336
  7.   # Impacts weather/sunrise data (altitude above sea level in meters)
  8.   elevation: 190
  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/Stockholm
  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. ifttt:
  22.   key: -------
  23.  
  24.  
  25. cloud:
  26.   google_actions:
  27.     filter:
  28.       exclude_domains:
  29.        - group
  30.  
  31. light:
  32.   - platform: switch
  33.     name: Kens Office Window Light
  34.     entity_id: switch.kens_office_window_light
  35.  
  36.   - platform: switch
  37.     name: Movie Room Window Light
  38.     entity_id: switch.movie_room_window_light
  39.  
  40.   - platform: switch
  41.     name: Guest room Window Light
  42.     entity_id: switch.guest_room_window_light
  43.  
  44.   - platform: switch
  45.     name: Marias Office Window Light
  46.     entity_id: switch.marias_office_window_light
  47.  
  48.   - platform: switch
  49.     name: Master Bedroom Walkincloset Lights
  50.     entity_id: switch.master_bedroom_walkincloset_lights
  51.  
  52.   - platform: switch
  53.     name: Kitchen Window Light
  54.     entity_id: switch.kitchen_window_light
  55.  
  56.   - platform: switch
  57.     name: Living Room Window Light
  58.     entity_id: switch.living_room_window_light
  59.  
  60.   - platform: switch
  61.     name: TV Room Sofa Light
  62.     entity_id: switch.tv_room_sofa_light
  63.  
  64.   - platform: switch
  65.     name: Outside Stone Lights
  66.     entity_id: switch.outside_stone_lights
  67.  
  68.   - platform: switch
  69.     name: Carport Driveway Lights
  70.     entity_id: switch.carport_driveway_lights
  71.  
  72.  
  73.   - platform: yeelight
  74.     devices:
  75.       192.168.200.103:
  76.         name: Spa
  77.         transition: 1000
  78.       192.168.200.104:
  79.         name: Outside Cinema
  80.         transition: 1000
  81.       192.168.200.106:
  82.         name: Backside Corner
  83.         transition: 1000
  84.       192.168.200.107:
  85.         name: Laundry Room Entrance
  86.         transition: 1000
  87.       192.168.200.110:
  88.         name: Outside Guest Room
  89.         transition: 1000
  90.  
  91.        
  92. input_boolean:
  93.   test_input:
  94.     name: Test Button
  95.     initial: off
  96.     icon: mdi:car
  97.  
  98.    
  99.     # Enables configuration UI
  100. config:
  101. http:
  102.   base_url: https://MY_URL
  103.   ssl_certificate: /ssl/fullchain.pem
  104.   ssl_key: /ssl/privkey.pem
  105.   api_password: !secret http_password
  106.  
  107. # Checks for available updates
  108. # Note: This component will send some information about your system to
  109. # the developers to assist with development of Home Assistant.
  110. # For more information, please see:
  111. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  112. updater:
  113.  # Optional, allows Home Assistant developers to focus on popular components.
  114.   # include_used_components: true
  115.  
  116.  
  117. google_assistant:
  118.   project_id: hassio-xxxxx
  119.   api_key: ----------
  120.   expose_by_default: false
  121.   entity_config:
  122. #Movie Room
  123.     switch.movie_room_power:
  124.       name: Movie Room Power
  125.       room: Movie Room
  126.       expose: true
  127.     light.movie_room_ceiling_lights_level:
  128.       name: Movie Room Ceiling Lights
  129.       room: Movie Room
  130.       expose: true
  131.     switch.movie_room_air_cleaner:
  132.       name: Movie Room Air cleaner
  133.       room: Movie Room
  134.       expose: true
  135.     light.movie_room_fan_level:
  136.       name: Movie Room Fan level
  137.       room: Movie Room
  138.       expose: true
  139.     light.movie_room_window_light:
  140.       name: Movie Room Window Light
  141.       room: Movie Room
  142.       expose: true
  143. #Kens Office
  144.     switch.kens_office_power:
  145.       name: Kens Office Power
  146.       room: Kens Office
  147.       expose: true
  148.     light.kens_office_ceiling_light:
  149.       name: Kens Office Ceiling Light
  150.       room: Kens Office
  151.       expose: true
  152.     light.kens_office_window_light:
  153.       name: Kens Office Window Light
  154.       room: Kens Office
  155.       expose: true
  156. #Kitchen
  157.     light.kitchen_window_light:
  158.       name: Kitchen Window Light
  159.       room: Kitchen
  160.       expose: true
  161.     light.kitchen_ceiling_light:
  162.       name: Kitchen Ceiling Light
  163.       room: Kitchen
  164.       expose: true
  165. # Living room
  166.     light.livingroom_ceiling_light:
  167.       name: Living Room Ceiling Light
  168.       room: Living Room
  169.       expose: true
  170.     light.living_room_window_light:
  171.       name: Living Room Window Light
  172.       room: Living Room
  173.       expose: true
  174.     switch.living_room_stereo_power:
  175.       name: Living Room Stereo
  176.       room: Living Room
  177.       expose: true
  178. # Master Bedroom
  179.     light.master_bedroom_walkincloset_lights:
  180.       name: Master Bedroom Walk in Closet
  181.       room: Master Bedroom
  182.       expose: true
  183.     light.master_bedroom_ceiling_light:
  184.       name: Master Bedroom Ceiling Light
  185.       room: Master Bedroom
  186.       expose: true
  187.     cover.master_bedroom_window_blinds_level:
  188.       name: Master Bedroom Window Blinds
  189.       room: Master Bedroom
  190.       expose: true
  191.     switch.kens_bedside_power:
  192.       name: Master Bedroom Kens bedside power
  193.       room: Master Bedroom
  194.       expose: true
  195. # Marias Office
  196.     light.marias_office_window_light:
  197.       name: Marias Office Window Light
  198.       room: Marias Office
  199.       expose: true
  200.     switch.marias_office_power:
  201.       name: Marias Office Power
  202.       room: Marias Office
  203.       expose: true
  204.     light.marias_office_ceiling_lights:
  205.       name: Marias Office Ceiling Lights
  206.       room: Marias Office
  207.       expose: true
  208. # TV Room
  209.     switch.tv_room_power:
  210.       name: TV Room Power
  211.       room: TV Room
  212.       expose: true
  213.     switch.tv_room_htpc:
  214.       name: TV Room HTPC
  215.       room: TV Room
  216.       expose: true
  217.     light.tv_room_ceiling_light:
  218.       name: TV Room Ceiling Light
  219.       room: TV Room
  220.       expose: true
  221.     light.tv_room_sofa_light:
  222.       name: TV Room Sofa Light
  223.       room: TV Room
  224.       expose: true
  225. # Hallway
  226.     light.hallway_ceiling_light:
  227.       name: Hallway Ceiling Light
  228.       room: Hallway
  229.       expose: true
  230. # Little Hallway
  231.     light.little_hallway_ceiling_light:
  232.       name: Little Hallway Ceiling Light
  233.       room: Little Hallway
  234.       expose: true
  235. # Garage
  236.     switch.garage_power_outlet:
  237.       name: Garage Power
  238.       room: Garage
  239.       expose: true
  240.     switch.garage_power_plug:
  241.       name: Garage Plug
  242.       room: Garage
  243.       expose: true
  244. # Guest room
  245.     light.guest_room_ceiling_light:
  246.       name: Guest room Ceiling Light
  247.       room: Guest room
  248.       expose: true
  249.     light.guest_room_window_light:
  250.       name: Guest room Window Light
  251.       room: Guest room
  252.       expose: true
  253. # Outside
  254.     light.outside_stone_lights:
  255.       name: Stone Lights
  256.       room: Outside
  257.       expose: true
  258.     light.carport_driveway_lights:
  259.       name: Carport and Driveway Lights
  260.       room: Outside
  261.       expose: true
  262.     light.outside_cinema:
  263.       name: Cinema light
  264.       room: Outside
  265.       expose: true
  266.     light.spa:
  267.       name: Spa light
  268.       room: Outside
  269.       expose: true
  270.     light.outside_guest_room:
  271.       name: Guest room Outside Lights
  272.       room: Outside
  273.       expose: true
  274.     light.laundry_room_entrance:
  275.       name: Laundry room entrance light
  276.       room: Outside
  277.       expose: true
  278.     light.backside_corner:
  279.       name: Backside corner light
  280.       room: Outside
  281.       expose: true
  282.  
  283. camera:
  284.   - platform: ffmpeg
  285.     input: -rtsp_transport tcp -i rtsp://admin:password@192.168.200.9/live1.sdp
  286.     name: Carport
  287.   - platform: ffmpeg
  288.     input: -rtsp_transport tcp -i rtsp://admin:password@192.168.200.8/live1.sdp
  289.     name: Spa
  290.   - platform: ffmpeg
  291.     input: -rtsp_transport tcp -i rtsp://admin:password@192.168.200.5/live1.sdp
  292.     name: Main Entrance
  293.   - platform: ffmpeg
  294.     input: -rtsp_transport tcp -i rtsp://admin:password@192.168.200.6/live1.sdp
  295.     name: Driveway
  296.   - platform: ffmpeg
  297.     input: -rtsp_transport tcp -i rtsp://admin:password@192.168.200.7/live1.sdp
  298.     name: Laundry room
  299.   - platform: ffmpeg
  300.     name: Unifi Camera
  301.     input: -rtsp_transport tcp -i rtsp://admin:password@192.168.200.19:554/s1
  302.  
  303. # Discover some devices automatically
  304. discovery:
  305.   ignore:
  306.  - sonos
  307.   - philips_hue
  308.  
  309. # filter or manipulate what is being logged
  310. #logger:
  311. #  default: error
  312. #  logs:
  313.  
  314. recorder:
  315.  # Delete events and states older than 1 week
  316.   purge_keep_days: 5
  317.   #db_url: 'mysql://hassuser:PASSWORD@127.0.0.1/hass'
  318.  
  319.  
  320. # Allows you to issue voice commands from the frontend in enabled browsers
  321. conversation:
  322. # Enables support for tracking state changes over time
  323. history:
  324. #
  325. # View all events in a logbook
  326. logbook:
  327. switch:
  328. #RM Pro
  329.   - platform: broadlink
  330.     host: 192.168.200.66
  331.     mac: '78:0f:77:b9:44:6e'
  332.     type: 'rm2_pro_plus'
  333.  
  334. media_player:
  335.   - platform: kodi
  336.     host: 192.168.200.161
  337.     username: kodi
  338.     password: password
  339.  
  340. verisure:
  341.   username: myemail@gmail.com
  342.   password: !secret verisure_password
  343.   alarm: 0
  344.   locks: 1
  345.  
  346.  
  347. device_tracker:
  348.   - platform: unifi
  349.     username: HA
  350.     password: !secret unifi_password
  351.     host: 192.168.200.51
  352.     port: 8443
  353.     verify_ssl: False
  354.     track_new_devices: yes
  355.     interval_seconds: 10
  356.     consider_home: 180
  357.  
  358.  # Z-Wave support
  359. zwave:
  360.   usb_path: /dev/ttyACM0
  361.  
  362. # deconz
  363. deconz:
  364.  host: 192.168.200.87
  365.  port: 8080
  366.  
  367. # Enables a map showing the location of tracked devices
  368. map:
  369. # Track the sun
  370. sun:
  371. # Weather prediction
  372. sensor:
  373.   - platform: yr
  374.  
  375. # Text to speech
  376. tts:
  377.   - platform: google
  378.  
  379. group: !include groups.yaml
  380. automation: !include automations.yaml
  381. script: !include scripts.yaml
  382. scene: !include scenes.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement