.
This commit is contained in:
parent
6efcd30515
commit
cbd532ada1
@ -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:
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 }}.
|
||||
|
Reference in New Issue
Block a user