Skip to content
New issue

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

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

Already on GitHub? # to your account

[jsonConfig]: darkStyle wrong type #443

Open
1 task done
Jey-Cee opened this issue Oct 6, 2024 · 1 comment
Open
1 task done

[jsonConfig]: darkStyle wrong type #443

Jey-Cee opened this issue Oct 6, 2024 · 1 comment
Assignees
Labels
schema 📖 JSON schema problems and updates

Comments

@Jey-Cee
Copy link

Jey-Cee commented Oct 6, 2024

No existing issues.

  • There is no existing issue for my request.

Problem location

ioBroker Log

Warning message

deconz has an invalid jsonConfig: [{"instancePath":"/items/_instruction/darkStyle","schemaPath":"#/properties/items/patternProperties/%5E.%2B/properties/darkStyle/type","keyword":"type","params":{"type":"string"},"message":"must be string"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match "else" schema"}]

Source link

https://github.com/ioBroker/adapter-react-v5/blob/ae00a551eb974fa64f4e95dd37f49e37c92570df/schemas/jsonConfig.json#L6341C46-L6341C52

Additional information

Should be type object as style it is

@mattreim
Copy link

"darkStyle": {
"description": "CSS style for dark mode",
"type": "string"
},

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
schema 📖 JSON schema problems and updates
Projects
None yet
Development

No branches or pull requests

3 participants