You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zwavejs - RGB bulbs cannot be set to colors or temperatures. Error is: failed to call service light/turn_on. Option transitionDuration not found on value Value (value='45-51-0-targetColor-2' on node Node(node_id=45)
Testing done using 2021.8.3 using colorwheel (or developer call_service) on an Inovelli Ilumin RGB bulb.
What is version of Home Assistant Core has the issue?
2021.8.3
What was the last working version of Home Assistant Core?
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)
A workaround is to set a single color. I think this service call will set the Red color. After any color is set, HA should be able to work with the color wheel. Make sure the endpoint value points to the correct one for multi-channel devices. zwavejs2mqtt can also be used in the same way.
This only affects newly added lights in 2021.8. Downgrading to 2021.7 and interacting the light would also work, and the upgrade to 2021.8 would work fine.
The problem
Zwavejs - RGB bulbs cannot be set to colors or temperatures. Error is:
failed to call service light/turn_on. Option transitionDuration not found on value Value (value='45-51-0-targetColor-2' on node Node(node_id=45)
Testing done using 2021.8.3 using colorwheel (or developer call_service) on an Inovelli Ilumin RGB bulb.
What is version of Home Assistant Core has the issue?
2021.8.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
zwavejs
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zwave_js/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.websocket_api.http.connection Source: components/zwave_js/light.py:322 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 8:44:52 PM (2 occurrences) Last logged: 8:45:00 PM [140528422445840] Option transitionDuration not found on value Value(value_id='45-51-0-targetColor-2') on node Node(node_id=45) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service await handler.job.target(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service await self.hass.helpers.service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 856, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 458, in async_handle_light_on_service await light.async_turn_on(**filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/zwave_js/light.py", line 237, in async_turn_on await self._async_set_colors( File "/usr/src/homeassistant/homeassistant/components/zwave_js/light.py", line 304, in _async_set_colors await self._async_set_color(color, value, zwave_transition) File "/usr/src/homeassistant/homeassistant/components/zwave_js/light.py", line 322, in _async_set_color await self.info.node.async_set_value(target_zwave_value, new_value, transition) File "/usr/local/lib/python3.9/site-packages/zwave_js_server/model/node.py", line 434, in async_set_value raise NotFoundError( zwave_js_server.exceptions.NotFoundError: Option transitionDuration not found on value Value(value_id='45-51-0-targetColor-2') on node Node(node_id=45) Also: { "nodeId": 45, "index": 0, "installerIcon": 1536, "userIcon": 1536, "status": 4, "ready": true, "isListening": true, "isRouting": true, "isSecure": false, "manufacturerId": 798, "productId": 1, "productType": 5, "firmwareVersion": "2.28", "zwavePlusVersion": 1, "name": "Fireplace Bulb 1", "deviceConfig": { "filename": "/usr/src/app/store/.config-db/devices/0x031e/lzw42.json", "isEmbedded": true, "manufacturer": "Inovelli", "manufacturerId": 798, "label": "LZW42", "description": "Multi-Color Bulb", "devices": [ { "productType": 5, "productId": 1 } ], "firmwareVersion": { "min": "0.0", "max": "255.255" }, "associations": {}, "paramInformation": { "_map": {} } }, "label": "LZW42", "interviewAttempts": 1, "endpoints": [ { "nodeId": 45, "index": 0, "installerIcon": 1536, "userIcon": 1536, "deviceClass": { "basic": { "key": 4, "label": "Routing Slave" }, "generic": { "key": 17, "label": "Multilevel Switch" }, "specific": { "key": 1, "label": "Multilevel Power Switch" }, "mandatorySupportedCCs": [ 32, 38, 39 ], "mandatoryControlledCCs": [] } } ], "values": [ { "endpoint": 0, "commandClass": 38, "commandClassName": "Multilevel Switch", "property": "targetValue", "propertyName": "targetValue", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": true, "label": "Target value", "valueChangeOptions": [ "transitionDuration" ], "min": 0, "max": 99 }, "value": 255 }, { "endpoint": 0, "commandClass": 38, "commandClassName": "Multilevel Switch", "property": "duration", "propertyName": "duration", "ccVersion": 2, "metadata": { "type": "duration", "readable": true, "writeable": true, "label": "Transition duration" } }, { "endpoint": 0, "commandClass": 38, "commandClassName": "Multilevel Switch", "property": "currentValue", "propertyName": "currentValue", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": false, "label": "Current value", "min": 0, "max": 99 }, "value": 99 }, { "endpoint": 0, "commandClass": 38, "commandClassName": "Multilevel Switch", "property": "Up", "propertyName": "Up", "ccVersion": 2, "metadata": { "type": "boolean", "readable": true, "writeable": true, "label": "Perform a level change (Up)", "ccSpecific": { "switchType": 2 } } }, { "endpoint": 0, "commandClass": 38, "commandClassName": "Multilevel Switch", "property": "Down", "propertyName": "Down", "ccVersion": 2, "metadata": { "type": "boolean", "readable": true, "writeable": true, "label": "Perform a level change (Down)", "ccSpecific": { "switchType": 2 } } }, { "endpoint": 0, "commandClass": 134, "commandClassName": "Version", "property": "libraryType", "propertyName": "libraryType", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": false, "label": "Library type", "states": { "0": "Unknown", "1": "Static Controller", "2": "Controller", "3": "Enhanced Slave", "4": "Slave", "5": "Installer", "6": "Routing Slave", "7": "Bridge Controller", "8": "Device under Test", "9": "N/A", "10": "AV Remote", "11": "AV Device" } }, "value": 3 }, { "endpoint": 0, "commandClass": 134, "commandClassName": "Version", "property": "protocolVersion", "propertyName": "protocolVersion", "ccVersion": 2, "metadata": { "type": "string", "readable": true, "writeable": false, "label": "Z-Wave protocol version" }, "value": "4.38" }, { "endpoint": 0, "commandClass": 134, "commandClassName": "Version", "property": "firmwareVersions", "propertyName": "firmwareVersions", "ccVersion": 2, "metadata": { "type": "string[]", "readable": true, "writeable": false, "label": "Z-Wave chip firmware versions" }, "value": [ "2.28" ] }, { "endpoint": 0, "commandClass": 134, "commandClassName": "Version", "property": "hardwareVersion", "propertyName": "hardwareVersion", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": false, "label": "Z-Wave chip hardware version" }, "value": 255 }, { "endpoint": 0, "commandClass": 114, "commandClassName": "Manufacturer Specific", "property": "manufacturerId", "propertyName": "manufacturerId", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": false, "label": "Manufacturer ID", "min": 0, "max": 65535 }, "value": 798 }, { "endpoint": 0, "commandClass": 114, "commandClassName": "Manufacturer Specific", "property": "productType", "propertyName": "productType", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": false, "label": "Product type", "min": 0, "max": 65535 }, "value": 5 }, { "endpoint": 0, "commandClass": 114, "commandClassName": "Manufacturer Specific", "property": "productId", "propertyName": "productId", "ccVersion": 2, "metadata": { "type": "number", "readable": true, "writeable": false, "label": "Product ID", "min": 0, "max": 65535 }, "value": 1 }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "duration", "propertyName": "duration", "ccVersion": 1, "metadata": { "type": "duration", "readable": true, "writeable": true, "label": "Remaining duration" } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "currentColor", "propertyKey": 0, "propertyName": "currentColor", "propertyKeyName": "Warm White", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": false, "description": "The current value of the Warm White color.", "label": "Current value (Warm White)", "min": 0, "max": 255 }, "value": 255 }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "currentColor", "propertyKey": 1, "propertyName": "currentColor", "propertyKeyName": "Cold White", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": false, "description": "The current value of the Cold White color.", "label": "Current value (Cold White)", "min": 0, "max": 255 }, "value": 0 }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "currentColor", "propertyKey": 2, "propertyName": "currentColor", "propertyKeyName": "Red", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": false, "description": "The current value of the Red color.", "label": "Current value (Red)", "min": 0, "max": 255 }, "value": 0 }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "currentColor", "propertyKey": 3, "propertyName": "currentColor", "propertyKeyName": "Green", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": false, "description": "The current value of the Green color.", "label": "Current value (Green)", "min": 0, "max": 255 }, "value": 0 }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "currentColor", "propertyKey": 4, "propertyName": "currentColor", "propertyKeyName": "Blue", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": false, "description": "The current value of the Blue color.", "label": "Current value (Blue)", "min": 0, "max": 255 }, "value": 0 }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "currentColor", "propertyName": "currentColor", "ccVersion": 1, "metadata": { "type": "any", "readable": true, "writeable": false, "label": "Current Color" }, "value": { "warmWhite": 255, "coldWhite": 0, "red": 0, "green": 0, "blue": 0 } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "hexColor", "propertyName": "hexColor", "ccVersion": 1, "metadata": { "type": "color", "readable": true, "writeable": true, "label": "RGB Color", "minLength": 6, "maxLength": 7 }, "value": "000000" }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "targetColor", "propertyKey": 0, "propertyName": "targetColor", "propertyKeyName": "Warm White", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "The target value of the Warm White color.", "label": "Target value (Warm White)", "min": 0, "max": 255 } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "targetColor", "propertyKey": 1, "propertyName": "targetColor", "propertyKeyName": "Cold White", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "The target value of the Cold White color.", "label": "Target value (Cold White)", "min": 0, "max": 255 } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "targetColor", "propertyKey": 2, "propertyName": "targetColor", "propertyKeyName": "Red", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "The target value of the Red color.", "label": "Target value (Red)", "min": 0, "max": 255 } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "targetColor", "propertyKey": 3, "propertyName": "targetColor", "propertyKeyName": "Green", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "The target value of the Green color.", "label": "Target value (Green)", "min": 0, "max": 255 } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "targetColor", "propertyKey": 4, "propertyName": "targetColor", "propertyKeyName": "Blue", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "The target value of the Blue color.", "label": "Target value (Blue)", "min": 0, "max": 255 } }, { "endpoint": 0, "commandClass": 51, "commandClassName": "Color Switch", "property": "targetColor", "propertyName": "targetColor", "ccVersion": 1, "metadata": { "type": "any", "readable": true, "writeable": true, "label": "Target Color", "valueChangeOptions": [ "transitionDuration" ] } }, { "endpoint": 0, "commandClass": 112, "commandClassName": "Configuration", "property": 2, "propertyName": "State after Power Loss", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "This state will be chosen when the power is restored", "label": "State after Power Loss", "default": 0, "min": 0, "max": 2, "states": { "0": "Previous state", "1": "On", "2": "Off" }, "valueSize": 1, "format": 1, "allowManualEntry": false, "isFromConfig": true }, "value": 0 }, { "endpoint": 0, "commandClass": 112, "commandClassName": "Configuration", "property": 81, "propertyName": "Color Adjustment (Warm White)", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "Changes the color temperature for warm white", "label": "Color Adjustment (Warm White)", "default": 2700, "min": 2700, "max": 4999, "unit": "K", "valueSize": 2, "format": 1, "allowManualEntry": true, "isFromConfig": true }, "value": 2700 }, { "endpoint": 0, "commandClass": 112, "commandClassName": "Configuration", "property": 82, "propertyName": "Color Adjustment (Cold White)", "ccVersion": 1, "metadata": { "type": "number", "readable": true, "writeable": true, "description": "Changes the color temperature for cold white", "label": "Color Adjustment (Cold White)", "default": 6500, "min": 5000, "max": 6500, "unit": "K", "valueSize": 2, "format": 1, "allowManualEntry": true, "isFromConfig": true }, "value": 6500 } ], "isFrequentListening": false, "maxDataRate": 100000, "supportedDataRates": [ 40000, 100000 ], "protocolVersion": 3, "supportsBeaming": true, "supportsSecurity": false, "nodeType": 1, "zwavePlusNodeType": 0, "zwavePlusRoleType": 5, "deviceClass": { "basic": { "key": 4, "label": "Routing Slave" }, "generic": { "key": 17, "label": "Multilevel Switch" }, "specific": { "key": 1, "label": "Multilevel Power Switch" }, "mandatorySupportedCCs": [ 32, 38, 39 ], "mandatoryControlledCCs": [] }, "commandClasses": [ { "id": 38, "name": "Multilevel Switch", "version": 2, "isSecure": false }, { "id": 94, "name": "Z-Wave Plus Info", "version": 2, "isSecure": false }, { "id": 133, "name": "Association", "version": 2, "isSecure": false }, { "id": 89, "name": "Association Group Information", "version": 1, "isSecure": false }, { "id": 134, "name": "Version", "version": 2, "isSecure": false }, { "id": 114, "name": "Manufacturer Specific", "version": 2, "isSecure": false }, { "id": 90, "name": "Device Reset Locally", "version": 1, "isSecure": false }, { "id": 51, "name": "Color Switch", "version": 1, "isSecure": false }, { "id": 112, "name": "Configuration", "version": 1, "isSecure": false }, { "id": 152, "name": "Security", "version": 1, "isSecure": true }, { "id": 122, "name": "Firmware Update Meta Data", "version": 2, "isSecure": false } ], "interviewStage": "Complete", "deviceDatabaseUrl": "https://devices.zwave-js.io/?jumpTo=0x031e:0x0005:0x0001:2.28", "statistics": { "commandsTX": 73, "commandsRX": 77, "commandsDroppedRX": 0, "commandsDroppedTX": 0, "timeoutResponse": 4 } } ] }
Additional information
No response
The text was updated successfully, but these errors were encountered: