mirror of
https://github.com/GeorgeSG/sarah.git
synced 2025-12-28 20:30:29 +00:00
200 lines
5.0 KiB
YAML
200 lines
5.0 KiB
YAML
homeassistant:
|
|
name: Sarah
|
|
latitude: !secret home_latitude
|
|
longitude: !secret home_longitude
|
|
elevation: !secret home_elevation
|
|
unit_system: metric
|
|
time_zone: Europe/Sofia
|
|
packages: !include_dir_named packages
|
|
allowlist_external_dirs:
|
|
- /config
|
|
|
|
#
|
|
# ─── HOME ASSISTANT COMPONENTS ENABLED ──────────────────────────────────────────
|
|
#
|
|
|
|
automation: !include automations.yaml
|
|
|
|
assist_pipeline:
|
|
|
|
# https://www.home-assistant.io/components/config
|
|
config:
|
|
|
|
# https://home-assistant.io/components/http
|
|
http:
|
|
ip_ban_enabled: true
|
|
login_attempts_threshold: 20
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 127.0.0.1
|
|
- 192.168.0.80
|
|
- 192.168.0.27
|
|
- 172.16.0.0/12
|
|
- 192.168.0.0/16
|
|
- 10.99.0.0/16
|
|
|
|
lovelace:
|
|
mode: yaml
|
|
resources: !include lovelace/resources.yaml
|
|
dashboards:
|
|
lovelace-home:
|
|
mode: yaml
|
|
title: Mobile
|
|
icon: mdi:cellphone
|
|
show_in_sidebar: false
|
|
filename: ui-lovelace.yaml
|
|
lovelace-desktop:
|
|
mode: yaml
|
|
title: Desktop
|
|
icon: mdi:desktop-mac-dashboard
|
|
show_in_sidebar: false
|
|
filename: desktop-lovelace.yaml
|
|
lovelace-floorlan:
|
|
mode: yaml
|
|
title: Floorplan
|
|
icon: mdi:floor-plan
|
|
show_in_sidebar: true
|
|
filename: floorplan-lovelace.yaml
|
|
lovelace-main:
|
|
mode: yaml
|
|
title: Advanced
|
|
icon: mdi:flask
|
|
show_in_sidebar: true
|
|
filename: advanced-lovelace.yaml
|
|
lovelace-hallway:
|
|
mode: yaml
|
|
title: Hallway Dashboard
|
|
icon: mdi:tablet-dashboard
|
|
show_in_sidebar: false
|
|
filename: hallway-lovelace.yaml
|
|
lovelace-fire:
|
|
mode: yaml
|
|
title: Fire Dashboard
|
|
icon: mdi:tablet-dashboard
|
|
show_in_sidebar: false
|
|
filename: fire-lovelace.yaml
|
|
lovelace-kitchen:
|
|
mode: yaml
|
|
title: Kitchen Dashboard
|
|
show_in_sidebar: false
|
|
filename: kitchen-lovelace.yaml
|
|
|
|
# https://www.home-assistant.io/components/system_health
|
|
system_health:
|
|
|
|
# https://www.home-assistant.io/components/logger
|
|
logger:
|
|
default: warning
|
|
logs:
|
|
homeassistant.components.amcrest: error
|
|
homeassistant.components.camera: error
|
|
homeassistant.components.scrape.sensor: fatal
|
|
homeassistant.components.shell_command: error
|
|
homeassistant.components.switch.pihole_temp_disable: error
|
|
homeassistant.components.waze_travel_time.sensor: error
|
|
homeassistant.loader: error
|
|
zigpy.util: error
|
|
|
|
#
|
|
# ─── INTEGRATIONS ───────────────────────────────────────────────────────────────
|
|
#
|
|
|
|
# https://www.home-assistant.io/integrations/discovery
|
|
# discovery:
|
|
# ignore:
|
|
# - yeelight
|
|
|
|
# https://www.home-assistant.io/integrations/ffmpeg
|
|
ffmpeg:
|
|
|
|
cloud:
|
|
|
|
# https://www.home-assistant.io/integrations/ssdp/
|
|
ssdp:
|
|
|
|
# https://www.home-assistant.io/integrations/frontend
|
|
frontend:
|
|
themes: !include_dir_merge_named themes
|
|
extra_module_url:
|
|
- /hacsfiles/lovelace-card-mod/card-mod.js
|
|
|
|
# https://www.home-assistant.io/integrations/calendar.google
|
|
# google:
|
|
# client_id: !secret google_client_id
|
|
# client_secret: !secret google_client_secret
|
|
|
|
recorder: &recorder_config
|
|
include:
|
|
domains:
|
|
- automation
|
|
- button
|
|
- binary_sensor
|
|
- camera
|
|
- climate
|
|
- fan
|
|
- input_boolean
|
|
- input_datetime
|
|
- input_number
|
|
- input_select
|
|
- light
|
|
- person
|
|
- script
|
|
- sensor
|
|
- weather
|
|
- zwave
|
|
entities:
|
|
- device_tracker.mayas_iphone
|
|
- device_tracker.titanium
|
|
- media_player.living_room_tv
|
|
- media_player.nvidia_shield
|
|
- switch.camera
|
|
- switch.desk_outlet
|
|
- switch.pihole_temp_disable
|
|
- switch.cadmium
|
|
|
|
history:
|
|
|
|
# https://www.home-assistant.io/components/logbook
|
|
logbook:
|
|
include:
|
|
domains:
|
|
- sun
|
|
- fan
|
|
- light
|
|
- input_boolean
|
|
- climate
|
|
- media_player
|
|
entities:
|
|
- media_player.living_room_tv
|
|
- media_player.nvidia_shield
|
|
exclude:
|
|
entities:
|
|
- input_boolean.sarah_talking
|
|
|
|
# https://www.home-assistant.io/integrations/media_extractor
|
|
# TODO: Add to media module
|
|
media_source:
|
|
|
|
# https://www.home-assistant.io/integrations/mobile_app
|
|
mobile_app:
|
|
|
|
rest_command:
|
|
isparkle_on:
|
|
url: "http://192.168.0.13:1338/on"
|
|
method: "POST"
|
|
content_type: "application/x-www-form-urlencoded"
|
|
isparkle_off:
|
|
url: "http://192.168.0.13:1338/off"
|
|
method: "POST"
|
|
content_type: "application/x-www-form-urlencoded"
|
|
isparkle_fade:
|
|
url: "http://192.168.0.13:1338/fade"
|
|
method: "POST"
|
|
content_type: "application/x-www-form-urlencoded"
|
|
payload: "color={{ color }}&fadeInTime={{ fadeInTime }}&&fadeOutTime={{ fadeOutTime }}"
|
|
isparkle_set:
|
|
url: "http://192.168.0.13:1338/set"
|
|
method: "POST"
|
|
content_type: "application/x-www-form-urlencoded"
|
|
payload: "color={{ color }}&fn={{ fn }}&brightness1={{ brightness1 }}&timing1={{ timing1 }}&brightness2={{ brightness2 }}&timing2={{ timing2 }}"
|