It is also possible that some custom cards called “minimalistic” are not related to that monstrous Minimalistic theme with tons of yaml settings. No idea about this particular minimalistic-area-card.
(I honestly see no benefits of this minimalistic-area-card in comparison to picture-glance or similar, but I only had a quick look at this custom card & most probably missed smth important)
I stand corrected. Please ignore what I wrote above about Minimalist
you are right this is GitHub - junalmeida/homeassistant-minimalistic-area-card: A minimalistic area card with sensors and buttons. and not to do with Minimalist cards / theme
I did play with this card before, and tried to use it for the exact use case you describe, replacing a picture-glance, but decided it was just not suited for my use case and went for the p-g in the end
Anyone a great idea on the above?
(The code is in the previous post)
you can not use anchors here.
you might be able to set variables (even per card or element) though and inject the variables into the configuration
a bit like this custom:button-card:
styles:
custom_fields:
# create a color for the cpu element
cpu:
- padding-bottom: 2px
- justify-self: start
- --cpu-color: >
[[[ var state = states['sensor.processor_use'].state;
if (state < 10) return 'green';
if (state < 25) return 'darkgreen';
if (state < 45) return 'orange';
if (state < 60) return 'maroon';
return 'var(--alert-color)'; ]]]
and use that in the final makeup:
custom_fields:
cpu: >
[[[ return `<ha-icon icon=mdi:server style='width:12px;'> </ha-icon>
Cpu: <span style='color: var(--cpu-color);'>
${helpers.localize(states['sensor.processor_use'])}</span>`; ]]]
aware this is not the same as your card, but the idea should help you check out if this can be done.
Have a little experience with cameras - may be some transformations are possible on a camera integration level?
I use this card because it allows me to put a frigate live camera feed as the background. so that way we can have a dashboard that tells us the temperature thermostat settings for our daughter’s bedroom. if there’s an easier way to do it this is just the only way I can find to do it using the minimalistic card
as stated above: why not give the HA card the was designed for this a try: Picture glance card - Home Assistant
I don’t see anywhere in that documentation about adding a live video feed for the background unless it’s just not documented?
NM I was searching for video not camera i see the options now… I will give this a try thank you… the title of this card is very misleading also who would have thought that Picture at a glance would support video, duhhh
Are you maybe solving the wrong problem here? In other words, is this some sort of combined feed of two cameras?
to me, the main advantage is the display of the entities, that get colors according to their state, and not are the pale white color picture-glance makes them to be. (still dont get why that design decision was made btw, might be another good WTH… )
ahum: WTH Why dont entities in the picture-glance use their state-color
It is a camera that has two lenses and they are used simultaneously, (there is no way to cancel one of them) and the produced feed by default is this (again there is no way of changing that)
But the above screenshot is a more-info popup, isn’t it. So long story short, what is the card-type and card-yaml, where you want to mod and only show part of the camera feed?
This only seems to show the icons and no text, I needed the text as it shows the temperature in her room not just an icon for temp that you have to click on to see the data. Is there a way to get the state value to show up not just the icon?
Isn’t it possible with “show_state: true” ?
Nice discovery. This is what I meant by a “some transformations are possible on a camera integration level”.
Otherwise it would be needed to use CSS properties like “height”, “translate()” etc, not to mention card-mod-themeing for popup.
like this you mean?
do as Ildar says
and please give it some effort… it’s all in the docs
but, no longer card_mod related, so hop over to some other thread for specific needs on the picture-entity card
You da man