Updated
This commit is contained in:
+2
-12
@@ -26,8 +26,7 @@ http:
|
|||||||
use_x_forwarded_for: true
|
use_x_forwarded_for: true
|
||||||
trusted_proxies:
|
trusted_proxies:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
# Tilføj IP for eventuel reverse proxy
|
- 10.0.0.142
|
||||||
# - 192.168.1.10
|
|
||||||
|
|
||||||
recorder:
|
recorder:
|
||||||
purge_keep_days: 5
|
purge_keep_days: 5
|
||||||
@@ -73,16 +72,6 @@ utility_meter:
|
|||||||
source: input_number.nattis
|
source: input_number.nattis
|
||||||
cycle: daily
|
cycle: daily
|
||||||
|
|
||||||
template:
|
|
||||||
- sensor:
|
|
||||||
- name: claus_distance_home
|
|
||||||
unit_of_measurement: m
|
|
||||||
state: >
|
|
||||||
{% if is_state('device_tracker.clausiphone', 'home') %}
|
|
||||||
0
|
|
||||||
{% else %}
|
|
||||||
{{ distance('device_tracker.clausiphone', 'zone.home') | round(0) }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
python_script:
|
python_script:
|
||||||
|
|
||||||
@@ -122,6 +111,7 @@ climate:
|
|||||||
# Modular Includes
|
# Modular Includes
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
|
template: !include_dir_merge_named include/templates/
|
||||||
group: !include_dir_merge_named include/groups/
|
group: !include_dir_merge_named include/groups/
|
||||||
sensor: !include_dir_merge_list include/sensors/
|
sensor: !include_dir_merge_list include/sensors/
|
||||||
automation: !include_dir_merge_list include/automations/
|
automation: !include_dir_merge_list include/automations/
|
||||||
|
|||||||
Reference in New Issue
Block a user