Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tradfri] Use system default channel types for lights #9864

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,5 @@ thing-type.config.tradfri.device.id.label = ID des Ger
thing-type.config.tradfri.device.id.description = ID zur Identifikation des Ger�tes.

# channel types
channel-type.tradfri.brightness.label = Helligkeit
channel-type.tradfri.brightness.description = Erm�glicht die Steuerung der Helligkeit. Erm�glicht ebenfalls die Lampe ein- und auszuschalten.
channel-type.tradfri.color_temperature.label = Farbtemperatur
channel-type.tradfri.color_temperature.description = Erm�glicht die Steuerung der Farbtemperatur. Von Tageslichtwei� (0) bis Warmwei� (100).
channel-type.tradfri.color.label = Farbe
channel-type.tradfri.color.description = Erm�glicht die Steuerung der Farbe.
channel-type.tradfri.position.label = Position
channel-type.tradfri.position.description = Erm�glicht die Steuerung der Position von Offen (0) bis Geschlossen (100).
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<description>A light that has continuous brightness control.</description>

<channels>
<channel id="brightness" typeId="brightness"/>
<channel id="brightness" typeId="system.brightness"/>
</channels>

<representation-property>id</representation-property>
Expand All @@ -58,8 +58,8 @@
<description>A dimmable light that supports different color temperature settings.</description>

<channels>
<channel id="brightness" typeId="brightness"/>
<channel id="color_temperature" typeId="color_temperature"/>
<channel id="brightness" typeId="system.brightness"/>
<channel id="color_temperature" typeId="system.color-temperature"/>
</channels>

<representation-property>id</representation-property>
Expand All @@ -76,8 +76,8 @@
<description>A dimmable light that supports full colors and color temperature settings.</description>

<channels>
<channel id="color_temperature" typeId="color_temperature"/>
<channel id="color" typeId="color"/>
<channel id="color_temperature" typeId="system.color-temperature"/>
<channel id="color" typeId="system.color"/>
</channels>

<representation-property>id</representation-property>
Expand Down Expand Up @@ -176,35 +176,11 @@
<config-description-ref uri="thing-type:tradfri:device"/>
</thing-type>

<channel-type id="brightness">
<item-type>Dimmer</item-type>
<label>Brightness</label>
<description>Control the brightness and switch the light on and off.</description>
<category>DimmableLight</category>
<tags>
<tag>Lighting</tag>
</tags>
</channel-type>

<channel-type id="position">
<item-type>Rollershutter</item-type>
<label>Position</label>
<description>Control the position of the blind or curtain in percent from 0 (open) to 100 (closed).</description>
<category>Blinds</category>
</channel-type>

<channel-type id="color_temperature">
<item-type>Dimmer</item-type>
<label>Color Temperature</label>
<description>Control the color temperature of the light.</description>
<category>ColorLight</category>
</channel-type>

<channel-type id="color">
<item-type>Color</item-type>
<label>Color</label>
<description>Control the color of the light.</description>
<category>ColorLight</category>
</channel-type>

</thing:thing-descriptions>