Fehler: Die Befehlszeilen-YAML-Konfiguration wurde verschoben

ThMF.live

Member
Seit dem vorletzten Release erscheint immer dieser Fehler "Die Befehlszeilen-YAML-Konfiguration wurde verschoben"

1689416805675.png

Problem: Ich weiß nichtmal um welchen Eintrag es sich handelt?
 
Ich denke dieser Eintrag ist das Problem:

YAML:
- platform: command_line
  name: coinmarketcap_curl
  command: 'curl -X GET -H "X-CMC_PRO_API_KEY: XXXXXX" -H "Accept: application/json" -d "symbol=ETH,ZRX,BTC,ADA,SOL,BCH,QNT,XLM,LTC,MANA,SNX,PUNKT,DOGE,ETH&convert=EUR" -G "https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest"'
  value_template: '{{ value_json.value }}'
  scan_interval: 3600
  json_attributes:
  - data
- platform: template
  sensors:
    eth_price:
      friendly_name: 'Ethereum Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.ETH.quote.EUR.price) | float) | round(2) }}'
    zrx_price:
      friendly_name: 'ZRX Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.ZRX.quote.EUR.price) | float) | round(2) }}'
    btc_price:
      friendly_name: 'Bitcoin Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.BTC.quote.EUR.price) | float) | round(2) }}'
    ada_price:
      friendly_name: 'Cardano Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.ADA.quote.EUR.price) | float) | round(2) }}'
    sol_price:
      friendly_name: 'Solana Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.SOL.quote.EUR.price) | float) | round(2) }}'
    bch_price:
      friendly_name: 'BCH Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.BCH.quote.EUR.price) | float) | round(2) }}'
    doge_price:
      friendly_name: 'Dogecoin Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.DOGE.quote.EUR.price) | float) | round(2) }}'
    qnt_price:
      friendly_name: 'QNT Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.QNT.quote.EUR.price) | float) | round(2) }}'
    mana_price:
      friendly_name: 'Mana Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.MANA.quote.EUR.price) | float) | round(2) }}'
    snx_price:
      friendly_name: 'SNX Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.SNX.quote.EUR.price) | float) | round(2) }}'
    xlm_price:
      friendly_name: 'XLM Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.XLM.quote.EUR.price) | float) | round(2) }}'
    ltc_price:
      friendly_name: 'LTC Price'
      unit_of_measurement: 'EUR'
      value_template: '{{ ((states.sensor.coinmarketcap_curl.attributes.data.LTC.quote.EUR.price) | float) | round(2) }}'
 
und dieser Eintrag:

YAML:
- platform: command_line
  scan_interval: 10
  name: Shopping List
  unique_id: sensor.shopping_list
  command: python3 /config/python_scripts/shopping_list_json.py
  json_attributes:
    - not_complete
    - content
  value_template: "{{ value_json.state }}"
 
Zuletzt bearbeitet:

Zurzeit aktive Besucher

Keine Mitglieder online.

Letzte Anleitungen

Statistik des Forums

Themen
6.115
Beiträge
59.425
Mitglieder
6.160
Neuestes Mitglied
gonzo12345
Zurück
Oben