Closed sadiq81 closed 1 year ago
Is the library added to Home Assistant as a dashboard resource?
Add reference to mushroom-strategy.js in Dashboard. There's two way to do that:
Using UI:
Settings → Dashboards → More Options icon (3 dots) → Resources → Add Resource →
Set Url to /hacsfiles/mushroom-strategy/mushroom-strategy.js
Set Resourcetype to JavaScript-module
.
Note: If you do not see the Resources menu, you will need to enable Advanced Mode in your User Profile
Using YAML: Add following code to lovelace section.
resources:
- url: /hacsfiles/mushroom-strategy/mushroom-strategy.js
type: module
Use /local/mushroom-strategy.js
as url if you followed the manual installation instructions.
Also clear the cache of you client.
Thank you very much, I thought it was handled during installation.
Your welcome, I'm glad it worked out for you.
I'll have to admit these instructions in the readme aren't very clear at the moment since they are mentioned under manual installation.
@AalianKhan Can you update the readme in PR #7 ?
@sadiq81
Did you happen to see a Not loaded
header in HACS at all?
example
I don't think so.
I see, did you try reinstalling it?
I did a check myself by uninstalling the repository and installing it again. The dashboard resources where updated both times.
Let's hope this was a one-time quirk of HACS. But we can still add it to the readme as a hint.
Also having the issue... It worked a few times. Cleared caches - installed from HACS too many times.. It worked briefly - when I hid entities so they are not shown, hell broke lose. Even restoring the entities didnt bring it back
Error: Timeout waiting for strategy element ll-strategy-mushroom-strategy to be registered
strategy:
type: custom:mushroom-strategy
views: []
HACS shows its loaded
Any thoughts on this @AalianKhan ?
This mainly happens when the resource isn't loaded. Instructions on how to explicitly declare the resource are here
@RichardPar Are you still having this issue?
yep...
I had it running once ... I have re-installed so many times I lost count. I disappointingly gave up
Richard
On Thu, 15 Jun 2023 at 01:11, Aalian Khan @.***> wrote:
This mainly happens when the resource isn't loaded. Instructions on how to explicitly declare the resource are here https://github.com/AalianKhan/mushroom-strategy/issues/15#issuecomment-1515864915
@RichardPar https://github.com/RichardPar Are you still having this issue?
— Reply to this email directly, view it on GitHub https://github.com/AalianKhan/mushroom-strategy/issues/15#issuecomment-1592149786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI234PFIVAKWWLYZLTXEXTXLJHMDANCNFSM6AAAAAAXFAY57Q . You are receiving this because you were mentioned.Message ID: @.***>
I've created a pre-release which you could try. @RichardPar Any feedback would be appreciated.
Otherwise this issue will be closed for being fixed or stale.
Thanks!
This seems to work :D Now to play some more
Awesome. Keep in mind it's still an alpha release, so it's not fully tested. Closing this issue for now. Feel free to open any new issue when needed.
Describe the bug No UI elements is presented, only an error message after a short loading period
To Reproduce Steps to reproduce the behavior:
Expected behavior Dashboard is showing like in the video.
Screenshots &
Additional context N/A