#frontend-archived

1 messages Β· Page 192 of 1

hallow mango
#

but it's a start

#

i couldn't figure out where the svg was, so you've been a big help πŸ˜…

#

still mostly prefer the look of the stock card as well... but that's a different beast for me

#

i'm not a css or js dev lol

dark dirge
#

Neither am I. Just good at googling stuff

hallow mango
#

just want something in the end that can show both hourly for today AND daily for the week

#

and look like it "fits" with the rest of my cards

dark dirge
#

it looks like it just assembles various parts of the icon and overlays them. an SVG file is just the HTML that that function generates

#

for fun, paste the contents of this into test.svg, and then view it in a browser.

#

it's a cloud!

#

it's quite clever, actually

tranquil saddle
#

Is it possible to span a card over two columns in the grid card?

errant plover
#

Yes but it requires the use of panel mode and the custom-layout-card.

open seal
#

Hi guys, Is it possible to download an image to my Android via the Homeassistant App by pressing a Lovelace button?
I have a camera, and if I send a GET request to an url, then it redirects me to a webpage which shows the current high-res camera frame. The url is like this: http://xxx.xx:8000/photo.jpg

The goal is to get a high res image from the camera via HA. This could go the way as mentioned above, or when tapping the button, open the webpage in a browser, or show the hihg res image in the HA app in a pan and zoom mode.

errant plover
#

Set up a generic camera with that URL. Write a script to call the capture image service and send it to you via your preferred notification method. Call that script from the tap action of a Lovelace button.

open seal
#

thanks @errant plover I am currently using the mentioned method to receive low res images when my gate bell is pressed.

I found a solution: Lovelace Entities card: Web link component. Now the problem is my IP Camera is using realm authentication, so I cant input the credentials in the URL like user:pass@asd.com:port/image.jpg. This solution would work if there was a way to add the credentials to the lovelace card. I will do some more digging

versed kettle
#

how do I change the icon of a group entity? it says read only when I try to edit it.

vapid field
#

Hi all, Is there any possibility to import a graph directly from influxDB (without using Grafana) to the lovelace?

karmic tiger
dark dirge
#

In general, no. Graph cards typically (always?) use history from recorder:, and Influx cannot be the default HA DB

vapid field
#

i use historygraph geting data from influx, but on influx we can create cool graphs

charred frigate
#

is there a way to spread the icons of the entities (along with their respective states) in the picture-glance-card a little more? There seems to be plenty of space in the "footer" of the card but for me all the things are like grouped together , and the result doesn't look that clean.

half pawn
#

A screen refresh usually fixes it, but I would prefer it always worked

burnt vale
#

Hi, I am asking myself how to add power consumption to my power socket 2nd info?
I have two entities one for the socket and one for the power.

opal matrix
#

In the configuration -> Entites -> Search Entities, how can one filter on a specific Integration ?

burnt vale
#

I should mention that I am using KNX. So it's write protected

#

I can't edit it. I also tried to understand why, because it does not have a unique id. That's ok. I can imagine that it could somehow go via yaml, but how?

#

I think I will join XKNX on Discord. seams to be a specific problem. Thanks

icy linden
#

Guys i can't figure out how to store an entity in a variable (button card) 😦

rich eagle
icy linden
#

For example

#

`type: 'custom:button-card'
entity: light.kitchen_spotlights
variables:

  • myvar: sensor.kitchen_spotlights_current_consumption`
#

doesn't work though

rich eagle
#

Ah the custom card, I thought the HA standard card. No idea about the custom one, sorry.

icy linden
#

hmm okay

dark dirge
#

you might not be able to if that field doesn't support templates. if it does, I would expect something like this: [[[ return states['light.test_light'] ]]]

icy linden
#

I have a template, in which i want to reference the 'myvar' entity

#

My spotlights card is just a switch (on/off), so im trying to display the current consumption too

dark dirge
#

I’m suggesting a modification to your variable definition

#

But you can probably just use the template where it’s needed, rather than defining a variable

#

What you did above was to store a string in a variable. That could be fine, but you didn’t say how it didn’t work

icy linden
#

I stored a string right? I want to store the entity itself. So that my template can reference the current state of that entity

dark dirge
#

You don’t store an entity, but you should be able to reference that variable to get the state of that entity

icy linden
#

I see.

dark dirge
#

As in the example I provided. Replace β€˜light.test_light’ with a variable name

icy linden
#

Okay i'll give it a go

icy linden
#

[[[ return states[variables.myvar].state ]]]

#

This works, but the consumption does not update while the light is on

#

It just fetches the state of the entity once. And the number remains the same

#

hmm

#

Is it because i am storing the state it in my variables: as a string?

dark dirge
#

Where are you using that template?

#

this definition, for example, works fine and updates in real time:

#
                    - type: 'custom:button-card'
                      entity: switch.whole_house_fan
                      name: >
                        [[[
                          return "Fan - " + states['sensor.master_bedroom_temperature'].state + "F";
                        ]]]
#

if you're storing that state in a variable and just referring to it later, then yeah, you'll just get the stored value

icy linden
#

I see, thanks Rob. Reason I am looking into this is. My template is 50-60 lines. So i want to use the code once as a template, for all the light cards. I thought there would be a way to refer to other entities that I choose (such as power consumption) via the use of variables in each of my button-cards. (Since each light has it's own unique power consumption entity)

dark dirge
#

I suspect there is, exactly as you described.

#

you would just need to use a variable for the entity_id

#

you can also refer to the entity that you define for the button in a template like this:

#
    tap_action:
      action: call-service
      service: persistent_notification.create
      service_data:
        message: "[[[ return `${entity.attributes.friendly_name}` ]]]"
#

so you don't necessary need a variable to customize a specific button with a specific entity

wild lava
#

Hi

#

how can I made a dropdown list in FE HA?

#

I want to make a list to pick up the desired time of the day for an alarm!!, Thanks!!!

frail bridge
#

I'm trying to use @polar kelp's switch-card, but I can't figure out how to hide the card completely, depending on the user. I've got the user part done, but I can't hide it. How would I do that?

errant plover
#

Then add that to an entities card.

frail bridge
quaint snow
#

Hi All. Is there a way that you can slide to a different 'view' on the dashboard when using kiosk mode?

split fiber
#

Hi, I am new to HA and coming over from Hubitat. I have a problem that I cant figure out. can some one help?

errant plover
#

Not unless you tell us what the problem is.

kind shellBOT
#

Don't ask to ask, just ask your question. Then people can answer when they're around.

When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
split fiber
#

I am trying to get a custom card to work in lovelace that will show me the name of my sensor, the state of the sensor, the date and time of the last trigger (mm/dd/yyyy, HH:MM:SS AM/PM), and the time since last trigger. Finally, it should sort in most recent trigger. For example, "Motion Living Romm closed at 04/07/2021, 11:00 pm. 40 minites ago."

errant plover
split fiber
#

Thank you, I will check it out.

heavy cove
#

I'm using a custom-card and I want to get rid of the group lights and start using the rooms/areas that is within HA... is this at all possible to call this by the "entity" value at all?

errant plover
#

Which custom card?

heavy cove
#

custom-button-card

#

or even the lights card

#

i just want to interact with the group rather than each individual light

errant plover
#

It's quite a while since I set up my custom-button cards but from memory I had to use groups not areas. Check the github instructions, this may have been added.

heavy cove
#

what about in just the normal lovelave light card?

errant plover
#

Entity/group only according to the docs.

heavy cove
#

hmm.. i'm really confused as to why this isn't implemented yet.. it seems a no-brainer to me... areas makes things so much easier to organise.. and having to press 3 buttons to turn off/on one room of lights is just silly.. one buttong for 3 lights in one room makes way more sense

#

the only way to do this so far is with light-> groups.. and that just creates duplication and makes it really hard to streamline your config as you can easily loose track of entities

quaint snow
#

use a switch template or just group them into one

errant plover
#

Light groups are easy enough to make.

heavy cove
#

easy to make.. mistakes when createing automations etc

#

light groups are in YAML... group groups are in the UI ... just trying to say it needs streamlining

errant plover
#

Ha! There are more than a few parts of home assistant left to polish, and only a small development team. Give it time and use the best available for now.

heavy cove
#

you SHOULD be able to interact with groups with any object/card etc

quaint snow
#

I thought you could?

heavy cove
#

nope.. u can't interact with groups without creating it in the YAML first... u CAN with automations easily enough.. but not general everyday cards

#

as they are not an entity

#

one group = many entities

quaint snow
#

well that is the idea of the groups.yaml, to create groups... maybe we have a misunderstanding?

heavy cove
#

yes... but you have "areas", "groups" and "entites... I want to turn a light off by "AREA"... and to it like a group kind of thing.. I don't want to create a group each time I create an "area"

#

or modigy the group every time i add something to an area

quaint snow
#

well you can't... you have a solution though.

heavy cove
#

yes.. there is a "work around".. not a solution haha.. the problem becomes when trying to troubleshoot thigns and find out where things go etc.. google / alexa groupings.. button-cards - light cards... don't work all that well

quaint snow
#

it is the solution, unless you want to become a dev and make the change yourself?

And as for the problem, just remember that when you create a button or card or whatever, use the group entity

heavy cove
#

i would love to be a dev.. trouble is i just don't understand / not very good at coding

#

im just saying it's an area that could do with some TLC if it's not able to be done now.. most of the code is there... but you can't do anything useful with it yet

mild veldt
#

that's a well known sentiment, but the "most of the code is there" claim is misleading

#

That turns on everything assigned to the area though

plain onyx
#

Anyone know the easiest way to create a button to enable/disable An automation ?

errant plover
#

The easiest way is to add the automation as an entity in an entities card. There will be an enable/disable toggle to the right of it.

#

If you want a Lovelace button, the tap action would be to call the homeassistant.toggle service for the automation entity.

plain onyx
#

@errant plover thnks

quaint snow
errant plover
#

Considering it already looks and acts exactly like a switch if added to an entities card, I see little point in doing so.

weary axle
#

Im looking to understand how my recorder: and history: settings should be for a normal home assistant instance. Had it all deactivated initially which explains why I didnt get any graphs to work. Now I turned recorder on and with purge every 5 days. Im running HA on a unraid server so no issues with sd card etc. Do anyone have a good example of an "normal" way of what to include/exclude that I can use as a base?

karmic tiger
#

'Normal' is whatever works for you.

compact wagon
#

Hello, I am looking for a card for editing calendars. I got the "view calendar" card, and I got a custom card to input an event to the calendar through calling a service, but I can't figure out how to make edit and delete event cards, and would preferably have them in a more intuitive setup. If that is even possible? (I am using a google calendar)

kind shellBOT
charred jetty
#

I had to reinstall HACS because it suddenly disappeared from the sidebar.
Now I can't get it installed properly anymore.
All steps followed correctly, HACS does not appear in the sidebar and does not look good in Integrations. Folder is created in custom components.

Posted this issue in HACS Github where I was told this is a issue with the Lovelace configuration.
h
Error log: https://paste.ubuntu.com/p/tJNkXzsrtK/

upper tulip
#

Is there a way to make this card smaller so that it fits the two cards, there's a lot of space beneath which I dont need? https://imgur.com/zRqCNDn

charred frigate
#

@charred jetty I think that HACS related issues can go to either #general-archived or even better HACS' own Discord server where I believe Ludeeus and other people may offer you some help depending on your issue

#

@upper tulip there is this custom beauty by @polar kelp (https://github.com/thomasloven/lovelace-card-mod) which allows you to inject CSS values to (almost) every HA card. Idk if it fits your case I am nowhere near to being dev-oriented but "size" in my mind sounds like a CSS thing. So perhaps it can help you.

errant peak
#

Hi all

#

tap_action:
action: call-service
service: script.water_a_zone

#

Is it possible from UI lovelace

#

to call two different scripts

#

when tapping a button

#

depending on the state of a sensor?

charred frigate
#

@errant peak it sounds like a templating thing. i.e. using some if..then..else magic to check on the state and deciding which service to run. What I am not sure is a) whether you can have templates inside the card configuration and b) if those templates are syntaxed the same way as everywhere else.
For example I see this (if I scroll up a bit in this channel): https://discordapp.com/channels/330944238910963714/460846676358332417/829447251688030259
which clearly indicates that some form of templating is supported - however the brackets and the overall syntax seem a little different than what I'm used to.

upper tulip
#

Thanks! Will check this out

charred frigate
#

Personally I am looking for a way to have different views per device. I am not looking so much for different cards per view , as the ability to have a view with panel: true for some device_A and not for device_B , _C or _D.

#

So if anyone can drop me a hint , I'm all ears

polar kelp
#

@upper tulip Is that a grid card? Set square: false

upper tulip
#

It’s a custom button card in a horizontal stack?

tawny vault
#

lovelace/default_view:0:0 Uncaught are these happening because of Thomas' layout card? Anyone know?

#

they seem to have started around the same time I installed it

mystic orbit
#

Hi all. Wondering about unit conversion in HA. I have a tire pressure sensor which emits values for pressure and temperature in kPa and degrees C, respectively. I have named the sensors "Tire 1 Pressure" and "Tire 1 Temperature". I have my HA Unit System set to "Imperial" in "Configuration -> General". When I display the entities on an entities card, the temperature is auto-converted to degrees F (and it automatically figures out that the sensor is a temperature sensor so I see the thermometer icon), but the tire pressure is registered as a generic sensor (easy enough to fix with device_class: pressure in customize.yaml) and units are kPa. Not sure why one is automatically converted, but the other is not. Should I be using a different device_class or naming the sensor differently or using a different unit_of_measurement ...?

#

Obligatory mea culpa for using Imperial units. Some day ... πŸ™‚

tame dove
karmic tiger
#

I think they already did:

(easy enough to fix with device_class: pressure in customize.yaml)

#

Is the question more 'why does HA not convert kPa to imperial'?

mystic orbit
#

... so if I have a sensor that has a defined unit_of_measurement because that's how the sensor delivers it, but in customize.yaml I say use a different unit_of_measurement it will change the display but not what is like, stored in the database?

#

I do wonder why degrees C were auto-converted and kPa is not.

karmic tiger
#

You don't want to do that. Specify what it's actually in and Lovelace is supposed to present it in your preferred style.

mystic orbit
#

Okay. So then I'm still looking for pointers about how to change the display of that sensor. I guess I could use a template sensor to convert but that seems like a waste.

karmic tiger
#

I don't think HA is attempting any conversion for pressure. I just switched between metric and imperial and my pressure sensors all report metric.

#

A template sensor won't help, since Lovelace will still decide what units to display, even if the value is converted.

mystic orbit
#

I guess I could try to properly grok kPa for my tires.

karmic tiger
#

If you want to go the template sensor route, you'll probably have to drop the unit of measurement and hard code that into your templated value.

#

If there's not already a PR/issue for this, it seems like a good one to raise.

steel monolith
#

I've gotten around the conversion using template sensors - but you have to set the unit to something other than what HA expects. There's a unicode character that has both the degree symbol and C as a single character.
unit_of_measurement: '℃'

mystic orbit
#

But I have an environmental sensor which I load into HA in hPa, and that displays in hPa. I have a device_class: pressure customize.yaml entry for it, and the sensor unit_of_measurement is defined as hPa.

#

Hmm. From the HA "sensor" integration page:pressure: Pressure in hPa or mbar. I wonder if the imperial pressure conversion is just not (yet?) implemented in HA ...?

#

If there was a universal pressure conversion, it would be good to have an override for folks that are partially in each world (i.e., mbar or hPa makes more sense to me for environmental sensors than does inHg or psi, but for tires psi is my go-to).

karmic tiger
#

Great suggestion but it'll get lost in the noise here. Raise it on the forums.

steel monolith
#

Anyone having issues with the frontend (and safe mode) after updating to 2021.4.1? Both failed and I ended up having to downgrade back to 2021.14.0 to get my instance back online and functioning.

frail bridge
#

Is there a way to instert an entity's state into the lovelace yaml? for example, I want this:

    hide_header: false```
To actually be this:
```kiosk_mode:
    hide_header: [STATE OF ENTITY]```
#

I can, nvm. Used {{ states('sensor.temperature') }}

tame shale
#

hello is there way to make a entities card only show switches / lights that are ON?

mild veldt
#

@tame shale you could use conditional rows to manually do this, or use a custom card like auto-entities

tame shale
#

ok

#

googling now πŸ™‚

#

thanks

#

oh I hear that ThomassLoven stuff is going down a rabbit hole πŸ™‚

#

i'll bring a rope

#

well that might have been the easiest thing i've done in HA πŸ™‚

#

thankss

split fiber
#

I just set up the "auto-entities" custom card for my alarm sensors. Is there any way to have it display the last tripped time, as reported by the sensors? I can get the last updated or last changed, but cant figure out how to get the last tripped time. The card resets if I restart HA and it looks like the sensors were all triggered after reboot.

frail bridge
#

Is there a way to add a ui-configured dashboard, while configuring all my other dashboards through the UI?

#

I really need to use !include, but it doesn't work in the raw-configuration-editor

errant plover
#

If you mean an auto-generated dashboard, yes you can have one of them while taking control of another.

frail bridge
#

Thanks. One more question, I have a popup that I can call a service from. I want to trigger another popup from inside that popup, but I can only do that using fire-dom-event. How woudl I call an action: from a service call?

frail bridge
#

I'm just confused as to what an action is. Can I call an action from a script?

maiden iris
#

How do I change the color of the lines on the map card? https://i.imgur.com/XB2EkX1.png I think I'd need to change the color of the entity, but I cannot find anywhere how to do that. When I google it I only get answers for colors depending on state, which is not what I want

karmic tiger
#

I think that's been asked before and there's no easy way, Sjorsa.

maiden iris
#

well, I guess ill stick with the default random colors. Its just kinda confusing because they change every once in a while

karmic tiger
#

Yeah, I'm not sure what the logic is behind colour selection πŸ˜„

topaz marten
#

Ok, so i've googled and either i'm struggling or not searching right. I'm trying to put on a new lovelace card, and the instructions say to place it in your config/www directory.... is that a "config/www" directory or is that meaning config directory or www directory? I'm running as a docker on synology with the image "homeassistant/home-assistant:latest"

karmic tiger
#

It's a path... config/www means the www folder within the config folder.

topaz marten
#

in /config i don't have a www folder. is it simply a matter of creating it and placing it there, or would it possibly be somewhere else?

karmic tiger
#

You'll need to create it and then restart HA for it to detect it.

topaz marten
#

awesome, thanks for the assist mono... i'll give it a shot

topaz marten
#

ok, bear with me, i'm a HA noob.... so i created /config/www/ and put the weather-card-chart.js file in there. then i went in the GUI to config/lovelace dashboards/resources and i added the url /local/weather-card-chart.js as a resource type javascript module, then restarted HA. I went to add card, and it didn't display there, so i assume it must be manually added? so i add card as manual using the example on the git page, and it says "custom element doesn't exist: weather-card-chart". am i missing a step?

rich eagle
#

The custom card name has to be prefixed with custom:, so custom:weather-card-chart.

topaz marten
#

@rich eagle I have the following:
type: 'custom:weather-card-chart'
title: Weather
weather: weather.openweathermap

rich eagle
#

Okay, then what I wrote is not the issue πŸ™‚

karmic tiger
#

If the UI doesn't see it still and you're confident you set it up correctly, force a refresh of the page. On most Windows browsers, that's Ctrl+F5

topaz marten
#

well, still no luck.

#

i even tried a new browser i've never connected to HA with to ensure no caching of files

#

here's what i've got if that helps

formal tide
#

open browser dev tools, have a look at resources failing to load

topaz marten
#

@formal tide i see a get weather-card-chart.js that returns a 200 OK. If i look at the response it matches the contents of the .js file

#

at least if i'm looking at it right

formal tide
#

that is weird, i expected a error there

topaz marten
#

i'm guessing i'm missing something with integrating the .js into home assistant.... i just went to lovelace dashboards in the gui, clicked resources at the top, add resource, gave it /local/weather-card-chart.js as the URL and resource type JavaScript Module. is there something else i'm missing? I've restarted several times during troubleshooting, so it's not that it hasn't been restarted

formal tide
#

when the console reports 200 it's fine 🀷

topaz marten
#

that's what i would have thunk

formal tide
#

are you sure you copied the script there? not some garbage?

faint urchin
#

I have a script "Send OZW Node Command" which I cannot seem to remove (says can't be edited because it's not in scripts.yaml", and I no longer use OZW, where would be the right place to remove that?

topaz marten
#

@formal tide yep, if i browse to it it shows the file just fine

formal tide
#

but is it valid javascript in there?

karmic tiger
#

Paste the contents of that file into a code sharing site please

faint urchin
faint urchin
#

Now I just have to track down 2 scenes that aren't in scenes.yaml πŸ˜›

karmic tiger
#

No... what shows when you view the link on your local system. Forget GitHub for now, that only tells us what should be there

topaz marten
#

dang.... i don't know that i changed anything but it's working. glad its working but hate that i don't know what the fix was. I'll grab some more custom cards and make sure my process is correct. Thanks all for your help

split fiber
#

I just set up the "auto-entities" custom card for my alarm sensors. Is there any way to have it display the last tripped time, as reported by the sensors? I can get the last updated or last changed, but cant figure out how to get the last tripped time. The card resets if I restart HA and it looks like the sensors were all triggered after reboot.

karmic tiger
#

What do you mean by 'last tripped'? How is that different from the last time the state changed?

sly pulsar
#

Anyone know how I can get a title below in a picture elements card and have the same transparant bottom bar? Same like on a picture glance card. Thx

empty escarp
#

Since I am not familiar with CSS, I wanted to ask whether the size of the State-Icon Icons on the Picture-Elements-Card can be changed so that it scales with the size of the screen?

primal herald
warm seal
#

hi! my default lovelace dashboard disappears from the sidebar quite regularly. this is the only lovelace code in my config:

  mode: yaml
  resources: !include_dir_list ../lovelace/resources```

any clue? happens on browsers & app
frail bridge
#

Does anyone know how to call an action from a script? For example, calling fire-dom-event?

kindred haven
#

That has all the information you would need on scripts, and calling services from it.

frail bridge
kindred haven
#

Define "action"?

frail bridge
#

Something you can call with a tap-action or hold-action

kindred haven
#

So, a service?

frail bridge
#

No. You know how an action can be call-service or navigate or something?

#

I'm trying to call fire-dom-event which can only be called as an action

#

Here's what I'm trying to do. I'm trying to call a popup using Browser_Mod, but that only works with fire-dom-event. However, I need to call the popup from a service call.

karmic tiger
frail bridge
#

Instead of doing

  action: call-service
  service: browser_mod.toast
  service_data:
    message: Hello, world!
    deviceID: this```
you now need to do
```tap_action:
  action: fire-dom-event
  browser_mod:
    command: toast
    message: Hello, world!```
karmic tiger
#

So a toast. Not a popup. Gotcha.

frail bridge
#

But I still need to call the popup through a service, so I was trying to do it using a script

karmic tiger
#

If you use the right terminology, it's easier for people to understand what you're asking.

frail bridge
#

Sorry, I'm a bit new to this. It's not a toast, it's a popup. When calling a popup (like a popup card) you need to use deviceId: this, which can't be used with a service call

#

Although this also does apply to a toast

karmic tiger
#

You literally just shared two snippets, both of which reference toasts.

#

Humour me. Try that, see if it achieves what you're after.

frail bridge
karmic tiger
#

Stop tagging me...

frail bridge
#

Sorry, not trying to ping you.

#

I apologize if I'm coming across as rude, I'm just not doing a good job of representing my question

kindred haven
#

I think you really should go back to the beginning, and start with explaining what it is that you're trying to accomplish.

karmic tiger
#

This release changes the way browser_mod functions are called from the frontend when you want something to happen only on the current device.
From the backend, you can't tell it which device to do stuff on.

#

If you want a script that has zero knowledge of which browsers are open to show something, it'll show on all browsers.

frail bridge
#

Does that make more sense?

karmic tiger
#

It was fairly clear from the beginning, minus the mixup between toasts and popups... and the answer remains the same.

#

There already exist services created by the browser mod integration which call popups/toasts from services. They have limitations (as I've already described) but they do what you're asking.

#

The downside of calling from the backend is that it won't know which browser to affect.

frail bridge
karmic tiger
#

You can't do browser magic from anything but the browser, no.

#

DOM events happen entirely within the browser. If you're already in the browser, JavaScript can fire DOM events for you (which is what the card does for you).

#

The backend part of the integration will happily relay info to the frontend but has no way to identify a single browser.

frail bridge
#

And there's no way to fire a dom event, from a service call. Got it. Guess I'll just have to ask the dev of the card to integrate more of Card_Mod 🀷

#

Thanks for the help, I really appreciate it! Sorry if I'm a bit bad at explaining this, I'm pretty new to HA

karmic tiger
#

I'm sure if there was an easy way to do it, Thomas would have already considered implementing it. He's a great dev and really cares about creating useful cards/integrations for us.

karmic tiger
#

Omega... come back πŸ˜„

kindred haven
#

In a bit. I messed up the code

#

For a second time πŸ˜‚

#

Hi guys. I'm trying to get HA groups to show the color it's set to using the custom button card. I have the following config for it, which works perfectly for singular lights, but I cannot get it to show the color for groups. Anyone have an idea on how I might make this work?

https://paste.ubuntu.com/p/KGYXV7yhmD/

#

It's probably a dumb question, but I'm honestly burnt out from a renovation and just can't seem to find a proper fix for it 😦

frail bridge
kindred haven
#

The thing is, I'm trying to keep it as simple as possible as script isn't my strongest suit.
The actual simplest solution would be to use a ZHA group, the entity of which does contain the RGB information and therefore does show the color. But I'm finding ZHA groups to be a bit wonky.

#

Which, in all fairness, might also be the bulbs.

frail bridge
#

script isn't my strongest suit.
Same here. But yeah, I don't really know if you can do anything on the card. If all the lights are always the same color, you could try using a template to set the icon color to just one of the lights, but that also might be a bit too complicated

kindred haven
#

That is actually not a bad idea. That might be worth looking into. And I went back and checked, it's definitely the ZHA groups that are wonky. Turning off a group which turns itself back on and such.

frail bridge
#

Are you using ZHA groups? Or Homeassistant groups

kindred haven
#

I started with a ZHA group, because that sends the signal to all bulbs simultaneously rather than subsequently. But because that works wonky as hell, I'm using HA groups now. It does work a lot better, but I want to perfect it a bit.

frail bridge
#

I don't think you can get the LED info from a group entity. I would try using a light template, as then you don't have to deal with the icon templates. Let me see if I can write something really quick.

split fiber
# karmic tiger What do you mean by 'last tripped'? How is that different from the last time the...

Last tripped is when the sensor was last activated and survives a reboot of HA. For example, my motion is tripped and the last_tripped_time is 2021-04-09 13:00 and the last state change is say, one minute ago. If HA gets rebooted or some other change takes place, all sensors report they tripped a moment ago but the time stamp still has 2021-04-09 13:00. However, that time is only displayed if I click on the card. I cant figure out how to list all attributes on the same entity card line.

kindred haven
#

πŸ˜’

frail bridge
#

That might do the trick :)

kindred haven
#

Time for this renovation to be over. It's really doing a number on me πŸ˜’

#

Thanks for the help mate. I really appreciate it.

frail bridge
kindred haven
#

The sweet joys of HA πŸ˜‚

frail bridge
#

It's addicting, once you finally figure something out. I got my Homekit style dashboard going yesterday, and it felt amazing

kindred haven
#

Noice

frail bridge
#

And then I went on reddit, and saw 10 people with dashboards that improve on mine, and so here I am

kindred haven
#

Hey, it keeps it fun. I'm not one to mess around with my dashboard too much. I like how it is now, which is fairly simple and straight forward. But I'm always trying to screw around in Node Red to see how I can make everything better, smoother and what not.

frail bridge
#

Node-red is amazing. I still don't understand how people code such amazing things from scratch, all my stuff is usually just copying someone's github repo

jovial egret
#

Hello
Is there a way to display only a icon or button with a weblink. At klick on the button the link should only be executet (opend in background) not opend. Its a api link so i dont want to see anything only the link should be visited.
Hope you get what i mean my english is not the best πŸ˜‚
Thank you

jovial egret
#

Found a way but Thanks !

severe spire
#

Hi, so i have had a version of HA running for about 2 years, as of yesterday i can no longer connect it via duckdns or directly to the ip, i get "ERR_EMPTY_RESPONSE". I know it is up and running because my unifi software run's in a HA addon and i am able to connect to that fine. I am also able to connect to the shared folder, but i was wondering if anyone can give me guidance on how to connect to the front end

formal tide
#

empty response happens when you serve https and try to access with http

severe spire
#

that was it, thanks, been a while since i have used it

#

i am guessing my letsencrypt is expired thats why duckdns wont work

burnt hill
#

Hi all, what would be the best way to troubleshoot an Uncaught Error showing up in the logs, that seams to point at lovelace/me?

hallow mango
#

catch it

worldly silo
#

Is there anyone who might be able to help me debug a curious problem? After a recent update (roughly 3 weeks ago) my main lovelace view started appearing completely blank. (If I watch closely, when I click to load this particular view, it appears for the briefest of moments and then goes blank.) I narrowed it down to the custom:simple-weather-card that I'm using. If I remove it from the vertical stack it's in, everything displays properly. If I add it back, the whole view appears blank again.

The rub is, if I copy that same config that I just removed into its own card, it displays fine. It's only when I include it within the context of the rest of my vertical stack that it causes the whole thing to vanish. Any idea why that would happen?

There are no log errors for this problem, it just fails to display in the vertical stack alongside all my other cards, Give it its own card by itself, and it works fine.

edit: a bit more testing and it works even in the current view, as long as its separated into its own card.

heavy badger
#

Hi all, hopefully this is a simple question, but I came across this merged pull request and can't seem to replicate the behavior to edit my side panel: https://github.com/home-assistant/frontend/pull/6755

I've tried desktop and mobile, long press, double tap, dragging - no dice with anything so far. Is this feature actually live, and if so, how to I utilize it?

Edit: Found it under Profile > Change the order and hide items from the sidebar βœ…

formal tide
worldly silo
tribal sundial
#

Hey, i have a bunch of dimmer devices. Is there any way to create vertical sliders for dimming of devices, that i can have in a entities card in lovelace? Currently i can only add all my lights in one card, where i have to open each light individually to be able to set brightness.

#
    name: Living Room```
formal tide
tribal sundial
#

Exactly what i wanted! Thanks

bitter bolt
#

i'm trying to use a custom integration that instructs me to create new yaml files ( ex; sensors.yaml , binary_sensors.yaml ) for sensors.

is simply creating these yaml files enough for HA to load them and utilize them on startup? or do i need to somehow add them into configuration.yaml?

#

i know configuration yaml has things like;

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml```
but i'm not sure if i need to include my new yaml files the same way?
quaint snow
steady bay
#

Template variable warning: 'break' is undefined when rendering '{%- set activepage = namespace() -%} {%- for entity in device_entities(haspdevice) -%} {%- if entity|regex_search("^number..*active_page(?:\d+|)$") -%} {%- set activepage.entity=entity -%} {{ break }} {%- endif -%} {%- endfor -%} {% if states(activepage.entity)|lower == "none" %}-1{% else %}{{ states(activepage.entity) | int }}{% endif %}'

#

when trying to stream onvif camera

#

Nonmatching transport in server replay

karmic tiger
bitter bolt
#
  unit_system: imperial

  - platform: mqtt
    name: 'PC CPU Temperature'
    unit_of_measurement: 'Β°C'
    state_topic: 'home-assistant/pc/amdcpu-0-temperature-0'```
i have this in my configuration.yaml, but my sensor still reads in faranheit. any way to override it?
#

i want some things to remain F by default (ie; local weather temps), but other sensors like the CPU sensor to be in C for obvious reasons.

mild veldt
#

This is not frontend related

karmic tiger
lucid bronze
winter warren
#

what's the latest recommendation for making dashboards that are mobile responsive?
edit: will play with the grid layout in lovelace-layout-card

hallow mango
#

I still just use nested stacks fwiw

#

between hortizontal-stack, vertical-stack, and stack-in-card

#

I use the same dashboard on phone/tablet/web, and it scales well enough for me

mighty turtle
#

Hey Guys,
i have a little problem setting up a part of my User Interface for gas prices.
In this case i have 50+ entities i want to order by current state while displaying them with one of their attributes as their name.
The sorting-part is working well with auto-entities.
But i cant figure out how to have sorting and custom names/attributes as their name.
Any Ideas?

errant plover
#

Making an attribute appear as the name sounds like a job for the custom Lovelace Templates card.

#

There's two. Use the one that uses JavaScript templates. The jinja one will introduce a large processing overhead.

mighty turtle
#

Thanks for the headsup. yeah, i knew this day would come. Templates are my Archnemesis πŸ˜„

errant plover
#

And just to make things worse for you it's a whole new type of templating (JavaScript) 🀣

#

Actually I thought auto-entities supported templates?

mighty turtle
#

Thats no problem i guess. The less you know about one thing the easier it is to learn another ^^

errant plover
#

I can't access github to check.

mighty turtle
#

i am gonna double check that

#

in the examples it is only used for filtering.

#

i hoped to get around templates, because besides a few changes to copy&paste ones i did nothing with them ^^

errant plover
#

Ah ok.

mighty turtle
#

But itΒ΄s only 01:50 in germany so i have a few hours left πŸ˜„ told my self to get it done before sleeping

errant plover
#

I'd link you to the forum post for the template card but the forum is down for upgrades at the moment.

mighty turtle
#

and is overhead a problem on bigger machines or just on a pie? I use a laptop for now and i allways think its overkill πŸ˜„

limber mist
#

I'm trying to add a timer to the front end, is there a way to use the entity card and have it show the time counting down?

#

it works if it's in entities, but for entity it just stays at the start time

dark dirge
#

only some cards support that because it's not easy to do reliably

#

the custom button card does, but I don't know which others do

limber mist
#

I'll try that

dark dirge
#

maybe the entity card does

limber mist
#

the entity card seems to randomly change

dark dirge
#

timers are handled in the backend, so it's annoying and inefficient to update the current value in the frontend reliably. You either need to poll the value or set up an event/listener, or just maintain a separate counter in the frontend that you hope stays in sync

limber mist
#

that'd be fine for my purposes

dark dirge
#

when I wanted more control, I just built my own timer with an input_number

#

an automation with a time_pattern, decrement input_number, trigger on 0, etc.

errant plover
#

I think if you have 50 sensors you should stick with the JavaScript version.

lyric harbor
#

I am fairly new to HA. I can access it though the cli but not through the web ui. I tried to install samba through the cli but I can't get it to work. Any suggestions?

dark dirge
#

head to the channel for your installation method

lyric harbor
#

Thanks

mighty turtle
#

I mean i want to keep the load low, just because of noise πŸ˜„ still hoping for a nice server on eBay but that isnt something you see often in germany^^

limber mist
#

@dark dirge got the timer working with the custom card - thanks for the tip!

hallow mango
#

I really like robs idea of an input_number automated to decrement

#

think that'd look real nice in an entity card

limber mist
#

the entity card with a timer looks pretty nice, too bad it just doesn't work

hallow mango
#

doesn't update?

limber mist
#

yeah

#

only if the timer pauses/starts

errant plover
#

How often do you need it to update? I have some countdown timers that increment reliably on the minute. They're basically template sensors that subtract the time from an input number.

limber mist
#

well it's a 4 minute timer, so every second

#

but it works on custom card - probably just a front-end timer

dark dirge
#

I have a 30s alarm countdown. Custom Button card was okay with a timer until I started playing with templates

pallid pier
#

Is there a way to mark a specific lovelace dashboard as "public"? That is, people (with the correct url) can view that page without needing to authenticate?

hallow mango
#

that would be awfully neat

pallid pier
#

I think so too πŸ˜›

frail bridge
#

Does anyone know of an empty card that still has width? Like a spacer?

pallid pier
#

@frail bridge I'd try the markdown one

errant plover
#

Thomas Loven has a "gap-card"

copper anvil
#

Hi. Using HA supervised since one month ago. Love the idea of HA, but struggling with creating a light template of my liking. Is there anyone that could help me find any tutorials including code etc for creating a simple square light button (I'm using button-card) with info on how to change icon and text positions and size?
Yes, I've read the docs and I'm trying everything out as i go)

devout hatch
#

Hello I wanted to install pop-card but on github I saw to install browser mod instead. I just want to on click of a button card display some additional buttons in a popup and call appropriate services

pastel valley
#

Need to give "top" "left" etc attributes to give position this card on my page.

#

Every single object and card on my page have own cordinates like this: style:
top: 77.4%
left: 39.6%
width: 25.2%

#

Try to get that Weather-forecast working that page, but not success.

digital lynx
#

i have entities that have dates as state. I use these for garbage pickup. Is there a way to use a state_filter that checks if the date of the entity is the same as the date today and if so shows the entitycard with the specific entity

tepid raft
#

How do people generally display commute times in their dashboard? I found travel-time-card, but hasn't been updated since 2020, so thought I'd check here.

kind shellBOT
chrome parcel
#

Hi, need help! πŸ™‚
Is possible somehow tempolate entity icon in Lovelace?
Like
icon: >-
.....
?

errant plover
chrome parcel
pearl shadow
#

hi all, I see that in History I can filter for one particular entity: I wanted to know is there any way of quickly filtering for multiple entities at once?

dusk magnet
#

I have a sensor that I want to display on my dashboard that is measured in seconds. Is it possible to convert this to minutes?

#

Or is my only option creating a template sensor to display on the dashboard?

karmic tiger
#

Template sensor or use a card that supports templates (some custom cards).

dusk magnet
#

I assume the glance card does not support templates?

rich eagle
#

It does not

dusk magnet
#

Thanks everyone

chrome parcel
hallow mango
#

just use this:

type: entity
entity: light.hall
icon: mdi:weather-sunny
#

you don't need to template the icon unless you want it to change dynamically

#

alternatively, you can just set the icon for the entity in that entity's "more info" dialog, and use:

type: entity
entity: light.hall
#

@chrome parcel

dim jolt
#

can anyone tell me what the CSS name is for the icon in this image? i've tried ha-card ha-svg-icon ha-icon
using panel: true this is 6 conditional cards that show the state of doors and locks if open or unlocked

charred jetty
#

How can I check the config of OpenWeatherMap? Mainly the lat/lon settings.
I installed the integration and have not used the yaml config.

karmic tiger
#

It'll just use the lat/long of your HA setup.

frail bridge
#

Does anyone know how to get a consistant font size on devices? I have the font-size set to 0.9vw on desktop, which works great, but it's tiny on mobile :/

#

And the roundness of the card dissapears

#

probably because my border radius is also using vw

unkempt hull
#

ok... one last question... lol... is it possible to have an input_boolean show "on" or "off" based on the power level of a sensor but when it's on, and you press it, it runs the "turn off" script and when it's off and you press it, it runs the "turn on" script?

dark dirge
#

that sounds like a template switch

unkempt hull
#

yeah I can make the template switch which presents on/off based on sensor power levels ... I just didn't know if I could have that also run scripts when pressed

frail bridge
#

Is there a way to use !include when using the raw configuration editor? It doesn't seem to work on ui-dashboards

dark dirge
#

that's kinda the point - you can tell it what to do when it's turned on or off

unkempt hull
#

oh nice.... I'm used to doing everything with node red... I'm trying to learn scripts and automations to do more stuff in HA directly

#

I'll check it out

#

thanks

#

and if I just read the docs, I would have seen that... part of it is not knowing what things are called... googled template switch and boom... got what I need... thanks

unkempt hull
#

Works perfect! Thanks Rob!

unkempt hull
#

what does this mean? Error loading /config/configuration.yaml: invalid key: "OrderedDict([('states("media_player.living_room_tv_webos")', None)])"
in "/config/switch.yaml", line 201, column 0

dark dirge
#

you have some broken thing in or around line 201

#

looks like it's a template of some sort

unkempt hull
#

I'm trying to set the value of a switch template to the on/off state of my tv: value_template: {{ states("media_player.living_room_tv_webos") }}

dark dirge
#

you need to quote your template

unkempt hull
#

outside the curlys?

dark dirge
#

yes

#

make sure to mix the quotes. in this case, use '

unkempt hull
#

brilliant... thanks... wasn't sure... too many places to post a question and when they overlap I get confused... I'm learning... Thanks for the "gentle guidance"

errant plover
#

Does adding object-fit: cover; after the rotation help?

lapis tundra
#

I think this si the right channel... I am trying to set up the home assistant app.. Because of hardware limitations I can not set up either loopback or dnsmasq to work with my phone it seems.. So I have found it will connect to a differnt URL if I am connected to my home wifi network... But homeassistant.local won't work on my phone.. And I can't enter the IP address because it wants and actual URL.. Ideas?

dark dirge
lapis tundra
#

I will go there, thank you.

errant plover
#

Yes, it needs to be after the rotation. Try object-fit: contain;

#

You may need to rotate and fit the image object in the card, not the ha-card.

errant plover
errant plover
#

Ok, then as I said earlier, you may have to open your web browser inspector and find the image element to rotate in ha-card, rather than trying to rotate the card.

hallow mango
#

@formal zodiac what cam and firmware, just curious?

errant plover
#

Yep. That's the idea.

errant plover
#

Is it located in a shadow-root? Post a screenshot of the inspector (showing from the ha-card level to the image object) to imgur and link it here.

quaint snow
#

Hi All. Is there a way that you can slide to a different 'view' on the dashboard when using kiosk mode?

halcyon basin
#

Hi Guys and gals, I know it's possible to have a system generated dashboard and combine that with a yaml (i had this before i screwed up massivly and deleted all of my config!) I'll get back there today hopefully, but is is possible to restrict the default dashboard so that not all users can access it? I find the system generated one useful sometimes, but don't want all of the people that have access to HA to have access to everthing.

#

sorry for the text wall.

errant plover
#

No, you can't use permissions with the default dashboard. You can take control of it and edit it down to what you want exposed to all users then create another dashboard, leave that one as system generated and add permissions.

halcyon basin
#

that's a shame, it's hand having a page that contains all newly added devices without having to add each new device/item

#

just don't want everyone be able to access everything.

errant plover
#

You can do it. Read what I wrote again. As long as the auto-generated dashboard is not the default dashboard (take control of that one) you can give it permissions.

halcyon basin
#

ah, ok. sorry.

peak bluff
errant plover
frozen olive
#

Is it possible to reload custom panels without restarting HA?

plain onyx
#

euhm small problem with my mediaplayer page , ctrl+f5 makes them visible but after few minutes page is not visible again ?

errant plover
#

Check your system log for errors. Check the browser inspector debug console for errors after it happens.

next turret
#

Time for me to start looking at my front end. Is there a way to have a differnt front end depending on the device that access it? i.e mobile 1 kind web a different?

errant plover
#

Yes. You can create a desktop dashboard and a mobile dashboard. Then assign the one you want as default on the device.

next turret
#

thanks

verbal junco
#

Am I right in thinking that different dashboards can also be displayed on different devices by using different user ID's?

unkempt hull
#

@verbal junco you are correct sir πŸ˜„

#

next question... what does it mean when a media_player entity has a status of "restored" ??? Can't do anything with it in that state. Do I delete the entity and let it recreate?

errant plover
#

It means it has been deleted/lost but there is a record of it existing in the .storage register. Yes you can delete it and recreate it.

unkempt hull
#

I tried deleting it but it didn't recreate

#

it's still in my configuration.yaml but restarting HA didn't bring it back

errant plover
#

Are there related errors in Configuration/ Logs ?

unkempt hull
#

well now I'm seeing a whole bunch of stuff that's new because I removed the ADB addon... It said it was deprecated and to use native home assistant for androidtv so now I'm not sure if I have "THAT" set up right... grr πŸ˜„

dark dirge
#

The only thing you have to do is remove the adb_server_ip line from your androidtv config and reauth

unkempt hull
#

Could not connect to office_firestick at 192.168.1.30:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'

#

should I delete that key?

#

Got it... can't connect to firestick from HA 'AND' my computer at the same time

plain remnant
#

hello everyone i have 3 cards but i want to have this in 1 card it is clearer but for one reason or another i can only use 1 entity

fleet crest
#

Little bit of a weird question, but is there a way I can allow my girlfriend access to a HA dashboard on her phone only when she's over my house? She's definitely the kind of person to mess with my lights just to fuck with meπŸ˜†

errant plover
fleet crest
#

Bless. Thank you!

errant plover
#

Note: this will allow anyone who knows a username to log into home assistant when connected to your local network.

tacit gate
#

Hi! I use a picture-elements card. When my screen is small everything fits perfectly. Howevery when my screen gets wider, the image becomes too large and scrollbars appear.
How can i set a fixed width / height for the image?

fleet crest
#

Does this work for any network name, or do I have to use CIDR ranges? Getting some errors on my end.

raven jewel
#

Hey so I updated to the new 4.3 and on my inovelli fans I used to be able to have a grid card with my three fan icons with a slider to adjust the speed. I no longer have that option. Any idea on what I can do to remedy this? I liked being able to adjust the speed on the frontend dash

frail bridge
#

Does anyone know how to add padding to a grid-card? When I use it in panel-mode, the cards end up right up against the edge of the window

#

I assume I can do it with card-mod, but I don't really know how

karmic tiger
fleet crest
karmic tiger
#

It's HA that's checking. HA runs within your network, not hers

#

Don't confuse it with where the mobile app resides. Auth is always done on the backend.

full cosmos
#

Hello, random question. Stair lights, do you have that on the first floor or second floor dashboard? If I have to choose, which would be the most logical? πŸ˜…

karmic tiger
#

Why not both?

next turret
#

i am tryign to use the custom:button-card. I installed in from HACS. reloaded (a few times) HA. but no matter what it is saying that it dosn't exist. the file is there and it is seen in the lovelace config. just not in the interface editor

full cosmos
# karmic tiger Why not both?

1st floor and 2nd floor is right above each other. So I would see them at the same time. I just put them on the first floor for now.

naive moon
spare orbit
#

What is the current correct way to modify iframe width?

frail bridge
#

Does anyone know how to remove the space around a markdown card's text? I have a subtitle that is above some buttons, but I want to try and get it closer to the actual cards

worthy cipher
#

I setup Actionable Notifications to me phone so when im home it asks me a question (Yes or No Response) and i see the Yes and no but need to setup what they do. I want a card on the dashboard showing True/False but cant seem to do it as im dumb lol and everywhere uses YAML and i use the visual Editor

steep steppe
#

what is this status icon "restored" about? doesn't make sense for an entity that's no longer working

dark dirge
#

it means that an entity isn't currently available, but was prior to restarting HA. So HA 'restored' the entity, in case it might come back later

steep steppe
#

ah thanks, that makse some sense. hard to figure out by looking at it πŸ™‚

reef wadi
#

Hi, I have a timer entity from node that i want to display under a button as a status. I had this set up with a previous install, now I can't find the info I used to set this up. It must have been a button, but I don't see how that integrates based on the official Button Card docs. Anyone have ideas? Pretty sure I got the full setup from a blog or similar

#

I was using a NR entity that had the timer as a state!

frail bridge
#

That's strange. Homeassistant thinks my dashboard is yaml configured, but I can still edit it via the UI

#

Any ideas why that might have happened?

#

Wait they are two different dashboards?

#

Ah. I reloaded my browser, and now It's fixed

next turret
#

does anyone have a good card for fans on mobile? would like a button to turn on/off then another for low/med/high. I have tried to use button-card but A it dosn't update teh state if you don't press teh button and B the call service dosn't work

honest coyote
#

I'm trying to use the upcoming-media-card with Emby, which displays a list of shows just fine, but doesn't have the image. I can see the requests failing in the console, and also that the API URL has "http" replaced with "https", which would appear to be the cause of the issue. I have the emby upcoming media integration configured with SSL set to false, and the sensor itself shows the image URLs correctly with "http", so I'm assuming that Lovelace is appending "https". I thought adding the url to allowlist_external_urls might help, but no luck. Any ideas?

honest coyote
low grove
#

Hey guys, how would I configure a grid card to appear side by side

honest coyote
honest coyote
low grove
#

So basically instead of them appearing in 1 column, I'd like them to appear horizontally

#

If I add a normal light card it does appear horizontally, not sure why grid isn't doing the same

honest coyote
#

It's based on the height of the cards. You could try adding another row to the first card to see if it makes a difference.

#

But if you're just going for edge-to-edge grids, use a single grid card and panel mode.

low grove
#

That worked, thanks so much

#

what's the logic behind that btw

honest coyote
#

The "masonry view" section.

low grove
#

alright thanks

honest coyote
#

But I'm assuming the plain button card you added was a little taller than the grid, so it took up too much space beneath the first grid and got pushed to the next column.

versed mica
#

Here I have an entities card, displaying the same entity twice. First on a conditional row and second, just as is. The conditional, does not show the state of the entity, just the slider. Why is that? https://pastebin.com/1E7e2JCa

covert sierra
#

as in, turn the first letter uppercase, or change to any text

#

can you make a card with no entity? I just want it to show text.

#

i was thinking i could solve the issue ive had above by using a Conditional then render the cards with custom text value.

full sand
#

I know it is custom, but is it possible this integration stopped working?

type: 'custom:layout-card'
layout: horizontal
column_width:
  - 67%
  - 33%
gleaming dawn
#

Did someone have issue that whole dashboard reseted to default? I changed it, closed tab and 15min later everything was as if dashboard was just created, autogenerated. I am on core-2021.4.3, supervisor-2021.03.9, I have lot of custom cards like layout-card,card-mod,hui-element...

buoyant jewel
#

HI guys is the history card or sensor card best for looking at wattage use on a TP-Link Kasa energy monitoring smart plug?

karmic tiger
#

No-one can say what's best for you.

#

If you want to see history... history card. If you want to see current values... sensor card. πŸ€·β€β™‚οΈ

gleaming dawn
next turret
#

@honest coyote thanks i will give the paper button row a try

next turret
#

has anyone gotten call services to work with buttons? I am sure i am doing it wrong but i get an error when i try

    tap_action:
      action: call-service
      service: fan.set_speed
      service_data:
        speed: high

[homeassistant.components.websocket_api.http.connection] [2866927048] sequence item 0: expected str instance, Optional found

livid geyser
#

Hi, is it possible to hide gauge name ?

frozen olive
#

Hey - can I reload a custom panel with a new config without having to restart? Can't seem to find a way to do so>

junior gulch
#

what can be the reason for http://homeassistant.local:8123/ just randomly becoming unusable?

#

actually after the latest update to HA core

#

used to be pretty handy opening it to see the dashboard but now it only opens through the IP address

wary yacht
#

Hello, Is there any way to hide somehow 3 dots menu or "Help" button under it? I don't want it in my top-right corner

next turret
#

@junior gulch that sounds like a DNS issue

past rapids
hallow mango
#

@past rapids

tap_action:
  action: more-info
past rapids
# hallow mango <@386680082179162113> ```yaml tap_action: action: more-info ```

Like this? It doesn't seem to be triggering anything when I click the picture:

type: picture-elements
entity: camera.freezer_room
camera_image: camera.freezer_room
camera_view: auto
tap_action:
  action: more-info
elements:
  - type: icon
    icon: 'mdi:arrow-up'
    style:
      background: 'rgba(255, 255, 255, 0.25)'
      right: 25px
      bottom: 50px
hallow mango
#

looks right to me

#

it's possible it doesn't work that way on picture-elements... I haven't used that one before

feral rivet
#

can anyone help me understand how to address this gap issuehttps://imgur.com/9l2sqah when using grid layout. here are my settings for the sidenav buttons type: 'custom:grid-layout' layout: grid-template-columns: 10% 90% grid-gap: 1px grid-template-rows: auto grid-template-areas: | "sidenav main " "sidenav main " Here are the grid settings for the main cardlayout_options: grid-template-columns: 100% grid-template-rows: auto grid-template-areas: | "main"

chrome parcel
weary axle
main fjord
#

Anyone having some issue with the "updater" sensor? it no longer reports new HA updates for me (even after 24 hours)

buoyant venture
#

Does anyone know if it's possible to have an audio click play when buttons are pressed?

rich eagle
rich eagle
rich eagle
rich eagle
rich eagle
rich eagle
weary axle
#

will using a rpi as a sandbox mess up anything?

#

I have zigbee and zwave usbs connected to a seperate rpi so just running HA on unraid today

next turret
#

has anyone gotten call services to work with buttons? I am sure i am doing it wrong but i get an error when i try

    tap_action:
      action: call-service
      service: fan.set_speed
      service_data:
        speed: high

[homeassistant.components.websocket_api.http.connection] [2866927048] sequence item 0: expected str instance, Optional found

past rapids
# rich eagle You can always check in the docs what is supported and what not. For `picture-el...

Thank you! I was totally misreading the docs. I was able to get this working by creating an additional icon element like this. I suppose I could hack the original intent by switching it to an image element and scaling up a 1x1 transparent png, but this is close enough πŸ˜„

  - type: icon
    icon: 'mdi:video'
    entity: camera.freezer_room
    style:
      background: 'rgba(255, 255, 255, 0.25)'
      right: 75px
      bottom: 0px
    tap_action:
      action: more-info
vivid swift
#

Hi everyone! I've shown Home Assistant to my dad, and he loved it and wanted one too. Then he asked me how he could make a button to turn off all his living room lights, and I started thinking about groups etc. - is there any easier way of creating something like that these days, or is it still only from the config file?

mild veldt
#

@vivid swift homeassistant.turn_off service allows you to give a list of entities

vivid swift
#

Hmm, and for like a light button?

#

He really wants to play with lovelace, and it'd be nice if he didn't have to play with config files too much

mild veldt
#

no, you'd need to create a light gropu

vivid swift
#

All right, guess it'll be config editing tutorial time πŸ™‚

#

Thanks @mild veldt

molten walrus
#

Why is it such a PITA to do minor code edits from mobile app or safari. I’m trying to edit a custom entities card and the cursor focus always shifts to the first line after typing each character. Is it just me or everyone has this issue?

rich eagle
rich eagle
vivid swift
vivid swift
#

Hmm, but I can't have area.living_room inside a light card?

#

And inside of a button, it says the area.living_room entity isn't available

rich eagle
#

Ok, I misunderstood you then. I thought you were talking about service calls where those selectors are available. For usage in light cards you indeed need direct entities => back to light groups.

But with buttons you can define the action and should be able to call a service with target set to an area.

vivid swift
#

You now, now that I think of it, in the living_room area there's also a siren. Glad I didn't turn that one on with the lights, that'd have been an interesting phone call with my dad πŸ™‚

#

I'll bite the bullet and create a light group then.

#

Tempted to create a script that makes a light group for each area, but that's another rabbit hole

#

Thank you @rich eagle

rich eagle
vivid swift
#

As actions on a button? Yeah that would make sense.

next turret
#

i am getting an error when trying to call services with the button cards. the call service works just fine from the dev tab but dosn't from the card

    tap_action:
      action: call-service
      service: fan.set_speed
      service_data:
        speed: high

[homeassistant.components.websocket_api.http.connection] [2866927048] sequence item 0: expected str instance, Optional found

jagged slate
#

I had that problem too, the "fix" (it's more of a workaround) I used is to call a script, and the script is calling the service.

velvet beacon
#

how do i release control of the home page and go back to it being automatically created

velvet beacon
#

do i just need to make a new page

rich eagle
next turret
#

The documeantion says it will use the entry in the card. I have tried this with button-card and paper button

rich eagle
velvet beacon
#

i did create a new dashbored

#

its fine i guess

rich eagle
next turret
#

When I get back to my cot I will upload the entire thing

rich eagle
lean mesa
#

noob question, how do you set the icon on a lovelace dashboard? I've tried both the name and the code but it just shows as blank

mild veldt
#

icon: mdi:home

#

needs the mdi prefix

lean mesa
#

I think that's what I'm doing

#

doh nvm

next turret
#

Service data to include (e.g. entity_id: media_player.bedroom) when action defined as call-service. If your service_data requires an entity_id, you can use the keywork entity,** this will actually call the service on the entity defined in the main configuration of this card**. Useful for configuration templates
https://github.com/custom-cards/button-card#configuration-templates

lean mesa
#

I was doing mdi-panda

#

thank you @mild veldt

next turret
#

and here is the lovelace config. there is a lot of trash in it, mostly starting playing to see what i liked and how to lay it out
https://pastebin.com/DaFgjXR3

#

but it turns out i read it wrong (being forced to call it out made me reread it and try and put the entity in there and it worked

lean mesa
#

I've installed "RGB Light Card" via HACS but I'm having trouble using it, i'm not really sure what I'm meant to do with it?

#

It says to use it in the entities card which I've tried to do but I get an error message saying that "custom:rgb-light-card" doesn't exist

next turret
#

i had that same problem with a bunch of my custom cards

#

the fix... go take a nap/walk/have dinner/etc but it seems to take time for it to register even after a reboot

lean mesa
#

interesting... I'll give that a try!

mild veldt
next sand
#

Does supervisor issues fall here?
Yes, I apparently somehow managed to break the supervisor

#

Core rebuild seemed to work, verifying

rich eagle
next sand
#

Oop, thank you!

meager thorn
next turret
#

i will have to be more specific next time i have a problem. I am quite sure there will be a next time

hazy gazelle
#

Is there a way to set a conditional card based on the active user?

spice wedge
#

I got a bug where all the popup-menus have to low z-index appear behind the cards

mild veldt
mild veldt
hazy gazelle
spice wedge
lucid bronze
hallow mango
#

indent platform two spaces and remove the null after tts

#

@lucid bronze

lucid bronze
#

Thankyou so much πŸ™‚

frail bridge
#

Does anyone know of a good way to integrate the current user into a markdown card? I'm trying to get one to say "Hello, Current User"

#

I know I can probably use browser_mod, but I don't know how to get the current device

dark dirge
frail bridge
#

I am blind 😎

silver steppe
#

Hi, I have been advised this is the best place to request help for my problem. Here is my post from integrations.
Hi all, hoping somebody may be able to help with why I am getting an error when trying to use ha floorplan. I have followed all the getting started instructions on ha-floorplan and have tried deleting and refollowing steps to try and discount an error on following the instructions. When I go to the view, the entity for the floorplan has the following error - http://192.168.1.87:8123/hacsfile/ha-floorplan/floorplan.js:65:2789generatorResume@[native code]s@http://192.168.1.87:8123/hacsfile/ha-floorplan/floorplan.js:65:738promiseReactionJob@[native code]

#

Any help would be much appreciated.

tribal sundial
#

Hey, i have a calendar card with 5 calendar entities from googlecalendar. Are there any way i can change the timeformat of these to 24H? Currently all events show as "1:00pm - 2:00pm" etc

feral rivet
#

anyone able to help me out with a grid layout card issue?

tight plank
#

I have to manually change the order each time an event passes to get it to display how I want

tawny vault
#

That's one nice surprise! 😲

kind shellBOT
pure palm
honest agate
#

Hi guys, good afternoon/morning/evening 😜 everyone. I've installed ha through containers in an ubuntu 20.4 machine. It is woking fine without errors but I've been having a nuance on the logging screen. When prompted to login it displays: initiation session on LOCATION with NAME .
If I login using the android app for example, it is displayed correctly. Ha version is 2021.4.4 and Language is Spanish. Any ideas? Thank you!

rich eagle
#

Something like "Logging in to MyHome with Home Assistant Local."

#

But the login itself works fine, so purely a visual issue?

velvet beacon
#

is there a panel that grabs everything from a specific area

honest agate
honest agate
frail bridge
#

Does anyone know why a card might only show the current state once a reload? I have a card inside of a popup that only shows the correct state on the first popup, and then goes back to the default. I have to reload to get the correct state again

mild veldt
#

events are not being pushed to it

frail bridge
#

How would I fix that?

#

This is using custom:button-card by the way, I tried triggers-update and it didn't work

#

Sorry to be broad with the question, I'm just really confused.

mild veldt
#

it would be the popup that's not passing events

frail bridge
#

I guess I'll submit a bug request for browser_mod? It's strange I've not had this happen for my other cards that are in popups. They always report correctly

#

I don't know what's so special about this specific card

mild veldt
#

i see, clearer picture now of what you're doing. browser_mod is solid in that regard

#

likely something with the button-card config then

frail bridge
#

Here's the code for the template :/

#

I don't know what I could be doing different than any of my other cards?

#

Narrowed it down, it seems to be a problem with the custom_fields/circle field

#

*custom_fields/icon

#

There's something wrong with this bit of code that's causing it to not update

          if (entity.state = 'off') 
            return 'SVG IS LONG'; 
          else 
            return 'SVG IS LONG';
        ]]]```
#

I finally fixed it. I changed the style of the IF statement

dark dirge
#

that's an assignment, not a comparison

frail bridge
mild veldt
#

= vs ==

frail bridge
#

Well. I could have saved a lot of my afternoon if I had seen that :/

#

Oh well, that's the fun of it

round lily
#

what is the best way to figure out why it takes 10-20 seconds for a lovelace view to load/render?

vocal dove
#

Hey all, just looking for a sanity check here. I've got two switches, and after searching a lot I feel like I made them right, but the HA UI only shows one switch entity (switch.desktop), like when adding a button.

#

Oh, I can't add images. Hm.

glad pulsar
#

hi folks, im hoping someone can help, im trying to install the noctis front end for lovelace, ive installed it but it isnt showing up under my user name theme like its supposed to, any guidance appreciated

rich eagle
glad pulsar
#

have done several restarts and also just now called the service via the dev tools service

rich eagle
glad pulsar
#

appears in states as Home Assistant Frontend: reload_themes

rich eagle
glad pulsar
#

error in log since running it manually

formal tide
#

this related to auto-entities or a generic lovelace error in the android HA app?

rich eagle
glad pulsar
#

this is whats in my config #Theme
frontend:
themes: !include_dir_merge_named themes
set_theme: noctis.yaml

#

i do have a dir called themes under that one called noctis

rich eagle
polar kelp
#

Android 4?

formal tide
#

let me see

rich eagle
formal tide
rich eagle
glad pulsar
#

the check config seemed ok with the indentation, but i by no means a dev how should it be indented?

polar kelp
#

I thought the compiler would take care of that... I'll see what i can do, @formal tide.

#

Try updating webview in the mean time.

glad pulsar
formal tide
#

is that "android system webview" on the play store?
did not have it installed, installed it, no change

solar mantle
#

Anyone know how to design and implement a full theme for HomeAssistant?

rich eagle
solar mantle
#

I am talking about creating my own theme to put on the HACS theme store

rich eagle
vapid field
#

I want to change the icon on lovelace based on state. So when rolller shutter is up another icon than when it is down. But i can't figure out how to do this?

urban moon
#

Hi,
Can you please help me with the history tab.

#

It is no longer displaying all the history bars.

#

It was showing history bars of all the connected entities

supple orbit
#

Is there a way to modify the parsing that happens for groups? Ie Bedroom Overhead Light -> Overhead Light on a card? I have all of my devices named <location> - <device> so when lovelace puts them on a card I end up with - Overhead Light

karmic tiger
#

You could make a feature request on the forums to suggest that delimiters get stripped out.

supple orbit
#

@karmic tiger Thanks! That's what I figured. It seemed like such a logical thing that I wanted to make sure it didn't exist before I put in a feature request for it. (That's not a complaint/diss.)

frail bridge
#

Is there a way to detect when someone opens the homeassistant interface? I want to add a popup that only triggers once, the next time someone opens their UI

#

*one per user

#

I assume I could do it with browser_mod but I don't know how

polar kelp
#

I'd assume so too, but don't know either.

rocky fulcrum
#

hello i have been trying to figure out the thermostat card and how i can edit it to be used with a hygrometer is there a way or am i wasting my time ?

#

when i try to change the yaml with anything it wont do anything i have no idea what i can use unit: % nothing min_temp: nothing max_temp: nothiong any ideas

rocky fulcrum
#

got most of it sorted but it will not change the unit of mesurment how can i change it to percent ?

iron locust
karmic tiger
#

Pictures of text 🀒

#

Share text as text. It's easier to read, saves us a click, and means we can edit it for you if necessary.

#

I can't fix your typo for you in an image.

iron locust
#

I included it as a picture since it gave some context as to where I was putting it and also the error that popped up underneath it

karmic tiger
#

All of which can be shared as text.

#

But yes... it looks okay apart from the typo.

vivid swift
#

Hi everyone

#

I have an air quality sensor, but Lovelace only shows the values as discrete - impossible to graph them.

#

I've tried to hardcode the measurement unit to 'aqi', because the documentation says that lovelace will show values as discrete if there's no unit

dark dirge
#

if you add a unit_of_measurement, it will display a graph for the history. You may need to wait for the older unitless values to flush out

vivid swift
#

Ahh, all right then.

#

That would have been puzzling πŸ™‚

#

Thanks Rob

#

Would it be worth opening a bug in the integration?

dark dirge
#

if the integration doesn't add a uom, you could

#

it's easy to add

#

for you, or as part of the integration

vivid swift
#

Yes, a quick trip to customize.yaml for me

#

But I wonder if there should always be an uom

dark dirge
#

seems reasonable. you could file an issue, or a PR

#

it's as simple as adding something like this:

#
    @property
    def unit_of_measurement(self):
        """Unit of measurement."""
        return "aqi"
vivid swift
#

Looks even simpler

#

Hmmm. But I don't think it's AQI - it's less than 1.

#

And apparently it's unclear what the value represents. So, uh, the bug makes sense.

tawny lynx
#

Can anyone think of a reason the same lovelace view would render differently when accessing it via Nabu Casa link vs the local IP? I've been having issues with one of my wall mount displays freezing, so I have been toggling back and forth - and when I access via IP, its fine, but via NC link, it basically ignores the 'custom:layout-card' configs.

vivid swift
#

Anything in your browser console?

tawny lynx
#

yep - but what it means is beyond me:

#

chunk.c074fb1fb0c4c4f0e9bb.js:2542 card undefined Error: Config is not an object
at d (chunk.c074fb1fb0c4c4f0e9bb.js:2542)
at c (chunk.c074fb1fb0c4c4f0e9bb.js:2542)
at Module.a (chunk.c074fb1fb0c4c4f0e9bb.js:2542)
at HTMLElement._createCard (layout-card.js:61)
at layout-card.js:61
at Array.map (<anonymous>)
at HTMLElement._createCards (layout-card.js:61)
at async HTMLElement.updated (layout-card.js:61)

#

That appears when I hit the NC link - not there when I access the local via IP

#

I am running an out of date version of the layout-card. I updated without reading the release notes/breaking changes, and needed to get my dashboard back online and didn't have time to make the necessary adjustments - so I just rolled it back

frail bridge
#
  icon: mdi:map-marker-radius
  template:
    - icon_only
  tap_action:
  action: call-service
  service: notify.mobile_app_in2025
  data:
    message: "Your message goes here"
    title: "Custom subject"```
