#frontend-archived

1 messages · Page 42 of 1

vast crane
#

and it breaks everything

civic brook
#

Thank you, put there the normal one and getting informations now

calm hull
#

I need some Help with the totp login...

civic brook
#

Now just wait for rasberry pi, solar assistant and put solars there

calm hull
#

i cant login anymore with my 2nd browser

upper dew
#

does anybody know how to remove the state of entities in an entity filter. It is for a sensor. The state is green but I dont need it to say that in the filter as all of them are going to be green: https://imgur.com/a/gQtDLTQ

#

so it will say:
Green
Green
Green
Green
Green

The value of the sensor was only intended to be seen by me and used by the filter

#

i tried show_state: false but no luck. Starting to think it can only be used on glance entity filter

upper dew
#

I managed to find a solution using template-entity-row mod

steep sail
#

Evening!
Not sure what it is called in English, but I'm using Chips and wonder if it somehow is possible to create a "Hold action" that opens up more "Chips" next to it?

Kind of like "reaction" on many applications, if you get what I mean.

pallid zephyr
#

I'm trying to create a second lovelace dashboard and have it show up in the sidebar. I tried to follow https://ui-lovelace-minimalist.github.io/UI/setup/customizing/#add-multiple-dashboards and reloaded all YAML, but the second dashboard doesn't appear in the sidebar or in Settings/Dashboards. ui-lovelace_2.yaml has the same header stuff as mentioned on the page and includes one view. Said view seems to work fine if included as a tab on my main lovelace dashboard. Nothing in the HA log. One thing I'm unclear about is whether the name lovelace-minimalist-2, under dashboards: in configuration.yaml, has any significance, because they don't seem to refer to anything by that name.

#

Looks like it just needed a full HA restart.

zenith stag
pallid zephyr
#

I blame the Windows influence. "Oh, just reboot."

willow berry
#

I am trying to create a car travel log like start home stop somewhere. Anyone know if already exist ?

upper dew
#

I have this card working nicely using template-entity-row and card-mod https://www.dpaste.org/09ohb Except i really wanted it to sort by when last change. So i did some googling and came across auto-entities which can do sorting. However i cant figure out how to use template-entity-row/card-mod the same way for the filtered entities in auto-entities. I managed to make this: https://www.dpaste.org/o8wgb which sorts how I want but it basically bypasses the filter part of auto-entities. so all entities show all the time.

so I can either sort them and show all of them or filter them properly and not sort them.
Would anybody know how i can achieve what im looking for?

celest karma
#

Hello, how can I make a color of a button (in CSS) change on a white and dark theme basis, using car-mod 3?

ha-card {
  z-Index: 1;
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: calc(100% - 20px);

  background: #2B2B2B;
  border-radius: 100px;
  padding: 10px;
}
tall sage
#

can i limit who can see what entites? or have a custom dashboard for that person?

upper dew
tall sage
#

no idea why this is here or how to get rid of it.

upper dew
#

What is that?

tall sage
#

some random group of lights

upper dew
#

woah how did you post that usually have to use imgur

tall sage
#

honestly no idea

#

just pasted the image off my clipboard

#

maybe it's a channel specific thing

#

yeah you can upload files here

upper dew
tall sage
#

a card on overview

upper dew
#

are you saying you have no idea what any of them are?

tall sage
#

i have no idea why they're there or how i can remove them

upper dew
#

go to settings > devices & services > devices find them click on it then from there you can disable/delete them

#

the razer stuff must be a keyboard and mouse. maybe rgb control? Someone on your network got anything like that?

#

@tall sage

tall sage
#

i know what lights they are just didn't put them there

upper dew
#

overview by default puts everything new into it i think you can change that behaviour in settings> dashboards > overview

tall sage
#

i'm not able to edit the overview on it's own. seems i have to create a whole new dashboard

upper dew
#

yeah you know what i dont remember how i did it now

#

but why not just edit the dashboard and remove the card?

tall sage
#

because these are the options for the overview

#

i can't just remove it

upper dew
#

its the pencil icon on the top right when you click the dashboard that you are looking for not editing the dashboard per se but rather the tab i guess

tall sage
#

you can't edit overview

upper dew
#

you can. i have

#

I think you must be clicking the wrong thing

tall sage
#

this guy right?

upper dew
#

yeah then what next

tall sage
#

i cannot make this any more clear

upper dew
#

Okay well don't give up its definitely possible one way or another

tall sage
#

i just made my own dashboard.

upper dew
#

that works i guess

#

you can hide the overview one by holding home assistant at the top of the sidebar

upper dew
scenic current
#
  variable_template:
    variables:
      var_assist_group: group.assist_satellites
      var_assistsat_default: |-
        [[[
          return hass.states[variables.var_assist_group].attributes.entity_id
             .find((eid) => hass.states[eid].attributes.type === "view_audio")
        ]]] 

I could use some JS help. I'm wanting to pull the first item in the group that has an attribute type whose value is view_audio . I modified something else I had to come up with this but this is not returning anything. Can someone tell me what I am doing wrong?

#

This is being used with custom button card

#

This is the error

ButtonCardJSTemplateError: ReferenceError: var_assistsat_default is not defined in 'return var_assistsat_default'
#

when I try to use it I mean

shadow nymph
#

Does anyone have suggestions for debugging .yaml files? I'm trying to build my dashboard with !include but for some reason they're not showing up on the dashboard and I'm not sure why

dark dirge
#

Are you managing your dashboard in YAML mode?

shadow nymph
#

Yes

#

I suspect it has to do with how I'm trying to break things out

#

Because if I just copy and paste everything into one file, it works

#

Okay, so doing

type: custom:mushroom-chips-card
chips: 
  !include location_chips.yaml

Works. However when I try to do

type: custom:mushroom-chips-card
chips: 
  !include location_chips.yaml
  !include door_chips.yaml

It fails. Both YAML files are a list of - template's

#

I also tried

type: custom:mushroom-chips-card
chips: 
  - !include location_chips.yaml
  - !include door_chips.yaml

but then it just doesn't load that content at all (I think due to the -)

#

Ahh, the problem is that I need to use !include_dir_merge_list

night beacon
#

How can I make a timestamp sensor not show relative time on the dashboard? I want to know what the clock is when it's finished.

narrow karma
#

anyone can tell me where i can find the dashboard yaml files ... i edited a dashboard and added fullscreen to it , now i'm no longer able to edit the raw config , woeps

night beacon
steep sail
#

Or actually maybe..

civic brook
#

Hello, i would like to have quick question:
We have home power on 3 phaes, so import A,B,C, can i in code somehow add them up?
So like on the screen have:
Sensors.A + Sensor.B + Sensor.C
Thank you

last echo
#

what could be here the problem

vital burrow
zenith stag
#

Or whatever name you like to use

scenic current
#

Many moons ago karwosts answered my question about finding a group member:

Well we can get the entity id of the first group member that meets that criteria with this:

const entityId = hass.states['group.assist_satellites'].attributes.entity_id
  .find((eid) => hass.states[eid].attributes.mic_device === hass.states['sensor.assist_last_called'].state)

I am trying to do something similar but not getting results:

#
variables:
      var_assist_group: group.assist_satellites
      var_assistsat_default: |-
        [[[
          return hass.states[variables.var_assist_group].attributes.entity_id
             .find((eid) => hass.states[eid].attributes.type === "view_audio")
        ]]]
#

The error shows:

ButtonCardJSTemplateError: ReferenceError: var_assistsat_default is not defined in 'return var_assistsat_default'

When I try using the var_assistsat_default in a view

#

I am trying to get the first group member that has attribute 'type' that has a value of "view_audio"

scenic current
#

Please disregard . I forgot what my good friend @tribal galleon told me about how JS processes the variables in alphabetical order. Simply changing my variable name from var_assistsat_default to var_default fixed my issue.

upper dew
#

hello - I have this card working nicely using template-entity-row and card-mod https://www.dpaste.org/09ohb Except i really wanted it to sort by when last change. So i did some googling and came across auto-entities which can do sorting. However i cant figure out how to use template-entity-row/card-mod the same way for the filtered entities in auto-entities. I managed to make this: https://www.dpaste.org/o8wgb which sorts how I want but it basically bypasses the filter part of auto-entities. so all entities show all the time.

so I can either sort them and show all of them or filter them properly and not sort them.
Would anybody know how i can achieve what im looking for?

civic brook
slow bison
#

Hello, when i tap on an image inside a picture elements card, the active image shows this ugly black circle in the background. Can i remove this? Edit: This appears only on the PC in the browser using the mouse.

limpid kestrel
#

has anyone been able to make a dynamic widget on ios?

#

I was trying to make something that just toggles between these 5 in a singular action but couldn’t get it to work

#

so i was wondering if it’s even possible lol

limpid kestrel
#

also when you add actions to siri, do they work even with homepods?

#

or is it just your phones local siri

tribal galleon
limpid kestrel
#

thank you!

golden mistBOT
#

@civic brook I converted your message into a file since it's above 15 lines :+1:

civic brook
zealous heart
#

hello, I m feeling dumb but how can I update the lovelace setting ?

vague blaze
zealous heart
#

I m searching everywhere and I can't found ui-lovelace.yaml

#

should be there www/custom-lovelace/ and it's not there

#

everything is done except the

This goes into ui-lovelace.yaml under "resources:"
`
resources:

  • url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.1
    type: js`
lyric prairie
#

Those instructions are at least not updated for 2 years. If your primary dashboard is GUI based HACS handles the resources automatically

vague blaze
#

That card is ancient... (Maybe through HACS, it seems). But, you can create a custom_components directory in your root config folder and install it there.

zealous heart
#

when I try to use it I got this error:
Configuration errors detected:
No type provided.

lyric prairie
#

The hyphen is not needed in the GUI editor

zealous heart
#

HOLYYY:

#

thanks

tribal galleon
# lyric prairie The hyphen is not needed in the GUI editor

I've noticed a fair amount of custom cards like to show example code beginning with the hyphen. It would make sense to have it if the card is included in a stack or grid, but it usually messes people up more than anything else especially, like you mentioned, working with the GUI editor.

rugged hamlet
#

Does anyone here have a nice persons card for iPhone home assistant app / tablet dashboard I could copy please? 🙏 something that doesn’t use iCloud v3 hacks integration (I didn’t wanna give it my login). Thank you for any help! Also interested in any nice dashboards I could copy!

rugged hamlet
#

Unfortunately I tried some before including the very first one posted but could never get them to work

#

I’m not sure what to change here. Or if the first option is meant to work with iPhone. Anywhere I saw person.xxx I changed to my person entity but that’s all I changed

vague blaze
#

You need to have the proximity integration installed and set up.

golden mistBOT
rugged hamlet
#

Ok I set that up although the service configuration only shows feet and not an option to change to Miles. Where would I inject that service into the code please?

golden mirage
rugged hamlet
#

How do I best share the code here? It goes past the limit by 24 lines

tribal galleon
#

@rugged hamlet Check all of the entity names. You may have missed one: proximity.ad_home

rugged hamlet
#

I don’t know what value I’m supposed to give for that sensor, can you please tell me? I set up the proximity integration someone mentioned but that gives a different format entity: sensor.travel_time_to_work

golden mistBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

rugged hamlet
tribal galleon
#

Are you sure the sensor.travel_time_to_work entity came from the Proximity integration? That looks like something the Waze Travel Time integration would make. Go to Settings > Devices and Services > Integrations tab > Proximity to see what entities it gives.

#

