diff --git a/lovelace/overview/climate.yaml b/lovelace/overview/climate.yaml index 1a970fe..35eca39 100644 --- a/lovelace/overview/climate.yaml +++ b/lovelace/overview/climate.yaml @@ -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 \ No newline at end of file +- type: weather-forecast + entity: weather.home \ No newline at end of file diff --git a/packages/climate/climate_feelslike.yaml b/packages/climate/climate_feelslike.yaml new file mode 100644 index 0000000..2a04a70 --- /dev/null +++ b/packages/climate/climate_feelslike.yaml @@ -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 \ No newline at end of file diff --git a/packages/climate/climate_sensors.yaml b/packages/climate/climate_sensors.yaml index 8dd571b..d86463d 100644 --- a/packages/climate/climate_sensors.yaml +++ b/packages/climate/climate_sensors.yaml @@ -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' ## -----------------------------------------------------------------------------------------------## diff --git a/packages/climate/weather.yaml b/packages/climate/weather.yaml index 9d6df1c..371942d 100644 --- a/packages/climate/weather.yaml +++ b/packages/climate/weather.yaml @@ -23,5 +23,4 @@ sensor: {{ state_attr('weather.home', 'forecast')[0].condition }} friendly_name: 'Condition' - sun: \ No newline at end of file diff --git a/packages/homeassistant/logbook.yaml b/packages/homeassistant/logbook.yaml new file mode 100644 index 0000000..5f6de40 --- /dev/null +++ b/packages/homeassistant/logbook.yaml @@ -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_* \ No newline at end of file