<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[binding Problem (mal wieder...)]]></title><description><![CDATA[<p dir="auto">Ich möchte in Abhängigkeit von einem DP die Hintergrundfarbe eines Widgets einstellen.<br />
Um zu testen habe ich das binding erstmal einfach in das html widget getan, das funktioniert aber nicht:</p>
<pre><code>{wert:hm-rpc.0.NEQ0432617.1.STATE; wert=="true" ? "none" :: wert=="false" ? "gray"}
</code></pre>
<p dir="auto">gibt als Ausgabe immer eine 0. Wenn ich den "else-Zweig" vereinfache:</p>
<pre><code>{wert:hm-rpc.0.NEQ0432617.1.STATE; wert=="true" ? "none" :: "gray"}
</code></pre>
<p dir="auto">gibt er gray aus. Also nehme ich mal an, dass die Abfrage auf =="true" schon falsch ist. Der DP ist vom Typ Boolean, ich hab auch schon rumgespielt und statt true/false mal 1/0 genommen bzw die Anführungszeichen weggelassen, alles ohne Erfolg. Hier im Forum gibt es diverse Threads zum Thema, die habe ich mir angeschaut, formal sieht mein binding aber richtig aus (??)</p>
]]></description><link>https://forum.iobroker.net/topic/52946/binding-problem-mal-wieder</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 12:10:20 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/52946.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Feb 2022 09:02:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to binding Problem (mal wieder...) on Mon, 28 Feb 2022 10:16:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a> das hatte ich aus einem anderen thread so übernommen, aber hast recht, das war es. Danke!</p>
]]></description><link>https://forum.iobroker.net/post/769902</link><guid isPermaLink="true">https://forum.iobroker.net/post/769902</guid><dc:creator><![CDATA[amg_666]]></dc:creator><pubDate>Mon, 28 Feb 2022 10:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to binding Problem (mal wieder...) on Mon, 28 Feb 2022 09:55:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amg_666" aria-label="Profile: amg_666">@<bdi>amg_666</bdi></a> sagte in <a href="/post/769851">binding Problem (mal wieder...)</a>:</p>
<blockquote>
<p dir="auto">{wert:hm-rpc.0.NEQ0432617.1.STATE; wert=="true" ? "none" :: "gray"}</p>
</blockquote>
<pre><code>{wert:hm-rpc.0.NEQ0432617.1.STATE; wert=="true" ? "none" : "gray"} 
</code></pre>
<p dir="auto">warum 2 mal doppelpunkt ?</p>
]]></description><link>https://forum.iobroker.net/post/769884</link><guid isPermaLink="true">https://forum.iobroker.net/post/769884</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Mon, 28 Feb 2022 09:55:24 GMT</pubDate></item><item><title><![CDATA[Reply to binding Problem (mal wieder...) on Mon, 28 Feb 2022 09:44:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amg_666" aria-label="Profile: amg_666">@<bdi>amg_666</bdi></a><br />
jo sollte gehen..</p>
<p dir="auto">hier is so was ähnliches<br />
<a href="https://forum.iobroker.net/topic/52814/gel%C3%B6st-leuchten-eines-widget-geht-nicht-weg/13?_=1646041448702">https://forum.iobroker.net/topic/52814/gelöst-leuchten-eines-widget-geht-nicht-weg/13?_=1646041448702</a></p>
]]></description><link>https://forum.iobroker.net/post/769879</link><guid isPermaLink="true">https://forum.iobroker.net/post/769879</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Mon, 28 Feb 2022 09:44:27 GMT</pubDate></item></channel></rss>