Skip to content

Commit

Permalink
[deconz] Pimp properties and channel types with proper categories (op…
Browse files Browse the repository at this point in the history
…enhab#10217)

* Pimp properties and channel types with proper categories
* Update bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>
  • Loading branch information
2 people authored and computergeek1507 committed Jul 13, 2021
1 parent 2eee55f commit caf165d
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
<item-type>Number:Energy</item-type>
<label>Consumption</label>
<description>Current consumption</description>
<category>Energy</category>
<state readOnly="true" pattern="%.1f %unit%"></state>
</channel-type>

Expand Down Expand Up @@ -242,6 +243,7 @@
<item-type>Number:Temperature</item-type>
<label>Temperature</label>
<description>Current temperature</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.2f %unit%"></state>
</channel-type>

Expand All @@ -265,6 +267,7 @@
<item-type>Number:Dimensionless</item-type>
<label>Humidity</label>
<description>Current humidity</description>
<category>Humidity</category>
<state readOnly="true" pattern="%.2f %unit%"></state>
</channel-type>

Expand All @@ -288,6 +291,7 @@
<item-type>Number:Pressure</item-type>
<label>Pressure</label>
<description>Current pressure</description>
<category>Pressure</category>
<state readOnly="true" pattern="%.1f %unit%"></state>
</channel-type>

Expand Down Expand Up @@ -507,14 +511,16 @@

<channel-type id="heatsetpoint">
<item-type>Number:Temperature</item-type>
<label>Target temperature</label>
<label>Target Temperature</label>
<description>Target temperature</description>
<category>Heating</category>
<state pattern="%.1f %unit%" step="0.5" max="28" min="6"></state>
</channel-type>
<channel-type id="mode">
<item-type>String</item-type>
<label>Mode</label>
<description>Current mode</description>
<category>Heating</category>
<state>
<options>
<option value="AUTO">auto</option>
Expand Down

0 comments on commit caf165d

Please sign in to comment.