Files
home-assistant-config/configuration.yaml
T
2026-05-21 11:12:07 +02:00

64 lines
1.8 KiB
YAML

# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.0/24
powercalc:
# monitor_docker:
# - name: Docker
# url: http://192.168.1.40:2375
recorder:
purge_keep_days: 21
# Helper (von UI nach YAML migriert — siehe helpers/)
input_boolean: !include helpers/input_boolean.yaml
input_button: !include helpers/input_button.yaml
input_datetime: !include helpers/input_datetime.yaml
timer: !include helpers/timer.yaml
template:
- sensor:
- name: "PowerPulse EVCC Status"
unique_id: powerpulse_evcc_status
state: >
{% set s = states('sensor.charger_ac31zeh4ag130052_chargingstatus_2') %}
{% if s == 'EV_CHG_STS_AVAILABLE' %} A
{% elif s == 'EV_CHG_STS_PREPARING' %} B
{% elif s == 'EV_CHG_STS_CHARGING' %} C
{% elif s == 'EV_CHG_STS_SUSPENDED_EV' %} B
{% elif s == 'EV_CHG_STS_SUSPENDED_EVSE' %} B
{% elif s == 'EV_CHG_STS_FINISHING' %} B
{% elif s == 'EV_CHG_STS_RESERVED' %} A
{% elif s == 'EV_CHG_STS_UNAVAILABLE' %} E
{% elif s == 'EV_CHG_STS_FAULTED' %} F
{% else %} A
{% endif %}
- name: "BYD EVCC Status"
unique_id: byd_evcc_status
state: >
{% set s = states('sensor.byd_dolphin_60_5_kwh_abrp_charging_status') %}
{% if s == 'Charging' %} C
{% elif s == 'Not Charging' %} B
{% else %} A
{% endif %}
notify:
- name: "gotify.nuclide.systems"
platform: gotify
url: https://gotify.nuclide.systems
token: AVZyObLPatWGE_Q
verify_ssl: true # optional, default true