Skip to content

Instantly share code, notes, and snippets.

@gerswin
Created July 3, 2018 21:21
Show Gist options
  • Save gerswin/86c421e9dcff5199c53c21d47a170b95 to your computer and use it in GitHub Desktop.
Save gerswin/86c421e9dcff5199c53c21d47a170b95 to your computer and use it in GitHub Desktop.
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 5.4927
longitude: -73.4854
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Bogota
# Customization file
customize:
cover.sala_1:
homebridge_cover_type: rollershutter
cover.sala_2:
homebridge_cover_type: rollershutter
cover.sala_3:
homebridge_cover_type: rollershutter
cover.betty:
homebridge_cover_type: rollershutter
cover.huesped:
homebridge_cover_type: rollershutter
# Show links to resources in log and frontend
# 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:
light:
- platform: sonoff
host: "192.168.1.146"
port: "1080"
switch:
- platform: broadlink
host: 192.168.1.106
mac: '34:EA:34:43:2D:96'
- platform: broadlink
host: 192.168.1.107
mac: '34:EA:34:43:39:19'
cover:
- platform: sonoffcover
assumed_state: true
covers:
sala_1:
command_open: 0
command_close: 1
command_stop: 100025034f
sala_2:
command_open: 1
command_close: 0
command_stop: 100025117c
sala_3:
command_open: 0
command_close: 1
command_stop: 1000251832
betty:
command_open: 1
command_close: 0
command_stop: 1000253f15
huesped:
command_open: 0
command_close: 1
command_stop: 1000250394
homekit:
filter:
include_domains:
- cover
- light
- switch
# Weather prediction
sensor:
- platform: yr
# Text to speech
tts:
- platform: google
# Cloud
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment