add other config files

This commit is contained in:
2024-11-27 09:36:45 +01:00
parent 9d4fa9c01b
commit 1228b9e8f8
13 changed files with 470 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
- id: '1674163696390'
alias: New Automation
description: ''
use_blueprint:
path: homeassistant/notify_leaving_zone.yaml
input:
person_entity: person.rik
zone_entity: zone.home
notify_device: ba6eb93231932e435fa833a1aac3d126

View File

@@ -0,0 +1,68 @@
default_config:
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
api:
http:
use_x_forwarded_for: true
trusted_proxies:
# - 172.18.0.32
- 172.0.0.0/8
ltss:
db_url: postgresql://homeassistant:homeassistant@192.168.2.200:6543/homeassistant
chunk_time_interval: 2592000000000
include:
entity_globs:
- sensor.atc_*
- sensor.rik_*
- sensor.electricity_meter_*
- sensor.inverter_*
- sensor.charger_*
bodymiscale: !include components/bodymiscale.yaml
device_tracker:
- platform: bluetooth_le_tracker
track_new_devices: true
google_assistant:
project_id: home-assistant-afb62
service_account: !include home-assistant-340618-840b2cb7a8a4.json
report_state: true
exposed_domains:
- switch
- light
entity_config:
switch.eetkamer:
name: CUSTOM_NAME_FOR_GOOGLE_ASSISTANT
aliases:
- BRIGHT_LIGHTS
- ENTRY_LIGHTS
lastfm_scrobbler:
API_KEY: !secret lastfm_scrobbler_API_KEY
API_SECRET: !secret lastfm_scrobbler_API_SECRET
SESSION_KEY: !secret lastfm_scrobbler_SESSION_KEY
media_players:
- media_player.kantoor
- media_player.versterker
- media_player.woonkamer_tv
scrobble_percentage: 25 # The default value is 1 if this line is omitted.
auth_header:
allow_bypass_login: true
# username_header: X-Forwarded-Preferred-Username
username_header: X-Homeassistant-User
debug: true
logger:
default: info
logs:
custom_components.auth_header: debug

View File

29
homeassistant/scenes.yaml Normal file
View File

@@ -0,0 +1,29 @@
- id: '1640804759632'
name: Journaal
entities:
light.tv:
min_mireds: 250
max_mireds: 454
supported_color_modes:
- color_temp
friendly_name: Bank
supported_features: 32
color_mode: color_temp
brightness: 81
color_temp: 387
hs_color:
- 28.664
- 69.597
rgb_color:
- 255
- 162
- 77
xy_color:
- 0.538
- 0.389
state: 'on'
remote.rm4c_remote:
friendly_name: RM4C Remote
supported_features: 3
state: 'on'
metadata: {}

View File

@@ -0,0 +1,20 @@
# https://www.wouterbulten.nl/blog/tech/ikea-tradfri-temp-and-brightness-with-home-assistant/
turn_on_ikea_light:
sequence:
# Check whether the light is off (optional)
- condition: template
value_template: "{{ is_state(entity, 'off') }}"
- delay: '00:00:01'
# Set the brightness of the lights.
- service: light.turn_on
data_template:
entity_id: "{{ entity }}"
brightness_pct: "{{ brightness_pct }}"
transition: 1
- delay: '00:00:01'
# Set the color temperature.
- service: light.turn_on
data_template:
entity_id: "{{ entity }}"
color_temp: "{{ color_temp }}"
transition: 5