This commit is contained in:
darthsandmann 2022-08-15 00:58:43 +02:00
parent deab38d904
commit 75dc47bc46
5 changed files with 76 additions and 3 deletions

View File

@ -22,6 +22,33 @@
duration: 15min
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_kai_temperature
variables:
ulm_card_generic_name: Inside
- type: 'custom:button-card'
template: card_generic
entity: sensor.climate_temp_difference_inside_outside
variables:
ulm_card_generic_name: Diff Outside
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_inside_feelslike
variables:
ulm_card_generic_name: Inside Feelslike
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_outside_feelslike
variables:
ulm_card_generic_name: Outside Feelslike
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
@ -37,5 +64,5 @@
ulm_card_generic_name: Pressure
- type: custom:weather-card
entity: weather.pirateweather
- type: weather-forecast
entity: weather.home

View File

@ -0,0 +1,24 @@
sensor:
- platform: temperature_feels_like
name: temperature_outside_feelslike
source:
- weather.openweathermap
- platform: template
sensors:
temperature_inside:
value_template: >
{{ states('sensor.temperature_kai_temperature') }}
friendly_name: 'Temperature'
unit_of_measurement: "°C"
device_class: temperature
humidity_inside:
value_template: >
{{ states('sensor.temperature_kai_humidity') }}
friendly_name: 'Humidity'
- platform: temperature_feels_like
name: temperature_inside_feelslike
source:
- sensor.temperature_inside
- sensor.humidity_inside

View File

@ -124,6 +124,17 @@ sensor:
{{ (states("sensor.temperature_kai_temperature") | float - (states.sensor.climate_temp.state | float) ) | round(2) }}
{% endif %}
unit_of_measurement: '°C'
- platform: template
sensors:
climate_temp_difference_inside_outside:
friendly_name: difference inside to outside
value_template: >
{% if states("sensor.temperature_kai_temperature") == "unknown" %}
{{ 0 | float }}
{% else %}
{{ (states("sensor.temperature_outside")|float - states("sensor.temperature_kai_temperature")|float) | round(2) }}
{% endif %}
unit_of_measurement: '°C'
## -----------------------------------------------------------------------------------------------##

View File

@ -23,5 +23,4 @@ sensor:
{{ state_attr('weather.home', 'forecast')[0].condition }}
friendly_name: 'Condition'
sun:

View File

@ -0,0 +1,12 @@
logbook:
exclude:
entities:
- automation.light_all_snapshot
- automation.climate_weekend
- automation.climate_weekday
entity_globs:
- sensor.pfsense_*
- binary_sensor.pfsense_*
- script.climate_set_*
- sensor.home_*
- sensor.openweathermap_*