What do you have at the very end of the YAML? This doesn't look right. ```yaml
}
]]]

  }
]]]```Once you figure out the entity name, you'll probably also need to delete the last two lines.
#

And, you still have some entities not correct. For example, in the battery section, you have sensor.ad_s9_aim_battery_level, but the original code's sensor.mobile_battery_level is still there.

heavy grove
tribal galleon
#

Yeah, but I don't think it is being reported yet due to the invalid entity names.

#

I remember the thread that gold dude is referencing. I made this a long time ago.

heavy grove
rugged hamlet
#

Where it says sensor.mobile_wifi_connection would I need to change it to my iPhone entity? And other things that say “mobile” such as battery level?

polar kelp
# zealous heart when I try to use it I got this error: Configuration errors detected: No type pr...

Hi. I usually try to go in an request an update to the documentation whenever I find things like this, but I'm hesitant here since the card hasn't been updated in years.
Why did you want this version specifically, and not the upstream one at https://github.com/custom-cards/upcoming-media-card ?

GitHub

📺 A card to display upcoming episodes and movies from services like: Plex, Kodi, Radarr, Sonarr, and Trakt. - custom-cards/upcoming-media-card

zealous heart
#

dwain Dashboard*

rugged hamlet
zealous heart
#

If there is a new version I ll try it, I need the new media added from Jellyfin 😉

tribal galleon
#

I would also change the grid-template-areas to

- grid-template-areas: '"icon icon" "n n" "battery proximity" "wifi status" "sd sd"'```and the `status` layout to ```yaml
status:
  - padding: 0.5em 0px
  - align-self: middle
  - justify-self: start
  - color: gray
```This will move the Home status custom_field down to the bottom right corner and allow the icon to use the whole space. (It's mentioned in the thread as being an issue.)
golden mirage
#

browser_mod popup can not use variables: in custom:button-card

tribal galleon
# golden mirage browser_mod popup can not use variables: in custom:button-card

Are you referring to custom:button-card's internal variables? They seem to work for me. (Manually running an automation using browser_mod.popup service. Popup appears on remote screen but no screen capture available on it.) yaml type: custom:button-card entity: "[[[ return variables.test_var ]]]" show_label: true label: "[[[ return variables.test_label ]]]" variables: test_var: person.derek test_label: "Variables work for me."

golden mirage
#

i will try again, thanks

tribal galleon
#

I didn't try the fire-dom-event but can check that too if that's what you're using.

golden mirage
#

I don't use fire-dom-event
I just tried and it working
Thanks

fathom wagon
#

I am trying to create a custom-button template that has 2 input booleans 'in' it ... I have searched everything I can think of keyword-wize but it always comes up with nothing that I am looking for ... does anyone have a good example or a link on how I'd acomplish that?

#

(best i could chicken-scratch)

tribal galleon
fathom wagon
#

interesting.. thanks!

tribal galleon
#

You could also consider a stack-in-card and "combine" individual cards into one. I haven't tried this fork yet. The one that I use is outdated but I still make it work. The dev recommends this one: https://github.com/stickpin/stack-in-card

fathom wagon
#

I'll be damned if this isn't almost what I'm looking for, actually .. I think I can work this out

#

just gotta get the width of the boolean and positioned a little higher and we're good

#

thanks man!

fathom wagon
#

if you have any pointers on minimizing the padding between the rows, and the top of the button-card I'd appreciate it

#

basically got what I want, it just pushes the name of my button off the card

lyric prairie
#

Check the margins of the inside elements or the padding of the card

fathom wagon
#

I got the padding fixed, just gotta make them closer together

tribal galleon
#

@fathom wagon Post your code to show what you're working with. If you want, start a thread where the bot won't eat your code or post it on a code site.

vital burrow
#

Are you sure you wanted to share a Google ID and secret?

#

And some company communication

fathom wagon
#

@DeadlyPantsD Post your code to show

spark spear
#

Mmm didn't realize that was in there I'll see to resent that ha

#

How do I unshare ?

#

Also realized was the wrong code I'll read do it with the secret then

spark spear
vital burrow
#

You can delete your message with the file.

#

Via the ... menu

tame sandal
#

Hello!
Can someone help me? I'm struggling with add background to one of section (new type of dashboard). Is it even possible?
Or how can I make kinda background for vertical-stack?

tacit cave
#

you can't alter the background of cards without card-mod or something custom

golden mistBOT
#

@spark spear I converted your message into a file since it's above 15 lines :+1:

spark spear
tacit cave
#

describe your problem

fathom wagon
#

I have a feeling he's not seeing state1, 2 or 3

lyric prairie
#

to access the state you need states[entity_id].state

tacit cave
#

Well there's alot wrong with it, that's why I asked for clarification

#

the grid doesn't contain the custom fields

#

there's no styling for the custom fields

#

all the non custom field styling is in the wrong spot

fathom wagon
#

touche

spark spear
tacit cave
#

use the syntax that Bas posted above

#

for state1 2 and 3

#

e.g. return states['sensor.system_monitor_disk_usage'].state;

fathom wagon
#

should probably add them to grid-template-areas also

spark spear
#

I was following the one YouTuber and it is a bit confusing

rugged hamlet
hidden needle
#

is it possible to adjust a CSS value for just a dashboard without creating an entire theme? Want to adjust the ha-view-sections-column-gap: 10px for the new sections, since the gaps are too large

I'm trying to do it straight in config.yaml based on this https://community.home-assistant.io/t/customize-gap-between-new-sections-dashboard-layout/701480/5, but getting an indentation error.

frontend:
  themes: !include_dir_merge_named themes
    google_theme:
      ha-view-sections-column-gap: 7px #indentation error here
      row-height: 0px
scenic current
#
type: custom:button-card
variables:
  background: "/local/viewassist/announcebird.png"
template:
  - variable_template
  - body_template
  card:
    - background: center / cover no-repeat  url({{background}})
    - background-size: cover

I'm trying to move my card background image to a variable definition and call it in the card definition. Not working. Am I way off?

misty lagoon
#

is there a way to have like a grid of 4 columns, and have one card be 3 of those columns, and the last card be 1 of those columns?

lyric prairie
tribal galleon
tribal galleon
tribal galleon
scenic current
scenic current
scenic current
tacit cave
#

you're going to need to use JS templates

tribal galleon
fathom wagon
#

d_sellers1… I’m havin the dangedest time trying to get the button card to do what I want, but I haven’t given up hope

#

I got it looking good on the PC, but looks like crap on mobile, and vice-versa. I have gone with the custom button layout vs entities because of scalability on the screen

#

I think if I have enough time and brain left I’m gonna try a grid style version and use 90% for a label, then 10% for the button per row

zenith stag
scenic current
zenith stag
#

cool 🙂 Yeah I'm slowly getting back into the game too haha
Needed some time off to focus on other parts of life XD

golden mistBOT
#

@spark spear I converted your message into a file since it's above 15 lines :+1:

spark spear
#

This is what I got as code now see above
Want to achieve

vital burrow
zenith stag
rugged vector
#

hi @vital burrow

vital burrow
misty lagoon
#

i have a dashboard that i use for a tablet on my wall and it's being shown through the Fully Kiosk app. im not sure what the trigger is, but sometimes it will show as a single column, and sometimes it will show as two columns. i want it to be two columns so that everything shows without needing to scroll. is there anyway to force the two columns? or am I just gonna have to be at the mercy of the app making it's own decision on how to display the cards?

fathom wagon
#

@tribal galleon Here is what I ended up with using the example that you gave earlier this morning:

#

it looks the same on mobile too!

fickle mason
#

Hello! I have never posted here before and am wondering if anyone knows why the tile card position slider for covers seems to be opposite of others. For example, the left most position is 100% and the right most is 0%. Feels backwards to me?

vast crane
spark spear
zenith stag
golden mirage
#

I have card
On browser on laptop can swipe
On HASS app on moblie can't swipe.

spark spear
spark spear
#

i want the 3 stats to be displayed lstat1 start stat2 middle and stat3 end so it shows all the 3 in the corners and middle does that make sence

zenith stag
#

you need to define your columns under grid for that to work I think. Add - grid-template-columns: 1fr 1fr 1fr

#

that should give you this grid

spark spear
#

ok ill have a look

tribal galleon
#

Almost seems like re-inventing the wheel: custom:bar-card... (Cards can be embedded into the custom:button-card as custom_fields.) Screenshot from testing. Even incorporated it into an auto-entities card.

zenith stag
#

I was going to say that too, but then again, his code is pretty simple for a simple thing. Maybe that's better than embedding yet another custom card?

spark spear
#

ill have a look at the custombar-card too then 😄

rugged vector
#

Hello, @spark spear

spark spear
fathom wagon
#

is it possible to 'embed' mdi icons in custom button-card names without using <ha-icon> ?

lyric prairie
#

Yes in the icon area

fathom wagon
#

i've included the url and type in my resources, using <i> italices the text, and <img> doesnt render

fathom wagon
lyric prairie
#

But if you want to use html tags you need <ha-icon to render the mdi-icons

fathom wagon
#

ex:

name: >-
  [[[
    if (states['input_boolean.testbool'].state === 'off') {
      return `<span class="material-icons md-18">light</span>Lights`;
    } else {
      return `Lights (Auto)`;
    }
  ]]]
tacit cave
#

you have to embed the svg

fathom wagon
#

aww man that sucks

tacit cave
#

otherwise if you want to use mdi icons, you need to use ha-icon

#

unless the field accepts icons

#

why does that suck? what are you trying to do?

#

if you want custom icons, use the font awesome custom integration and add your own icons

#

otherwise, using ha-icon has no drawbacks

lyric prairie
#

I mostly use the icon area and name area on 1 row and add it without tags

#

So I can utilize the engine for button card itself

tacit cave
#

I pretty much always hide the icons and go straight custom fields

#

the imgcell is too much of a PITA to deal with, where ha-icons are much easier

fathom wagon
#

hang on lemme start a thread and show you what I have

lyric prairie
#

Yeah, agree if you dont need the extra styling options

fathom wagon
#

why does that suck? what are you trying

zenith stag
tacit cave
#

it's easier for me, not sure about others.

#

if we had a button card that was just a grid you could modify and it accepted cards and js, I'd be happy

lyric prairie
#

You can but it involves nesting multiple button-cards

tacit cave
#

you can do it without nesting cards

#

My point was that I don't need all the fluff custom button card provides

#

I'd just need a button that has a css grid

#

the rest would be css & js done by me

tacit cave
#

you've been asking that question for days, someone will reply just be patient. If someone knew, they would reply

#

sections is new, not many veterans use it or know the CSS off hand, you may be on your own for some time

hidden needle
vast crane
#

Seems like you're asking for help related to a feature that you invented in your imagination and doesn't exist. So that's likely why nobody knows about it.

hidden needle
vast crane
#

I would just assume this is not possible.

hidden needle
#

got it. I can stick with that. So the correct process is just to create myself a theme, right?

vast crane
#

I would duplicate the original plus whatever change you want to make.

hidden needle
#

cool. I was just looking for confirmation before committing, to avoid getting myself into more issues down the road.

minor rapids
#

I think I’m missing something really silly because it isn’t showing anything on my cards but I cant figure it out. (Will swap titles out for media player cards once I get it working). Thanks for the help!

type: custom:state-switch
entity: template
template: >
  {% if is_state('media_player.master_suite', "playing") %} A {% elif
  is_state('media_player.master_streamer,'playing') %} B {% else %} C {%endif%}
states:
  A:
    type: custom:mushroom-title-card
    title: A
  B:
    type: custom:mushroom-title-card
    title: B
  C:
    type: custom:mushroom-title-card
    title: C

zenith stag
#

@hidden needle can an option be to use -includes in the theme yaml instead? to split it up.
I'm not experienced in child themes so don't know your purpose

hidden needle
#

I was now looking if it was possible to use card mod on a dashboard level, to change a CSS variable for an entire dashboard

tacit cave
hidden needle
zenith stag
#

@tacit cave do you remember that function where you reference yaml in a seperate file and edit it. Not talking about includes or anchors, there is another option. Cannot remember the name

tacit cave
#

Not sure what you're talking about outside !include

zenith stag
#

been speaking about it before, trying to find.
Meanwile I trying to use !include right now in the theme, but not going to well.

minor rapids
zenith stag
#

Found it! Merge Keys

tacit cave
#

you can also use -%} to remove trailing or {%- for leading whitespace

zenith stag
hidden needle
zenith stag
#

I don't think so, I'm using !includes in my dashboards to seperate big chunks of code sometimes

minor rapids
tacit cave
#

ah yep, now I see it 😉

#

good eye

hidden needle
#

at least the theme key should go, but I don't think that can be done without tweaking the original theme file

zenith stag
#

I wsa trying the other way round, to include and custom changes into the original theme file. But cannot get it work

fathom wagon
#

do you think its because there's a space in your theme name? 'Google Theme' vs Google_Theme

#

(stab in the dark)

hidden needle
fathom wagon
hidden needle
#

oh crap, I thought I was there lol xD

long yacht
#

Is it possible to assign line colors in the History graph card?

long yacht
#

I think the link appears to say it can be done. With themes? Let me make sure I'm not asking about wrong things. I have two cards, One has the temperature, one has the humidity from the same physical source. I would like both lines to be the same color when there are multiple entities on a given card.

tacit cave
#

card mod while utilizing the solution in that thread

#

but you'll have to make sure your entity order relates to what you're card-modding

#

the theme variables can be overriden with card mod

#

if you didn't follow what I'm saying

long yacht
#

Hmm...so, that goes in the yaml of the card?

entities:
  - entity: sensor.outdoor_case_humidity
title: Humidity in case
hours_to_show: 48
view_layout:
  grid-area: c15```
quaint willow
#

Hello everyone,
I tried to create a 3D dashboard.
I installed 'Config Template Card' via HACS and created this code in connection with a YouTube video.
My data synchronization takes place with Samba, the folders are all set up correctly.

Unfortunately the overview doesn't load, nothing appears, can someone help me?

I have read all the tickets in github from the creator but I haven't found a solution

thanks in advance

https://hastebin.com/share/naziwigiwe.yaml

tall monolith
#

what youtube video? what's 3d about the dashboard?

quaint willow
#

I have created images with sweethome3d and would like to switch lights on and off which can then be seen in the image

tall monolith
#

ok, so "3d"

#

looks like a fun project, I guess.

quaint willow
#

yes I'll try it out with the bedroom first and would like to rebuild the house in the future and be able to switch lights, sockets and everything else

tall monolith
#

it doesn't really mesh up with what I want out of my smarthome, but I can at least see why you like it

#

have you tried reaching out to the youtuber?

quaint willow
#

Having a large tablet in the entrance to the house and being able to control everything is just great, I'm an electrician and build alarm systems and would like to add something like that in the future. Large manufacturers have KNX boards that should make this possible

quaint willow
tall monolith
#

that video is 2 years old

#

there have been pages and pages of breaking changes since then, I'm not surprised it didn't just work

quaint willow
#

there are new comments that are not older than 1-2 months. It has worked for all of them so far

tall monolith
#

not to mention that I'd be stunned if your entities had the same names as his

quaint willow
#

no i edit my entities and image names

#

the basic configuration is the same, I don't know where the error is that the images are not recognized.

I have already inserted other images in other projects with samba

#

but thanks for your help

tall monolith
#

sure. Sorry it wasn't actually useful

#

is there an actual error in a log? or just a blank card that you don't know how to troubleshoot?

quaint willow
#

it looks like this

tall monolith
#

what does the code editor view look like?

quaint willow
quaint willow
#

What I noticed is that I downloaded another template from hacs and this is displayed as a custom card. The template I needed wasn't displayed, so I deleted it and reinstalled it. Nothing happend

tepid locust
#

Weird question. I'm running Docker. Is there any way to run a second frontend for the same instance?

#

I got a Lenovo SmartThink View to use with HA, but it loads too slowly with all the frontend modules I've added. I'm thinking I could use a second frontend and remove all the HACS modules it doesn't need.

vague blaze
tepid locust
#

At least that's my assumption on why it's slow.

#

I'll probably spin up a second container and use Remote Home Assistant to sync them, but I'd prefer if I didn't have to haha.

vague blaze
tepid locust
#

38 modules total. I have no issues with my other devices but this display only has 2GB of memory.

vague blaze
#

Yeah... I think you're right in that it's loading all the js for everything you have. I don't have a good solution here (aside from getting a better tablet? lol)

tepid locust
#

Haha I'm not going to do that, these things were dirt cheap given the specs.

I did notice with 2024.2, the browser memory usage for the frontend spiked on all my devices, but it seemed like a memory leak and I don't think that's the cause here.

Could also be because this is a 32-bit OS, though. Wonder if that causes any issues with the JavaScript.

vague blaze
stuck spire
#

anyone figure out a good way to do subheadings in the sections view?

#

or pretty much just the markdown card

north wave
#

Hey. I've a question. Is there a way to construct an URL that opens specific device editor?

dark dirge
#

What is a 'specific device editor'?

north wave
#

If I have a light, for example, I'd like to have an URL to open it's configuration (brightness/color etc). Usually you can see it when you tap the icon on the dashboard. For sensors there is a graph, for things like buttons and lights — controls.

dark dirge
#

That's generally called the more-info dialog

north wave
#

oh, OK, sorry. Is there a way to construct a URL for that? So that I open it in the browser, and it opens automatically? For entityId, or deviceId, or some other identifier.

dark dirge
tribal galleon
#

Perhaps the custom:more-info card?

dark dirge
#

It's not a page by itself and doesn't have a specific URL

north wave
#

It's not a page by itself and doesn't have a specific URL

Yeah, I was afraid of that.

Maybe there is another, similar page that does have a URL?

tribal galleon
#

@north wave Depending on your usage, the custom:more-info card may do what you want. Here, I made a new view and set it to One-Card mode. The more-info card has a defined entity, but you can use the URL specifically for that view. http://10.10.10.2:8123/dashboard-lab/more-info (I called the view more-info on the dashboard named dashboard-lab).
Or, perhaps, you set the one card as a Grid with two columns and show two more-info cards.
The more-info can be called from tap_actions and (I think) can be set to show the more-info of a different entity. If you're looking at being able to get to a bunch of different more-info pages, then that may complicate things a bit.

tribal galleon
# scenic current Just tried it. Didn't work like this: ``` - background: center / cover no-repea...

Revisiting this. Template literal is the way to go. So your initial code (which wouldn't work because it was a matter of getting the background line to reference the variable) was : ```yaml
type: custom:button-card
variables:
background: "/local/viewassist/announcebird.png"
template:

  • variable_template
  • body_template
    card:
    • background: center / cover no-repeat url({{background}})
    • background-size: coverThe fix is:yaml
  • background: "[[[ return center / cover no-repeat url(${variables.background}) ]]]"```
#

Note the backticks inside the double quotes; those are not single quotes.

zenith stag
#

sneak peak of the latest home view 🙂 Not sure how I feel about the cards scrolling behind the footer menu. A bit messy with all the layers. Might try again with some blur but if I remember correct I could not get that CSS to work in the iOS app.

tribal galleon
#

Could you apply some opacity to the background color of the footer menu in lieu of the blur?

zenith stag
#

yes that's also an option. Allthough when I've tried it previosuly I did not really like the look of it. But well try it again for sure

tribal galleon
#

How do you show the last card? Does the z-index of the footer prevent you from interacting with it? Or do you have a "spacer card" at the bottom to compensate for the footer? Or does it scroll and the last card will be above the footer automatically?

zenith stag
#

I'm using Layout Card and the very last row (which is empty), has a height of 120px

#

so yeah, kind of like a spacer card

tribal galleon
#

Gotcha. Didn't think of that one.

zenith stag
#

So this is the very bottom.

#

was hoping to use CSS backdrop-filter with blur otherwise but does not seem to work

tribal galleon
slim hollow
#

could anyone kindly help... I have the map card that so location of users. i need to disable the ability to click the entity picture. I have tried so any ways from looking on the forums, like,

tap_action:
action: toggle
this dosnt work. I have also tried

pointer-events: none

this appears to disable all buttons on the dashboard. Any help would be greatly appreciated, I have been going around in a circle for a few days now.

lyric prairie
slim hollow
vocal inlet
#

Hi all, I'm trying to create a entity card for my garagedoor motor. And i would like a message to popup like, are you sure you want to open the garagedoor ? i have magnetic sensor, so based on the state the message should change between do you want to open or do you want to close. Can someome point me in right direction how to solve this? thanks!
I have created a template sensor that change depending on the magnetic sensors.
garage_door_message:
friendly_name: garage_door_message
value_template: >-
{% if ( (is_state('sensor.garage_magnet_open','1')) and (is_state('sensor.garage_magnet_closed','0')) ) %}
Do you want to close?
{% elif ( (is_state('sensor.garage_magnet_open','0')) and (is_state('sensor.garage_magnet_closed','1')) ) %}
Do you want to open?
{% endif %}

tribal galleon
tribal galleon
# vocal inlet Hi all, I'm trying to create a entity card for my garagedoor motor. And i would ...

The custom:button-card supports a confirmation. It can be templated but it relies on JavaScript and not Jinja.
Tap_actions, in general, can have a confirmation but I don't think it can be templated. One option would be to use a conditional card. Make two cards: one for open and confirm close and another for closed and confirm open.
I'm assuming you have two magnets on your garage door. What happens when the door is stopped in between and it is neither open nor closed based on the magnet states... 🤔

scenic current
vocal inlet
tribal galleon
# vocal inlet Ok, thank´s i will check it out. Yes thats correct i have two magnets, It shows ...

More than likely, you really only need the lower sensor which will report when the door is closed. When that connection is broken, the door should be considered open. In fact, you can set the sensor's Show As to be a door and it will show open/closed states. This will also make it easier to automate later on.
The only reason I can think of adding a second sensor is perhaps if you wanted to set a "low open" position (like to vent heat). An automation could start opening the door, wait for the second sensor to make contact, and then issue whatever stop command you may have to the opener. (That's provided the sensor reports quickly enough.)

hidden needle
#

I'm trying to edit row-height in the new sections, and the CSS detects the rule from my theme, but it gets overruled by this default one. !important doesn't fix it either. What can I do?

tribal galleon
#

@hidden needle To make a modification like that, usually you could use card_mod. But, layout-type cards can't be card_modded because they don't have an ha-card(?) section. Looking at the Raw Configuration of a Sections view, it is comprised of Grid cards and, therefore, can't be card_modded. I'm not sure if you can wrap a card-mod-card around the Grid cards to "enable" that kind of modification. (The card-mod-card is highly discouraged from being used in general and I have no clue what it would do to a Sections view so experiment at your own risk.)

hidden needle
#

I do use card-mod for plenty of cards, but I imagined the right way to do a full dashboard tweak was via a theme

tribal galleon
#

I get that, but you're trying to make a modification to something that is not intended to be modified and probably is not supported with a theme variable. (At least not yet.) That's why the mention of trying with card-mod.

tacit cave
#

Hardcoding a height is a bad idea anyways

#

Especially if you use the theme on different screen sizes

hidden needle
hidden needle
# tacit cave Hardcoding a height is a bad idea anyways

Well, it's a weird thing the new sections do. Tbh don't know why that value exists at all. When removed or set to 0, Mushroom title cards compact themselves while nothing breaks. Not even the same cards containing subtitles. It's like a hardcoded min-height by default.

#

not sure where that --row-height variable is being used either. Can't find it.

tacit cave
#

Yes, that's how HA does things with autosizing screens

#

the min height is defined to allow the best looking information

#

(on small screens)

hidden needle
#

it's a new thing from sections AFAIK, or at least increased. I'm just trying to convert my dashboard to sections and this is just to achieve the same look. All I see it's that it enforces that blank space, same in desktop and mobile. If anything I'd say it's especially bad in small screens.

#

actually I see that I already had tweaks before sections. With sections it seems they just get ignored. Will try adjusting them

type: custom:mushroom-title-card
title: ''
subtitle: Living room
card_mod:
  style: |
    ha-card {
      margin-bottom: -15px;
      margin-top: -15px;
      margin-left: -10px;
    }
hidden needle
lyric prairie
#

I will personally not encourage you to try modding the sections view. It's still experimental and can and probably will break if mods are applied when other design decisions are implemented. And if you are lucky and place your needs in the right spot, maybe they are added in the future

tired quail
#

i might need to steal it 😆

zenith stag
tacit cave
#

isn't that just a normal gradient

tired quail
lethal linden
#

I feel like a complete idiot. Instructions for adding a front end dashboard card are as follows:

#

V

#

On your sidebar go to HACS > Frontend
Click on the + button at the bottom right corner
Now search for Bubble Card and then click on the button at the bottom right corner to download it
Go back on your dashboard and click on the icon at the right top corner then on Edit dashboard
You can now click on Add card in the bottom right corner and search for Bubble Card

#

When I go to HACS, I dont see a "front end" When I search for bubble card... I believe its searching for repositories. Im sure its something simple... but Im lost. Also, I went to addons thinking so search in HACS there and nothing as well. Any help would be appreciated

tacit cave
lethal linden
#

So, Following the instructions gets me nowhere. Where do I find "frontend" on HACS? I search for bubble card and get nothing. Not totally lost, but confused.

tacit cave
#

what directions are you following?

#

just search for bubble

#

in HACS

lethal linden
#

Maybe I am in the "wrong repository" or dont have the standard hacs repository? I have cleared the filters as well

tacit cave
#

did you wait a full day after installing hacs? Do you have other filters applied on the right hand side of the screen?

lethal linden
#

Ive been using HACS successfully for weeks

tacit cave
#

then look at the filters you have applied and clear them

lethal linden
#

all filters off

tacit cave
#

then you have no internet connection or there's an error in your logs

tall monolith
tacit cave
#

that's with experimental features off, he has experimental features on

tall monolith
#

oh

#

don't use experimental features if you need to come to discord for help. that's just my personal rule

#

IMO that's for people working with a developer directly

lethal linden
#

I agree. Im computer savvy. Just a newbie here. Ill catch up quickly. I believe its only searching my downloaded integrations.

dark dirge
#

as soon as you start typing in that box, it removes the "Downloaded" filter

tall monolith
#

I'm savvy too, but I don't need another complicated thing that requires work from me three times a month to keep working after an update in my life so I don't go for experimental or beta anything

tacit cave
#

it's not going to work for eveyrone else, but not you. The only way that would happen is if the database isn't fully populated (You didn't wait the 24 hours), or that your system can't access github in some way

lethal linden
tall monolith
#

looks like people on that issue can't follow directions

tacit cave
#

Developer "Post debug logs", everyone "Same issue!?!?!??!!!"

tall monolith
#

and then "closed this as not planned"

tacit cave
#

well, if people can't follow directions and just post logs... what can ya do

lethal linden
#

Its interesting. Getting involved in a new venture (HA) without friends or a community is tough. I learn most of what I know about HA from Youtube. Im trying to get help.... I understand most of you are seasoned. As I too will be soon. Trying to get past a hurdle, thats all.

#

Ok, friends that are involved with HA... I have friends. (Trying to head off that slam)

tall monolith
#

lol

#

I'm not saying that I don't want to help you. I'm just saying that you need to learn the basics before you decide whether you need experimental features

#

get the basics running really solidly, then expand. And try to avoid experiments when you can't communicate directly with the person running it

#

learn to tie your shoes before you try to pilot a sea plane

tacit cave
#

experimental features is just hacs 2.0 at this point, there's not much experimenting happening

#

and luduess will force experimental features on us at some point, he's been saying this as much for the past 2 years

#

you mine as well switch over now

#

it's just a different UI and update entities

lethal linden
#

Well, thank you for trying to help.... a lowly HA user who likes experimenting.... On to Homekit, I guess. 🙂

tacit cave
#

have you tried manually finding the card?

#

you know, scroll and eyeball manual

#

also, ctrl+F5 for good measure

#

clear the cache and refresh the page

burnt kite
#

Hey! I am trying to make a dashboard for my garage. I want to hit a button and be taken to a different dash using and iframe to display lubelogger. However I want to be in kiosk mode (which ends up hiding the subview back button) What is the best way to add a back button in this case?

willow berry
#

Hi guys, i install place with openstreet and i got a sensor with my tracking location. how i can do a lovelace card to show a list from, to, date

tribal galleon
# tacit cave you know, scroll and eyeball manual

Kind of breezed over your conversation. I noticed the other day that a custom card was not visible in the selector UI. Hadn't noticed it until someone was needing help; I always jump to manual and type it in. But the card worked fine when typed into the manual editor. (Not sure if this is relevant to your conversation.(

slim hollow
tribal galleon
short jetty
#

Is there some way to have a row in an entities card behave like an entity card? I don't want the switch to appear in the row. I want to click the row in the entities card and then have a pop-up like what happens when you click an entity card.

#

(I am trying to prevent accidentally turning something off)

vast crane
#
entities:
  - entity: switch.foo
    type: simple-entity
short jetty
#

PERFECT

#

Thanks!

timid beacon
#

Is there a way to profile/performance test a dashboard? I'm worried I'm maybe doing something stupid with custom cards on a particular dashboard/view and I'd like to track down what that is

vast crane
timid beacon
#

Yeah I took a quick look but wasn't able to see too much

vast crane
#

This wasn't what you're looking for?

timid beacon
#

I wasn't able to find anything that stood out in there as a performance issue

#

I mean I can see auto-entities seems to be doing a lot, but I can't seem to pin it down to a specific card or anything

vast crane
#

Is there a reason you expect to find a problem? Does it feel sluggish? The best thing I can think of to do is make sure cards don't update/render on every change of hass. Beyond that I would expect to see things mostly idle.

timid beacon
#

I have a fire tablet that has been having a lot of issues recently. I don't know if it's the dashboard or the tablet. I do make pretty heavy use of auto-entities and card mod

tired quail
#

fire tablets are horribly slow, especially if its on the stock Amazon ROM

subtle basalt
#

Trying to configure GIT on a green box, to version my configs. GIT is not using my configured user.name, it is accessing my private git repo ssh://home.local/git/HSConfig.git with the username root instead of the one I have configured. Any ideas?

tacit cave
#

configure git what?

subtle basalt
#

Configure GIT on my green box, so I may version my configs, onto my own git server.

tacit cave
#

wtf are you following?

#

you can't install git on HA

#

If you want to use version control, the best way to do this would be to use a separate computer that links to your config

#

all you need in your config folder is git settings

subtle basalt
#

GIT came installed, you can access it in the Studio Code editor and the File editor addon

tacit cave
#

right, but then all you need is git settings and you use the button on the side

#

you just need to point it to a bare git repo for the remote source

#

there is no "installation"

#

as a sidebar to your question, you'll have a much easier time setting that up if you don't use the addon. Instead set up samba share, then on a separate PC, install git & vscode &git extension and go from there. You'll have access to all the VSCode menu options and things wont be burried, hidden, or disabled.

subtle basalt
#

I am struggling to follow your instructions, do you know if this is actually documented somewhere?

tacit cave
#

It isn't documented, you'll need to figure it out

#

the addon wasn't set up to do this

#

the addon forces you to use the command pallet to get things done because the environment is locked down.

toxic axle
#

Hi, in custom:button-card, is it possible to get the state from another entity than the primary one used for the card? I'm trying to do:

        view_layout:
          grid-area: A3
        name: Days until next garbage collection
        show_state: true
        show_label: true
        entity: calendar.garbage_collection
        label: >-
          [[[ if (automation.notis_sophamtning == on) return "On"; else return
          "Off"; 
          ]]]```
toxic axle
lyric prairie
toxic axle
#

Ah! Almost got there with the syntax. Thanks 🙂

lyric prairie
#

Or using the power of button-card

label: >-
  [[[ return helpers.localize(states['automation.notis_sophamtning'])]]]

This also translates the state according your language setting @toxic axle

toxic axle
#

Awesome

toxic axle
#

Another button-card thing I haven't been able to figure out. I want to define the entity from the person using the dashboard. Can this be done? Like so:
entity: person.merlin //This doesnt work: '[[[ return "person." + user.name ]]]'

tall monolith
#

I just created a button card with person.tom and it worked fine

#
show_icon: true
type: button
tap_action:
  action: toggle
entity: person.tom```
toxic axle
lyric prairie
#

user.name can be Uppercase, and I am not sure if button-card really supports templating the global entity

tall monolith
#

I usually use custom auto-entities cards when I want them to only show sometimes. I hadn't thought of doing it in a regular card

lyric prairie
#

Just checked, you cannot template the main entity of the button card

tall monolith
#

but also I'm the only one who ever looks at the dashboards

tacit cave
#

you can template the picture element though

#

and the name

toxic axle
#

Right right, thanks guys. I guess either showing the whole card(s) conditionally or template the specifics is the way to go then

toxic axle
lyric prairie
#

Oh correction, the newer versions can support it, but with some restrictions

lyric prairie
toxic axle
lyric prairie
#

user.name returns the friendly name, so it can be uppercase. Since you want to use it in the entity_id that only supports lowercase, you need to be aware of that

toxic axle
#

Ah, gotcha

zenith stag
#

Hmm what are you trying to do here? Display the users name in uppercase?

toxic axle
#

To then be able to use stuff like entity.attributes in js templates

zenith stag
#

And it can’t be done? Sorry trying to follow the thread but suddenly Bas started talking about ”uppercase” and I lost track:)

toxic axle
#

No apparently the entities portion cant be templated

zenith stag
#

But you can style the state in styles, if that is what you need

toxic axle
#

Lets say I've got a card displaying my phone battery, steps counter etc. The entity used in the card is called sensor.pelle_phone. My wife has a phone sensor called sensor.lisa_phone. I would like to give button-card the entity sensor. + {{ user }} + _phone so that would show the phone info of the person actually viewing the dashboard

zenith stag
#

Ah got it, makes sense. But then I suppose putting it in a variabe like Bas showed would make sense. If the variables can be templated. Have not checked that

toxic axle
#

Did I get the syntax correct here? This is deep water for me 🥶

      - type: custom:button-card
        view_layout:
          grid-area: A0
        variables:
          myname: '[[[ {{ user.name }} ]]]'
        entity: '[[[ return "person." + variables.myname ]]]'```
#

If so, it doesnt work

dark dirge
#

this part is confusing javascript and Jinja:
myname: '[[[ {{ user.name }} ]]]'

#

if the user variable is available, you can probably use
myname: '[[[ return user.name; ]]]'

toxic axle
#

Yea, doesnt seem to work :/

tacit cave
#

99% sure custom button card only gives you the user

#

which is just [[[ user ]]]

#

well, it's the user object

#

not sure what that entails

#

it may be user.name

toxic axle
#

Yeah name: '[[[ return "Hello " + user.name ]]]' works for name, just not for entity - if thats what you mean

tacit cave
#

it won't work for entity

#

entity is used to let the system know when/how to update the card

#

so any template that's allowed for it will be limited

#

i.e. it won't have access to user

toxic axle
#

But that does make sense

tacit cave
#

right, but I mentioned long ago that the only way to do what you want is to template each field while omitting entity

dry ether
#

Is anyone using bubble cards?

#

and if so, any idea how to entirely hide the header as the author does in his example images?

zenith stag
dry ether
#

Apologies, when I refer to header, I'm talking about the header properties in a bubble card with the "popup" card type.

#

not the generic dashboard header

slim hollow
#

Can anyone help me.. How can I stop the swip navigation on a dashboard?

upper dew
#

Anybody know the default colour in rgb value of home assistant icons?

#

I am hoping to find the default (blue) icon colour for icons that are off

vague blaze
upper dew
#

close but no cigar 😦

vague blaze
upper dew
#

I wonder if maybe its the correct colour but incorrect brightness?

toxic axle
#

3, 169, 244

#

#03A9F4

upper dew
#

of course, it cannot be denied if its in the code. But it strengthens my idea that it might be a brightness situation rather than colour

#

Maybe I had better explain myself?

#

Which is absolutely awseome for my needs

#

but messes up the colour of the icon

#

as you can see here https://imgur.com/a/cGGgjpk it does not matter with a normal button. But for a button that calls a service the colour gets messed up

#

the mod has options to change the colour of the icon including specifying rgb values. But using the values you guys found ended up providing an icon that we percieve as not the same exact colour

vague blaze
#

You may not get an exact match as I don't think you can passing in brightness or luminosity to the rgb() params.

upper dew
#

well...

#

It looks like my other two choices are 1. live with it or 2. set all the icons on my entire home assistant to a new, different colour 😆

vague blaze
#

Maybe? So, looking at the svg, the two colors used are #18BCF2 and #F2F4F9. The #18BCF2 roughly translates to rgb(24, 188, 242). So, you might be able to get close, but I'm not sure about exact.

upper dew
#

Okay you might have an idea if i pose this to you... if its fine with button toggles that are off but the problem is only present with "buttons" that call services rather than toggling switches.

#

well

#

im thinking what if the button that calls a service when tapped was an entity that was actually a toggle

#

that never turned on

#

even when asked

#

aka entity

#

I just tried something. If i set the entity of the button card from a dummy button entity i made with a helper to the same entity the on button is, the colour corrects

vague blaze
#

So, a switch?

upper dew
#

but then if i turn on the power they both go yellow, as you would expect

#

so I could do with a switch (yep) that never turns on

vague blaze
#

So, basically, the button state (because it really only has one state), is being treated differently than a switch with static on and off states?

upper dew
#

Yes

#

glad we are on the same page

#

i have been using input_button.dummy_button

vague blaze
#

So, my suggestion is to raise that as an issue and see if the author can handle that differently. What it sounds like is that the state handling is different between buttons and switches (which it should be), but given the hold action, it should probably use the same logic.

#

At least when applying the color to the icon.

upper dew
#

The mod is not... errm what do you call it

#

like

#

looked after

#

since 2023

#

The author bounced

vague blaze
#

Ooooffff yeah, I see that now. 😦

#

Yeah, then a switch makes more sense... but, you would have to handle the resetting of the switch to whatever state you want in an automation or something so that it still acts like a button.

upper dew
#

well it would be a dummy switch

#

maybe an automation

trigger = dummy_switch went from any state to on
action = turn_off.dummy_switch

#

I can only try, right

#

Seems to work 😜 not so much as a yellow flash

#

OH its even easier than I thought. The tap_action is not toggle anyway. It is call service. so the dummy toggle never turns on in the first place

#

so the automation is redundant

vague blaze
#

Ha! Yay! Even easier then... so you have your solution?

upper dew
#

Yep the solution was to create a dummy toggle and use that as the "entity" of the button card rather than dummy button

#

Thanks for your help 🙂

vague blaze
#

lol I didn't really do much... but you're welcome 🙂

upper dew
#

Sure but I would have given up if i never asked

#

I guess I just needed some inspiration

vague blaze
#

lol happy to help! ablobbouncefast

toxic axle
broken marsh
#

I'm trying to use fields in a script to broadcast tts to different devices. I've found the number selector where I can use a slider to set a volume. But is it possible to display the current volume of the media player and ideally position the slider at current volume?

broken marsh
#

This is how I planned it to look. But using default: "{{ state_attr('media_player.nest_audio', 'volume_level') }}" doesn't seem to do anything except for displaying that template.

lyric prairie
#

IIRC fields don't accept templates

golden mistBOT
#

@night cape I converted your message into a file since it's above 15 lines :+1:

sterile violet
#

I created a helper Schedule, but I am unable to drag or insert times into the calendar. I have tried on a couple different computers and browsers now and I can't get it to allow me to enter any new times. I also cannot add entries to previously existing schedule helpers. Is something broken? Do other see the same behavior?

sterile violet
#

Core 2024.6.0
Supervisor 2024.06.0
Operating System 12.3
Frontend 20240605.0

#

I do have adblockplus, will check if disabling helps

#

Was already disabled for my HA site on one and disabled it for the other same result

#

RPI4

broken marsh
#

Other ideas to control volume of a media player with fields in a script?

sterile violet
#

thanks!

daring hound
#

After a reinstall of HA, something changed on the auto-generated dashboard: I have a LG C9 tv, which was on the auto-dashboard. It had a power button on it, like all the google home mini's in my house also have. Now, after the reinstall, that power button isn't on the LGTV mediaplayer card... Did I miss a setting? It does show up when the power is on, but it used to be there all the time so I could use it to turn it on... wrong channel.. sorry

toxic axle
#

I'm trying to display the map card behind other entities in a custom:button-card. Could someone tell me where I'm going wrong? I'm pulling my hair here. It does not show the map card at all. https://www.dpaste.org/0rcvd

zenith stag
dry sparrow
#

Hey everyone, i've created a helper to pull information about my cars GPS location and want to show this on the map card. The helper is getting the long/lat of the vehicle. I'm assuming if i put this in the raw editor of the map card it'll work

      dev_id: "car_gps"
      gps_accuracy: "10"
      gps:
        - "{{ states('sensor.corsa_e_latitude') }}"
        - "{{ states('sensor.corsa_e_longitude') }}"```
azure canopy
#

you can use #automations-archived on every state change of these longitude and lattitude sensors to run this service call

#

and then you will have a device_tracker.car_gps which you can place on the map

#

that's why I asked if the device tracker was already working

dry sparrow
#

the states get changed to the gps values from the json

#

@Plattnat you need to run the service

willow berry
#

Hi guys, i install place with openstreet and i got a sensor with my tracking location. how i can do a lovelace card to show a list from, to, date for a logbook of my kilometer ?

candid acorn
#

Hello everyone, i have an issue with the Home Assistant Frontend using the schedule helper, when i try to configure the times when it's on / off when i click in the cells, it doesn't do anything, i tried on my windows machine using brave web browser, chrome, firefox, also on my android mobile smartphone using the home assistant companion app and the same thing happens. All i can do is remove existing action times but i cannot add more, i haven't add this issue last week so i think it may be a result of a recent update like the 2024.6.0 that i did yesterday, has anyone had this issue and figured out a way to fix this ?

candid acorn
#

oh ok, so do you have a link for the github issue or something like that to provide me ?

#

or maybe a workaround ?

vast crane
candid acorn
#

ok thanks for the informations

#

i will check that

#

thank you very much

dry sparrow
#

Hey everyone, i'm trying to combine two sensors from my nas box to show how much space i have on a volume and how much is in use... is this possible?

broken carbon
#

Hi guys. I got ... a question. Somehow my Lovelace seems to be broken - see screenshots.
Some cards work, some cards are completely off. Reloading, cache emptying, nothing works.
Those two are only examples, basically it is broken everywhere.
I am using Floorp as browser, but i also experienced it on Thorium (which was the reason why i switched to floorp, as it is basically firefox on steroids).

any ideas what could cause this ?

vast crane
#

you can try disabling the has-selector, but I think that might cause other regressions

broken carbon
#

looks exactly like that, yes - i will investigate, thanks

languid wasp
#

Hi there. Is it possible to limit a Slider value on the LovelaceGUI card?
For example, i have following YAML code generated:

`type: entities
entities:

  • entity: switch.miner120th_active
  • entity: number.miner120th_power_limit
    secondary_info: last-changed
    max: 3300
    min: 2200
    title: Mining
    state_color: false`

Here i have included the "min" and "max", but i get a error message for that.
Is there a possibility to limit the Slider values here?
Cant find any attribute for that here: https://www.home-assistant.io/dashboards/entities/

Thank you and have a nice weekend!

broken carbon
pseudo bough
#

Hey all, is there a way to create a mushroom card (like pic) that can show which doors/windows are open (with a short name, like FRONT), ONLY when they are open? Thanks!!

#

non-mushroom works as well

#

appreciate it!

lyric prairie
#

The mushroom-template-card with an template that extracts that info with help of #templates-archived

pseudo bough
#

Thanks! Ill check it out.

broken carbon
pseudo bough
#

actually @lyric prairie I was able to use the mushroom chips with a condition to do I what I wanted, but thanks again!

candid gazelle
#

Hello, I have a bunch of state-badges in my dashboard that look like this.
Is there a way for me to control the background color inside the blue circle depending on the on/off state?

pearl roost
#

Hello, since updating to 2024.6 I'm having trouble getting the file notification service to work with a custom:button-card. I've setup the notification service in the integration and it does write to the file. But I'm using a template as message and it writes the template itself and does not evaluate it. When calling the service from the dev tools with the same parameters it works fine. This is my button code:

show_name: true
show_icon: true
type: custom:button-card
icon: mdi:file
tap_action:
  action: call-service
  service: notify.send_message
  target:
    entity_id: notify.sensor_csv
  data:
    message: '{{ now().strftime("%Y-%m-%dT%H:%M:%SZ") }}'
upper dew
#

the normal logbook card has annoying names of the entities. so I found the custom one which is very nice. But I cant find how to have the names of the people that actioned the change

pseudo bough
#

Hey all. Am I going crazy or can I not edit what is shown for this conditional chips card anymore (or add a new one). I just added them 20 min ago but I cannot find how to change what is shown when the condition is fulfilled. Either that or I am blind

vast crane
#

Maybe it supports JS templates and not jinja templates?

pearl roost
deep rose
#

Does anyone know how I can make this toggle switch for nightly vacuum a normal switch like I have sketched up!? Currently I tap it anywhere and it switches between on and off but I would prefer a normal slide toggle.

native carbon
#

am I being completely thick? the card maker says the default is 18 but that causes this error until you lower it to 5

native carbon
#

although this is the only example I have of switches

vast crane
native carbon
#

and I'm using the accuweather api, I would have thought that would return more than 5 points of data

#

the old openweathermap one returned tons but they've gone and blown all that up with 3.0 which is why I'm changing both api and card

vast crane
#

try pulling the forecast in devtools and see what it returns

native carbon
#

oh, it says it doesn't support hourly, how weird

scenic current
#

I would like to use an image I have uploaded via media browser as a background. Can someone tell me how to find url?

native carbon
#

The free API says it can do 12 hours though

vast crane
native carbon
scenic current
vast crane
#

You can upload pictures directly for background in 2024.6, maybe that's easy enough.

scenic current
broken marsh
#

Does the .1 include the fix for schedule helper not working in the frontend? Don't see it mentioned in the changelog.

vast crane
#

nope it is not fixed

broken marsh
#

Thanks.

brisk marlin
#

For some reason, I can't get an Entities card with tap-action to toggle a light with a transition

#

I can toggle the light with transition 0.1 (if i provide 0, the zigbee light ignores the transition property), when I use developer tools to call the service

#

however, this doesn't work:

type: entities
entities:
  - entity: light.niche_light_1_light
    name: Niche 1
    tap_action:
      action: call-service
      service: light.toggle
      data:
        transition: 0.1
        entity_id: light.niche_light_1_light
title: Niche Lights
state_color: false
tribal galleon
# pearl roost Hello, since updating to 2024.6 I'm having trouble getting the file notification...

I think the problem that you're running into is you're trying to use a Jinja template in a JavaScript-based card. I'm pretty sure the template is handled at the card-level before being passed into the tap_action. Try using JavaScript (which FYI, is not easy to work with date and time, IMO.)

type: custom:button-card
entity: none
show_icon: false
show_label: true
name: "Yours: 2024-06-07T23:34:13Z"
label: '[[[ return "Mine: " + new Date().toLocaleString()]]]'```I used a simpler version than the string you used. If you need that exact format, it can be done, but it is a bit more complicated. You can also use `.toISOString()` to get a similar format but I'm pretty sure it is based on GMT and not local time. The more complicated method uses the `Intl.DateTimeFormat` object which enables language-sensitive date and time formatting. [LINK](<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat>)
@vast crane Tagging you on this.
> Maybe it supports JS templates and not jinja templates?
#
label: '[[[ return "Mine: " + new Date().toISOString()]]]'```
untold trail
#

Any idea why my lightbulb icons are missing on mobile?

#

Nvm reinstalled the app

upper dew
#

does anybody know how to remove the toggle on entity filters?

#

this is the entity filter and toggle I am talking about

#

I thought i could use a roundabout way if i make sensors for each switch that turn on when the switch is on and the entity filter could use the sensor entites instead. but it seems like a loong way of going about. would anybody have any better ideas?

upper dew
brisk marlin
upper dew
#

idk not a dev 🤷‍♂️

#

possibly

#

@brisk marlin you might have to make one script to turn on. one script to turn off. then an input toggle helper for it. then automations that run the script when the toggle helper state is changed. again one for on, one for off. (maybe you can skip the script step and have the automations triggered by the input toggle command the lights directly)

brisk marlin
#

script to toggle works, however, for some reason this doesn't call the script (or at least, doesn't apply the transition)|

type: entities
entities:
  - entity: light.niche_light_1_light
    name: Niche 1
    tap_action:
      action: call-service
      service: script.toggle_niche_light_1
title: Niche Lights
state_color: false

vital burrow
upper dew
#

'power' is just the title in this case

#

I already used a mod to get rid of the state for individual entities

#

but the title toggle remains

vital burrow
#

You need no mods for that.

upper dew
#

oh really i used template-entity-row

#

is there a smarter way?

vital burrow
#

Are you sure you are using the entity filter card, like you stated. That does not provide the switch all switch (edit: without a title - see below)

upper dew
#

yeah for sure

vital burrow
#

Show your configuration

upper dew
#

are you sure its not just because you do not have a title set

golden mistBOT
#

@upper dew I converted your message into a file since it's above 15 lines :+1:

upper dew
#

If I remove the title there is no master toggle so that might be what you are seeing?

#

Also i understand you would normally not use - entity:... but that is how i achieved not having state toggles per entity

vital burrow
#

Yeah, the title was the culprit.
Add show_header_toggle: false

upper dew
#

awesome thank you. Is that in the docs? I promise i did look through

#

its in the docs but i think only in an example at the bottom not in the list of config options 🤔

#

Thanks again it has saved me a lot of time

vital burrow
#

And for showing the switch's state instead of the toggle, you don't need a custom card.

type: entity-filter
entities:
  - entity: switch.sonoff_1000c67596
    type: simple-entity
  - entity: switch.sonoff_1001d4d80d
    type: simple-entity
...

Instead of simple-entity, sensor-entity works too

vital burrow
vital burrow
upper dew
#

cool

#

I will change it to that then for potential increased longevity and reliability

finite stream
#

Hey! Hopefully a very simple question... but I am struggling to find the answer 😄 on every screenshot I seem to see of a dashboard, each card seems to be enclosed in a box (as in you can visually see its surroundings/background).
Mine, are not. They just blend into the rest of the page.

Am I missing something really obvious to have the cards actually look like cards?

upper dew
#

let us see 🙂

finite stream
#

Sure, sorry I should have lead with that 😄

Each of these vertical stacks (there's only 2 there, one on the left and right), I expected to be somewhat enclosed

upper dew
#

are you using a theme?

finite stream
#

I am trying to, but for the sake of simplicity, there's no theme used yet (in that screenshot)

vital burrow
#

It does not look like stock cards

#

But the vertical stacks don't have lines on their own

finite stream
#

Oh sorry the actual elements are from Bubble Cards

finite stream
#

That makes sense, should have noticed that other card types do have the boundaries

upper dew
#

i just looked in the docs of bubble card and found this:

#
  .bubble-icon-container {
    background: rgb(230, 128, 41);
  }```
#

maybe experiment with that?

#

i have never used bubble so i cannot be sure

#

actually i think that won't work

finite stream
#

I don't think the issue is bubble itself, it's the vertical stack lacking the styling that other cards have

upper dew
#
  .bubble-button-card-container {
    background: rgba(12,120,50,0.5) !important;
  }```
#

wel my vertical stacks using mushroom cards have seperations

finite stream
#

Around the entirety of the stack?

#

or within the stack?

upper dew
#

within

#

and around

#

I think it is the intentional default of bubble card

upper dew
#

Its from the docs

finite stream
#

Yeh that changed nothing (but thanks!) that selector is for the individual elements

upper dew
#

yeah so you would have to put that styling under each element

#

yeah i think maybe I don't understand something 🤷‍♂️

#

this is one of my vertical stacks:

#

is this what you are looking for? hui-vertical-stack-card

finite stream
#

That's the element I (I guess incorrectly) assumed would be enclosed, yep

finite stream
#

I do now 😄

upper dew
#

please can you send me an example config of the card. the full config so click show code at the bottom when you click edit card. i have an idea

golden mistBOT
#

@finite stream I converted your message into a file since it's above 15 lines :+1:

upper dew
#

give that a go

finite stream
#

Looks identical to me

upper dew
#

if i do the same thing i get this:

#

if you compare it to the previous one, its got a border around the stack now

finite stream
#

How odd, I don't know what to say 😄 That's not the outcome here

upper dew
#

well I did not add any styling

#

so i think thats the next step

#

so try this i think @finite stream

finite stream
#

So yes, that does as expected

upper dew
#

of course you will need to edit it to your liking

#

@finite stream you probably want to use this: border-radius: Roundest border;

finite stream
#

Found a better solution, sec

#

Though actually doing this makes it quite clear this isn't really how the UI elements have been designed (bubble stuff), so maybe a bad idea

upper dew
#

hey if you can make it work - it works

finite stream
#

Well this does exactly as the normal card would, with the right inherited styling. The issue is just now it looks out of place, so I think I am doing something that wasn't its design

#

I'll have a think about it :/

#

thanks for your help ❤️

#

this is what I mean btw, it's clearly not right like this

upper dew
#

all good

#

you want some padding i think

finite stream
#

I don't think that's even going to cut it, the colours seem out of place

upper dew
#

i see

#

I think if you had some padding around the blinds card it might look good but you will know better what you are looking for

finite stream
#

Happy to try it, give me a moment

#

Maybe you're right

#

can't help but feel like the header would need it too

#

(sorry for the image spam 😄)

upper dew
#

yeah if we are not careful someone is gonna tell us off

finite stream
#

Yeh basically that, went with 0.5em

upper dew
#

Yeah i used a random number

#

I dont see the difference between your last two screenshots

finite stream
#

look at the desk icon in the top left

upper dew
#

oh i see

finite stream
#

though realistically I think the style would belong on vertical-stack-in-card

upper dew
#

yeah the second one is better if you ask me

#

looks like you got what you need 🤷‍♂️

finite stream
#

Yeh, just have to weigh up if it's rational now 😄

upper dew
#

🙂

zenith stag
#

Is this ````max-height: 100%;``` something "new" in Home Assistant?
It's preventing me from making my recycling icon any bigger than the card.
Using Cusom button card and this was not an issue last year.

ha-state-icon#icon {
    height: 100%;
    width: 100%;
    max-height: 100%;
    position: absolute;
}
#

I came across it in the Chrome Inspector

pearl roost
tame sandal
#

Hello, can someone tell me how can I style vertical-stack card? I mean, add i.e background to this to make kinda sidebar with contrast color.

golden mistBOT
#

@cyan talon I converted your message into a file since it's above 15 lines :+1:

scenic current
#

I'm trying to display the weather card as a 1 panel card on a tablet display. Is there an easy way to scale everything up? Graphics are too small as is text. Card-mod or something maybe?

scenic current
#

I came across something that helped me out greatly but I want to shift the whole thing up as it is showing too low on my display. It's really hard for me to share everything as this is actually stored within a button card that acts as a framework for my View Assist views, but here's the whole thing. See the bottom for the card I'm working on:

https://dpaste.org/HMBk0

#

I'm wanting to move that inner square containing the weather data up and really just get rid of as much of the top space as possible.

mild gate
#

howdy - before I file a bug... I'm running 2024.6 and the + sign to add a dashboard doesnt work in lovelace. Anyone else seen that?

mild gate
untold trail
#

hmmm

#

working for me

#

no error?

mild gate
#

no error, tried Safari, Chrome, and Firefox

scenic current
# untold trail

What are you telling me? I have this set already. I am trying to move the whole thing up so it is closer to the top bar

untold trail
#

Oh nvm..

scenic current
#

Not in the screenshots you are showing me

mild gate
#

yeah, rebooted a few times, checked for updates, etc... no way to add a new dashboard

untold trail
# scenic current Not in the screenshots you are showing me
.: |
      ha-card { background: #059bf9}
      ha-card.type-weather-forecast {
        justify-content: start !important;
      }
      ha-card.type-weather-forecast>div.content {
        div {
          padding-top: 0;
        }
      }
      ha-card.type-weather-forecast>div.content {
        display: flex;​
      }
#

try that

#

@scenic current

scenic current
#

Thanks. I'm away but will try when I return

untold trail
#

I’d update your units to be vh, vw (view height and view width) instead of pixels because those scale. 20 pixels looks different across different screens/resolutions

tribal galleon
#

@scenic current Do you need something simple like this? (I use this to show an icon in the top right corner of the screen when motion is detected. The z-index is just to ensure it is shown on top of the header, if it is visible; at least if used to but doesn't seem to work on top of the header even though it only has a z-index of 4.) yaml card_mod: style: | :host { position: fixed; top: 0%; right: 0%; z-index: 99; }

scenic current
scenic current
untold trail
scenic current
#

I'll give that a try as well. Thanks for the tip!

grave river
#

It appears that generic_thermostat doesn't remember it's state (heat/off) over a HA restart. They always turn on (heat). Is this a bug? The temperatue setting is maintained.

untold trail
scenic current
untold trail
#

Can you use card mod with the default cards?

#

I can’t get a background color to change on a stock vertical-stack card

atomic glacier
untold trail
#

I need the stock vertical-card to allow drag and drop

#

I can’t explain how to write yaml to my dad

atomic glacier
#

OIC....it works for me using yaml, but never tried the d&d, so prolly not then 🤷‍♂️

untold trail
#

Damn

#

I guess drag and drop isn’t even entirely necessary? I just want it to be editable without yaml

#

And to have a cohesive background that kinda group cards together

untold trail
#

Or can you set the background color for a layout card??

#

Anyone know what the exact card-mod path would be for this?

untold trail
#

i cant find the right selector for cardmod.

#

the xpath is /html/body/home-assistant//home-assistant-main//ha-drawer/partial-panel-resolver/ha-panel-lovelace//hui-root//div/div[2]/hui-view/hui-sections-view//ha-sortable/div/div/hui-section/hui-grid-section//ha-sortable/div/div[3]/hui-card/layout-card//vertical-layout but that doesnt work as a card_mod selector.

brisk marlin
#

Hi, I'm having trouble with setting the transition property on the light.toggle service. When I call the service from Dev Tools, or through a script, it works fine (only when running the script from the Automations UI). When I call the service from an Entities card, it ignores the transition property, and if I call the script to toggle the light with 0 transition, it also ignores the transition property.

Does anyone know what's causing this behavior and if there's a workaround? Thread: #1248935141519265902

heavy grove
untold trail
heavy grove
untold trail
#

You can’t drag the individual cards inside the vertical stack though can you?

heavy grove
untold trail
#

Idk if I originally asked it

heavy grove
#

It's treated as an individual card.

untold trail
#

I mainly just need my dad to be able to add/remove devices from the ui directly

#

You mean the entire stack is treated as 1?

heavy grove
#

Yes

untold trail
#

Yea

heavy grove
#

I hear you, trying to simplify it for your dad.

untold trail
#

Yessir I have to do everything through yaml cause he doesn’t understand it lol

#

So I’m trying to simplify it now yeah

heavy grove
#

My dad wouldn't even touch the smart thermostat after I installed it...lol

untold trail
#

🤣

#

Not surprising

brave elm
#

what was the ha version that added rounded corners to the ui?

snow obsidian
#

what would be the smartest way of make energydata public available?

#

i would like to present the Energy tab(dashboard) to the public without login

gloomy iris
#

Hi all,
think I found a bug in the area card: all my temperatures are shown +10 °C, so value is 23.5 °C and it shows 33.5 °C. HAppens for all my area cards.

#

Would someone please verify before I open an issue/bug report?

half cairn
#

I'm using a picture element card with several entity state images to show if users are in a zone (the images show the name of the zone)
At the moment have this setup in each card seperately and whenever I add or remove a zone, I have to update all the cards that use this.
Can I somehow store the list of state images in file and point all the cards that use it to that instead?

#

This is my current code, but the list of state_images is much longer irl;

`type: picture-elements
elements:

  • entity: device_tracker.greenghost
    hold_action: toggle
    state_image:
    home: /local/images/picture_card/location/home.png
    not_home: /local/images/picture_card/location/away.png`
golden mistBOT
#

@craggy terrace I converted your message into a file since it's above 15 lines :+1:

languid wasp
broken dust
#

hi

#

anybody having the nordpool integration ?

glad pier
#

Hi, i'm not sure where i'm supposed to post this. I tried searching to see if anyone else was having the same issue but didn't find anything. Any help appreciated on where I should go to report this bug

vague blaze
glad pier
vague blaze
tribal galleon
scenic current
# untold trail https://hastebin.com/share/ocaxabidog.css

This worked out great! Thank you for working on this. Only one more thing. I would like to change these two to white. I believe they are:

              .attribute {
                font-size: 5vh !important;
                color: #fff
              }  
              .templow {
                padding-top: 0px;
                color: #fff;
              }
#

I tried #fff and #ffffff but neither work. Any idea?

languid wasp
untold trail
#

Well the yaml I sent added padding to the templow so just put the color there so u know the selector is correct

#

Could also try ‘color: rgb(255,255,255)’

#

Or white

scenic current
untold trail
#

color: white !important;

#

that works

#
        .attribute {
          font-size: 20px !important;
          color: white !important;
        }  
#

same for the attribute

scenic current
#

My wish list only has one more thing. Any way to align the top number to left and bottom number to right? I think they are both aligned center

untold trail
#

It overrides other elements setting it I believe..idk whenever css doesn’t apply like I want I just slap important on there and it usually works lmao

#
      .templow {
          padding-top: 5vh;
          color: white !important;
          text-align: right !important;
        }
upper dew
#

does anybody know how i could add a copy to clipboard button to the markdown card?

untold trail
#

use this for temp

        .temp {
          font-size: 60px !important;
          padding-bottom: 0px;
          text-align: left;
        }

80px is too large for it to noticeably be left aligned

vague blaze
upper dew
#

yeah same here

#

i think it should be possible using javascript

#

but I dont know much about that

zenith stag
#

Hey guys, I'm trying to change the color of the grey lines of this custom Horizon Card. The svg for the lines don't seem to have a class, so I don't know if I can target them through Card Mod?
I'm trying to add hc-lines:in my theme, but it seems the card just ignores the theme and uses the color value from the card's config instead. Any ideas?

upper dew
#

looks like maybe the markdown card doesnt support javascript directly

scenic current
#

I think I'm happy with that. Thanks again @untold trail

untold trail
#

Np

upper dew
#

Does anybody know how I can pass a variable/parameter when clicking a button card that calls a service?

dark dirge
#

Variable from where?

upper dew
#

from the user

#

so when i click the button It would need to prompt me for the parameter before calling the service

dark dirge
#

Ok, that's far more complicated than passing a variable

upper dew
#

Yeah. its easy enough if i have buttons that have the variables already in place but i could do with inputting the variable each time

#

I found a solution, thanks. Going to use a text input card

urban nebula
#

Hey, why when i use conditional card it uses 2 spaces when normal one uses just one ?

vital burrow
urban nebula
vital burrow
#

You can use horizontal stacks or grid cards to enforce two cards

urban nebula
tribal galleon
# upper dew Yeah. its easy enough if i have buttons that have the variables already in place...

You could use a browser_mod pop-up to display the variables/parameters and a button on there would actually perform the call-service. This is a pop-up when I hold a button that controls a light group. It's still a work in progress, hence the poor layout, but you can see that I can set the duration that the lights will stay on. Basically, the same as the input_text that you've already discovered.
But, like RobC mentioned, it's not an easy process.

tame oriole
#

is there any way to edit cards a bit bigger? its so narrow its unbearable

upper dew
#

Will look into that thanks

tribal galleon
#

@tame oriole Click where is says "Markdown Card configuration".

tame oriole
#

thats a /little/ better

tribal galleon
#

About as best as you're going to get with the UI editor. Could always go with a YAML-mode dashboard and edit in VSCode, for example. 😉

tame oriole
#

i prefer to have the entity tagging

tribal galleon
tame oriole
#

how do you "connect" it

#

i would only be interested if i could copy and paste code into VScode and have it auto-complete

#

i dont like looking at everything in yaml

#

i prefer to copy and paste it to make it wider on my screen, then paste it back into HA when its done

tribal galleon
#

Just a matter of setting the URL to your HA and giving it a long-live access token. (Click on your profile in the bottom left > Security tab > Create Token)
Though I should note that it seems to currently be broken. (I just noticed it myself.) Looks like the fix is to use v1.39.0 and not v1.40.0.
Being able to use !includes and YAML anchors makes it worth it in the long-run. (Once I get it working again.)

#

Now I think it is working. Downgraded to v1.39.0 and change Host URL to include the port (10.10.10.2:8123).

dark dirge
#

v1.40.0 works for me, but it's just slow

#

you can watch what it's doing in the "output" tab if you select "Home Assistant Language Server"

#

it needs some love, based on the outstanding PRs

tribal galleon
#

Output was saying something about websocket giving unexpected response; returned code 200. (Which I thought 200 = OK...) Saw a couple of other complaints about v1.40.0 being slow. Might give it another try. Perhaps my issue was simply the port number. Also noticed this:

The developer broke this integration back in January and stopped responding to reported issues. You'll probably need to roll back to 1.39.0.

sharp tundra
#

Can you run Kiosk Mode somehow on an Ipad Mini? I installed it on the wall before realizing that maybe you can't..geez

tribal galleon
sharp tundra
stuck spire
#

As in the iPad is locking?

tribal galleon
#

I don't think Kiosk Mode is going to help with that. I assume you're referring to https://github.com/NemesisRE/kiosk-mode.

Hides the header and/or sidebar drawer in Home Assistant lovelace dashboards.
I think what you're looking for is probably more of a setting on the iPad itself.

stuck spire
#

Is that set to never in the iPad settings

#

You could also look into guided access mode (accessibility settings on the iPad… lets you lock the iPad to a single app)

tame oriole
pseudo sigil
#

Power flow card...
The values ​​are correct. But why does the electricity flow from solar into the storage unit and not into the house? Where is the error?

#

and supposedly no electricity flows from the power storage into the house

#

If the electricity consumption in the house is lower than the production on the roof, everything looks OK

dapper grotto
#

Hello

#

I was using this:

#

${ (Date.now()/1000-(new Date(states['sensor.garage_wifi'].last_updated)).getTime() / 1000) < 86400 ? (states['binary_sensor.pir_garage'].state == 'on' ? "var(--paper-item-icon-active-color)" : "var(--paper-item-icon-color)") : "var(--disabled-text-color)" }

#

To understand the last update of a sensor and the time passed to mark it as offline

#

it was working till 2 days ago

#

now the problem is that Date.now() is localtime

#

and last_updated is UTC

#

so there are 2 hours of difference

#

before they were both local time

#

how possible?

snow obsidian
#

I am trying to figure out how to set up a new instance of HA and trhough that instance show enitys from my existing ha

I want to make a dashboard completely public (showing energy production to the public)

#

any idea on where to start reading

zenith stag
# snow obsidian I am trying to figure out how to set up a new instance of HA and trhough that in...

I saw this is the Swedish Home Assistant group the other day. No idea if it's uselful or not, but might be worth checking out. Obviously you do not want that second instance to have any control functionality
https://github.com/custom-components/remote_homeassistant?fbclid=IwZXh0bgNhZW0CMTAAAR2ceZkTsqGSi7bf6sDPCr9VA05hepYf-6CCUpCZFse-lQYpnqf3QAuImlQ_aem_AZB_epGYb7Q0xWnSZY-w8pflHtA43EV8xChUnh8Wu6YjjbAGsVF6VoWKmxpEAaPhDITzTkDlnqhW960mk-wqpIU2

On the other hand, is also sounds like you just need to publish a dashboard, and not run a second instance?

snow obsidian
#

Yes, true but i have a hard time figuring out how to accomplish just that.

#

@zenith stag can you give me an url to the swedish group?

lyric prairie
tribal galleon
alpine crow
delicate parcel
tacit cave
#

you're doing something wrong then

#

you're treating a local time like a utc time or vice versa

delicate parcel
#

Just checked. The entity is "2024-06-10T16:11:47+00:00" so it is not an UTC timestamp, right?

lyric prairie
#

It is, which translates to 18:11 in CEST time

tacit cave
#

that is a utc timestamp

#

+00:00 is UTC

lyric prairie
#

So in 4 hours if you have CEST as local

tacit cave
#

CEST is +02:00

delicate parcel
#

Feeling stupid now ...
I selected the wrong program for my automation. 😄
Thanks for looking into it!

snow obsidian
celest pendant
#

Just curious, i have a WebOS tv that is integrated. whenever its on i see the app its using with a tv control card on my dashboard, can play/pause/etc and turn it off. when its off the TV card turns grey to indicate unavailable but i cannot turn it on, there is no button. I can turn it on with a WoL packet, which i can also create a button for. is it possible to add this button to the tv card?

#

im talking about this card: