Closed andyblac closed 1 year ago
The Dashboard Resources needs to be setup first:
/local/custom_components/icloud3-event-log-card.js
On the Lovelace card, go to edit and raw yaml mode, use the code below:
type: custom:icloud3-event-log-card
an entry is already there.
Maybe so but it needs the /local/custom_component/
so it looks like the previous statement
removed old one and recreated, still not found
Create a lovelace card with just the following:
type: grid
cards:
- type: custom:icloud3-event-log-card
square: false
columns: 1
Also, make sure icloud-event-log-card.js is in the www/custom_components directory
// When iCloud3 starts, the version of this file, 'icloud3-event-log-card.js',
// in the 'custom_components\icloud3' directory (or the current directory of
// the icloud3 platform being run) is compared with the one in 'www/custom_cards'.
// If they do not match, the one in the 'custom_components\icloud3' is copied
// to the 'www\custom_cards' directory.
ok restarted, now sees it, thanks
Resources should have custom_cards
directory not custom_components
.
/local/custom_cards/icloud3-event-log-card.js
I've changed it in v3 and forgot what the directory was in v2
As the title, the resource is not found, any ideas whats wrong the JS file is
/config/www/custom_cards/icloud3-event-log-card.js