this keeps returning "required key not provided @blazing atlas['message']. Any ideas why? I think I have the correct configuration
vivid swift
#

Could it be something old in your browser cache?

frail bridge
tawny lynx
#

@vivid swift I don't think so, I've cleared the cache a dozen times. I'm outta ideas!

vivid swift
#

You've tried another browser or an incognito window?

quasi depot
#

Can I have a tap_action do multiple things?

#
          - action: call-service
            service: shell_command.zone1
          - action:
              service: python_script.set_state
              data_template:
                entity_id: sensor.nilescurrentzone
                state: 1```
#

this appears to break the button

dark dirge
#

you need a script

quasi depot
#

Thats kinda what I thought

frail bridge
#

What’s the best way to get a command line switch to switch states on a toggle? I have one controlling a light, and I have no way to detect the state :/

quasi depot
#

RobC - your everywhere with all the answers πŸ™‚

dark dirge
#

my consciousness lives in the server

quasi depot
#

πŸ‘€

torpid echo
#

In Picture Glance card, at the footer, can we just have the state text and "not" the icon of the entity / attribute? https://ibb.co/p1nF73j In my live camera view, I would just like to get the overall file size and number of files. I have interest in the icons

frail bridge
#

Does anyone know how to get the location of the current user? I’m trying to use a state-switch card to display a different card depending on the location of the person

#

I guess I could just make a nested state switch with the username, and then the person entity for each person, but I wonder if there’s an easier way

cinder finch
#

Hi, New to Home Assistant, supervised installation on debian10, X86 Esxi VM. I begin to feel crazy. 2 hours I am trying to find why I cant edit configurations.. Whatever addon I choose. If I modify and click save, it comes back to default configuration. And I cant select the "Edit in UI". Thanks in advance for any hint

#

in Supervisor / Add-ons I mean

weak plank
#

hi, im trying to build a dashboard including all switches,m light, cctv streams etc. im trying to use home panel addon but in its iframe , when i add the url for the live stream, it doesnt work.

#

is there a better solution to this, my main priority is that the dashboard must be on a different webpage than the home assistant page(different port)

vapid field
#

How can I get the image path for the picture of a user account?

dark dirge
cerulean echo
#

Ty haha

sly pulsar
#

@polar kelp Sorry to disturb you with this but searching a solution for days now. Is there any mod from you that can stop the behaviour of changing the color of a light icon based on the brightness. I just want a static color if the light is on no matter which brightness it have. πŸ™‚

hallow mango
vapid field
#

Cool ty

hallow mango
#

πŸ‘

#

probably yours will be person.enrico

vapid field
#

ah yes indeed I just figerued that out person instead of user. But it does not show the image for me when I put it into image path.

hallow mango
#

well it's not an image

#

what kind of card are you using?

vapid field
#

picture

hallow mango
#

and what is your "end goal" card supposed to look like?

#

like mine?

#

or something else you've got in mind?

vapid field
#

Im trying to get a page with persons horizontally.
Every person will then have their picture, and devices vertically.

hallow mango
#

not a "badge" like mine then?

#

you want the full image, not cropped to a circle

vapid field
#

But did you share the correct image? I don't see a picture there

hallow mango
#

the first link i shared

vapid field
vapid field
#

Omg haha Im tured xD I tought that picture were 2 weird buttons xD

#

Yeah smt like that would be good

empty escarp
#

when home assistant saves the profile picture, he cuts it to size

hallow mango
#

it's a glance card

#

with person entities

#

names changed and faces blotted for privacy

empty escarp
#

and it's always square

hallow mango
vapid field
#

yeah I didn't recognize it was red drawn over to hide it xD I tought they were buttons hahaha

#

ah perfect! Thanks πŸ™‚ This is what I wanted

hybrid jackal
#

hi guys. How can i preserve last state of all my devices , when i do restart ?

vivid swift
#

Hi everyone. Home Assistant is crashing for me in Safari on iOS - is anyone else using it this way?

#

Nothing in the console, of course, that'd be too easy. And it works on Safari on the desktop.

dark dirge
#

what does "crashing" mean here?

past rapids
#

Is there a way to display the delay remaining on an automation in the dashboard? For example, "X seconds until lights turn off"?

vivid swift
dark dirge
#

Use the IP address

vivid swift
#

The same happens on nabu casa

#

Yeah, crashing on the ip address too

vivid swift
past rapids
#

Hm, I think there's a unique message if it's a "too many redirects" error. It could be running out of memory, crashing the process?

vivid swift
#

It does look like it's running out of memory, yeah :/

past rapids
#

My suggestion would be to load it up on desktop, and then check the stats both in devtools and in activity monitor. If that doesn't give pointers, consider plugging your iphone in and watching the console log while loading the page. My guess would be a dashboard config that is somehow recursing or leaking memory.

vivid swift
#

Hah, I'm actually doing this right now πŸ™‚

#

I didn't even know you could recurse in lovelace?

past rapids
past rapids
vivid swift
#

You could do both, I guess. Start a timer, ignore it for the rest of your automation, just use it to display things.

past rapids
#

@vivid swift i did just realize, isn't the default url /lovelace/overview? Perhaps change your default dashboard for now to at least narrow it down.

vivid swift
#

Ah, I renamed it to 'home'

#

Chrome says ~70MB for homeassistant, which strikes me as not huge

#

And nothing in the console log

past rapids
#

Do you have a Mac to check desktop safari in? It may not be a HA bug but a Safari bug.

vivid swift
#

Yeah it works fine on desktop safari

#

It's not crashing now that I have it in the console, actually :/

dark dirge
#

Create a new, blank dashboard and set it to the default

past rapids
#

I had the same thing with the php webserver last week, would hang normally, worked fine with -vvv

vivid swift
#

A dashboard or a panel?

#

How do you set one as default for everyone, actually?

vivid swift
#

"To change the default dashboard, create a new file ui-lovelace.yaml in your configuration directory and" etc. ?

#

Actually I suppose I can just go to /lovelace-blank

dark dirge
#

Whatever url you get when you create it and navigate to it

vivid swift
#

Ok, that doesn't seem to crash

#

Or at least I can't get it to crash

plush fulcrum
#

Hey, is there any option to show all the lights from one room in one entites card? I mean that it would automatically populate all the lights in my room to that card, and if some light is added / removed from the room, it will remove the light from the card, too. I mean separate buttons for each light, in one card. Thanks a lot for any answers ❀️

vivid swift
#

Yeah Mavi with the auto entities thing from hacs

#

You could tell it to filter to pick everything from an area

#
type: 'custom:auto-entities'
card:
  type: entities
filter:
  include:
    - area: garden
#

Like that

#

It's easily installed with HACS

#

It has some rough edges, but works fine for stuff like that

plush fulcrum
#

oh! Thank you very much! I'll look into it!

vivid swift
#

In my experience, it's often more maintainable, if your lights don't move that much, to use an entity panel and add to one and delete from the other

#

By editing the yaml, it's a copy-paste job

hallow mango
#

idk how many times I've looked at those docs and didn't even realize you could do it by area πŸ˜…

#

I don't build my dashboard that way, that's probably why

vivid swift
#

Hey, at last areas are useful, huh? πŸ™‚

hallow mango
#

the only thing I think areas "do" for me is hint google where to stick them so they know what room I'm in when I say "turn off the light" lol

#

but I still move everything around just to stay organized

#

except I don't deal with entities into areas, meh

plush fulcrum
#

I have a few tabs that I don't use often, and some are the same tabs sorted differently - by area, then other lights tab with floorplan. But right now I clicked on the lights by area tab and I am missing so many entities there lol.. didn't update it in like 6 months..

hallow mango
#

devices are for areas

vivid swift
#

Hmm, now HA isn't responding at all

hallow mango
#

😬

vivid swift
#

I wonder if this little raspberry pi 3 is too weak for the video feeds

#

Yeah, it's not even responding over ssh

hallow mango
#

that's not good

#

feeds from cameras? rtsp?

vivid swift
#

It had previously killed a few things because it was out of memory because ffmpeg. Guess it struck something more crucial this time.

#

I don't know. Ring and canary.

#

My dad saw Home Assistant at my place, and wanted it for his.

hallow mango
#

ah yeah gotcha

#

integrated with some integration then?

#

I would be guessing OOM though

vivid swift
#

Yeah, both the ring and the canary integration

novel raptor
#

???

sly pulsar
#

Anyone know where I can find the css style of a standard Lovelace card.

icy shard
#

Is it possible for me to hide this navbar?

icy shard
icy shard
#

Could someone help me choose which mdi icon would be good for a living room?

#

I coulnd't find one, but maybe someone has a good recommendation

sly pulsar
polar kelp
tawny lynx
#

@vivid swift Switching to FF seems to have done the trick...no idea what the issue is with Chrome. Works fine on my laptop with Chrome

vapid field
#

Hey, I am on the newest stable version: core-2021.4.5 and I have got this bug frequently when I change settings in addons or system. Even if I click change and then cancel it appears.
(I get an extra sidebar, for every time I repeat that step. When I refresh they are back to normal.)
https://prnt.sc/11n0cis

karmic tiger
#

If it's just a UI glitch, start by clearing your browser's cache for that site.

#

If it persists, you could log an issue

kind shellBOT
vapid field
#

Ok, thank you mono.

vapid field
rough coyote
#

what's a good card to show entity and some of it's attributes?

#

I was trying using type: 'custom:auto-entities' but can't get filter to work properly with attributes

mystic oyster
#

So question. If you click an entity card it shows it's graph. But quiet frankly the small version of it. Is there a way to show the large one automatically?
IE not the 1st image but the 2nd https://imgur.com/a/R6okYrG

gilded swallow
#

Is there anyway of chnaging a theme through the URL?.. or a condition of a specific user?.. if needed to set a specific theme for a specific screen (tablet)/user?..

desert delta
#

someone has a suggestion for a good card to display temperature and humidity of multiple rooms?

random relic
#

Maybe obvious, but why does the Lovelace log card say "... become unavailable" for a lot of entries?

feral rivet
#

hey guys can anyone point me to a guide on CSS styles that can be used for card-mod. I know I have the github page, but I am looking for a better understanding of all my options.

errant plover
frail bridge
#

Is there a way to me to set the dashboard dynamically based on a user's location?

#

Or change a card, would be a better question

hallow mango
#

you could try something with the state-switch card

#

do you want to show certain cards at certain locations?

#

you could set up zones and some automation to tell when user A is in zone B, for example

#

maybe turn on an input boolean, and then use that as the state entity for your state-switch card

#

haven't ever attempted that but could be an option

#

or maybe just use the person entity, if those states represent the current zone

#

not sure how that works exactly

vapid field
#

Hello, I have read this: https://www.home-assistant.io/integrations/frontend/
But I don't understand it I think since it's not working as I expect it to.
I am trying to define the default theme for everyone that hasn't specified a theme.
What am I doing wrong here? This is my configuration.yml

  themes: !include_dir_merge_named themes
  frontend.set_theme:
    name: ios-dark-mode-blue-red```
