Never ever )))
But a possibility of using a “config” object is mentioned in Docs - and “config.entity” is just a LITTLE example. Moreover, you can add OWN vars.
@sebbaT Thank you so much. I succeeded to make it work! It took me a while because I have no experience with styles and I saw that “style:” and “style: |” are different. In addition I use custom button card with templates… This is my final code, just in case anybody would like to use it… The code disables a cover slider-entity-row if the current_position is outside the limits, because it hasn’t been calibrated:
Could someone here help me figure out why the below (trying to use a background photo) doesn’t seem to be working?
Below is my lovelace code and below that is a screenshot. It just seems to be changing the background to black- I imagine because ha can’t find the image.
I have placed the image inside of ha by uploading on the media page under my media and images.
I don’t really understand how to find the true image path when I have uploaded an image in this manner. But I assumed it was this:
I have had issues with photo related things in the past (when a file path was involved). It could be duckdns related. The only time I have gotten photo related things with path to work was by using smb and connecting to pi file system from windows and placing files that way. – I was on home network when doing this also.
I will see if I have the same issue when on home network tonight.
Thank you for the ideas of things to look at.
I did not have a folder within www called “images” based on looking at the explorer inside of studio code server. But I created it.
I am now using the url below:
'/local/images/goodnight-moon.jpg'
Is this the same as config/www/images/goodnight-moon.jpg? or do I need to change my css to reference that location?
Thanks Marius. That has worked around the entities themselves. I’ve tried a few options (.title .heading .ha-card etc) to reduce the spacing and margins around the heading but they haven’t worked. There is a lot of white space around the heading.
Im working a bit aka playing…
With the plants etc
Sofar i got this working
Only at the value when it reaches…it
But my goal was as follow:
When it reaches the value 20% and below
It wanted it to show in red color
Any guidance?
Thnx…
Hello,
I just began playing around with card-mod and already struggeling with a simple task:
I just want and entity card with the current time in big numbers. However, after a certain size, the top gets cut off. How can I expand the value almost over the whole card (if possible) ?
Could someone give me a bit of assistance with the following:
Below is the yaml I have at the moment:
All works well but I would like to have the text of the room in yellow font.
Could someone help me with getting to that solution. I had help in getting the below style information from another forum post so to be honest, I didn’t come up with that either.
Thank you all for any assistance you can give.
1.)
If i use this setting ’ 20 ’
It does indeed work if it reaches that value it will show in red
But as it gets below 20 to whatever the default color shows
So ill suspect there needs to be set another value…
Im learning tho…