Skip to content

Instantly share code, notes, and snippets.

@FanaHOVA
Last active October 12, 2016 14:41
Show Gist options
  • Save FanaHOVA/c84506e4042c1034eafcc03c9f8a47d3 to your computer and use it in GitHub Desktop.
Save FanaHOVA/c84506e4042c1034eafcc03c9f8a47d3 to your computer and use it in GitHub Desktop.
home-assistant cfg
homeassistant:
latitude: 32.87336
longitude: 117.22743
elevation: 665
unit_system: metric
time_zone: America/Los_Angeles
name: Maker Faire 2016
http:
# api_password: mypass
development: 1
server_port: 12345
frontend:
media_player:
platform: cast
# A comma separated list of states that have to be tracked as a single group
# Grouped states should share the same type of states (ON/OFF or HOME/NOT_HOME)
# You can also have groups within groups.
# https://home-assistant.io/components/group/
group:
Lights:
- switch.bedroom_switch
Twitch:
- sensor.eslcsgo
- sensor.dreamleague
Steam:
- sensor.steam_76561198037189306
Media:
- media_player.chromecast
Home:
view: yes
name: Home
Gaming:
view: yes
name: Gaming
entities:
- group.twitch
- group.steam
browser:
discovery:
notify:
- name: Alessio
platform: pushbullet
api_key: o.dUMkDes9wW7LfDvCD4jtRDNbDvme454W
climate:
- platform: generic_thermostat
name: Thermostat
heater: switch.study_heater
target_sensor: sensor.study_temperature
min_temp: 15
max_temp: 28
target_temp: 24
min_cycle_duration:
seconds: 5
automation:
- alias: Notify of arrival at home
trigger:
platform: time
after: "07:15:00"
action:
service: notify.Alessio
data:
message: "Andrea arrived at home!"
title: "Smart Torvy"
- alias: Blink Torvy One
trigger:
platform: time
after: "07:15:00"
action:
service: light.turn_on
entity_id: light.bedroom
data:
# 900 seconds = 15 minutes
transition: 900
mqtt:
broker: 127.0.0.1
sensor:
platform: systemmonitor
resources:
- type: memory_free
- type: memory_use_percent
- type: processor_use
- type: since_last_boot
sensor 2:
platform: steam_online
api_key: F43B39378CBC4AA88C739119A542A679
accounts:
- 76561198037189306
sensor 3:
platform: twitch
channels:
- DreamLeague
- eslcsgo
sensor 4:
platform: mqtt
name: "Smoky"
state_topic: "RFM/101/13"
value_template: '{{ value[0] }}'
scene:
- name: Romantic
entities:
light.tv_back_light: on
light.ceiling:
state: on
xy_color: [0.33, 0.66]
brightness: 200
- name: All On
switch:
- platform: mqtt
name: "Heaty"
state_topic: "RFM/101/13"
command_topic: "RFM/101/13"
payload_on: "5,0,0,1"
payload_off: "5,0,0,0"
optimistic: false
qos: 0
retain: true
- platform: mqtt
name: "Torvy One LED"
state_topic: "RFM/101/13"
command_topic: "RFM/101/13"
payload_on: "15,0,0,1"
payload_off: "15,0,0,0"
optimistic: false
qos: 0
retain: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment