<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rule on ads' corner</title><link>https://andreas.scherbaum.la/tags/rule/</link><description>Recent content in Rule on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 19 Mar 2022 23:14:00 +0100</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/rule/index.xml" rel="self" type="application/rss+xml"/><item><title>Does an openHAB Item exist?</title><link>https://andreas.scherbaum.la/post/2022-03-19_does-an-openhab-item-exist/</link><pubDate>Sat, 19 Mar 2022 23:14:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2022-03-19_does-an-openhab-item-exist/</guid><description>&lt;p&gt;In a more complex openHAB2 Rule I&amp;rsquo;m writing, I need to find out if a certain Item exist. If I try to access it when it does not exist, the Rule will fail. Not good.&lt;/p&gt;&#10;&lt;p&gt;I could pass in a parameter to the framework which builds the Rule, but that is cumbersome and requires changes on several places.&lt;/p&gt;&#10;&lt;p&gt;Let&amp;rsquo;s see if I can have the Rule figure this out.&lt;/p&gt;</description></item></channel></rss>