-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moon phase integration not recognized after 2024.4 update #122
Comments
I have the same problem with moon phases after the update. |
I have the same problem with moon phases after the update. |
Hi same issue and Furthemore, it is in English while the moon phase sensor gives the information in my native French language |
The same issue, but problems with Moon are language independent - it is always English only and wrong phase with "(!)" for sure it is HA core 2024.4.x dependent. |
No, it displayed that much before I installed the Moon integration. It's just the translation that needs the integration. |
Hey all, thanks for all the reports. |
I don't know how to fix it, just to add that it does not work even if forcing the language with the option instead of relying on the card getting the HA language. |
There is a typo in the code. Line 2740: var moon_phase_localized = i18n.localize("component.sensor.state.moon__phase.".concat(phase.state)); Double underscore in entity name |
...but fixing that does not solve the issue... |
I took a look at the moon source strings.json and it appears that line 2740 needs to be
Making that change fixed it for me |
I should add that I had to edit the gz file. That seems to be the one that is served |
@rmd-gh that worked for me too - even when I switched language to Polish By the way, you can remove the Perhaps PR it? |
Cache cleared and reloaded the page. Not working for me (in Dutch). |
works for me in Spanish, just by reloading the page, modifying .js and removing .gz |
thank you so much! |
Fixed it too! Thx @rmd-gh ! |
Whoever publishes the PR gets mentioned in the release notes! :) |
If anyone wants to do a PR, feel free. I don't know enough about building typescript to test, or using github to do that. The actual source location appears to be lovelace-horizon-card/src/utils/HelperFunctions.ts:32 |
Thanks so much, it also worked for the Italian version ! |
My settings are PL in general apart from language which is EN. The solution is working fine. I only had to convince ;) my browser to refresh the settings effectively. A restart of the core was insufficient. Neither was a common F5 or CTRL+F5. Cleaning the browser cache of past two hours was what only helped. It is just worth noting I think, in another browser that I did not use to use for HA, just after I logged in, there was no exclamation mark at all. |
I've try to do this fix, but for me not working in Italian language |
Can you help me @maatx for italian language? |
This issue is language independent, clear cache in browser. |
I've try to crear cache of browser and the app Homeassistant, but not working
…________________________________
From: nepozs ***@***.***>
Sent: Wednesday, April 17, 2024 10:08:53 PM
To: rejuvenate/lovelace-horizon-card ***@***.***>
Cc: Bilo2110 ***@***.***>; Comment ***@***.***>
Subject: Re: [rejuvenate/lovelace-horizon-card] Moon phase integration not recognized after 2024.4 update (Issue #122)
Can you help me @maatx<https://github.com/maatx> for italian language?
This issue is language independent, clear cache in browser.
—
Reply to this email directly, view it on GitHub<#122 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BA6FD6KFCSLX4KJNKKWBQ33Y53JFLAVCNFSM6AAAAABFWS5YFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSGEZTGMJVHA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Have you tried in secure/private mode? Or on another computer/laptop/phone? |
Maybe italian translation is incomplete? Does Moon integration work OK? |
I've try whit private mode in Chrome by smartphone, but same problem |
Moon integration work, and give me correct italian translation. Not work in this card. |
Perhaps, if not yet attempted, you could try with changing the language for a while with
followed each time by restarting the Core and browser cache/history cleaning (or private mode). |
Wait wait wait... After deleting the .gz file, edit line 2740, cleared cache, finally WORK!!!
Thx for all
…________________________________
From: jm314159 ***@***.***>
Sent: Wednesday, April 17, 2024 10:51:12 PM
To: rejuvenate/lovelace-horizon-card ***@***.***>
Cc: Bilo2110 ***@***.***>; Comment ***@***.***>
Subject: Re: [rejuvenate/lovelace-horizon-card] Moon phase integration not recognized after 2024.4 update (Issue #122)
Perhaps, if not yet attempted, you could try with changing the language for a while with
language: en
or setting the least config
type: custom:horizon-card
fields:
moon_phase: true
followed each time by restarting the Core and browser cache/history cleaning (or private mode).
—
Reply to this email directly, view it on GitHub<#122 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BA6FD6MGTN3WAJFO4HHGGXDY53OEBAVCNFSM6AAAAABFWS5YFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSGI4DEMRRGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Well, indeed, I forgot that step in my first message. I have also recreated .gz Congrats to you! :) |
Hello everyone, sadly I didn't have the time to merge this one yet (or rather other PRs I want to publish alongside this fix). |
Hey all, https://github.com/rejuvenate/lovelace-horizon-card/actions/runs/8807266271 |
Nor I am… sorry, looks it needs more changes… |
Hacs give me update from v1.0.0 to v1.0.0.. is possible?
…________________________________
From: nepozs ***@***.***>
Sent: Wednesday, April 24, 2024 2:46:45 AM
To: rejuvenate/lovelace-horizon-card ***@***.***>
Cc: Bilo2110 ***@***.***>; Comment ***@***.***>
Subject: Re: [rejuvenate/lovelace-horizon-card] Moon phase integration not recognized after 2024.4 update (Issue #122)
Nor I am… sorry, looks it needs more changes…
—
Reply to this email directly, view it on GitHub<#122 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BA6FD6JMWDG2MUNCTKSES73Y636HLAVCNFSM6AAAAABFWS5YFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTG4ZTSMJWGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Same in German. After editing line 2740 and delete *.gz it work now. Thank you guys |
@avataar @edwardtfn are you guys around to have a look at this? |
Quick fix using Card Mod without modifying files (English only):
|
Quick fix with modifying file (incl. localized) from terminal/ssh:
Clear your browser cache and reload afterwards! |
I already fixed it, PR is still open. Meanwhile you could try it with my repo. It's released here: |
Looking forward to the PR that fixes this being merged. |
Dear all, This repository is hosted under the rejuvenate organization. We are always open to new contributions and happy for anyone participating in discussions and the review process! If you are a passionate js/ts developer and would like to be more involved with this project please also check the open feature suggestions ;) Cheers! |
After 2024.4 update, "(!)" appeared next to moon phase. I reinstalled Moon integration, I reinstalled Horizon card, did HA restart several times, and the "(!)" still won't go away.
The text was updated successfully, but these errors were encountered: