]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lcn] Set advanced flags more reasonably (#9676)
authorFabian Wolter <github@fabian-wolter.de>
Mon, 4 Jan 2021 23:53:57 +0000 (00:53 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 23:53:57 +0000 (15:53 -0800)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
bundles/org.openhab.binding.lcn/src/main/feature/feature.xml
bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/config/config.xml
bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/thing/thing-types.xml

index 4b803e077eff1f7ec9f3a0e91e84bf2617c812c8..5d0d9660ea7532ebda40f2648ea422c0ff98ba11 100644 (file)
@@ -2,7 +2,7 @@
 <features name="org.openhab.binding.lcn-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
        <repository>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${ohc.version}/xml/features</repository>
 
-       <feature name="openhab-binding-lcn" description="Lcn Binding" version="${project.version}">
+       <feature name="openhab-binding-lcn" description="LCN Binding" version="${project.version}">
                <feature>openhab-runtime-base</feature>
                <bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.lcn/${project.version}</bundle>
        </feature>
index 5e43ddbe9bd00860f7a2278b52970129c49d60a2..e85c984390c33f55aa2503dcebc0770cfbb091c9 100644 (file)
@@ -42,7 +42,7 @@
                        <label>Connection Timeout</label>
                        <description>Period after which an LCN command is resent, when no acknowledge has been received (in ms).</description>
                        <default>3500</default>
-                       <required>true</required>
+                       <advanced>true</advanced>
                </parameter>
        </config-description>
 
index 782edc75707f195cb29217d0390b620d08490236..b990c7067ec38610b059709bc1a03db8b799dbe9 100644 (file)
@@ -79,7 +79,7 @@
                <config-description-ref uri="thing-type:lcn:group"/>
        </thing-type>
 
-       <channel-type id="output" advanced="true">
+       <channel-type id="output">
                <item-type>Dimmer</item-type>
                <label>Output</label>
                <autoUpdatePolicy>veto</autoUpdatePolicy>
                </channels>
        </channel-group-type>
 
-       <channel-type id="relay" advanced="true">
+       <channel-type id="relay">
                <item-type>Switch</item-type>
                <label>Relay</label>
                <autoUpdatePolicy>veto</autoUpdatePolicy>
                </channels>
        </channel-group-type>
 
-       <channel-type id="rollershutter" advanced="true">
+       <channel-type id="rollershutter">
                <item-type>Rollershutter</item-type>
                <label>Roller Shutter</label>
                <autoUpdatePolicy>veto</autoUpdatePolicy>
                </channels>
        </channel-group-type>
 
-       <channel-type id="led" advanced="true">
+       <channel-type id="led">
                <item-type>String</item-type>
                <label>LED</label>
                <state>
                </channels>
        </channel-group-type>
 
-       <channel-type id="logic" advanced="true">
+       <channel-type id="logic">
                <item-type>String</item-type>
                <label>Logic Operation</label>
                <state readOnly="true">
                </channels>
        </channel-group-type>
 
-       <channel-type id="binarysensor" advanced="true">
+       <channel-type id="binarysensor">
                <item-type>Contact</item-type>
                <label>Binary Sensor</label>
                <autoUpdatePolicy>veto</autoUpdatePolicy>
                </channels>
        </channel-group-type>
 
-       <channel-type id="variable" advanced="true">
+       <channel-type id="variable">
                <item-type>Number</item-type>
                <label>Variable</label>
                <config-description-ref uri="channel-type:lcn:variable"/>
                </channels>
        </channel-group-type>
 
-       <channel-type id="transponders" advanced="true">
+       <channel-type id="transponders">
                <kind>trigger</kind>
                <label>Transponder Codes</label>
                <event/>
        </channel-type>
 
-       <channel-type id="fingerprints" advanced="true">
+       <channel-type id="fingerprints">
                <kind>trigger</kind>
                <label>Fingerprint Codes</label>
                <event/>
        </channel-type>
 
-       <channel-type id="remotecontrolkeys" advanced="true">
+       <channel-type id="remotecontrolkeys">
                <kind>trigger</kind>
                <label>Remote Control Keys</label>
                <event/>
        </channel-type>
 
-       <channel-type id="remotecontrolcodes" advanced="true">
+       <channel-type id="remotecontrolcodes">
                <kind>trigger</kind>
                <label>Remote Control with Access Control Code</label>
                <event/>
        </channel-type>
 
-       <channel-type id="remotecontrolsbatterylow" advanced="true">
+       <channel-type id="remotecontrolsbatterylow">
                <kind>trigger</kind>
                <label>Remote Control Low Battery</label>
                <event/>