vapid field
#

If I check the config validate I get this:
Invalid config for [frontend]: [frontend.set_theme] is an invalid option for [frontend]. Check: frontend->frontend->frontend.set_theme. (See /config/configuration.yaml, line 24).
But that page tells me that I have to use that πŸ€”

dark dirge
#

That’s a service call that goes in an automation or script, not in configuration.yaml

vapid field
#

Ah okay! i just found an article where someone has done that thru an automation. Im gonna try that one out now.

#

Cool thanks for the tip it works like a sharm now!

random relic
#

What does this mean that something "become unavailable" right after invocation? From the "logbook" on sidebar

Kitchen - Day - On by motion for 4 minutes if < 40 Lux. Stay_on aware. became unavailable
7:30:59 AM - 30 minutes ago
Kitchen - Day - On by motion for 4 minutes if < 40 Lux. Stay_on aware. turned off
7:30:59 AM - 30 minutes ago
Bathroom - Night - On by motion for ~3 minutes. became unavailable
7:30:59 AM - 30 minutes ago
Bathroom - Night - On by motion for ~3 minutes. turned off
7:30:59 AM - 30 minutes ago
bitter bolt
#

https://i.imgur.com/RWmUo40.png
can these two be made to appear in the same "block", not separated into two different things in the ui?

type: vertical-stack
cards:
  - type: markdown
    content: '<ha-icon icon="mdi:alert"></ha-icon> {{ states(''input_text.lastusedss'') }}'
    title: Most Recently Activated
  - type: entities
    entities:
      - entity: sensor.time_since_most_recent
        name: ' '
        format: relative
vapid field
#

Hi! I use vouch proxy for authenticating 3rd party apps. When I try to access those, a login prompt appears, regardles thereβ€˜s already a valid logon session to has frontend.
Would it be possible to integrate SSO for 3rd party applications using has as auth provider?

errant plover
vapid field
#

I have this code to show my room temperature. But I want to have the room name instead of the device name shown. How can I do this? I know I can set a title, but I don't like a big title above it.

entities:
  - entity: sensor.motion_sensor_1_temperature
state_color: true
show_icon: true
show_state: true
show_name: true```
errant plover
#
entities:
  - entity: sensor.motion_sensor_1_temperature
    name: Room Name
barren dagger
#

Anyone could point me the right direction for reordering devices in an area?

rare jetty
#

I have enabled the alarm sensor on android companion app. I have added an entity on UI, but the alarm time is showing in GMT instead of local time. I do not find an option, can someone help me on it pls?

bold fjord
#

Can we set an icon within (or on top of) another icon?

I want to animate one mdi:icon but keep another static. Is that possible in any card type?

feral rivet
#

hey guys I am trying to build a card with my sonos playlist attribute source list. I have tried out the entities card using the attributes type and it does show them, but I am unable to action on the information that is shared. Has anyone been able to do this? What other card options might be able to show the list of sonos favorites and be something that will allow tap action?

feral rivet
errant plover
#

Not all cards support style (check the docs). In fact I think it's only the picture element card that does (don't quote me on that, I didn't check). For all the rest there's card-mod.

feral rivet
#

got it

vapid field
#

Evening!
I am trying to implement a news feed into my dashboard.
I found this: https://www.home-assistant.io/integrations/feedreader/
I have set what the page tells me into my configuration.yaml but I don't think I quite get how this works.
I don't see how I can now call this to display it into my dashboard.

karmic tiger
#

It tells you that all it does is send events when it picks up new entries. You need something else too.

frail bridge
#

I was trying to figure out if I could maybe use the {{user}} object or something

hallow mango
#

you mentioned just doing a card afterwards

frail bridge
#

Yeah, even with a singular card, it's difficult to represent the location for five people. I had to use a state switch, with each person having another state switch under that. It lags out the whole dashboard because it has to check location every time it starts

vapid field
#

Hi,
i am trying to set up this: https://templates.blakadder.com/WF-CS02_EU.html
The Tasmota gets autodiscovered natively and works.
But I only have four switches in my Dashboard and no UP/DOWN/STOP and a slider.
i would be thankfull for a hint how to tackle that

vapid field
#

thanks to Tinkerer I was able to add the "cover: ..." to the configuration.yaml, but shouldn't that be aotomatic?

#

I tried this but that doens't work: background: 'center / cover no-repeat url("https://clients3.google.com/cast/chromecast/home") fixed'

karmic tiger
#

"doesn't work"?

vapid field
#

What do you mean? I think the issue might be that the url isn't ending with .img for example. Because if I use exactly the same but I replace the url with a image url ending with .img it works.

karmic tiger
hardy goblet
#

Hi guys i am trying already few hours to get a some sort of picture card for my washer.. Due to the old thing i have to use a smart plug in combination with a binary sensor. So if the binary sensor is true i want the picture to show a gif and if its false i want it to be a static .png. Sadly i cant get it to work with state_image. I would appreciate any help!
I already tried a pretty simple configuration but the picture in the background keeps grey...
type: picture-entity
entity: sensor.washer_status
state_image:
'on': /local/washer.png
'off': /local/washer_on.gif

vapid field
#

How about you make a static gif πŸ˜›

hardy goblet
#

@vapid field sorry I probably didn't explain my problem pretty well. Basically i want to get in best case a picture element-card with the background image changing due to the state of a sensor.

vapid field
hardy goblet
polar kelp
polar kelp
#

And "Result type:" says ?

#

string?

hardy goblet
#

boolean

polar kelp
#

then you want true without quotes.

#

or on without quotes or yes... but that's just because yaml is stupid.

hardy goblet
# polar kelp then you want `true` without quotes.

ah ok, thanks for your help I really appreciate it! My coding skills with yaml are limited. So if i change to on or true without quotes and save nothing changes and if i edit again the quotes are back :/

polar kelp
#

Ah yes... that's js-yaml not allowing non-string keys...

#

You have several individually helpful features working together against you here...

hardy goblet
#

Is there any straight forward easy solution to get a lovelace card with 2 different pictures depending on the watts of a smart plug ?

polar kelp
#

Only in the special case that you want one picture for 0 and one for anything else.

#

No.. wait... you may run into the same problem.

#

I'll try to fix this for 21.5

hardy goblet
#

Is this why many people are using picture elemnt-card with a spinning element on top instead of two different pictures (one moving and the other static ) ?

#

i also tried to put a conditional card, type image on top of the picture element but it says the config is invalid, even if the config of the conditional card it self is working .. I am just on the edge of my understanding :/

polar kelp
#

Ah! Wait.

#

The problem is not what I thought. It's developer_template thats lying to you.

#

The state of your sensor isn't true. It's "True"with quotes and a capital T.

hardy goblet
#

Oh My God

#

this is it..... πŸ˜„ thanks a lot god damn it! I wouldnt get it in 100 years

#

@polar kelp Thanks a lot! So i can go further and run into the next problems they will appear, that's for sure. But this is what makes this Hobby so great and sometimes horrible πŸ˜‰ Have a nice evening and stay safe!

polar kelp
#

I like the way you think.

bold fjord
hardy goblet
bold fjord
#

Oh ok, I guess I misunderstood. Thought you were trying to half animate a part of an image/icon. Glad you're making progress. πŸ˜‰

hardy goblet
#

But it seems that state_image is not working within a picture-elements card 😦

hardy goblet
kind shellBOT
hardy goblet
# kind shell

@bold fjord I did it like this, but the picture element card is inside a homekit style card thats why im using cardOptions

dense sundial
#

Hi all, I'm busy integrating an mqtt climate entity with a tasmotaed Kogan Heater and for some reason the "temperature" attribute is not changing when I move the temperature slider of the entity. Are there any prerequisites for the temperature slider to work?

rocky fulcrum
#

how can i change the icons and unit of measurement on the thermostat or remove them ?been trying to find a way for 4 days so asking here any help would be great

bitter bolt
#

can markdown cards have a tap action?

dark dirge
#

not as per the docs

#

there are rarely undocumented features

dark skiff
#

anybody know where /api/media_player_proxy/media_player.sheild_tv is?

#

context: there's an entity picture stored in there

frail bridge
#

Does anyone know if you can add a tap_action to a person on a map card?

dark dirge
#

There’s no secret documentation with secret features πŸ™‚

frail bridge
#

Oh well, I thought I would ask

#

There's also a chance someone's made a custom one that suppots it

bitter bolt
#

what method can i use to have a regular image or floorplan image change in the frontend with an automation? is that possible?

grim compass
#

I have an issue with one of my view. I use a huawei tablet on a wall mount to control HA with a custom tasker / motion detector automation to detect presence and wakeup the tablet. I did set the tablet to turn screen off after 30s but the screen never turn off on the main view (only); any idea ?

#

Ok, it was because I use a camera_view on this view; is there a way to avoid this behavior ?

verbal junco
grim compass
#

i will look at it thanks

craggy schooner
#

trying to install the mini-graph-card component but even though I've added it in hacs and added the resource (in the same way I've added the other hacs components in /hacsfiles) I get "Custom element doesn't exist: mini-graph-card."

#

nvm

#

had to hard reload the ui

velvet beacon
#

is there a list of hass icons

#

i think its just google material icons but a little different