#frontend-archived
1 messages · Page 175 of 1
good to know
Hi guys! Is there a way to make something popup when an entities card title is clicked? I would like to make the "group.all_lights" popup when the title of the "Lights" card is clicked, as it used to be in the old UI. Thanks!
Hi!
I get an following error when i was loading HA
Logging in with Home Assistant Local.
Error: Something went wrong
I have a mqtt thermostat valve which allow to be configured for workdays / holidays through a list of dict, does anyone have an idea as how I could display/edit it in lovelace ?
"holidays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}]
i just use the calendar integration for that
https://community.home-assistant.io/t/scheduler-card-custom-component/217458 this could also work
One message removed from a suspended account.
@errant plover the same entity, in list it dont stay yellow 😮
Hi folks! How do resources work work when you use the UI mode, but have a certain dashboard in yaml mode? Any complications?
Set them up in the UI as usual, and they will be loaded in all dashboards.
I really hope I'm right...
hahaha me too
It looks like they do work but I am dealing with an issue so I am trying to be suspicous
(custom:button-card templates are not working for me)
well, templating within templates
I know 😦
This template: https://hastebin.com/upocokecip.yaml,
when I press and hold, gives me this: https://imgur.com/taovyf2
I wonder if service_data is just passed through and it’s expecting the service to interpret it
And maybe needs a different template syntax
I've tried multiline and single line to no avail
Hi!
is there any way to hide/remove the HA headers?
people love this but apparently you're a little late: https://community.home-assistant.io/t/custom-header/155399
hopefully someone picks up some or all of it
Yeah, i have seen this post.
Is there any option in lovelace itself when using yaml mode?
no. currently your only option is described here: https://discordapp.com/channels/330944238910963714/672223497736421388/765971481480921108
Mr. RobC, earlier you said that maybe the service_data is just being passed through. I don't fully understand that- can you pretty please elaborate?
I'm just guessing at why it's not working
you're expecting the custom button card to replace the template with whatever it evaluates to before passing it to browser_mod
I'm just wondering if it won't do that with service_data
but I didn't see any mention of templates in browser_mod popups, so I dunno
does the custom button card mention that service_data accepts a template? LIke does it work outside of a button card template?
hmm. I feel reasonably good that it should work barring something messed up in my config given that I've shamelessly ripped off mattias persson https://github.com/matt8707/hass-config/blob/master/button_card_templates.yaml#L69
I'll check now
yes button card says that included in supporting templating is "Everything field in *_action"
weird. I have several nested templates with templates that work (I wish he hadn't overloaded that term 🙂 )
haha yeah I was quite confused by the two types for a bit
I suppose technically I may still be 😉
it's quite annoying because I want to really go all out on my dashboard, but I just know that if I copy-paste my button config 12 times or whatever I will make mistakes and it will be a bear to maintain. Such a nice feature!
I tried re-installing and installing the button card earlier just 'cause. Obviously didn't work.
Thank you so much for your help
unfortunately, I just uninstalled browser_mod a few days ago and I can't do a quick test with that. Have you tried with something like persistent_notification.create or some other service?
I will try that (probably tomorrow... Feeding infant now!)
I did try hard coding the entity in the template and that worked fine
So basically indicating that using a card template is working, but the js template is not.
Ha, figured it out
you have to surround the template in backticks and ${}, as in the example here: https://github.com/custom-cards/button-card#confirmation
This works fine:
tap_action:
action: call-service
service: persistent_notification.create
service_data:
message: "[[[ return `${entity.attributes.friendly_name}` ]]]"
@unreal lodge
I was ready to declare that it just didn't work until I saw the backticks when closely examining that example
@errant plover the same entity, in list it dont stay yellow 😮
@tiny oyster That's due to your theme.
can you add css to lovelace without custom component? I would like to change the header
https://ibb.co/WshKFVm can i like this?
Unfortunately that won't work for most things because of something called ShadowDOM which sandboxes each web element used by the frontend and protects them from style changes. The exceptions are the same variables which can be changed using normal frontend themes.
Unfortunately that won't work for most things because of something called ShadowDOM which sandboxes each web element used by the frontend and protects them from style changes. The exceptions are the same variables which can be changed using normal frontend themes.
@polar kelp
Ok, thanks for the info
So I have units set in the config file to metric yet my times are shown as AM/PM?
could the language setting have any interference with my automations?
No
ok
Hi, since 0.115 I should be able to change the password of other useres, right? I don't have the option, I'm loged in as Administrator. Though the release notes say I need to be an owner. I don't have any user with the group-name "Owner", so I'm stuck, right?
ok, maybe I somehow have deleted my owner user then... no way to get that one back I guess?
or create a new owner?
Only reason I know of, is to go messing with the files under .storage and add your user to the owner group
Do you know any good site what I could use in iFrame to check the newest movie releases, just to discover some new ones?
Why is the ui editor so horrible on mobile? 😛 If I edit a lovelace card and try to delete an empty line by backspacing, it will just remove my keyboard. Backspace to remove a line works on built-in Samsung keyboard but not on Google's Gboard.
So isn't there a way to make header changes without custom components?
You asked the same yesterday, it has not changed
now that compact custom header has ended, is there a way to hide the header in 0.166 ?
oh, I didn't read the previous comment haha
will read up a little bit
alright, looks like thomas loven's card mod should work with a theme that removes the header...
@dark dirge 🥳 That did it! Thank you!!!
hmmm, https://github.com/thomasloven/lovelace-card-mod/wiki/Theme-cookbook this works to get rid of the header but I can't work out how to get rid of the header but also apply a colour theme (I have multiple view so want that part of the header coloured)
no-header:
card-mod-theme: no-header
card-mod-root: |
app-toolbar {
display: none;
}
This removes the header, as it should do.
tablet-no-header:
primary-color: "#191970"
card-mod-theme: no-header
card-mod-root: |
app-toolbar {
display: none;
}
this does not hide the header, but does change the colour
Is it possible to add /config/logs to sidebar panel? It's so annoying to scroll down to configuration and then scroll down to logs. 😛
@wheat current do you mind guiding me through that?
yes, if you need that, you should probably not even try
ok, I'll delete the user then and readd him to set a new pw then
might would be a good idea to block deletion of the owner user then?
Cool 😎
alright folks.
I'm fucking losing it.
Mr. RobC saved my custom button templates templates day (or week) with some additional syntax. Worked great!
Went back to my instance later on.... back to not rendering templates 🤬
refresh cache?
I did 😦 (ctrl+F5 on chrome, correct?)
yeah. still working for me. check your logs
friggen bizarre. nothing in there
I'm convinced also that I've changed nothing since it last was working
try adding this as the tap_action for a button that has an entity (must have an entity defined):
tap_action:
action: call-service
service: persistent_notification.create
service_data:
message: "[[[ return `${entity.attributes.friendly_name}` ]]]"
[[[ return ${entity.attributes.friendly_name} ]]]
I copied your code directly
(that was the notification)
you put that in a custom button card and not just a regular garden variety button card?
I put that in my template: light for a custom button card
got me. I had it in a button, but moved it to a multi-layer template and it still works
reflects the correct entity, too
btle_template:
template: glance_parent_template
tap_action:
action: call-service
service: persistent_notification.create
service_data:
message: "[[[ return `${entity.attributes.friendly_name}` ]]]"
can you share your main card?
yessir!
- title: button card templates test
path: button-card-templates-test
badges: []
cards:
- type: 'custom:button-card'
template: light
entity: light.table_lamp_level
and the templates
https://pastebin.com/jh2SJxcF
hmmm
@steady jolt posted a code wall, it is moved here --> https://paste.ubuntu.com/p/JszStyXybq/
Meh not used to sharing code
Hello,
I'm trying to set two dashboards, I read the dashboard and views documentation but I think that I'm missing something.
My ui-lovelace.yaml file is: https://paste.ubuntu.com/p/MdwpbGdBFR/
And I've created both file in my config/ folder with my previous views
However I do not see more icon dahsboard in the sidebar. Any clues ?
@unreal lodge I'm out of ideas. Are you button templates in the same file? or are you including them from another file?
I can't break mine right now
I don't think you need to use
`${entity.xxx}`
everywhere, just if you're embedding it in a string, or maybe just in service_data. It looks like you changed it everywhere
@steady jolt To start, you're missing title: for each dashboard, which is required
my config check fails if I just copy what you have into my configuration.yaml
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
once I add that and restart, it works fine and the icons show up in the sidebar
Thank you for noticing that mistake
when you say restart you mean homeassistant.restart ? I tried to refresh the UI and ctrl F5 in case but the side bar is not updated
restart HA
It's ongoing
there's a lovelace.reload_resources, but that doesn't appear to reload everything under 1ovelace:
didn't noticed the bold red REQUIRED field :/
feel free to submit an edit to increase the font size or something
ahah
HA restarted and I don't notice any changes to the sidebar
https://paste.ubuntu.com/p/YkvY3ztdj2/
I'm staring at two additional icons right now
Nothing to add within the UI at //address/config/lovelace/dashboards ?
I'm updating my ssh ui in the supervisor to run the cmd
yes you need to do that
looks like I have other issue i'll look into it the 'hass' command is not found
i'll check my config and come back with an update thanks
where can I find how lovelace works as in, there is a histogram of temperature. But the only code in find in lovelace is climate.livingroom ... I want to read the temperature of the living room myself in node-red but dont have clue how to get the status... all it puts out is "heat" as a string... so if I can find the code how the lovelace card get the values, I can probably figure out how to call the temperature in node-red
@steady jolt Follow the instructions for your install method
@keen hornet #node-red-archived
Red, for you, presumably running Home Assistant OS, ha core check
Processing
Command completed successfully
It looks like a venv issue from what I've read
It's been 8 months since i haven't done any maintenance on my setup and forgot a lot of information like my rpi login 🙄 I'm gonna clean it and hopefully thanks to the config check i'll notice my error
ok. it does work, at least for me
RobC, the ${entity.xxx} everywhere worked for a bit, and now seems not too 😕
I will try putting it just in the necessary spots soon
Given that it's inconsistent it seems like I should track an issue somewhere... it's just a question of where! probably under custom:button-card?
I have no idea
haha fair enough. intermittent problems are the worst
might explain why the example I'm following doesn't have that extra syntax but I seem to maybe need it
evidently something changed in your setup if it was working before and isn't working now
I recommend building a super-simple example with no templates and build up from there
Found my mistakes
dashboard must be declared within the configuration.yaml file not the ui-lovelace.yaml, it was not clear to me
I have calendar card inside picture element and it causes chorme to freeze (it's well working on my tablet only stuck on pc)...???
Hi!
https://paste.ubuntu.com/p/Q8t6W5JDWp/
the width of the card is not changing when i vary the width values.
Any idea why its like that?
I am trying to hide the header and I found a code for card-mod that should do it, but I have no idea where to place it? Anyone familiar with this?
It’s a theme
Oh, so I have to create a theme with that code and then apply it?
Yes
is there an easy way to hide the header and navigation ?
Yes, you can use Custom Header even though it's depreciated and hope for the best.
Other from that, It's back to creating an own theme where you can get inspiration from this for hiding header and more:
https://github.com/thomasloven/lovelace-card-mod/wiki/Theme-cookbook
Anyone using a 9th gen Fire 7 tab as a wall mounted control panel with success? Mine appears to not be able to connect (using any apps or browsers)
@solemn cairn are you using custom dns and internal resolution by chance?
Hey! I was just implementing my Geiger counter and it made me wonder... Right now, I set my unit to µSv/h for my MQTT sensor and manually change my data to that unit by dividing on the sensor side. I instead want to instead pass the value in as Sv/h. Is it possible to do so and have the front-end determine that my value should be read with a µ prefix and show it the same?
I guess what I'm asking is if the Home Assistant front end can auto-apply metric prefixes
Hi there guys
I have a plex server and I would like to display how many films I have
How can I do this 👍
I'm not sure that's exposed through the integration, would probably require writing something custom against the plex api...I'm just guessing though
how do i force a reload in edge chromium? control-refresh doesn't seem to work
how do i force a reload in edge chromium? control-refresh doesn't seem to work
@quaint lake have you tried Shift + Refresh?
yep, just tried
i'm trying to get the custom weather card to re-appear. it asked if i wanted to reload or something and i accidentally clicked "no" when I updated it
You can open the developer tools with f12 and right click on refresh
thanks robc, still didn't work. i tried all 3 options
Dunno then
at least it comes up in the HA app on iOS .. lol
i'll just wait for next update that asks me to reload the UI
Uninstall the card and reinstall
@dark dirge - That worked! So simple.. tyvm
anyone here use tileboard
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:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
I'm just playing with it...so far just have an empty page with just one tile for testing, but every time i refresh i also get an "error unauthorized" tile that pops up on the bottom for a few seconds
Hello everyone. Is there a way to remove the icon from the entities on an entities card?
I put mdi:none but now there’s a blank space. I want the space gone too
Anyone? Any ideas?
this entities card? https://www.home-assistant.io/lovelace/entities/?
Yes
Ok want the icon gone and the space where the icon goes also to be gone.
I need more horizontal space
did you read the documentation? especially the part where it says icon optional?
But isn’t that to the left of the main title? Or of each entity row?
remove the entry and find out
Still there
you are restricted to what the card allows, if a field says optional you don't have to enter it but if the results are not what you wanted then there is nothing you can do except find a different card
if you see no change, try refreshing
Do you know of a card or custom card that are rows for entities that have toggles but no icons?
do you have hacs installed?
Yea
you can search through there to see if any do what you want, search by entity or row
I don't use the card so I don't know any off the top of my head
Ok i will take a look
@smoky depot ok i figured out it can be done with card-mod. I have gone over almost all the posts on the community thread from Thomson but I don’t exactly understand how to extract the information from inspector. I have managed to change the css in inspector to how I want it but how do I change that into the css style for HA?
no idea, if you can see the css involved in theory you can just plug those css selectors and their values into card mod. you have to play around till you see how things tick. if you get stuck and want to ask someone about it try posting what you have, what you see so others can get a better understanding. Great work digging into finding out answers on your own tho! 👍 that's the easiest way we all learn.
Now I have to learn css and figure out what these selectors are and how to use them. Haha. I don’t know if to be happy or cry
look at the examples in the card mod doc, then compare that to what you see in the inspector. it's pretty straight forward
Does this even look right? Because its not injecting the information but it seems correct to me.
entities:
- entity: sensor.time
style:
'#states > div:nth-child(1) > hui-sensor-entity-row:nth-child(1)':
$:
'hui-generic-entity-row:nth-child(1)':
$: |
state-badge {
flex: 0 0 0px;
}
show_header_toggle: false```
no
🥲
flex: 0 0 0px is proper. all that other stuff is referencing something else in the css file it's being called from which I don't think you can access through card mod
I give up for tonight.
I will keep going tomorrow
Im at this for now.
hui-sensor-entity-row:
$:
hui-generic-entity-row:
$: |
state-badge.pointer {
flex: 0 0 0px !important;
}```
Is there a way to resize cards? I added an iframe card but I can't find a way to make it wider. Also buttons can be allot smaller most of the time.
It would be great to being able to make it 2 cards wide
When I open the UI, only half of my 'panels' load. Unless I manually refresh, the remainder never show up. Any thoughts? Anyone else experiencing this?
Hi. I would like to fire a custom_event from a button in HA but without success. Right now I am leaning towards the conclusion that it is not possible.
Any thought or can some one point me in the correct direction?
What card?
If so, you want ... 🥁 ... https://www.home-assistant.io/lovelace/button/#tap_action
https://www.home-assistant.io/lovelace/actions/#tap-action has the docs, and you'd call a service. That service could be a script that fires an event (https://www.home-assistant.io/docs/scripts/#fire-an-event)
You could certainly do it with a script, but perhaps not directly
@split granite Hi. No what you are refering to is a script that triggers an Event. I need/want to trigger the event from /any/ lovelace button.
Right...
tap_action
☝️
You can't have it magically happen on everything
Unless you want to re-write the UI... that'd work
@split granite so how would you do that? what action to tap_action would you use to call an event? What you are refering to in you link is the doc for scripts.
@fiery hull Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
Sorry, I'm not clear then. I know how to call an event from the script, that is what I am doing know. But it's a bad workaround. If possible I want to do it as a service_call from a button.
And you can, that's what tap_action does
You can't generate an event that way
If you want to generate events directly, feel free to submit a PR (pull request) that adds that functionality to Lovelace
Ok, then I don't need to search anymore. I'll make a pr. Thx
Does anyone know of any "easy to understand" documentation on the custom button-card available on hacs? Or even just some sample yaml so I can learn from that?
What do you want to do?
@vapid field Thanks for the reply. Just simple stuff like changing icon and icon colors depending on state. The rest is too deep for me know but this is probably a good starting point for me to dive into an apparently very powerful card
Can't access my dev right now but it's pretty strait forward. Have you looked at states?
@vapid field Not sure what your referring to when I look at the documentation all I see is a bunch of options no examples or anything like that.
This is what I tried but it doesn't even recognize the card type
Did a search on the github page for states that is helpful in itself. Its just hard to find info on a page that is so long. It would be helpful if things were broken up a little for organization reasons.
It is? There’s a table of contents with links at the beginning: https://github.com/custom-cards/button-card
https://ludeeus.dev/outlet/my-custom-cards-dont-work @copper sandal
Is it a typo when it says - type: 'type:some_card and not - type: 'type:some_card'
I guess thats the bad version anyway so probably doesn't matter
i'm having fun with the picture elements card
i told myself i wouldnt spend much time on the floorplan... didnt work
Hi. I need help
Using media extractor, we can play url in automations, is there a way to paste url from lovelace ???
In media player
Plz help
Like in mini media player, there is txt box for input text to anounce on player.
Same like that if txt box for paste url then play on speaker or chrome cast device
Is it possible to have a colour wheel with lights with regular groups? All the entities are lights.
Hello. I have still not been able to remove the icon and space from an entity in an entities card. No matter what I have tried I havnt gotten card-mod to work for this. Anyone know of a walk through on how to identify how to build the CSS code? Or maybe if someone can help me build it so I understand how it works better? Thanks.
@wintry gull I have a similar problem, but with other cards though. One aspect: Are you within a picture-elements card? If so, it is very very tedious to accomplish this (I have given up), because you need to determine the "css-path" to the element you want to change. If not, then there are a couple of forums posts that did something like this:
style: |
ha-card {
background: none;
...
}
Here is a good post: https://community.home-assistant.io/t/remove-border-space-of-cards/195262/11
Hi, I have a problem regarding a non-refreshing lovelace frontend. That is, I have in my picture-elements cards some state-dependent elements or even a datetime picker card, which respond to clicks but do not update their appearance. That is, I need to reload the page to see an update in the appearance. Any ideas? I use the template card, can this be a reason?
Can anyone give me a hand with creating a button on the picture elements cars that triggers a script? Currently when I click a button it shows a popup with an "Execute" option. I just want to click it and have it execute straight away.
Currently using the below;
- type: image
entity: script.tv_input
image: /local/assets/remote-control/tv_input.png
style:
top: 43%
left: 40%
width: 15%
Look at tap_action or service_call: https://www.home-assistant.io/lovelace/picture-elements/
Thanks @dark dirge , got them all working. Realised I needed to remove the entity line and just put in the tap_action.
Hi friends,
How to force the dark theme for all logins?
Now the default light theme is getting applied for new login even if I chose dark theme when login with another PC
I believe this is device specific and not login specific. So, you need to set the theme for each device you are logging in
you could also set a theme at startup in a automation, this works for me atleast
Hi, i want to make template sensor for last_changed, i make it with sensor template tablet_battery_update: device_class: timestamp value_template: "{{((as_timestamp(now()) - as_timestamp(states.sensor.tablet_battery.last_updated)) / 60) }}"
but i got value : 0.04 and if i check in in template editor it show the correct value
any idea why ?
Hhi. I need help. Using media extractor, we can play url in automations, is there a way to paste url from lovelace ???
Like in mini media player, there is txt box for input text to anounce on player.
Same like that if txt box for paste url then play on speaker or chrome cast device
hi gents, can you help me. what is wrong here ? https://pastebin.com/TUmLKt7y
i use separate group.yaml and want to create group notifications to our mobile apps. When i create some script/automation to use this group notification service
Hmm, where can I change Lovelance ? Is lovelance = frontend ?
@unique sphinx have the same issue. If you find a solution, I would be interested 🙂
If I find my solution i let you know
https://cdn.flixel.com/flixel/x9dr8caygivq5secll7i.hd.mp4 How do i make this kinda link, to my own video
@mighty tree sure.. value_template: "{{((as_timestamp(strptime(states('sensor.date_time'), '%Y-%m-%d, %H:%M')) - as_timestamp(states.sensor.tablet_battery.last_changed)) /60) |round(0)}}"
the sensor.date_time has update him self so it will trigger this template sensor to get also update
Cool. I'll try that out now. 🙂 Thanks!
Great! That works. Now, need to replace all remaining sensors... 😉 Thanks again!
Funny, after restart I get an "-1"
I added "| min(0)" to avoid negative values
ups, should be max 🙂
@unique sphinx have the same issue. If you find a solution, I would be interested 🙂
@mighty tree add
mode: yaml
to your configuration.yaml
create file named ui-lovelace.yaml in config folder
@waxen granite Thanks, but I meant Yuval and not you 😉
Happy to help
hello, i want to display on my lovelance table from mysql query. Can you advise me, which card or how can I do that?
So... With CCH going away, how do I hide the top bar on a per-device (or dashboard/view) basis? The card mod theme method doesn't work for me, as I use backend selected theme on all devices.
I think you’ll see some improvement in 0.117
Maykar is now working on the real frontend 🙂
Oooh cool. 😄
does the homeassistant web server support any scripting languages? i'd like to put something in /config/www/ that I can call get some dynamic results
create a custom card?
actually dont want to use it in home assistant directly, just want to host it ..
just looking to take advantage of the existing webserver for something super small
if it doesnt have php or something similar enabled, i'll just spin up another container, was just trying to keep it as simple as possible
i basically just want to have a url i can call that will return a list of files in a public share on my nas
just spin up a generic http server container @keen agate ?
yea, thats what i'm probably going to do...
do it. and ffs don't forget to disable indexing 😉
most of my development is asp.net/c#, trying to figure out which server/language would be the smallest but let me easily access a remote directory
Python/flask is pretty simple
php imo
i tried php and scandir() but it didnt seem to work for remote share...
i'm an idiot, i should just use what i know... i've been stuck in windows so long, i forget about .net core lol
you probably want #hardware-archived
whoops
Do you I need to define default_config in configuration.yaml to setup actionable notifications?
for a mobile app?
Yep
Okay great, thanks was following another tutorial
default_config: is just a collection of stuff that you can define manually if you want: https://www.home-assistant.io/integrations/default_config/
#ios_and_mac-archived for more
I thought they're preloaded on boot anyways?
default_config?
yeh
only if you enable it
ah okay, thanks
i am using custom:secondaryinfo-entity-row to get some info for some devices and display them on the UI, the problem is that header toggle is not displayed anymore, any other thing that i can use for this?
Is there a way to disable a switch on the entity card based on another switch?
My problem:
I have one input select (Auto and Manual). Two switches that can be used when Manual are selected. I want to show the state even if Auto are used.
I can hide them completely by using conditional card + stacked cards... But want to see the states of the switches.
guys do you know how can I setup home into passive? I try adding zone but instead it add a new one.. just need to hide the zone.home
Hi guys, I have a simple question: I installed this custom card through HACS: https://github.com/mishaaq/sun-card
i can see in lovelace resources /hacsfiles/sun-card/sun-card.js
but when i manually add the card, it says No card type found - type: 'custom:sun-card'
what did I miss?
Custom element doesn't exist: sun-card.
Remove the first -
Did you also dedent all the following rows?
- title: test
path: test
badges: []
cards:
type: 'custom:sun-card'
but i think this should be the right one:
- title: test
path: test
badges: []
cards:
- type: 'custom:sun-card'
Ok, sorry. I assumed you made the same mistake as 90 % of the people who get that problem do. You should have the dash there
Did you refresh the page after installing the card?
F5
that's what i missed 🙂 now it works thanks!
Just did some vim macro magic...
Apparently 79 out of 185 plugins in the hacs default repo do NOT have "- type:" in their readme.
Some false positives, though.
crazy
Of those 79, how many have no instructions?
Yeah :/
I managed to configure the sun-card plugin, it's really cool! but the css styles get simply ignored. No error message, just no effect. do you have an idea of what could be wrong?
type: 'custom:sun-card'
entities:
time: sensor.time
moon_phase: sensor.moon
sunrise: sensor.sunrise
sunset: sensor.sunset
style:
'--sc-sunbeam-color': white
'--sc-sun-color': blue
'--sc-horizon-color': orange
animation: true
meridiem: false
the styles just have no effect.. really weird!
I don't think it works that way, unless you have a very very old card-mod version installed.
https://github.com/mishaaq/sun-card#themes You seem to be correct
exactly, I found the documentation and some examples here and there.. but I can't get the styles to work...
Either you need to add that to your theme, in the form sc-sunbeam-color: white or if you have card-mod installed you can do yaml style: | ha-card { --sc-sunbeam-color: white; ... }
still no effect...
type: 'custom:sun-card' entities: time: sensor.time moon_phase: sensor.moon sunrise: sensor.sunrise sunset: sensor.sunset style: | ha-card { -- sc-sunbeam-color: blue; --sc-sun-color: blue --sc-horizon-color: orange } animation: true meridiem: false
You have an extra space there
corrected the extra space.. no change 😦
type: 'custom:sun-card' entities: time: sensor.time moon_phase: sensor.moon sunrise: sensor.sunrise sunset: sensor.sunset style: | ha-card { --sc-sunbeam-color: blue; --sc-sun-color: blue --sc-horizon-color: orange } animation: true meridiem: false
semicolons
i thought about the ; at the end of blue, tried that too with no success..
🤷
type: 'custom:sun-card' entities: time: sensor.time moon_phase: sensor.moon sunrise: sensor.sunrise sunset: sensor.sunset style: | ha-card { --sc-sunbeam-color: blue; --sc-sun-color: green; --sc-horizon-color: orange } animation: true meridiem: false
oh yes sure, wait
entities:
time: sensor.time
moon_phase: sensor.moon
sunrise: sensor.sunrise
sunset: sensor.sunset
style: |
ha-card {
--sc-sunbeam-color: blue;
--sc-sun-color: green;
--sc-horizon-color: orange;
}
animation: true
meridiem: false```
still doesn't work anyway... I am trying also with other colors like #0099FF but that doesn't do the trick..
in the browser debug modus i read this: Error: Entity ha-card {
-- sc-sunbeam-color: white;
...
}
set for config entry "style" not found. Check your configuration.
at sun-card.js:616
Extra space is back
wait i think that was an "old" error, cause i replaced the white color since a while. when I refresh the page i don't get the error anymore..
so no other ideas of what could the problem be?
another question: do you know why when I cast the tab i can't see this custom card? it says that the card doesn't exist
hi folks. I have a map card (as a custom:hui-element in an entities browser mod popup card...) and I have it just showing person.dolores and zone.home. both show on the map, but the zoom level is by default is just showing person.dolores. do any of you know what the the issue is/how to fix it?
Many custom cards have problems with cast. It has to do with them relying on a custom element which is not present.
And most of those who had a workaround for that case are broken since 0.116.
is there something I can do? I tried to add this "CORS" to my configuration.yaml
Actually, it seems that card does things the right way, so it's not the usual problem.
is there a way to debug it?
Not easily, I'm afraid.
It's said to be kind of easy if you have a google developers account. But if you do, you probably know more about this than I.
When you click on the sun.sun component on a card you get the details screen and it nicely formats the time in the correct timezone. However if i click any of my other integrations that have UTC timestamps on them as attributes, it just shows the timestamp. Is there some way i can tell it to display that timestamp formatted in the details page?
I'm running Home Assistant 0.114.4 and I installed a slide-show card (https://github.com/igloo15/slideshow-card) via HACS and I can't seem to get it to display. I edited the dashboard raw configuration, save it, and then nothing actually shows up on the dashboard. Anyone have any ideas why?
cards:
type: 'custom:slideshow-card'
folder: sensor.images
tried refreshing the page and restarting home assistant. Nothing.
Tried Firefox and Chrome in Win10 and also tried it on Android
Did you follow all the instructions to create sensor.images?
yeah, it's there and all the images in the folder show up under the entity
path
/config/www/images/
filter
*
number of files
3
bytes
5691644
file list
/config/www/images/DSC01123.JPG, /config/www/images/SW__E01251771_20201012125952774_MOTION_DETECTION.jpg, /config/www/images/frontdoor__E17717213_20200914180616936_MOTION_DETECTION.jpg
Do you see any errors where the card should be or it's just blank?
And are there any errors in the browser console?
just blank
And the browser console?
ahh there we go: Loading module from “http://x.x.x.x:8123/config/www/community/slideshow-card/slideshow-card.js” was blocked because of a disallowed MIME type (“text/html”).
took out the config/www/community/slideshow-card/slideshow-card.js from the resources (was put in for troubleshooting) and put it back as /hacsfiles/slideshow-card/slideshow-card.js. Now I don't have the error in the browser console anymore, but still blank.
Did you clear your browser cache?
yep, also tried different browsers and Android
Hey all, I need a dial! Or a knob. Slider. Something. Scenario: I have to make a virtual device that will send commands to MQTT based upon what to which I set it. Imagine I have three settings, "Cat" "Dog" and "Fish". I need to be able to move it between the three and send the result to MQTT. Anyone have any thoughts in this vein? Thanks!
Or perhaps I could link three switches so that only one can be on at a time? Kinda kludgy but would at least accomplish the principle?
Bugger. Thought I had a good solution on finding input_select and thinking I could mqtt_statestream it out. Nope. statestream won't include it. Though I'm thinking maybe I could do an mqtt.publish action from an automation to push it out? Still open to suggestions!
An #automations-archived would be simple enough. With an input_select.
@polar kelp I use a picture-elements card and inside I have some sensor-dependent information in diverse cards. However, the information does not change in lovelace when the state changes. I need to reload the page. I have wrapped the picture-elements card in a config-template-card. Could this be the reason for the non-updated elements?
I hope the problem is clear 😅
@mighty tree you need to define the entities that cause state changes for the card in the list of entities config item
@mild veldt for which card? For instance, I have a state simple state-label card and I have there the corresponding entity in the entity section. Or do you mean I need to put all elements that could cause states changes in the config-template-card entities section?
If you mean the later variant, then this would be nearly every sensor I have plus input_selects, etc. 🙂
if that's true, then yes. config-template-card is the gatekeeper
uhh I see. Thanks for your answer! I may need to refactor my whole lovelace layout. I just used the config-template functionality to reuse lovelace.yaml-files accross different dashboards for different devices (i.e., defining alternative positions and text sizes). Maybe, I could put the text sizes into an individual theme...
at least, now I know what the entitites section was for 😉 hehe
@polar kelp Thanks, that's what I ended up doing. Took me a bit because I didn't go with simple if/elif but used a more elegant dictionary lookup that utterly and completely failed. Causing me to go back to if/elif. There was half an hour burned. 😛
Learning time is never wasted.
Hi! Is there any way to display the current user's username in lovelace? I want to have a text saying "Hello, USER", but can wrap my head around it! Thanks!
depends on the card. The "markdown" card has exactly that example at the bottom: https://www.home-assistant.io/lovelace/markdown/
Omg... Tens of google searches and couldn't find what was in the docs... Sorry about that!
https://twitter.com/iamdevloper/status/1060067235316809729 Not a readme, but still aplies
@wheat current hello. Prase I Havel Simple question. For you Simple :). HASS in env od hassio docker on rasspy4 8GB? Speedo And stability. Heard hassos has problémy...
Hey folks.
I tried adding the banner card using hacs and then adding it to my ui
But it still says custom element doesn't exist?
It has been a while since I dealt with HA
Also what does it mean when my files in file editor are red?
Ohh sorry...text repair :(
@graceful bobcat Generally, don't tag people to ask for help - it comes across as bad manners, you’re demanding somebody answers you. It’s different if you’re thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.
Similarly, please don’t DM (direct message) people asking for help. It also comes across as demanding, and means that others can’t learn from what you do.
Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on).
Hey guys, I'm working on another custom card and I have noticed that my card doesn't render every time. Then I have realized that I have noticed similar issues with some other custom cards (e.g. mini-media-player) after upgrade to 116. And I'm aware of at least two breaking changes which have impacted custom cards (extracting LitElement from hui-view and lazy-loading and problems with more-info dialogs).
Here the problem is that the card DOES render in most of the cases (so it is not something similar to hui-view issue). My card doesn't use more-info dialogs, though it uses ha-card and ha-icon HA custom elements (I'm not sure if that may be the problem). I gave it a try and removed ha-* elements from my card and problem still appears.
The easies way to repro is to go to the dashboard configured via UI (for some reason it happens rarely on yaml controlled one), open panel/tab with custom card and refresh the page. Card doesn't render and there is hidden error card visible in the source saying that the custom card is missing.
I have found similar issue reported yesterday which was closed as related to lazy-loading. I have added more details from my side in the comment. https://github.com/home-assistant/frontend/issues/7384
My card code if anyone is interested and willing to take a look (it is rather simple and small): https://github.com/maxwroc/github-flexi-card
Any help will be very appreciated!
Another interesting part is that this card has two custom elements inside "github-flexi-card" and "github-element". The element one is used in the card one but it can be used as well as entity-row element (e.g. in entities-card). And when "github-element" is used in entities-card it renders always without any problems. TBH I have no idea what might be wrong with the card code that HA cannot render it (especially that it is only few lines of code: https://github.com/maxwroc/github-flexi-card/blob/master/src/custom-elements/card.ts more comments than the actual code 😉 )
is there any way to force a number of columns on a particular view? i recently set up a tablet on the wall using fully kiosk, but it seems every time the main page loads, the number of columns changes
not so great to end up with one vertical column on a landscape tablet lol
Hey everyone, short question. I'm switching from broadlink to esphome as IR climate remote. Is there a way to tell the thermostat card what temperature sensor it should show as "current temperature"? Since I don't have temp sensor hooked up to my D1 mini, I would like to use another sensor that is in the room.
@hallow mango You can use a set of vertical-stacks or the custom layout card
I have 3 vertical-stacks
Hey there im looking to have my weather card show only 3 days of forecast instead of 5
anyone knows how to do t his?'
from the docs: https://github.com/bramkragten/weather-card
number_of_forecasts: 5
unless you're using some other weather card
ah its the custom one
i was using the default one https://www.home-assistant.io/lovelace/weather-forecast/
I see. I forgot that one existed
@dark dirge thanks, got it and it works perfectly
@dark dirge is there "rules" for the vertical-stacks working that way? it seems that even after doing that, i sometimes have to "edit dashboard" in order to get them to organize into the right number of columns
I do everything in YAML, and this may force you to do more in YAML too
is there something specific I'm missing then? I mean, I can edit it in yaml, but it looks the same in the end, no?
no idea
gotcha
got it with layout-card 👍
I'd like to create a card to send IR messages to my air conditioner. There is no full-on integration possible, I can't even know what the current state of the unit is. All I can do is send IR codes.
Any creative ways of having a card for this?
Another question; in the Entities card type, for a remote.x entity I currently see an on/off switch. Is there a way to have it show the state in letters? Ie. "On"
Hi All, I'm trying to tweak a theme to adjust the input_select background and the tooltip colours but I'm struggling to figure out the CSS variable names - Is there an easy way to find out the names I should use in the theme file ?
Hi all, which card should I use to add a *.gif link from web to lovelace? Picture does not work apparently.
How do you nest light groups? nvm, was using group.* instead of light.*
@prime skiff , I use a picture card and it does work:
image: >- https://api.buienradar.nl/image/1.0/radarmapbe/gif/?hist=0&forc=36&w=500&h=512&l=1&step=1 type: picture
Is there a possibility to add an "are you sure" Popup Box in the gui when trying to switch a switch?
I have a Power-Socket-Switch for my 3D printer and want to avoid missclicking
great thx.. i didn´t found it.
@mossy timber probably with a custom card, you could show the state instead of a switch
like maybe this one
Funny you should mention that one. I just spotted it in a video.
I try to stay away from custom cards though. So, created an hstack of 3 single entity cards. Changes the graphical representation to a remote icon. Not ideal but doable for now.
Thanks for the reply though.
Can I temporarily disable the web UI refresh, so i can debug CSS/Layout issues in my component?
Does it work to pause javascript execution in your browser?
yes, yes it does!!! It also disables my ablility to respond to this, and virutally everything else, but it works for sure. thanks.
I was trying to get my spotify integration to work (and it does) but I can't seem to figure out how call a related service...
Here is the code I tried to use to pause my spotify
type: button
tap_action:
action: call-service
service: media_player.media_pause
entity_id: media_player.spotify_USER
entity: media_player.spotify_USER
show_state: false
show_name: false
(with "USER" changed to what it should be)
the error I get is:
Failed to call service media_player/media_pause. must contain at least one of entity_id, area_id.
and I don't know why
okay I found it, took me 3 days, I should use
service-data:
to inject the data a service needs
Hello there I have a question regarding grafana chart, for some reason it is not show in lovelace. Get the message <my IP> refused to connect.
lol, was just going to repost that too
worst thing is, I did look at all the service related docs. I just didn't think to look at the button related docs.
*service_data
Hi, i switched to lit-element but render is not always called ? Im using example from hass website
you probably want #devs_frontend-archived
and with more context
I'm sorry I didn't notice devs I'm new here.
Hello there, im quite new to HA, I have an rgb strip to which i can send mqtt message to set the rgb colors, which i have working with a few toggles and sliders in the lovelace interface. To make setting colors a bit easier, I want to use HACS add-on 'light entity card', but it requires a 'light entity'. How and where do I make a 'light entity'? Can it be done from the interface or do I have to add it manually to some configuration file (which, and what do I have to add?)
You need to set up one of those: https://www.home-assistant.io/integrations/light.mqtt/
Depending on what you're using for the light, this might happen automatically if you enable mqtt discovery.
Thanks, I have not ever added anything to the configuration.yaml, I think I can find it. The light in this case is an EPS8266 with micropython code
can I still control what mqtt messages will be sent?
To an extent.
but not their format i assume?
data_template has been deprecated, right?
yes
Not really HA related, but this may need updating: https://hacs.xyz/docs/basic/automation
Feel free to click "Edit this page" at the bottom
more discussion on HACS docs should be on the HACS server
Sorry New to Home-Assistant. I'm doing my best to climb this steep learning curve. I'm trying to install button-card from the HACS and it's putting it in "/config/www/community/button-card" but under the Lovelace recourses it has the resource as "/hacsfiles/button-card/button-card.js" is "/hacsfiles/" the same as "/config/www/community/"?
I'm trying to install button-card from HACS and I was wondering where my ui-lovelace.yaml is? How do I create and add it if it is not there?
@barren yacht Yes, /hacsfiles is uncached and mapped to config/www/community
@compact pebble If you're managing your Lovelace dashboards from the UI, you won't have one
and don't needone
@dark dirge thanks. I tinkered around some more and just installed it manually and put the file in config/www/ and the error I was getting went away. Idk why it wasn't working with HACS.
you can do that, too. You didn't mention an error earlier 🙂
you'll be better off in the long run installing through HACS because it will track new versions and let you upgrade more easily
Yea I wasn't sure if the error had to do with my card coding. Yea now that I know my code is ok I'll backtrack and try it again.
what does this mean? How to fix? ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'return `<ha-icon icon="mdi:bluetooth" style="width: 20px; height: 20px; color: white;"> ...'
@compact pebble my guess is that somewhere in that template you're trying to use the state of an entity the is unavailable
hello.. i have installed some custom cards through HACS. some cards works as is but I cant seem to get some working.. any idea anyone? I have tried manual add too but to no avail
the cards in question are mini climate card, lovelace-clock-card and layout-card
No card type found
- type: 'custom:clock-card' is given
You probably haven’t added the resource or cleared your cache
Remove the leading -
Many card instructions assume that you’re writing the YAML directly, rather than using the UI
i should have known this.. its soo true we cant see our mistakes 😄
Yep. Glad it’s working
thank you.. and thank you.. have been pulling my hair out 😄
I'm still using default_config in my config.yaml file and want to move to a full config so I can remove the "map" integration.
I'm not sure what exactly to replace the "default_config" with so I can keep using the frontend and all my other integrations.
you probably already have automations and scripts and a lot of the other stuff in your config, so I'd say it's more likely you need to add these
# Enables the frontend
frontend:
# Enables configuration UI
config:
# Enables support for tracking state changes over time
history:
# Enable mobile app and app notifications
mobile_app:
Yeah, I do already have scripts and such in there.
So I just remove default_config and add those four lines? They don't need any sort of conditions or anything?
Easiest way is probably to start from this list and remove things until stuff stop working: https://www.home-assistant.io/integrations/default_config/
Thanks all
Then again... you can just remove the map button from the sidebar...
Hey guys, I´m trying to use Card-mod to display a pop up, is there any way to make a pop up persistent? Meaning if I open a new browser after the pop up has been triggered I would like it to still be displayed
yes sorry meant browser mod
I'm trying to make some entities show based on a condition in an entities lovelace card. It works fine with one entity, putting it after the 'row:' , but how do I display several?
Simplest way is to just add more conditional rows.
@polar kelp with an condition for each?
yes
ok, I guess I can stop butting my head against this problem then.
I assumed there was an easy way that I missed
Not that I know of.
But if you have the same condition and use yaml configuration, you can save some lines of code by using anchors.
I'm using the gui raw config
Then that won't work.
Is there a way to get confirmations for boolean input in a lovelace card, tapping actions only get me an confirmation if I tap the icon, not the actual toggle?
...So if I have a toggle, let say "start fire", can I get an confirmation such as "Have you removed parakeets from fireplace?" before actually changing the toggle switch?
@waxen granite Press and hold on the "Home Assistant" text, then drag the things where you want them.
@polar kelp Thanks, but as I can see it is still for buttons. I want to use an input_boolean instead.
...or input_select
It works for everything that has a tap_action.
it has but the tap-zone is the icon
If a add tap action to a boolean it is the icon, not the toggle that activates the action
I never thought of that...
You may need this then: https://github.com/iantrich/restriction-card
That seems to fill my needs just fine. The parakeets are relieved. Thank you
hello everybody! my lovelace is not starting anymore even though my HA is started! is there any way to debug what happened?
turns out, it's a problem with my SSL certificates.. they are probably expired. now debugging 🙂
Am seeing a difference in colours when using everything the same setup, except utilising switch or light entity. One is correctly yellow, the other looks more like a dirty yellow ... is this a known or expected behaviour? https://paste.ubuntu.com/p/6wQjFXXsry/
This is when using a pictures element floorplan ...
I've tested and it's not to do with the background colour, either ..
The light icon is dimmed to match the brightness of the light.
Migrating from SmartThings. Got my HA running, connected Unifi, and now my head is swimming. Any advice? Or a link to advice?
I over-rode the icon for one of my color lights, now the icon color no longer matches the light color. Is there a way to get that color back with a different icon?
How did you override it?
That still matches the light color for me...
nevermind, I had confused two different lights and was looking at the wrong one 🙂
🙈
Is there a way to create a card that sets a light on a set colour/strength ?
Almost everything that can be clicked can be made to make a service call which could do that.
I will check on it
You're looking for tap_action
Is there anything I can do about the card selector in Edit UI (when pressing '+', i.e. adding a new card) loading very slowly and bogging down the browser window along with it? It's been like that for a while on most of my devices.
@vapid field I can offer no help, but I can tell you you are not alone in experiencing this.
Yeah, as it is happening across random devices and different HA versions I figured it would have to be a somewhat wide-spread thing.. will wait for other responses and investigate some more. Thanks for replying!
in my custom component, i dispatch events from custom html elements to an event listenter in my card class. It works great for "issuing" service calls, but i cannot query the curret state from 'hass' inside the event listener. it alwasy returns the state when the content, and event listenter, were added. I want decide at that point, what services to call.
and i can see that the hass is being re "set" with state updates.
Is there anything I can do about the card selector in Edit UI (when pressing '+', i.e. adding a new card) loading very slowly and bogging down the browser window along with it? It's been like that for a while on most of my devices.
@vapid field @polar kelp Couldn't it be caused by loading of some chatty sensors?
... the else condition of my "toggle" eventlistener... that's where i pickup the users intent to turn the valve on or off. I want to take conditional action on the state of the valve (currently using a lamp to test state)
Ok. I already went to bed but replace function(event) { with (event) => { and I think it should work.
There are other things you could and should change too, but I’m half asleep. Ping me in 8-10 hours.
ok - thanks
is it possible to change tap action of a entity to show a input_number to set the value?
@feral grove hm that's an interesting take.. and it's loading previews of my actual sensors, so I figure if that would just show generic placeholders, that'd be fine.
So I'll check if there's an option for that, and I'll go through my sensors to see if I can find a culprit.
Maybe it's an offline camera or something.
I'm trying to clean up some media player nonsense. My livingroom has TV, Kodi, and Sonos and it's a bit busy. I was looking into the entity-filter card to look for 'playing', and only show that. If I don't give it a card type it does a bland, not normal looking media controller card (entities by default I guess?). Can the entity-filter card not make media-control show up? Is there a more clever way people have come up with to clean up multiple media things in a room?
@graceful dagger you want a Conditional Card https://www.home-assistant.io/lovelace/conditional/
so i just set up a tablet (wallmounted) with fully kiosk, and have a user for that device, with a separate dashboard as the default user
is there any way to share views from my default dashboard, so that changes made in either place will be reflected in both dashboards?
@plush spindle you could use https://github.com/thomasloven/lovelace-fold-entity-row for that I think... Just put the entity you wanna tap in the head: part and then the input number to set its value in the collapsible row underneath
@cyan cargo Does that work? Conditional uses AND, so wouldn't it only work if all the players were playing?
@graceful dagger If you use layout-card you can use auto-entities or entity-filter to create entire cards. Se example att bottom here: https://github.com/thomasloven/lovelace-layout-card
@onyx mesa Did that work? I mean this.toggle_sw = document.addEventListener("toggle", (event) => { as that will make the eventListener bind this to the actual this. Otherwise you get only the this that was right at the time of creation.
The other thing I was thinking of was that your hass setter does an awful lot of heavy lifting that's better done in e.g. setConfig or even constructor.
Hello everyone, I’m trying to use an iframe in a lovelace card showing a page in /config/www and the html pages are refresh every hour. But there seems to be a cache because it only show the first version. Is there a way to force a refresh or those iframe ? Thanks in advance
is there any other way to remove the card margin/padding on either sides without card-mod? Seems like its not working on Android. CC @polar kelp
@polar kelp https://ibb.co/LdSTyqp
How do i fix this overlay of the bar created using the compact-header of the Card Mod?
I am very new to home assistant only installing about a week ago, since the latest update I am unable to access any of my add-ons and am also unable to access the supervisor tab.
HA is installed on a Raspberry Pi4. Really unsure how I am going to fix this - any advice would be welcome.
I am not super technical so hopefully there is a simple solution.
log: 2020-10-22 21:02:14 WARNING (MainThread) [homeassistant.components.http] The 'base_url' option is deprecated, please remove it from your configuration
2020-10-22 21:02:27 WARNING (MainThread) [homeassistant.components.esphome] Error getting initial data for 192.168.0.143: Timeout while waiting for API response!
2020-10-22 21:02:28 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 193, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 93, in async_setup_entry
device: Device = hass.data[DOMAIN][DOMAIN_DEVICES][udn]
KeyError: 'uuid:5a191372-bce8-42a3-b227-a06d506374b6'
Not sure which install you're using? If you have system_health enabled you can check Configuration -> Info, or see the following.
-
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
-
If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714
-
If you're running
dockercommands or use a Docker manager and have no add-ons then you have #449717345808547842 -
Finally, if you use
pipto install or upgrade you have #551864459891703809
Having difficulty chosing an install method? See this blog post for guidance.
which method do you use?
homeassistant os I installed a beta version as my PI is the 8gb ram version
#330990055533576204 and the upnp error shouldn't prevent you from starting up, the issue is likely somewhere else
go there ☝️
I can get in but just can't access the add-ons in the side tab or the supervisor page
ok will give that a crack 🙂
I'm unable to find:
https://github.com/thomasloven/lovelace-auto-entities
in HACS. :( Anyone else with this problem?
Try going HACS, Frontend, use the "+" to add, then search for auto-entities.
I often to forget to go to the add page before searching.
There is no "+" D:
But i found the "Entity Filter" Card, directly from Home Assistant. Wirk's perfectly. :)
Isn't there a way to re-arrange the dashboards? Now I had to workaround it by name them 1.the-one-to-be-on-top, 2.the-second-one and so on.
@urban valve Found the "+" .. i'm stupid :D
@copper mural click and hold "Home Assistant" at the top, then drag them where you want them.
@proven ether If entity-filter works for you, then go for that. auto-entities is just that, but on steroids.
@polar kelp Oh thanks. A well hidden feature 😉
Thanks @polar kelp!
I think i just try both. :D
The last time i config my first Home Assistant thing was half a year ago.
A lot has changed.
If I want to change from yaml mode into GUI-mode. I just change lovelace: mode from yaml to storage?
@copper mural Easiest way is to just remove everything lovelace related from your configuration.yaml and make sure you have default_config:.
@polar kelp You mean
lovelace:
mode: yaml
should be removed and what is default_config: does? I have already configured my GUI based dashboards.
so what should I use to plot a beautiful graph over energy usage from all my Zwave power plugs?
@vapid field My suggestions goes for https://github.com/kalkih/mini-graph-card
pretty. I like it
and for a total noob, how do I install this as a "container" user?
By using this: https://hacs.xyz/
when clicking a tab, a growing circle is animated until it fills the tab's space in the header. can I turn that animation off? in a theme or with a parameter?
https://imgur.com/a/qLSVoqW
It may always have behaved like that, but I have never noticed it before (maybe since I'm a long time Custom Header user), but in the new beta I suddenly noticed it and I don't like it
where is that circle animation? I dont see any
Can't be turned off.
Hey again.
I had the Custom Header recently. Works perfect with Custom Card Layout.
Without the Custom Header now, the Cards in the Custim Card Layout seems to smash into the header. :/
Any way, to fix that?
Card Layout Setup is basic with:
`cards:
- ....
layout: vertical
column_width: 25%
type: 'custom:layout-card'`
is there a card that is actually a button, when I click on it to go to another page, for example www.google.com ?
what are the valid set of options for camera_view in a picture entity card? is it only live or auto? because i only see those 2 mentioned in the docs https://www.home-assistant.io/lovelace/picture-entity/#camera_view
it also doesnt explain what auto means does that mean if we set it to live if a user has stream or does it explicitly need to be set to live for that
@hallow mango thanks, and can I add button card into glance card?
name: Kitchen Desk Light Settings
show_state: false
tap_action:
action: url
url_path: 'http:/192.168.1.230'```
why when I add custom ip address (interanl) it shows me this
where 192.168.1.51:8123 my hassio ip address
@devout hatch you can just set a different tap action per entity in the glance
Is there a wait to set your domain. Like you can with a apache server? Right now i still have to add the port to my domain even with a srv record with the a record
I think you mix a few things up here @heavy garnet
https://www.home-assistant.io/lovelace/conditional/
so conditional cards use only AND
can I somehow change this to OR?
no
damn
you could combine whatever it is that you're testing into a single sensor
and a template sensor can use whatever logic you want
gotcha
I have these window/door sensors now and just want a simple way to display if one of them opens - which one is opened in a card... think I'll do that with auto entities then 😛
this works; now I just need to make the card conditional to the template sensor :P
https://paste.ubuntu.com/p/FdhJ5T8MQx/
I managed to get rid of a bunch of conditional cards using auto-entities, but I think I still have one that I need
it's a pretty nice card
it's perfect to keep an eye on your batteries, thats for sure
sooo how do I pack this auto entities card in a conditional card?
https://paste.ubuntu.com/p/nCYBF9qKbS/
soz I'm a n00b
Looks like I don't have one like that anymore
I think you have it backward
- type: 'custom:auto-entities'
filter:
include:
- entity_id: "lock.*"
state: unlocked
show_empty: false
card:
type: glance
title: Doors Unlocked
show_state: false
in other words, auto-entities outside, conditional card nested inside
auto-entities fills the entity list for a card, it's not a card by itself
show_empty: false was all I needed 🥳 
me so stoopid
not even a template needed
thanks rob!
is there any way to copy(duplicate) a view?
if you mean a lovelace tab - yes, just use the raw editor and copy it
ahh didnt notioce the raw editor link before
OMG! You can use node anchors in the raw editor!
And it doesn't just parse them, but keeps them around!
And if you change something, it automatically updates the anchors in a way that makes sense!

I had no idea!
what is this? 0.450b5?
@polar kelp 🤯what happened?
ctrl+p
or
cmd+p
Thank! I just found the PR https://github.com/home-assistant/frontend/pull/7230
question is: how do you open quicksearch on mobile? hm? hm? hm?
Ok. They're not stored across reboots, so it must be some frontend magic.
Get a bluetooth keyboard @formal tide
BRB. Digging out a bt keyboard from the pile-o-trash.
IT WORKS!
Fantastic!
I‘m sure one can get this shortcut to trigger with browser-mod 🤷♂️
anyone know the magic element I can mod to get entity text in the entities card adjusted?
i'd like to apply the css
background: inherit;
background-clip: text;
color: transparent;
filter: invert(1);
"Map" located under "overview" and above "Logbook" is there any way to hide that from certain users?
Mobile View is broken in one of the past 2 Home Assistant Updated, when used with Custom Lyout. :(
@rain briar You can rearrange or remove items from the sidebar separately on any device by clicking and holding on the "Home Assistant" title in the sidebar
or by clicking "edit" in the profile
Anyway to stop someone like my children from re-adding map? They dont know about the geo features and I would like to keep it that way.. For good parenting sake that is 🙂
I'll submit a github request to add permission structure to Map, Logbook and history
question is: how do you open quicksearch on mobile? hm? hm? hm?
@formal tide You don't yet 🙂 I'm considering a few options, but I don't really know how the FE / mobile interaction works yet (e.g. how do my changes in FE repo affect mobile apps)
Was thinking long pressing the app, or having a tiny hovering fab button in the lower right
Are assets placed inside the /media/ folder meant to be accessible in the same way as /www/ but with authentication?
Because I can't get any assets from there to show in the frontend
What do you think about this FR? https://github.com/home-assistant/frontend/discussions/7446
how can i resize cards with "card mod"?
hi
i've got a sensor that outputs its values in seconds and I plot it (it's the battery life of a ups), but I'd like hours
how can I manipulate the number so the graph card can get the unit I want? graph card can't manipulate it itself
If you can't control that sensor, you could wrap the value with a template sensor instead
right thanks
How to get rid of the circular icons inthe top of my main lovelace page?
get rid of the auto lovelace dashboard
whats that?
If you don't like the badges, you need to edit the dashboard. You can either create a new one or take control of the default one.
is there an advantage of having more than 1?
Or should I always just edit and use the default one?
That's a personal choice
I have a real dashboard and a 'test' dashboard.
On my real dashboard, I split things between tabs.
The test one is just so I can play around and make mistakes without breaking the real one.
ahh ok than I will start with just modifiying the default one
Hi everyone, I have some trouble trying to understand why I keep having the following problem: Custom element doesn't exist: button-card. The javascript has been added in the resources like other JSs (where those works). I already rebooted HA (a few times) and also cleared the browser cache.
How exactly did you add it?
And where exactly is the file located?
I added it through yaml like this:
lovelace:
mode: yaml
resources:
- url: /local/button-card/button-card.js?v=3.3.6
type: module
this is the location path config\www\plugins\card-mod\card-mod.js
Looks correct
Try opening the file in the browser
http(s)://URL_OR_IP(:port)/local/button-card/button-card.js
Did you run the reload service?
frontend.reload_themes ?
no
no I haven't which service should I call?
not sure
ahah ok I'll try to launch a few
I got this lovelace error after adding the mulitple-entity-row module
Custom element doesn't exist: multiple-entity-row.
my configuration.yaml:
lovelace:
resources:
- url: /local/multiple-entity-row.js?v=3.5.1
type: module````
I think I did not do this Manually add multiple-entity-row.js to your <config>/www/ folder
for me there is not www folder in config (i am browsing with file editor in HA)
You need to create the directory manually. And after doing that you need to restart Home Assistant for it to register.
You do not need to restart after adding new things to the directory. Only when creating it.
ok so just a www folder in config folder (where the configuration.yaml is)
yup
I think its just a spacing issue but unsure how to best fix it this is in the lovelace card configurator. if i just have the master bedroom fan there it shows up just fine and works as designed - however when i try and add more fans i get duplicated mapping key error and i'm not quite sure the best way to go about fixing this. https://paste.ubuntu.com/p/WQgHNM2xd9/
When it comes to yaml, indentation - the distance from the left edge to the first non-space character - is EVERYTHING.
Take a look at the example the bottom of https://www.home-assistant.io/lovelace/entities/ to see how multiple entities are used in an entities card.
@polar kelp i realize that - i just dont know the proper way to fix it. I have tried playing around with it but had no luck. Thank you i will take a look at the link and go from there.
Thank you! I was able to copy the example Lovelace Yaml - and tweak it to fit my config and made it work. Thanks again
how can i resize cards with "card mod"?
I need to be able to reduce the cards by 50%
where is the setting that changes the the far left edge of the brightness slider on lights from "off", to "lowest brightness"? I know I've set that before, but can't remember where...
how can i resize cards with "card mod"?
@celest jackal what have you tried?
@celest jackal what have you tried?
@formal tide
example:
style:
.: |
ha-card {
height: 50px;
width: 100px;
}
bug? inside a CHOOSE action, actions, clicking the up/down arrows to reorder the sub-actions doesn't work. nothign happens. no JS errors, either (automation UI)
hey everyone, is there a way to make Lovelave UI store to ui-lovelace.yaml instead of .storage/lovelace? I like using the GUI to edit the UI but i don't like it storing itself in a hidden folder that makes it more difficult to backup and less transparent
@willow zodiac That's been a feature of custom-ui. Never of Home Assistant itself.
@polar kelp still unable to get card-mod-view code to work with Chrome/Android WebView. Works on Firefox though.
Hey guys! Anyone know if there is any way I can have a history graph hidden inside some card like the custom fold-entity-row card?
@hallow mango yep
how would I structure two calls?
Wait you mean two service calls?
You can do that in a script, but I thought you meant a light action and a script, which you can do
actually I wonder if sequence: works there 🤔
I suppose I could do it that way 😫
lol
Is it possible to get some code in .yaml, into a entities list?
So that the "IP" in this example (In the DS212 row) is only shown when some state is happening
(IF / Else Condition)
`entities:
- entity: sensor.fritz_box
type: 'custom:multiple-entity-row'
secondary_info: Modem | Router
entities:- entity: sensor.fritz_box_ip
name: IP`
- entity: sensor.fritz_box_ip
Thanks!
Had a logic mistake there. Now it works :)
Is there a way to check NTP status/config in the front end? I've searched for quite some time now and cannot find much. Running on an RPI4.
so I have a door sensor and would like to present it in an clear way in a panel... but the best I can do still says "Door Open Off" meaning the door is closed... what am I missing
Best I have found is setting the timezone in Config/General
Is it possible to have: "type: divider" into the standard Entity-Filter Card?
Don't think so. But you can use it with auto-entities.
Than i think i had to switch to auto-entities. :D
Sorry for so much noob-questions. First time really go deeper into HA.
We've all been there
How can I add custom cards? I thought I did everything right but it says custom... not found when I try to add a new type to lovelace :/
That only work in YAML mode
oh whats that?
You need to use:
HA UI -> Configuration -> Lovelace dashboards -> Resources
and there I have to paste: https://github.com/kalkih/mini-graph-card/releases/download/v0.9.4/mini-graph-card-bundle.js ?
Do I have to restart or do anything else?
Can I delete the code out of the configuration.yaml which I added earliere?
@wheat current any idea?
do I have to do something else because its still not working
just added the js to resoruces
the url
Is there any way to clear an IP ban without restarting HA?
no
I'm to get template-entity-row to show localized state as described in https://github.com/thomasloven/lovelace-template-entity-row
In evaluated templates the function _(<key>) (underscore) will localize the <key> to the current language. E.g. _(state.binary_sensor.motion.off) will be replaced with Clear if your language is set to English.```
which in my case I think should be like this:
state: "_(state.binary_sensor.door.{{states('binary_sensor.balkongdorr_sovrum_tmpl')}})"
which shows up like this: https://imgur.com/a/np5UwDS and not really the way I expected :-)
any suggestions?
Edit: It seems something changed since the docs.
This actually works: ```state: "_(component.binary_sensor.state.door.{{states('binary_sensor.balkongdorr_sovrum_tmpl')}})"```
@wheat current I don't suppose there's a way to exclude specific IPs from banning?
🤷♂️
Sooooo wayyyy back when i did my precious HA evaluation i ended up using groups a lot for lights. I cant seem to find the corresponding thing under lovelace. But surely it must be around... so what it is called now? (As in group a bundle of lights togheter to be able to control as one entity)
@plush stratus https://www.home-assistant.io/integrations/light.group/
@mild veldt Yeah, I just assumed there would be a way to create/edit those in Lovelace?
Whats a recommended element to use for showing what doors (door switches) are open or closed?
@plush stratus not at this time
@mild veldt Thanks. Then I'll just do it like before. 🙂
@vapid field I made this recently for my windows
card:
title: open windows
type: entities
filter:
include:
- entity_id: binary_sensor.*lumi*
state: 'on'
show_empty: false```
How to add custom cards to lovelance over the ressources tab? Do you have to enter a http or just a local url?
I tried both but it doesnt work :/
No
@polar kelp FYI just in case anyone else ever asks if this can be done, I managed to achieve a similar result with a workaround: I call the the pop-up notification every 10 seconds so when ever I open a new browser the pop-up will be displayed and have added a boolean switch on the displayed card to disable it once viewed, this way when ever I open HA from my phone and there is something I want to display that might need my my attention I get the pop up notification right away. 👍
Another related question I have: Is there any way to rename a entity I want to display in a browser_mod.popup?
I'm using template-entity-row to hide entities that are not active which works great for entities in that card.
But is there anyway to hide a whole card if no entities are active (with a template)?
use the conditional card for that, its included in HA
Are there other ways to display lots of regular text in HA? Keeping a little log of what changed in the house for my family members and I'm currently using markdown cards for it. Sadly HA doesn't seem to like 70 of them in a horizontal stack.
I can't even imagine what that would look like. 70 in a single stack?
Are you just tracking state changes in them?
is there a possibility to add/create a entity via webinterface an not with editing yaml files
I've been having a weird issue where when I first load homeassistant in Chrome, a bunch of cards appear to be missing until I switch views to a different dashboard and then back, at which point they all load correctly
any ideas why this may be?
For example on first load my "Rooms" dashboard looks like this: https://i.imgur.com/1mMGYrQ.png
but after switching dashboards and going back it loads properly: https://i.imgur.com/NEtNJzJ.png
I dont have any extensions currently enabled so it doesnt seem to be that
I can't even imagine what that would look like. 70 in a single stack?
@mild veldt jep... it's just a very long page with text haha. I'm just manually listing things that I changed in our house, like automation changed etc.
it also looks like it happens in Edge as well, and Safari on my Mac
hmm... yeah it looks like the iOS app is also doing it so not a browser issue
Ugh re-ordering cards is so annoying with the up and down arrows.
I really hope a future version of the editor will let me just drag and drop them into place
I go to move one card and they all change position with the current setup
@rocky bobcat it will soon
@winter blade is the problem the look or performance?
@hollow tree some integrations support that but far from all
What are you trying to add?
iantrich, yea i had several setups of HA in the past
@fast jetty try clearing your browser cache. Any custom cards?
but this whole yaml editing is a bit annoyin
especially if you are not so deep into the materia
or had some time off it an
but for basic things like a binary sensor or so? nothing fancy, speaking about HA in Docker, not hass.io
In terms of integrations, usually you can just copy the config example on the docs into yours. Most everything else can be done in the UI. Check configuration > integrations to see if it is available there first
i'll take yaml editing over having to make custom python code for each dashboard item, that's for sure
@fast jetty try clearing your browser cache. Any custom cards?
@mild veldt just vertical-stack-in-card, but even after removing those cards the issue still happens
@hollow tree I have no doubt that we'll get binary sensors in the frontend but yeah not yet
@fast jetty console errors?
Switching to the beta branch actually apparently seemed to fix it strangely
is the problem the look or performance?
@mild veldt Performance, when editing the vertical stack for 1+ minute HA seems to crash...
@winter blade not surprising. Each markdown card opens a websocket connection to render any templates. Should probably be a disclaimer on the card. Try to use less ok individual cards and combine your text
not surprising. Each markdown card opens a websocket connection to render any templates. Should probably be a disclaimer on the card. Try to use less ok individual cards and combine your text
Ahh, that makes sense. I'll try something else. Thx for the clarification!
@vapid field I made this recently for my windows
card: title: open windows type: entities filter: include: - entity_id: binary_sensor.*lumi* state: 'on' show_empty: false```
@formal tide Thanks, I like that. Do you know how to make it not actually display the state "on" ? I find it a bit disturbing that doors are on when they are open... in this case it's also implied that they are open already. Sorry, I'm trying to learn here.
this depends on device/entity, mine display "open" and "closed". I think I've seen a frontend way to do this, thomasloven might have some idea on that. traditionally you would make template entities out of the states
I have surmised I need to learn about templates... maybe this is a good time to do so
also... reading the forums make me happy I waited so long to start putting my Devolo sensors in HomeAssistant 😛 so far everything has gone easy.
hm, customizations are saved in the home assistant database when they are made from the UI (configuration->entities)... but the UI doesn't allow me to change device_class which might solve this particular issue...
i'm wrong... again
https://community.home-assistant.io/t/changing-the-states-displayed-on-the-frontend-of-a-entity/9888 😉
@formal tide I was assuming that changing the device class of the entity to "opening" or "door" would change this... but I'm not seeing a change when I did. https://www.home-assistant.io/integrations/binary_sensor/
HA but it did if I added it through the UI-> developer tools states...
where is this saved then if not in core.entity_registry?
🤷♂️ i have no idea what you are doing, thats uncharted waters for me
customize.yaml
if I set device_class: opening in developer tools -> states, it says "open" and not "on"...
and if you do it permanently in
-> Customizations?
this is however not saved in any config, so it's gone after a restart
the dev tools change is temporary
yea, nice feature, I like. But i assumed this information was picked up from core.entity_registry
but that is where all the other entities get their "default unit" and such from right?
from the integration, or what you give it when you create the entity
the core.* files just store info that comes from somewhere else
customize worked fine...
I just have a shit tonne of devolo zwave devices and am hoping to find the "best"[tm] way to fix stuff...
would be nice if I could have a template in customize saying "binary_sensor.devolo_home_control_door_window_contact_*_sensor" device_class: opening
you can
like a wildcard for all door sensors
you can do it with a customize_glob
oh really 🙂
read that whole page that I linked to
🙂
this should probably be good information for anyone using devolo magnet switches
sweet, works with the _glob and a wildcard...
How to add custom cards to lovelance over the ressources tab? Do you have to enter a http or just a local url?
I tried both but it doesnt work :/
Hey all Home Assistant people 😉
I have 3 cards on one of my Lovelace views. Right now they are placed in the middle, but I want to move them to the top left 👍 If possible I would also like to know how to make them a bit smaller maybe 15% smaller. I am using the custom layout-card.
Here is the code:
https://pastebin.com/pqjavZtZ
Here is a image of my current layout:
https://imgur.com/74AkKK4
Thanks in advance for the help ☺️
- Viggo
how did you import custom layout cards? @grand sable
how did you import custom layout cards? @grand sable
@dry inlet
I installed it from the HACS store, and then just copied the path it was saying under resources
how did you import custom layout cards? @grand sable
@dry inlet Maybe this can help "https://community.home-assistant.io/t/adding-resources-to-lovelace/180729"
ok perfect I will try tomorrow
Hi, I tried to give my KNX entities a friendly_name via the customization: but it didn't seem to take effect? Is this even possible?
configuration.yaml has:
homeassistant:
customize: !include customize.yaml
customize.yaml has:
WC2.Lampotila:
friendly_name: "Hyyskä"
WC2.Lampotila is the entity as defined in configuration.yaml:
knx:
sensor:
- name: "WC2.Lampotila"
state_address: "1/1/10"
type: "temperature"
Lowercase
Also, WC2.Lxxxx isn’t an entity name
You can’t have a dot in the name, and it will start with sensor.
ah right!
brain goes clickety click
sensor.wc2_lampotila is what I want
Thanks RobC!
Yep
nope, typo. All good
Custom element doesn't exist: stuck with this for hours. I tried manual install, with hacs, tried all kind of different paths under /config/www , tried different custom elements too. But still stuck. Any ideas how to debug this ?
title: My Awesome Home
views:
# View tab title.
- title: Example
cards:
- type: custom:simple-weather-card
entity: weather.smhi
name: in current location
resources:
- url: /local/simple-weather-card-bundle.js?v=0.8.1
type: module
can the browser load this url?
Not sure what you mean with loading the url ?
I thought custom resources were supposed to be added via
> Lovelace > Resources?
Ok, when i load the url it shows code/garbage
!function(A){var t={};function e(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return A[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=A,e.c=t,e.d=function(A,t,n){e.o(A,t)||Object.defineProperty(A,t,{enumerable:!0,get:n})}
@karmic tiger I will give that approach a try ..
That's not garbage. That's the script 😄
@karmic tiger So thats a good thing i suppose.
I tried adding the custom resource via Lovelace > Resource , But still the same error.
do you run chrome?
tried firefox and chrome
open dev tools, look for failed network ressource loads
have this last checkbox enabled in dev tools
https://imgur.com/a/BV70ccH
I noticed when looking at the javascript file with the HA file editor that all the code is in one single line.
That seems wrong
that is supposed to be minified
Single line is fine. Don't worry about the contents.
Devs will often minify (shrink) code to make it smaller and faster to download.
tried wget, git download with zip and raw already
Any idea how to see more debug output. I am network engineer but don;t know much about code and debugging things.
short question: is there a 3way switch for lovelace? (On/Auto/Off)
yea i have seen this one but how do i get the orange switch with the 3 states?
one of several reasons it’s not nearly ready for release - and may in fact never be.
make use of input_select in the first answer
ahh oke thanks but then it is more or less usless for me
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
trying to fine my way in dev tools
From forum rules it's allowed to past less then 10 lines of code/logs , my apologies if this is not the right etiquette .
imagine looking at this wall of code on a mobile device
True, will keep mobile devices in mind. It's deleted.
Can't find the check box menu anywhere in Developer Tools interface.
click on the 
Sorry no gear symbol anywhere. We are talking about this i suppose The frontend contains a section called “Developer Tools”.
in the left sidebar, but I don’t know what ‘checkbox menu’ you’re looking for
I am looking for this : https://imgur.com/a/BV70ccH
That’s not home assistant. It looks like some browser dev tool
I have no idea what that is
that explains my confusion 🙂 Let's see if i can find this in the browser.
Looks like some Chrome thing: https://developers.google.com/web/tools/chrome-devtools/javascript/guides/blackbox-chrome-extension-scripts
Hi. I can not figure out how to remove the follow from UI. Anybody knows how to do it? 🙈 https://imgur.com/a/c7WLMpe
@wide oriole click the pencil on the view name and go to the badges tab
Thanks a lot!
Hi, on v0.116 I get the Python 3.7 deprecated reminder notification at every startup, can I dismiss it permanently?
no, but you can write an #automations-archived to do it
or actually fix it so it does not show in the first place 🤷♂️
Thank you @wheat current, it seems weird to me because I remember at some point not long ago a HA update introduced exactly this feature for recurring notifications, but I don't seem to find it anymore
@signal vigil sorry about the tease with that one. It’s just not a good UX, so I’ve dropped it.
its oke no worries, i tried to make my own one but is faild more or less 😄
Hi, is anyone using FB profile picture for person please? It stopped working for me, and when I copied it to browser, I got: "message": "An access token is required to request this resource.",
I was using this long time without issues:
https://graph.facebook.com/<fb_id>/picture?type=large
this proximity: thing is nice. is there anything alike that keeps on tracking devices even if one of them is in homezone
Hi, I try to add a image as a background on a vacuum card. I run Home assistant supervised. I have installed Samba share and can se the image in my media browser. I try to use the path /media/roborock.jpg but it dont work. am I using the correct path?
Hi, I try to add a image as a background on a vacuum card. I run Home assistant supervised. I have installed Samba share and can se the image in my media browser. I try to use the path /media/roborock.jpg but it dont work. am I using the correct path?
@vapid field EDIT: I found out that i should put the images in www/img. and then use local/img/robojock.jpg.
But i still wonder what the path is to the files that are added in /media folder
is it possible to set the "active"-flag on a template sensor with only built-in cards and functions?
background: I use lovelace-template-entity-row which works great, but I am trying to move the templates to backend and to use as much of the built-in functions as possible
one my most appreciated features of the lovelace-template-entity-row is to set a value for entity to be active, which I use a lot for making the row active if the CPU usage is above 20%, and stuff like that.
I'm having trouble using HACS to add custom cards, but it may just be a case of not following directions:
- I'm adding the card in HACS in "frontend" (vacuum card).
- Restart HASSIO.
- Go to dashboard, configure UI, add card - but I see no "vacuum card" as the instructions suggest (https://github.com/denysdovhan/vacuum-card)
Any thoughts on what might be going on?
did you add the resource?