Replies: 1 comment
-
|
It was 'color'. I used the UK spelling 'colour' in my JSON, changing these to 'color' has worked. That's mildly irritating, but I'm glad to have fixed it! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my JSON:
{ "Broadland Recycling": { "icon": "mdi:recycle", "colour": "grey" }, "Broadland Rubbish": { "icon": "mdi:trash-can", "colour": "green" }, "Broadland Garden": { "icon": "mdi:leaf", "colour": "brown" }, "Broadland Food": { "icon": "mdi:food-apple", "colour": "black" } }Home Assistant reports 'invalid JSON format' although online validators say it's okay.
I have tried saving this as a JSON file and pointing the integration to it in my config/www folder by using "/local/broadland_bin_colours/json", and also compressing it into one line and putting that one line of code into the JSON box when configuring the integration.
I'm stuck!
Beta Was this translation helpful? Give feedback.
All reactions