Last active
April 22, 2016 13:49
-
-
Save carmolim/a6b379b2ff5a4bf28e83 to your computer and use it in GitHub Desktop.
My last configuration.yaml file for my Home Assistant setup (HA, HASS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Home | |
# Location required to calculate the time the sun rises and sets | |
latitude: ****** | |
longitude: ****** | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: America/Sao_Paulo | |
# Show links to resources in log and frontend | |
# introduction: | |
# Enables support for tracking state changes over time. | |
history: | |
# Checks for available updates | |
updater: | |
# View all events in a logbook | |
logbook: | |
# Enables the frontend | |
frontend: | |
# Allows you to issue voice commands from the frontend | |
conversation: | |
# Discover some devices automatically | |
discovery: | |
# Track the sun | |
sun: | |
# Connects to IFTTT Maker channel | |
ifttt: | |
key: ****** | |
# Configure my Media Player | |
media_player: | |
platform: plex | |
# Configuration of the notification system using Pushbullet | |
notify: | |
name: me | |
platform: pushbullet | |
api_key: ****** | |
# Configurations to connect to my local MQTT broker | |
mqtt: | |
broker: 127.0.0.1 | |
port: 1883 | |
client_id: home-assistant | |
device_tracker: | |
platform: owntracks | |
switch: | |
- platform: mqtt | |
name: "Main Light" | |
state_topic: "home/room/augusto/main_light/status" | |
command_topic: "home/room/augusto/main_light/set" | |
qos: 0 | |
payload_on: "ON" | |
payload_off: "OFF" | |
optimistic: false | |
retain: True | |
# value_template: '{{ value.x }}' | |
- platform: mqtt | |
state_topic: "home/notifications" | |
command_topic: "home/notifications" | |
name: "Notifications State" | |
qos: 0 | |
payload_on: "ON" | |
payload_of: "OFF" | |
optimistic: false | |
retain: True | |
- platform: mqtt | |
state_topic: "home/alarm" | |
command_topic: "home/alarm" | |
name: "Alarm" | |
qos: 0 | |
payload_on: "ON" | |
payload_of: "OFF" | |
optimistic: false | |
retain: True | |
sensor: | |
- platform: mqtt | |
state_topic: "home/room/augusto/temperature" | |
name: "Augusto's Room Temperature" | |
qos: 0 | |
unit_of_measurement: "°C" | |
value_template: '{{ value_json.payload }}' | |
- platform: mqtt | |
state_topic: "home/room/augusto/luminosity" | |
name: "Augusto's Room Luminosity" | |
qos: 0 | |
unit_of_measurement: "cd" | |
value_template: '{{ value_json.payload }}' | |
- platform: mqtt | |
state_topic: "home/livingroom/temperature" | |
name: "Living Room Temperature" | |
qos: 0 | |
unit_of_measurement: "°C" | |
value_template: '{{ value_json.payload }}' | |
- platform: mqtt | |
state_topic: "home/livingroom/luminosity" | |
name: "Living Room Luminosity" | |
qos: 0 | |
unit_of_measurement: "cd" | |
value_template: '{{ value_json.payload }}' | |
group: | |
Configuration: | |
- switch.notifications_state | |
- switch.alarm | |
Augusto: | |
- sensor.augustos_room_luminosity | |
- sensor.augustos_room_temperature | |
- switch.main_light | |
Living Room: | |
- sensor.living_room_luminosity | |
- sensor.living_room_temperature |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment