Enhance automations and configuration with new features and improvements

- Added new media player entity for doorbell notifications in automations.yaml.
- Refactored automation sequences to include conditional actions based on triggers for sleep mode and KidsRoom.
- Updated light and cover actions to improve functionality and responsiveness.
- Introduced new scripts for critical notifications and smart shading management in scripts.yaml.
- Added new KNX sensors for temperature, wind speed, and illuminance in sensor.yaml.
- Created new packages for mobile dashboard and PV to DHW management to streamline automation processes.
This commit is contained in:
Ben Melchior
2025-09-01 11:54:19 +02:00
parent 528f9f0a60
commit ea1eb9e6fa
9 changed files with 724 additions and 144 deletions

View File

@@ -0,0 +1,36 @@
template:
- sensor:
- name: "Mobile Dashboard Weather"
state: >
{% set condition = states('weather.forecast_home') | title %}
{% set temp = states('sensor.se_au_gt_temp') | float %}
{% set wind = states('sensor.se_au_gt_wind') | float %}
{% set condition_icon = {
'Sunny': '☀️',
'Partlycloudy': '⛅',
'Cloudy': '☁️',
'Rainy': '🌧️',
'Snowy': '❄️',
'Windy': '💨',
'Fog': '🌫️'
}.get(condition, '🌤️') %}
{{ condition_icon }} {{ condition }} - 🌡️ {{ temp | round(1) }}°C - 💨 {{ wind | round(1) }} m/s
icon: >
{% set condition = states('weather.forecast_home') %}
{% if condition == 'sunny' %}
mdi:weather-sunny
{% elif condition == 'partlycloudy' %}
mdi:weather-partly-cloudy
{% elif condition == 'cloudy' %}
mdi:weather-cloudy
{% elif condition == 'rainy' %}
mdi:weather-rainy
{% elif condition == 'snowy' %}
mdi:weather-snowy
{% elif condition == 'windy' %}
mdi:weather-windy
{% elif condition == 'fog' %}
mdi:weather-fog
{% else %}
mdi:weather-cloudy
{% endif %}