From cbd532ada1af628a3f958dbe6b227c2de620a543 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Sat, 11 Feb 2023 20:03:41 +0100 Subject: [PATCH] . --- lovelace/climate/recommendation.yaml | 4 ++-- lovelace/overview/climate.yaml | 4 ++-- packages/climate/climate_feelslike.yaml | 2 +- packages/climate/climate_sensors.yaml | 10 +++++----- packages/homeassistant/homekit.yaml | 4 ++-- packages/homeassistant/notification_summary.yaml | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lovelace/climate/recommendation.yaml b/lovelace/climate/recommendation.yaml index 981f995..97ab65e 100755 --- a/lovelace/climate/recommendation.yaml +++ b/lovelace/climate/recommendation.yaml @@ -9,7 +9,7 @@ cards: - type: 'custom:button-card' template: card_generic_swap - entity: sensor.temperature_kai_temperature + entity: sensor.garten_temperatur_temperature variables: ulm_card_generic_swap_name: inside - type: 'custom:button-card' @@ -28,7 +28,7 @@ header: show: false series: - - entity: sensor.temperature_kai_temperature + - entity: sensor.garten_temperatur_temperature type: line name: Inside group_by: diff --git a/lovelace/overview/climate.yaml b/lovelace/overview/climate.yaml index 35eca39..00ae87f 100755 --- a/lovelace/overview/climate.yaml +++ b/lovelace/overview/climate.yaml @@ -8,7 +8,7 @@ header: show: false series: - - entity: sensor.temperature_kai_temperature + - entity: sensor.garten_temperatur_temperature type: line name: Inside group_by: @@ -26,7 +26,7 @@ cards: - type: 'custom:button-card' template: card_generic - entity: sensor.temperature_kai_temperature + entity: sensor.garten_temperatur_temperature variables: ulm_card_generic_name: Inside - type: 'custom:button-card' diff --git a/packages/climate/climate_feelslike.yaml b/packages/climate/climate_feelslike.yaml index 2a04a70..d3ce6b6 100755 --- a/packages/climate/climate_feelslike.yaml +++ b/packages/climate/climate_feelslike.yaml @@ -8,7 +8,7 @@ sensor: sensors: temperature_inside: value_template: > - {{ states('sensor.temperature_kai_temperature') }} + {{ states('sensor.garten_temperatur_temperature') }} friendly_name: 'Temperature' unit_of_measurement: "°C" device_class: temperature diff --git a/packages/climate/climate_sensors.yaml b/packages/climate/climate_sensors.yaml index d86463d..e597370 100755 --- a/packages/climate/climate_sensors.yaml +++ b/packages/climate/climate_sensors.yaml @@ -99,7 +99,7 @@ sensor: {% set min = states("sensor.climate_temp_min")|float %} {% set max = states("sensor.climate_temp_max")|float %} {% set target = states("sensor.climate_temp")|float %} - {% set temp_inside = states("sensor.temperature_kai_temperature")|float %} + {% set temp_inside = states("sensor.garten_temperatur_temperature")|float %} {% set temp_outside = states("sensor.temperature_outside")|float %} {% set inside_max = temp_inside + states("input_number.climate_temp_accuracy")|float %} {% set accuracy = states("input_number.climate_temp_accuracy") |float %} @@ -118,10 +118,10 @@ sensor: climate_temp_difference: friendly_name: difference to target value_template: > - {% if states("sensor.temperature_kai_temperature") == "unknown" %} + {% if states("sensor.garten_temperatur_temperature") == "unknown" %} {{ 0 | float }} {% else %} - {{ (states("sensor.temperature_kai_temperature") | float - (states.sensor.climate_temp.state | float) ) | round(2) }} + {{ (states("sensor.garten_temperatur_temperature") | float - (states.sensor.climate_temp.state | float) ) | round(2) }} {% endif %} unit_of_measurement: '°C' - platform: template @@ -129,10 +129,10 @@ sensor: climate_temp_difference_inside_outside: friendly_name: difference inside to outside value_template: > - {% if states("sensor.temperature_kai_temperature") == "unknown" %} + {% if states("sensor.garten_temperatur_temperature") == "unknown" %} {{ 0 | float }} {% else %} - {{ (states("sensor.temperature_outside")|float - states("sensor.temperature_kai_temperature")|float) | round(2) }} + {{ (states("sensor.temperature_outside")|float - states("sensor.garten_temperatur_temperature")|float) | round(2) }} {% endif %} unit_of_measurement: '°C' diff --git a/packages/homeassistant/homekit.yaml b/packages/homeassistant/homekit.yaml index ced462b..53199dd 100755 --- a/packages/homeassistant/homekit.yaml +++ b/packages/homeassistant/homekit.yaml @@ -5,7 +5,7 @@ homekit: filter: include_entities: - sensor.temperature_kai_humidity - - sensor.temperature_kai_temperature + - sensor.garten_temperatur_temperature - light.all_indirect - light.all_direct - script.light_store_off @@ -22,7 +22,7 @@ homekit: entity_config: sensor.temperature_kai_humidity: name: Feuchtigkeit - sensor.temperature_kai_temperature: + sensor.garten_temperatur_temperature: name: Temperatur light.all_indirect: name: Indirekt diff --git a/packages/homeassistant/notification_summary.yaml b/packages/homeassistant/notification_summary.yaml index 9088604..85dad4b 100755 --- a/packages/homeassistant/notification_summary.yaml +++ b/packages/homeassistant/notification_summary.yaml @@ -8,7 +8,7 @@ script: {% set condition = states("sensor.temperature_today_condition") %} {% set currentTemp = states("sensor.temperature_outside") %} {% set recommendation = states("sensor.climate_temp_recommendation") %} - {% set insideTemp = states("sensor.temperature_kai_temperature") %} + {% set insideTemp = states("sensor.garten_temperatur_temperature") %} At the moment it is {{ condition }} outside with a temperature of {{ currentTemp }}°C. Todays max temperature will be {{ maxTemp }}°C. It is {{ insideTemp }}°C inside and recommended to {{ recommendation }}.