-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Can not create item metadata config using openhab-js #108
Comments
Yes, they all ultimately call
When you develop a script, you can ignore
I am working on fixing this now |
Fixes openhab#108. Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Thank you, @florian-h05! |
Although itemMetadata is included as an option on the
createItem
function, that value does not seem to be used if I am reading this correctly.Additionally, there is a mismatch between the signatures for
addItem
,createItem
, andreplaceItem
, although it seems like they all ultimately callcreateItem
under the hood so it would be really nice if they had the same options. On a related note, it is not clear to me what the difference betweenaddItem
andcreateItem
is or what it means to me when I am developing a script.Expected Behavior
When creating an item using this library, I can configure any metadata I need.
Current Behavior
I am unable to create/configure metadata on an item. There is an ability to set the
value
of metadata, but i want to set theconfig
of metadata.Possible Solution
Steps to Reproduce (for Bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: