Add new features and improvements to automations, scripts, and configuration
- Introduced a new lock file for Home Assistant run state management. - Updated automations.yaml to enhance doorbell notification handling and streamline automation sequences. - Refactored scripts.yaml to unify mobile notification actions. - Added new KNX configurations for color control and additional switches. - Created a new mobile dashboard configuration for improved user interface. - Added multiple new dark icons for various integrations to enhance visual representation.
This commit is contained in:
@@ -2,19 +2,29 @@ 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_raw = states('weather.forecast_home') %}
|
||||
{% set temp = states('sensor.se_au_gt_temp') | float(0) %}
|
||||
{% set wind = states('sensor.se_au_gt_wind') | float(0) %}
|
||||
{% set condition_translations = {
|
||||
'sunny': 'Sonneg',
|
||||
'partlycloudy': 'Deelweis wollekeg',
|
||||
'cloudy': 'Wollekeg',
|
||||
'rainy': 'Reeneg',
|
||||
'snowy': 'Schnéieg',
|
||||
'windy': 'Wandeg',
|
||||
'fog': 'Niwweleg'
|
||||
} %}
|
||||
{% set condition_icon = {
|
||||
'Sunny': '☀️',
|
||||
'Partlycloudy': '⛅',
|
||||
'Cloudy': '☁️',
|
||||
'Rainy': '🌧️',
|
||||
'Snowy': '❄️',
|
||||
'Windy': '💨',
|
||||
'Fog': '🌫️'
|
||||
}.get(condition, '🌤️') %}
|
||||
{{ condition_icon }} {{ condition }} - 🌡️ {{ temp | round(1) }}°C - 💨 {{ wind | round(1) }} m/s
|
||||
'sunny': '☀️',
|
||||
'partlycloudy': '⛅',
|
||||
'cloudy': '☁️',
|
||||
'rainy': '🌧️',
|
||||
'snowy': '❄️',
|
||||
'windy': '💨',
|
||||
'fog': '🌫️'
|
||||
}.get(condition_raw, '🌤️') %}
|
||||
{% set condition_lb = condition_translations.get(condition_raw, condition_raw | title) %}
|
||||
{{ condition_icon }} {{ condition_lb }} - 🌡️ {{ temp | round(1) }}°C - 💨 {{ wind | round(1) }} m/s
|
||||
icon: >
|
||||
{% set condition = states('weather.forecast_home') %}
|
||||
{% if condition == 'sunny' %}
|
||||
|
||||
@@ -22,7 +22,7 @@ template:
|
||||
|
||||
- name: "DHW Boost Demand"
|
||||
state: >
|
||||
{% set excess = states('sensor.sh15t_total_export_active_power') | float %}
|
||||
{% set excess = states('sensor.sh15t_total_export_active_power') | float(0) %}
|
||||
{% set dhw_available = states('sensor.dhw_boost_available') %}
|
||||
{% set wp_power = states('input_number.dhw_pv_min_excess') | float %}
|
||||
{{ excess > wp_power and dhw_available }}
|
||||
|
||||
Reference in New Issue
Block a user