Skip to content
Discussion options

You must be logged in to vote

It won't work as-is, and it's not your setup. Two separate things are going on:

The real blocker is response shape. In v1.4.0 drydock standardized its collection endpoints to return { "data": [...], "total": ... } instead of WUD's bare arrays. wud-card was written against WUD's shape, so it calls .forEach() on our response object, that throws, and the card's own error handler reports it as "cannot reach the server". The red dot is misleading: your server is reachable (your browser test proves that), the card just can't parse what it gets back.

CORS is worth double checking anyway. DD_SERVER_CORS_ORIGIN has to be the exact origin your Home Assistant frontend is served from (e.g. http://hom…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by seebats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants