homeassistant:
# Name of the location where Home Assistant is running
name: Casa Aline
# Location required to calculate the time the sun rises and sets
latitude: xxxxxxx
longitude: xxxxxxx
# 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: UTC
time_zone: xxxxxxx
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
# Salva o historico das coisas no banco x dias (evita lotar o SD)
recorder:
purge_keep_days: 3
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
# 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:
exclude:
domains:
- automation
- weblink
- updater
entities:
- sensor.last_boot
- sensor.date
# View all events in a logbook
logbook:
include:
domains:
- sensor
- switch
- media_player
exclude:
entities:
- sensor.last_boot
- sensor.date
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: darksky
api_key:xxxxxxx
language: 'pt'
units: ca
monitored_conditions:
- temperature
- wind_speed
- cloud_cover
- humidity
- pressure
- visibility
- hourly_summary
- daily_summary
- temperature_high
- temperature_low
- uv_index
# - platform: yr
# - platform: speedtest
# minute:
# - 0
# - 59
#monitored_conditions:
# - ping
#- download
#- upload
# - platform: systemmonitor
# resources:
# - type: disk_use_percent
# arg: /home
# - type: memory_free
- platform: systemmonitor
resources:
- type: disk_free
arg: /
- type: disk_use
arg: /
- type: disk_use_percent
arg: /
- type: memory_free
- type: memory_use
- type: memory_use_percent
- type: processor_use
- type: last_boot
# Text to speech
tts:
- platform: google
language: 'pt-br'
cache: true
cache_dir: /tmp/tts
time_memory: 300
# Cloud
cloud:
media_player:
- platform: samsungtv
host: xxxxxxx
port: 8001
mac: xxxxxxx
name: TV Samsung
# SONOFF
mqtt:
broker: core-mosquitto
username: xxxxxxx
password: xxxxxxx
switch:
- platform: mqtt
name: "Quarto Kauã"
state_topic: "stat/sonoff01/POWER"
command_topic: "cmnd/sonoff01/POWER"
availability_topic: "tele/sonoff01/LWT"
payload_available: "Online"
payload_not_available: "Offine"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
customize:
switch.Quarto_Kauã:
assumed_state: false
icon: mdi:lightbulb
# Localização
device_tracker:
- platform: google_maps
username: xxxxxxx
password: xxxxxxx
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
Publicação editada para retirar a informação confidencial