update
This commit is contained in:
@@ -27,11 +27,12 @@ homeassistant:
|
||||
- type: trusted_networks
|
||||
trusted_networks:
|
||||
- 192.168.178.0/24
|
||||
- 172.18.0.0/16
|
||||
- 172.19.0.0/16
|
||||
- 192.168.144.0/24
|
||||
- 172.0.0.0/8
|
||||
- fd00::/8
|
||||
mobile_app:
|
||||
#discovery:
|
||||
my:
|
||||
schedule:
|
||||
weekend_schedule:
|
||||
name: "Wochenende"
|
||||
@@ -55,7 +56,9 @@ http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 192.168.178.0/24 # Add the IP address of the proxy server
|
||||
# base_url: example.duckdns.org:8123
|
||||
- 192.168.144.2 # Add the IP address of the proxy server
|
||||
- 172.24.0.0/16
|
||||
# base_url: example.duckdns.org:8123
|
||||
|
||||
config:
|
||||
|
||||
@@ -95,13 +98,6 @@ homematic:
|
||||
password: !secret ccu_password
|
||||
|
||||
switch:
|
||||
- platform: command_line
|
||||
switches:
|
||||
pihole_switch:
|
||||
command_on: "curl -s -X GET 'http://192.168.178.202/admin/api.php?enable&auth=1eae9e87f4b4710981639ee591b7d75734811d61697092110cb748c3244e01cc'"
|
||||
command_off: "curl -s -X GET 'http://192.168.178.202/admin/api.php?disable=3600&auth=1eae9e87f4b4710981639ee591b7d75734811d61697092110cb748c3244e01cc'"
|
||||
command_state: "curl -s -X GET 'http://192.168.178.202/admin/api.php?status&auth=1eae9e87f4b4710981639ee591b7d75734811d61697092110cb748c3244e01cc'"
|
||||
value_template: "{{ value_json.status == 'enabled' }}"
|
||||
- platform: template
|
||||
switches:
|
||||
ccu_tsm:
|
||||
@@ -177,7 +173,6 @@ zone 2:
|
||||
radius: 300
|
||||
icon: mdi:worker
|
||||
|
||||
map:
|
||||
sun:
|
||||
influxdb:
|
||||
host: !secret influx_host
|
||||
@@ -192,31 +187,41 @@ influxdb:
|
||||
domains:
|
||||
- sensor
|
||||
|
||||
binary_sensor: !include_dir_merge_list binary_sensors
|
||||
|
||||
template:
|
||||
- trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.bewegung_studio_occupancy
|
||||
entity_id: binary_sensor.0x00158d0007e21f31_occupancy
|
||||
from: "off"
|
||||
to: "on"
|
||||
# - platform: time_pattern
|
||||
# hours: "22"
|
||||
# minutes: "/5"
|
||||
# seconds: "*"
|
||||
binary_sensor:
|
||||
name: bewegung_studio_occupancy_delayed_off
|
||||
state: 'on'
|
||||
auto_off: '00:20:00'
|
||||
# - trigger:
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.bewegung_studio_occupancy
|
||||
# state: 'on'
|
||||
# binary_sensor:
|
||||
# name: Motion detected with occupancy timeout
|
||||
# state: 'on'
|
||||
# auto_off: '00:15:00'
|
||||
auto_off: '00:20:00'
|
||||
|
||||
- trigger:
|
||||
- platform: time_pattern
|
||||
minutes: /2
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
action:
|
||||
- service: weather.get_forecasts
|
||||
data:
|
||||
type: daily
|
||||
target:
|
||||
entity_id:
|
||||
- weather.heidelberg
|
||||
response_variable: daily
|
||||
|
||||
sensor:
|
||||
- name: Daily Forecast
|
||||
unique_id: weather_forecast_daily
|
||||
state: "{{ daily['weather.heidelberg'].forecast[0].temperature }}"
|
||||
attributes:
|
||||
cloud_coverage: "{{ daily['weather.heidelberg'].forecast[0].cloud_coverage }}"
|
||||
condition: "{{ daily['weather.heidelberg'].forecast[0].condition }}"
|
||||
datetime: "{{ daily['weather.heidelberg'].forecast[0].datetime }}"
|
||||
temperature: "{{ daily['weather.heidelberg'].forecast[0].temperature }}"
|
||||
|
||||
input_boolean:
|
||||
vacation_mode:
|
||||
@@ -270,7 +275,7 @@ google_assistant:
|
||||
- sensor
|
||||
- climate
|
||||
|
||||
shelly:
|
||||
#shelly:
|
||||
|
||||
mqtt:
|
||||
sensor:
|
||||
@@ -315,12 +320,6 @@ mqtt:
|
||||
|
||||
|
||||
sensor:
|
||||
- platform: systemmonitor
|
||||
resources:
|
||||
- type: disk_use_percent
|
||||
arg: /home
|
||||
- type: memory_free
|
||||
- type: last_boot
|
||||
- platform: template
|
||||
sensors:
|
||||
# batt_multisensor:
|
||||
@@ -371,10 +370,6 @@ sensor:
|
||||
friendly_name: 'Sonnenaufgang'
|
||||
value_template: '{{ ((as_timestamp(states.sun.sun.attributes.next_rising)) | timestamp_local) [11:16] }}'
|
||||
|
||||
- platform: vdr
|
||||
host: 192.168.178.200
|
||||
timeout: 2
|
||||
|
||||
history:
|
||||
include:
|
||||
domains:
|
||||
@@ -382,7 +377,7 @@ history:
|
||||
- switch
|
||||
|
||||
recorder:
|
||||
db_url: !secret mysql_connection
|
||||
db_url: !secret postgres_connection
|
||||
purge_keep_days: 7
|
||||
exclude:
|
||||
domains:
|
||||
@@ -424,10 +419,8 @@ logger:
|
||||
homeassistant.components.webhook: info
|
||||
homeassistant.components.http: warning
|
||||
pyhomematic: error
|
||||
custom_components.vdr.media_player: error
|
||||
pyvdr.svdrp: error
|
||||
pyvdr: error
|
||||
homeassistant.components.wake_on_lan: debug
|
||||
homeassistant.components.harmony: error
|
||||
homeassistant.components.device_tracker: error
|
||||
custom_components.pyscript: info
|
||||
fritzconnection: info
|
||||
|
||||
Reference in New Issue
Block a user