Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- homeassistant:
- # Name of the location where Home Assistant is running
- name: Home
- # Location required to calculate the time the sun rises and sets
- latitude: 29.7081
- longitude: -98.4786
- # Impacts weather/sunrise data (altitude above sea level in meters)
- elevation: 389
- # metric for Metric, imperial for Imperial
- unit_system: imperial
- # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- time_zone: America/Chicago
- # Customization file
- customize: !include customize.yaml
- # Show links to resources in log and frontend
- introduction:
- # Enables the frontend
- frontend:
- # Enables configuration UI
- config:
- http:
- # Secrets are defined in the file secrets.yaml
- # api_password: !secret http_password
- # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
- # base_url: example.duckdns.org:8123
- # Checks for available updates
- # Note: This component will send some information about your system to
- # the developers to assist with development of Home Assistant.
- # For more information, please see:
- # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
- updater:
- # Optional, allows Home Assistant developers to focus on popular components.
- # include_used_components: true
- # Discover some devices automatically
- discovery:
- # Allows you to issue voice commands from the frontend in enabled browsers
- conversation:
- # Enables support for tracking state changes over time
- history:
- # View all events in a logbook
- logbook:
- # Enables a map showing the location of tracked devices
- map:
- # Track the sun
- sun:
- # Weather prediction
- sensor:
- - platform: yr
- - platform: time_date
- display_options:
- - 'date_time'
- # Text to speech
- tts:
- - platform: google
- # Cloud
- cloud:
- group: !include groups.yaml
- automation: !include automations.yaml
- script: !include scripts.yaml
- nest:
- client_id: !secret SE_NestClientID
- client_secret: !secret SE_NestClientSecret
- media_player:
- - platform: plex
- cover:
- - platform: myq
- username: !secret SE_MyQ_Username
- password: !secret SE_MyQ_Password
- type: chamberlain
- zwave:
- usb_path: /dev/ttyACM0
- # usb_path: /dev/ttyACM0
- # usb_path: /dev/ttyACM0
- notify:
- - name: NOTIFIER_NAME
- platform: pushbullet
- api_key: !secret SE_PushbulletAccessToken
- ############################################
- #
- # Automations
- #
- ############################################
- automation old:
- - alias: Turn ON lights at sunset
- trigger:
- platform: sun
- event: sunset
- action:
- - service: notify.NOTIFIER_NAME
- data:
- title: The Sun has Set
- message: The Sun is below the horizon and lights are on
- - service: switch.turn_on
- entity_id: switch.ge_12722_onoff_relay_switch_switch_2
- - service: switch.turn_on
- entity_id: switch.ge_12722_onoff_relay_switch_switch_3
- - alias: Turn Off lights at sunrise
- trigger:
- platform: sun
- event: sunrise
- action:
- - service: notify.NOTIFIER_NAME
- data:
- title: The Sun has Risen
- message: The Sun is above the horizon and lights are off
- - service: switch.turn_off
- entity_id: switch.ge_12722_onoff_relay_switch_switch_2
- - service: switch.turn_off
- entity_id: switch.ge_12722_onoff_relay_switch_switch_3
- - alias: Startup Notification
- trigger:
- event: start
- platform: homeassistant
- action:
- - service: notify.NOTIFIER_NAME
- data:
- title: HAAS has Started
- message: Olympus is now online
- - alias: Start Holiday lights
- trigger:
- platform: time
- hours: 17
- minutes: 15
- seconds: 00
- action:
- - service: switch.turn_on
- entity_id: switch.ge_12722_onoff_relay_switch_switch
- - alias: Stop Holiday lights
- trigger:
- platform: time
- hours: 23
- minutes: 35
- seconds: 00
- action:
- - service: switch.turn_off
- entity_id: switch.ge_12722_onoff_relay_switch_switch
- - alias: Start xmas Tree
- trigger:
- platform: time
- hours: 06
- minutes: 00
- seconds: 00
- action:
- - service: switch.turn_on
- entity_id: switch.ge_12721_lighting_control_duplex_receptacle_switch
- - alias: Start xmas Tree evening
- trigger:
- platform: time
- hours: 17
- minutes: 01
- seconds: 00
- action:
- - service: switch.turn_on
- entity_id: switch.ge_12721_lighting_control_duplex_receptacle_switch
- - alias: Stop xmas Tree
- trigger:
- platform: time
- hours: 23
- minutes: 13
- seconds: 00
- action:
- - service: switch.turn_off
- entity_id: switch.ge_12721_lighting_control_duplex_receptacle_switch
- - alias: Stop xmas Tree work
- trigger:
- platform: time
- hours: 07
- minutes: 55
- seconds: 00
- action:
- - service: switch.turn_off
- entity_id: switch.ge_12721_lighting_control_duplex_receptacle_switch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement