<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>yaml Archive - Smartebude</title>
	<atom:link href="https://smartebude.de/tag/yaml/feed/" rel="self" type="application/rss+xml" />
	<link>https://smartebude.de/tag/yaml/</link>
	<description>Smart Home Deals, Homeassistant und ESP8266 Basteleien</description>
	<lastBuildDate>Sat, 10 Jun 2023 05:08:10 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://smartebude.de/wp-content/uploads/2023/01/cropped-smart_logo_favicon-32x32.png</url>
	<title>yaml Archive - Smartebude</title>
	<link>https://smartebude.de/tag/yaml/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Nach Update: Befehlszeilen YAML Konfiguration wurde verschoben &#8211; so behebst du es</title>
		<link>https://smartebude.de/nach-update-befehlszeilen-yaml-konfiguration-wurde-verschoben-so-behebst-du-es/</link>
					<comments>https://smartebude.de/nach-update-befehlszeilen-yaml-konfiguration-wurde-verschoben-so-behebst-du-es/#comments</comments>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Thu, 08 Jun 2023 06:25:03 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Home Assistant]]></category>
		<category><![CDATA[home assistant]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[yaml]]></category>
		<guid isPermaLink="false">https://smartebude.de/?p=1944</guid>

					<description><![CDATA[<p>Mit dem Release 2023.6 wurde begonnen, eine Warnung für die baldige Umstellung der Syntax für die Command-Line Sensoren anzuzeigen Bist zum Release 2023.8 solltest du die Umstellung durchführen. Ab dann ist die bisherige Konfiguration deprecated und deine Konfiguration damit nicht mehr gültig. Als Fehlermeldung erhälst du: Command Line YAML configuration has moved oder Befehlszeilen YAML [...]</p>
<p>Der Beitrag <a href="https://smartebude.de/nach-update-befehlszeilen-yaml-konfiguration-wurde-verschoben-so-behebst-du-es/">Nach Update: Befehlszeilen YAML Konfiguration wurde verschoben &#8211; so behebst du es</a> erschien zuerst auf <a href="https://smartebude.de">Smartebude</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Mit dem Release 2023.6 wurde begonnen, eine Warnung für die baldige Umstellung der Syntax für die Command-Line Sensoren anzuzeigen Bist zum Release 2023.8 solltest du die Umstellung durchführen. </p>



<p>Ab dann ist die bisherige Konfiguration deprecated und deine Konfiguration damit nicht mehr gültig.</p>



<p>Als Fehlermeldung erhälst du: <strong>Command Line YAML configuration has moved</strong> oder <strong>Befehlszeilen YAML Konfiguration wurde verschoben.</strong></p>



<p>Aber der fix ist einfach und es betrifft nur die Sensoren vom Typ &#8222;Command-Line / Befehlzeile&#8220;. </p>



<p><strong>Bisher sah dir Konfiguration für einen Command-Line Sensor so aus:</strong></p>



<pre class="wp-block-code"><code lang="yaml" class="language-yaml">sensor:
  - platform: command_line  
    command: 'curl -so /dev/null XXX"'
    name: meins_sensor
    scan_interval: 900
    command_timeout: 5</code></pre>



<p><strong>Der neue Aufbau sieht jetzt so aus:</strong></p>



<pre class="wp-block-code"><code lang="yaml" class="language-yaml">command_line:
  - sensor:
       command: 'curl -so /dev/null XXX"'
       name: meins_sensor-eins
       scan_interval: 900
       command_timeout: 5
  - sensor:
       command: 'curl -so /dev/null XXX"'
       name: meins_sensor-zwei
       scan_interval: 900
       command_timeout: 5</code></pre>



<p>Wie du im Code Beispiel siehst, musst du einen neuen Konfigurationsblock in deiner Configuration.YAML anlegen mit dem Bezeichner &#8222;command-line&#8220;. In diesem fügst du die einzelnen Sensoren hinzu. </p>



<p><em>Wenn du Beiträge zu Home Assistant, guten Smart Home Deals und sonstigen News nicht verpassen willst. Aboniere den <a href="https://smartebude.de/#header-newsletter-signup">Newsletter</a>, Folge Smartebude auf <a href="https://www.facebook.com/SmarteBude/" target="_blank" rel="noreferrer noopener">Facebook </a>oder <a href="https://twitter.com/smarteBudeDE" target="_blank" rel="noreferrer noopener">Twitter</a>. </em></p>



<p>Statt Sensor können es auch folgende Typen sein:</p>



<ul class="wp-block-list">
<li>Cover</li>



<li>Notify</li>



<li>Sensor</li>



<li>Switch</li>



<li></li>
</ul>



<p>Bei Problemen hilft unter anderem ein Blick in die offizielle Dokumentation: <a href="https://www.home-assistant.io/integrations/command_line" target="_blank" rel="noreferrer noopener">https://www.home-assistant.io/integrations/command_line</a></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p> Treten bei dir noch Probleme auf? Dann schreib gerne ein Kommentar, ich helfe dir gern. </p>


<p>Der Beitrag <a href="https://smartebude.de/nach-update-befehlszeilen-yaml-konfiguration-wurde-verschoben-so-behebst-du-es/">Nach Update: Befehlszeilen YAML Konfiguration wurde verschoben &#8211; so behebst du es</a> erschien zuerst auf <a href="https://smartebude.de">Smartebude</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smartebude.de/nach-update-befehlszeilen-yaml-konfiguration-wurde-verschoben-so-behebst-du-es/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
