This commit is contained in:
darthsandmann
2022-08-09 11:21:13 +02:00
parent 1f3c4e8b6e
commit e46c7eadab
18 changed files with 65 additions and 94 deletions

View File

@@ -1,9 +1,6 @@
## -------------------------------------------------------------------------------------------------##
## Sensoren
## -------------------------------------------------------------------------------------------------##
sensor:
## -----------------------------------------------------------------------------------------------##
## Berechnung der Temperaturveränderung
## Calculation of temperature change
## -----------------------------------------------------------------------------------------------##
- platform: template
sensors:
@@ -16,7 +13,7 @@ sensor:
{% if now == ("0.0"|float) %} {% set change = ("0.0"|float) %} {% endif %}
{{ change | round(2) }}
## -----------------------------------------------------------------------------------------------##
## Berechnung der aktuellen Zieltemperatur bzgl Morgen/Nacht, Automatik/Manuell
## Calculation of the target temperature
## -----------------------------------------------------------------------------------------------##
- platform: template
sensors:
@@ -71,7 +68,7 @@ sensor:
## -----------------------------------------------------------------------------------------------##
## Unterer + Oberer Schwellwert
## target min and max temperature
## -----------------------------------------------------------------------------------------------##
- platform: template
sensors:
@@ -113,9 +110,8 @@ sensor:
{% endif %}
## -----------------------------------------------------------------------------------------------##
## Differenz zu Ziel
## difference to target
## -----------------------------------------------------------------------------------------------##
- platform: template
sensors:

View File

@@ -0,0 +1,24 @@
## -------------------------------------------------------------------------------------------------##
## pirateweather
## -------------------------------------------------------------------------------------------------##
## -------------------------------------------------------------------------------------------------##
## Wetter-Plattform
## -------------------------------------------------------------------------------------------------##
weather:
- platform: pirateweather
api_key: !secret pirateweather
mode: daily
sun:
sensor:
- platform: template
#api_key: !secret pirateweather
sensors:
temperature_outside:
value_template: '{{ states.weather.home.attributes.temperature }}'
friendly_name: 'Outside Temperature'
unit_of_measurement: '°C'