smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
59 stars 23 forks source link

Item type Dimmer is not supported for tuya_temp_value. Only NumberItem is supported. #352

Closed grzegorz914 closed 2 years ago

grzegorz914 commented 2 years ago

Hi,

I get this error if change color temp using HomeKit ColorTemperature characteristic: 2022-03-25 16:18:28.618 [WARN ] [ssories.HomekitCharacteristicFactory] - Item type Dimmer is not supported for LEDKorytarzSypialnia_tempvalue. Only NumberItem is supported.

P.S. - requested support here https://github.com/openhab/openhab-addons/issues/12517

J-N-K commented 2 years ago

openHAB has two different types of color temperature channels. A relative one which uses Dimmer as item type and an absolute one, which uses Number as item type. The Tuya devices do not provide information to calculate the absolute color temperature, so the only way is to use the relative channel here. There is nothing that can be changed here. The HomeKit integration needs to implement both channel types.