]> git.basschouten.com Git - openhab-addons.git/commit
[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)
authorWouter Born <github@maindrain.net>
Mon, 27 Sep 2021 20:00:01 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Sep 2021 20:00:01 +0000 (22:00 +0200)
commit89ef91bad3333cb5164a87f893763701bdbb5595
tree17e3c40a0ddec9c7982a24ff965531a3974f0077
parentb2db32da96e229ebfa19807b8e98c01bc73b61fc
[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)

* [lifx] Add channels for controlling absolute color temperature in Kelvin

Adds an 'abstemperature' channel to all Thing Types for controlling the absolute color temperature in Kelvin.
MultiZone lights also have 'abstemperaturezone' channels that allow for controlling the color temperature of a zone in Kelvin.
These channels make it easier to use the same color temperature with lights that have a different color temperature range.
Furthermore the channel type tags have been updated which simplifies using the generated items with the semantic model.

Signed-off-by: Wouter Born <github@maindrain.net>
15 files changed:
bundles/org.openhab.binding.lifx/README.md
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxBindingConstants.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxChannelFactory.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxChannelFactoryImpl.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/handler/LifxLightHandler.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/util/LifxMessageUtil.java
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/i18n/lifx.properties
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/i18n/lifx_nl.properties
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/channel.xml
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/colorhevlight.xml
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/colorirlight.xml
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/colorlight.xml
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/colormzlight.xml
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/tilelight.xml
bundles/org.openhab.binding.lifx/src/main/resources/OH-INF/thing/whitelight.xml