-
Notifications
You must be signed in to change notification settings - Fork 4
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
CSS Problems #6
Comments
Good morning,
There are no plans because I want to keep the MVG style This is how it should look |
Hello, thank you for the feedback. HA is the current version and I made my tests in an empty dashboard with the two card types. Another problem was that there was a conflict with the css class names with something else in my HA installation. I didn't see which component was the cause of the problem. But I could solve it by renaming some of the css class names in content-card-another-mvg.js
With this change I could solve the conflict. Also I've changed the color :-) Perhaps you could rename the css classes if you create another version in the future. If I find some time I will try to make the colors configurable. Perhaps I've found another issue. In Ebersberg we have the value 2a for Gleis. And this value will not be shown. Do you have an idea what is going wrong? I've attached a screenshot with the output for Ebersberg. Best regards, |
The big card is for single card pages
But this was only mentioned in the release note for an update. Maybe I should include it also in the normal documentation. Regarding the css classes, I will try to keep it in mind. Regarding the 2a. This looks like that platform is missing in departures.
in this case you will see the --- (if its not a Bus) Is it In this case (other than Gleis 1) the platform information is missing in the data provided by the MVG API |
I created a workaround for the missing track 2a in sensor.py replace the code mentioned in my last answer with this code
keep in mind that python doesnt allow TAB and you have to take care that the spaces in front of the code has to be the same than in the original code. After this you have to restart HA. This code assumes that if the platform is missing the departure is from Gleis 2a. |
I released a new version 28.05.2024 - Version 1.4.0
To update, replace all files with the new files and restart HA. |
Thank you very much. |
I've made some changes to content-card-another-mvg.js:
If the configuration looks like
it will take the colors from the configuration. I've attached the modified java script file. |
Nice idea, I will include it in the next version. :) |
Thx for the integration. It is the first MVV/MVG integration which is working.
I've added the two cards into my dashboard and I get some problems with the styling.
Are there plans to make the colors configurable?
Perhaps there is a conflict with the names (e.g. container) and it would make sense to change this names (e.g. amvg_container).
The text was updated successfully, but these errors were encountered: