sensor updates

This commit is contained in:
darthsandmann 2023-02-14 16:53:06 +01:00
parent 3bbe44d64e
commit 94d8d8a01a
2 changed files with 27 additions and 10 deletions

View File

@ -8,13 +8,13 @@
header:
show: false
series:
- entity: sensor.garten_temperatur_temperature
- entity: sensor.kai_regal_temperature
type: line
name: Inside
group_by:
func: avg
duration: 15min
- entity: sensor.temperature_outside
- entity: sensor.garten_gewaechshaus_temperature
type: column
name: Outside
group_by:
@ -26,7 +26,7 @@
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.garten_temperatur_temperature
entity: sensor.kai_regal_temperature
variables:
ulm_card_generic_name: Inside
- type: 'custom:button-card'

View File

@ -1,20 +1,31 @@
sensor:
- platform: temperature_feels_like
name: temperature_outside_feelslike
source:
- weather.openweathermap
# - platform: temperature_feels_like
# name: temperature_outside_feelslike
# source:
# - weather.openweathermap
- platform: template
sensors:
temperature_inside:
value_template: >
{{ states('sensor.garten_temperatur_temperature') }}
{{ states('sensor.kai_regal_temperature') }}
friendly_name: 'Temperature'
unit_of_measurement: "°C"
device_class: temperature
humidity_inside:
value_template: >
{{ states('sensor.temperature_kai_humidity') }}
{{ states('sensor.kai_regal_humidity') }}
friendly_name: 'Humidity'
temperature_outside:
value_template: >
{{ states('sensor.garten_gewaechshaus_temperature') }}
friendly_name: 'Temperature'
unit_of_measurement: "°C"
device_class: temperature
humidity_outside:
value_template: >
{{ states('sensor.garten_gewaechshaus_humidity') }}
friendly_name: 'Humidity'
- platform: temperature_feels_like
@ -22,3 +33,9 @@ sensor:
source:
- sensor.temperature_inside
- sensor.humidity_inside
- platform: temperature_feels_like
name: temperature_outside_feelslike
source:
- sensor.temperature_outside
- sensor.humidity_outside