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

View File

@ -1,24 +1,41 @@
sensor: sensor:
- platform: temperature_feels_like # - platform: temperature_feels_like
name: temperature_outside_feelslike # name: temperature_outside_feelslike
source: # source:
- weather.openweathermap # - weather.openweathermap
- platform: template - platform: template
sensors: sensors:
temperature_inside: temperature_inside:
value_template: > value_template: >
{{ states('sensor.garten_temperatur_temperature') }} {{ states('sensor.kai_regal_temperature') }}
friendly_name: 'Temperature' friendly_name: 'Temperature'
unit_of_measurement: "°C" unit_of_measurement: "°C"
device_class: temperature device_class: temperature
humidity_inside: humidity_inside:
value_template: > 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' friendly_name: 'Humidity'
- platform: temperature_feels_like - platform: temperature_feels_like
name: temperature_inside_feelslike name: temperature_inside_feelslike
source: source:
- sensor.temperature_inside - sensor.temperature_inside
- sensor.humidity_inside - sensor.humidity_inside
- platform: temperature_feels_like
name: temperature_outside_feelslike
source:
- sensor.temperature_outside
- sensor.humidity_outside