Hallo ich bin der neue und relativ frisch vom IOB zu HA, gewechselt. Bin mit meinem DB und meinen Automationen auch schon sehr zufrieden, Simons Videos haben da sehr geholfen und auch der ein oder andere Blick hier ins Forum. Ich habe aber gleich 2 Probleme, erstens muss ich viele Integrationen manuell neu laden, da sehr viele mit Konfigurationsfehler nicht automatisch geladen werden Die meisten davon lassen sich neu laden, das 2. Problem ist das meine Automationen in GUI nicht erscheinen, wohl aber in der Yaml. meine Configuration.yaml, sieht aber meines Erachtens nicht falsch aus. Hingegen habe ich bei meiner Automations.yaml festgestellt, dass die Aliase mal auskommentiert sind und mal nicht, kann das einen Einfluss auf das Laden der Gui haben?
System ist ein neuer PI5 mit 128GB SD Card. Das hab ich vorher neu gekauft, weil der alte mit dem IO Broker doch schon recht behäbig war.
Configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
homeassistant:
packages: !include_dir_merge_named packages/
template:
- trigger:
- trigger: time
at: "14:00:00"
- trigger: homeassistant
event: start
action:
- action: tibber.get_prices
data:
end: "{{ (now() + timedelta(days=1)).strftime('%Y-%m-%d 23:59:59') }}"
response_variable: tomorrow_price
sensor:
- name: tibber prices
unique_id: tibber_prices
state: >
{% set key = tomorrow_price['prices'] | list | first %}
{% set prices = tomorrow_price['prices'][key] | map(attribute='price') | list %}
{{ (prices | sum / prices | count) | round(4) }}
attributes:
data: >
{% set data = namespace(prices=[]) %}
{% set key = tomorrow_price['prices'] | list | first %}
{% for state in tomorrow_price['prices'][key] %}
{% set data.prices = data.prices + [{'start_time': state.start_time, 'price_per_kwh': state.price}] %}
{% endfor %}
{{ data.prices }}
Die Automations.yaml
Die Auskommentierung habe ich jetzt einmal komplett rausgenommen. Brachte keinen Unterschied
- id: '1760260800013'
alias: Deckenspots Esszimmer
description: ''
triggers:
- device_id: 131170daff2dd342f592bc3d5e75ba95
domain: hue
type: initial_press
subtype: 1
unique_id: 8e88b2cd-c0db-47ba-b8d2-81e32943268b
trigger: device
conditions: []
actions:
- action: light.toggle
metadata: {}
data:
brightness_pct: 100
color_temp_kelvin: 6500
target:
label_id: deckenspots_esszimmer
mode: single
- id: '1760260887943'
alias: Pendelleuchte ein/aus
description: ''
triggers:
- device_id: 131170daff2dd342f592bc3d5e75ba95
domain: hue
type: initial_press
subtype: 3
unique_id: 1515bec6-172e-4efe-92a8-d6619c214ad3
trigger: device
conditions: []
actions:
- action: light.toggle
metadata: {}
data: {}
target:
device_id: 06168bb46211708b0d90d75fdcca71e2
mode: single
- id: '1760263055484'
alias: Lampen Sideboard
description: ''
triggers:
- device_id: 131170daff2dd342f592bc3d5e75ba95
domain: hue
type: initial_press
subtype: 4
unique_id: 4d6f32c8-c4b1-4a6d-bfd9-67d002bf4fb1
trigger: device
conditions: []
actions:
- action: light.toggle
metadata: {}
data: {}
target:
device_id: 05ac470c0b7f58bdf579751182e6cd09
mode: single
- id: '1760263143470'
alias: Stehlampe An/Aus
description: ''
triggers:
- device_id: 131170daff2dd342f592bc3d5e75ba95
domain: hue
type: initial_press
subtype: 2
unique_id: 9b95875e-7e54-4564-b778-3370397b3a3b
trigger: device
conditions: []
actions:
- action: light.toggle
metadata: {}
data: {}
target:
device_id: 635e323fe9ec45a5be9055f846b8ed2a
mode: single
- id: '1760283712546'
alias: Aussenbeleuchtung an
description: ''
triggers:
- trigger: state
entity_id:
- schedule.zeitschaltuhr_aussenbeleuchtung
to: 'on'
- trigger: sun
event: sunset
offset: 0
conditions:
- condition: sun
after: sunset
- condition: state
entity_id: schedule.zeitschaltuhr_aussenbeleuchtung
state: 'on'
actions:
- action: light.turn_on
metadata: {}
data:
color_temp_kelvin: 6500
brightness_pct: 100
target:
area_id: hortensienbeet
- action: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 255
- 255
color_temp_kelvin: 6500
brightness_pct: 100
target:
label_id: aussenbeleuchtung
floor_id: vorgarten
mode: single
- id: '1760345539782'
alias: Kräutergarten Küche Beleuchtung an
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.e3dc_solar_power
for:
hours: 0
minutes: 5
seconds: 0
above: 120
conditions:
- condition: numeric_state
entity_id: sensor.e3dc_solar_power
above: 120
actions:
- type: turn_on
device_id: 53fbcca6f9ced21b9f89da078a90acf8
entity_id: a7391bdffc84cafc0f83d9dd9072345d
domain: switch
mode: single
- id: '1760345666523'
alias: Kräutergarten Küche Beleuchtung aus
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.e3dc_solar_power
for:
hours: 0
minutes: 5
seconds: 0
below: 90
conditions:
- condition: numeric_state
entity_id: sensor.e3dc_solar_power
below: 90
actions:
- type: turn_off
device_id: 53fbcca6f9ced21b9f89da078a90acf8
entity_id: a7391bdffc84cafc0f83d9dd9072345d
domain: switch
mode: single
- id: '1760360986276'
alias: Ladesteuerung SmarthomeTablet Ein
description: ''
triggers:
- trigger: state
entity_id:
- sensor.fire_tablet_batterie
from: '21'
to: '20'
conditions: []
actions:
- action: switch.turn_on
metadata: {}
data: {}
target:
device_id: 9a4bda2587099adabe0c7dac36697564
mode: single
- id: '1760361223715'
alias: Ladesteuerung Smarthome Tablet Aus
description: ''
triggers:
- trigger: state
entity_id:
- sensor.fire_tablet_batterie
from: '79'
to: '80'
conditions: []
actions:
- action: switch.turn_off
metadata: {}
data: {}
target:
device_id: 9a4bda2587099adabe0c7dac36697564
mode: single
- id: '1760378744011'
alias: Lüfter Keller Ein
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.e3dc_solar_power
for:
hours: 0
minutes: 5
seconds: 0
above: 120
conditions:
- condition: numeric_state
entity_id: sensor.e3dc_solar_power
above: 120
actions:
- type: turn_on
device_id: dc5eb3da54b2e9c393ea8998d0ac5455
entity_id: 1495c49c20b1cd0e6d9412ba2b3adb44
domain: switch
mode: single
- id: '1760378823655'
alias: Lüfter Keller aus
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.e3dc_solar_power
for:
hours: 0
minutes: 5
seconds: 0
below: 90
conditions:
- condition: numeric_state
entity_id: sensor.e3dc_solar_power
below: 90
actions:
- type: turn_off
device_id: dc5eb3da54b2e9c393ea8998d0ac5455
entity_id: 1495c49c20b1cd0e6d9412ba2b3adb44
domain: switch
mode: single
- id: '1760380236087'
alias: Essenszeit Ein
description: ''
triggers:
- trigger: state
entity_id:
- schedule.essenszeit
to: 'on'
conditions: []
actions:
- type: turn_on
device_id: 06168bb46211708b0d90d75fdcca71e2
entity_id: 4ba4654d88beabdeb8be0797a1a7d050
domain: light
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.sideboard_lampen_esszimmer
mode: single
- id: '1760380360318'
alias: Essenszeit aus
description: ''
triggers:
- trigger: state
entity_id:
- schedule.essenszeit
to: 'off'
conditions: []
actions:
- type: turn_off
device_id: 06168bb46211708b0d90d75fdcca71e2
entity_id: 4ba4654d88beabdeb8be0797a1a7d050
domain: light
- action: switch.turn_off
metadata: {}
data: {}
target:
entity_id: switch.sideboard_lampen_esszimmer
mode: single
- id: '1760393382976'
alias: Benachrichtigung Wäschetrockner
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.smartstecker_waschetrockner_energy_power
for:
hours: 0
minutes: 5
seconds: 0
above: 80
conditions: []
actions:
- wait_for_trigger:
- trigger: numeric_state
entity_id:
- sensor.smartstecker_waschetrockner_energy_power
for:
hours: 0
minutes: 5
seconds: 0
below: 5
timeout:
hours: 4
minutes: 0
seconds: 0
milliseconds: 0
- action: notify.mobile_app_iphone_von_kai
metadata: {}
data:
title: 'Wäschetrockner '
message: ' ist fertig'
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.waschetrockner_fertig
mode: single
- id: '1760436317943'
alias: Außenbeleuchtung Aus
description: ''
triggers:
- trigger: state
entity_id:
- schedule.zeitschaltuhr_aussenbeleuchtung
to: 'off'
- trigger: sun
event: sunrise
offset: 0
conditions:
- condition: sun
after: sunrise
- condition: state
entity_id: schedule.zeitschaltuhr_aussenbeleuchtung
state: 'off'
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
label_id: aussenbeleuchtung
area_id: hortensienbeet
mode: single
- id: '1760542384352'
alias: LED Spots Wohnzimmer
description: ''
triggers:
- device_id: cf555993996bf99ea312e1b3f035b202
domain: hue
type: initial_press
subtype: 1
unique_id: 210a9ec9-83b9-4352-a76f-f8ff16fc49fd
trigger: device
conditions: []
actions:
- action: light.toggle
metadata: {}
data:
brightness_pct: 100
color_temp_kelvin: 6500
target:
entity_id:
- light.wohnzimmer_led_spot_1
- light.wohnzimmer_led_spot_2
mode: single
- id: '1760545166944'
alias: Aktivierung Fernsehabend
description: ''
triggers:
- device_id: cf555993996bf99ea312e1b3f035b202
domain: hue
type: initial_press
subtype: 2
unique_id: aced40e8-0f02-40d5-90cb-df9b37fc1ee8
trigger: device
conditions: []
actions:
- action: scene.turn_on
metadata: {}
data: {}
target:
entity_id: scene.fernsehabend_an
mode: single
- id: '1760553309390'
alias: Beleuchtung Wohnzimmer aus
description: ''
triggers:
- device_id: cf555993996bf99ea312e1b3f035b202
domain: hue
type: repeat
subtype: 1
unique_id: 210a9ec9-83b9-4352-a76f-f8ff16fc49fd
trigger: device
conditions:
- condition: state
entity_id: light.wohnzimmer_led_spot_1
state: 'on'
- condition: state
entity_id: light.wohnzimmer_led_spot_2
state: 'on'
- condition: state
entity_id: light.smart_bulb_2202244273906690870548e1e98a7ea3
state: 'on'
- condition: state
entity_id: light.smart_rgbtw_bulb
state: 'on'
- condition: state
entity_id: light.smart_rgbtw_bulb_2
state: 'on'
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
label_id:
- beleuchtung_wohnzimmer
- pendelleuchten_wohnzimmer
mode: single
- id: '1760628350426'
alias: Pendelleuchten Wohnzimmer An/Aus
description: ''
triggers:
- device_id: cf555993996bf99ea312e1b3f035b202
domain: hue
type: initial_press
subtype: 3
unique_id: 27457c22-de76-4a8c-8996-824f8b43f2ad
trigger: device
conditions: []
actions:
- action: light.toggle
metadata: {}
data:
brightness_pct: 100
color_temp_kelvin: 6500
target:
label_id: pendelleuchten_wohnzimmer
mode: single
- id: '1760705095426'
alias: Garage öffnen
description: ''
triggers:
- trigger: zone
entity_id: person.kai
zone: zone.home
event: enter
conditions:
- condition: device
device_id: 5440a959b84863b498f998ab3c1272ff
domain: cover
entity_id: 17d8e0a18ece6fa4b0169fa0b40808b5
type: is_closed
actions:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
- wait_for_trigger:
- trigger: state
entity_id:
- cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
to: opening
timeout:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- choose:
- conditions:
- condition: time
after: '17:00:00'
before: 08:00:00
sequence:
- action: light.turn_on
metadata: {}
data:
rgb_color:
- 0
- 66
- 169
color_temp_kelvin: 6500
brightness_pct: 100
target:
entity_id: light.lsc_light_strip_rgbcct
- conditions:
- condition: time
after: 08:01:00
before: '16:59:00'
sequence:
- action: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 255
- 255
color_temp_kelvin: 6500
brightness_pct: 100
target:
entity_id: light.lsc_light_strip_rgbcct
mode: single
- id: '1760705504641'
alias: Garage schliessen
description: ''
triggers:
- trigger: zone
entity_id: person.kai
zone: zone.garage_auf_zu
event: enter
conditions:
- condition: state
state: open
entity_id: cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
actions:
- action: cover.close_cover
metadata: {}
data: {}
target:
entity_id: cover.smart_garage_door_2111031246392736105448e1e97b39c0_garage
mode: single
- id: '1760909034071'
alias: LED Strip Garage ausschalten
description: ''
triggers:
- trigger: state
entity_id:
- automation.garage_schliessen
from: 'on'
to: 'off'
conditions:
- condition: state
entity_id: automation.garage_schliessen
state: 'off'
for:
hours: 0
minutes: 3
seconds: 0
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.lsc_light_strip_rgbcct
mode: single
Ich hoffe jemand kann helfen.



