varme: sæt ikke-Roth-rum før Roth i recalc + alarm hvis genberegning hænger
- script.varme_recalculate: badeværelse, stue, bryggers og køkken sættes nu før Roth/Touchline-rummene, så en hængende Touchline ikke blokerer nat-/morgensænkning i de øvrige rum (14/11: script sad fast ~20 timer) - Ny alarm hvis scriptet står "on" i 45 min - Vedligehold-dashboard/maintenance-template og HA-version/mealie.json opdateret Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
af554b95d5
commit
a00f9b1e81
7 files changed
+148
-129
No files matched your search
@@ -90,7 +90,6 @@
|
||||
state: >-
|
||||
{{
|
||||
is_state('binary_sensor.home_assistant_website_update_available', 'on')
|
||||
or is_state('update.hacs_update', 'on')
|
||||
or states('sensor.hacs_opdateringer') | int(0) > 0
|
||||
}}
|
||||
|
||||
@@ -142,19 +141,29 @@
|
||||
state: >-
|
||||
{{ states('sensor.dethlefsen_drive_4_status') | lower not in ['normal', 'unknown', 'unavailable', 'none'] }}
|
||||
|
||||
# Vinter = automatisk vanding (sæson) er slået fra; bruges til at skjule have-ting.
|
||||
- name: Vinter
|
||||
unique_id: winter_mode
|
||||
icon: mdi:snowflake
|
||||
state: >-
|
||||
{{ is_state('input_boolean.vanding_saeson_aktiv', 'off') }}
|
||||
|
||||
- name: Vedligehold havesensorer
|
||||
unique_id: maintenance_garden_sensors_needed
|
||||
state: >-
|
||||
{{
|
||||
states('sensor.annes_havesensor_soil_battery_1') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_2') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_3') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_4') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_1') | float(9) < 1.2
|
||||
or states('sensor.annes_havesensor_soil_battery_2') | float(9) < 1.2
|
||||
or states('sensor.annes_havesensor_soil_battery_3') | float(9) < 1.2
|
||||
or states('sensor.annes_havesensor_soil_battery_4') | float(9) < 1.2
|
||||
or states('sensor.hovedhane_linktap_battery') | float(100) < 20
|
||||
is_state('binary_sensor.vinter', 'off')
|
||||
and (
|
||||
states('sensor.annes_havesensor_soil_battery_1') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_2') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_3') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_4') in ['unavailable', 'unknown']
|
||||
or states('sensor.annes_havesensor_soil_battery_1') | float(9) < 1.2
|
||||
or states('sensor.annes_havesensor_soil_battery_2') | float(9) < 1.2
|
||||
or states('sensor.annes_havesensor_soil_battery_3') | float(9) < 1.2
|
||||
or states('sensor.annes_havesensor_soil_battery_4') | float(9) < 1.2
|
||||
or states('sensor.hovedhane_linktap_battery') | float(100) < 20
|
||||
)
|
||||
}}
|
||||
|
||||
- sensor:
|
||||
@@ -164,7 +173,7 @@
|
||||
icon: mdi:package-variant
|
||||
state: >-
|
||||
{{
|
||||
integration_entities('hacs')
|
||||
integration_entities('marketplace')
|
||||
| select('search', '^update\.')
|
||||
| map('states')
|
||||
| select('eq', 'on')
|
||||
@@ -176,10 +185,10 @@
|
||||
unit_of_measurement: kort
|
||||
icon: mdi:wrench-cog
|
||||
state: >-
|
||||
{% set vinter = is_state('binary_sensor.vinter', 'on') %}
|
||||
{{
|
||||
[
|
||||
1 if is_state('binary_sensor.home_assistant_website_update_available', 'on') else 0,
|
||||
1 if is_state('update.hacs_update', 'on') else 0,
|
||||
1 if states('sensor.hacs_opdateringer') | int(0) > 0 else 0,
|
||||
1 if is_state('update.dethlefsen_dsm_update', 'on') else 0,
|
||||
1 if is_state('binary_sensor.vedligehold_synology_disk_1_status', 'on') else 0,
|
||||
@@ -194,15 +203,15 @@
|
||||
1 if is_state('binary_sensor.dethlefsen_drive_2_below_min_remaining_life', 'on') else 0,
|
||||
1 if is_state('binary_sensor.dethlefsen_drive_3_below_min_remaining_life', 'on') else 0,
|
||||
1 if is_state('binary_sensor.dethlefsen_drive_4_below_min_remaining_life', 'on') else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_1') in ['unavailable', 'unknown'] else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_2') in ['unavailable', 'unknown'] else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_3') in ['unavailable', 'unknown'] else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_4') in ['unavailable', 'unknown'] else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_1') | float(9) < 1.2 else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_2') | float(9) < 1.2 else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_3') | float(9) < 1.2 else 0,
|
||||
1 if states('sensor.annes_havesensor_soil_battery_4') | float(9) < 1.2 else 0,
|
||||
1 if states('sensor.hovedhane_linktap_battery') | float(100) < 20 else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_1') in ['unavailable', 'unknown'] else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_2') in ['unavailable', 'unknown'] else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_3') in ['unavailable', 'unknown'] else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_4') in ['unavailable', 'unknown'] else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_1') | float(9) < 1.2 else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_2') | float(9) < 1.2 else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_3') | float(9) < 1.2 else 0,
|
||||
1 if not vinter and states('sensor.annes_havesensor_soil_battery_4') | float(9) < 1.2 else 0,
|
||||
1 if not vinter and states('sensor.hovedhane_linktap_battery') | float(100) < 20 else 0,
|
||||
1 if states('sensor.affalddk_norgardsvej_22_restaffald') | float(999) <= 1 else 0,
|
||||
1 if states('sensor.affalddk_norgardsvej_22_papir_plast') | float(999) <= 1 else 0,
|
||||
1 if states('sensor.affalddk_norgardsvej_22_haveaffald') | float(999) <= 1 else 0,
|
||||
|
||||
Reference in new issue
Block a user