Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106512

Scipt could not be setup

$
0
0

With the latest update i have a failure in my notifications.
The following integrations and platforms could not be set up:

  • script

I checked my scripts. They all work so the scripts do load.
It happened since i updated to 0.115.2. 0.114 worked without a problem.

edit: One script failed. Why?

radio538:
  alias: play radio
  sequence:
  - service: media_player.volume_set
    data_template:
      entity_id: '{% if is_state("input_select.chromecast_radio", "Livingroom Shield")
        %} media_player.marantz_nr1608_1 {% elif is_state("input_select.chromecast_radio",
        "Livingroom Tv") %} media_player.kd_49x8005c {% elif is_state("input_select.chromecast_radio",
        "Livingroom Marantz") %} media_player.marantz_nr1608_1 {% elif is_state("input_select.chromecast_radio",
        "Bedroom") %} media_player.tv_in_slaapkamer {% elif is_state("input_select.chromecast_radio",
        "Everywhere") %} media_player.home_group {% endif %}

        '
      volume_level: '{{  states.input_number.volume_radio.state  }}'
  - service: tts.google_translate_say
    data_template:
      entity_id: '{% if is_state("input_select.chromecast_radio", "Livingroom Shield")
        %} media_player.shield {% elif is_state("input_select.chromecast_radio", "Livingroom
        Tv") %} media_player.kd_49x8005c {% elif is_state("input_select.chromecast_radio",
        "Livingroom Marantz") %} media_player.marantz_nr1608 {% elif is_state("input_select.chromecast_radio",
        "Bedroom") %} media_player.tv_in_slaapkamer {% elif is_state("input_select.chromecast_radio",
        "Everywhere") %} media_player.home_group {% endif %}

        '
      message: 'Volgende station: {{ states.input_select.radio_station.state  }}'
  - delay: 00:00:04
    service: media_player.play_media
    data_template:
      entity_id: '{% if is_state("input_select.chromecast_radio", "Livingroom Shield")
        %} media_player.shield {% elif is_state("input_select.chromecast_radio", "Livingroom
        Tv") %} media_player.kd_49x8005c {% elif is_state("input_select.chromecast_radio",
        "Livingroom Marantz") %} media_player.marantz_nr1608 {% elif is_state("input_select.chromecast_radio",
        "Bedroom") %} media_player.tv_in_slaapkamer {% elif is_state("input_select.chromecast_radio",
        "Everywhere") %} media_player.home_group {% endif %}

        '
      media_content_id: '{% if is_state("input_select.radio_station", "Radio 1") %}
        https://icecast.omroep.nl/radio1-bb-aac {% elif is_state("input_select.radio_station",
        "Radio 2") %} https://icecast.omroep.nl/radio2-bb-aac {% elif is_state("input_select.radio_station",
        "3FM") %} http://icecast.omroep.nl/3fm-bb-mp3 {% elif is_state("input_select.radio_station",
        "Radio 4 NL") %} https://icecast.omroep.nl/radio4-bb-aac {% elif is_state("input_select.radio_station",
        "Radio Fip") %} https://icecast.radiofrance.fr/fip-hifi.aac {% elif is_state("input_select.radio_station",
        "Omroep Brabant") %} http://av.omroepbrabant.nl/icecast/omroepbrabant/mp3 {% elif is_state("input_select.radio_station", 
        "Sky Radio") %} http://8623.live.streamtheworld.com:80/SKYRADIOAAC_SC {% elif is_state("input_select.radio_station", 
        "Arrow Classic Rock") %} http://91.221.151.155/listen.mp3 {% elif is_state("input_select.radio_station", 
        "Classic FM") %} http://19143.live.streamtheworld.com/CLASSICFM_SC {% elif is_state("input_select.radio_station", 
        "BNR Nieuwsradio") %} http://icecast-bnr.cdp.triple-it.nl/bnr_mp3_96_03 {% elif is_state("input_select.radio_station", 
        "Sleep Radio") %} http://37.59.28.208:8722/stream {% elif is_state("input_select.radio_station", 
        "Ambient Sleeping Pill") %} http://perseus.shoutca.st:8447/h {% elif is_state("input_select.radio_station",
        "Radio Art - Sleep") %} http://live.radioart.com/fSleep.mp3 {% elif is_state("input_select.radio_station",
        "Ambi Nature Radio") %} http://94.23.252.14:8067/stream {% elif is_state("input_select.radio_station",
        "Calm Radio - Sleep") %} http://streams.calmradio.com/api/39/128/stream {% elif is_state("input_select.radio_station", 
        "Dinamo.FM Sleep") %} http://channels.dinamo.fm/sleep-aac {% endif %}'
      media_content_type: audio/mp4

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>