bekomme aktuell den Fehler, unklar woher dieser kommt:
Code: Alles auswählen
Invalid config
The following integrations and platforms could not be set up:
script
Please check your config and logs.
Code: Alles auswählen
Invalid config
The following integrations and platforms could not be set up:
script
Please check your config and logs.
Code: Alles auswählen
script: !include scripts.yaml
Code: Alles auswählen
spotify_start:
alias: "Spotify: Start Playback"
sequence:
- service: spotcast.start
data_template:
entity_id: >-
{% if is_state('input_select.chromecast_audio', 'Wohnzimmer') %}
media_player.wohnzimmer
{% elif is_state('input_select.chromecast_audio', 'Haus') %}
media_player.haus
{% elif is_state('input_select.chromecast_audio', 'Bad') %}
media_player.bad
{% elif is_state('input_select.chromecast_audio', 'Gästebad') %}
media_player.gastebad
{% elif is_state('input_select.chromecast_audio', 'Küche') %}
media_player.kuche
{% elif is_state('input_select.chromecast_audio', 'Philips TV') %}
media_player.philips_tv
{% elif is_state('input_select.chromecast_audio', 'Office') %}
media_player.office
{% endif %}
force_playback: true
mode: single
icon: mdi:spotify
Code: Alles auswählen
data_template is deprecated. Don’t use it. Use data everywhere, regardless if it’s a template or not.