#frontend-archived
1 messages · Page 203 of 1
Foot in mouth
...for a rather weak definition of "always"...
a list of complete entity setups
yes
that wouldn't be that hard to do, but you'd probably need to build a macro that builds it to look like the object and have the template parser return the type
shows recently triggered AND currently running, though i'm adapting it from one that didn't show recent
so can probably drop the include: section entirely since current is recent
So something like yaml [ {% for e in (states.automation | all your stuff | list) %} { entity: {{e}}, secondary_info: "last-changed" }, {% endfor %} ]
oh frickin beauty
Not sure it quite qualifies as a joke but it gave me a chuckle.
so does this seem right? https://www.hastebin.com/walucixate.yaml
that's not giving me anything lol
but not sure where i'm messed up
maybe that's back to #templates-archived lmao
Hi! Is there any Lovelace card/integration to see upcoming automations? I.e sunset automations, time-based automations etcetera?
ohh that'd be neat
I don't think you could do that though
just spent a couple hours trying to make a card with recently triggered ones and it nearly killed me 🤣
HA doesn't know when an automation will next trigger. Triggers are events, automations just respond to events.
Everything in HA is based on events that happen... not stuff that might happen.
In a picture elements, is it possible to chop off the last 5 characters to a state label? I just want the first half of my sensor's data to show
hi guys, I cant log in on PC, it says "Unable to connect to Home Assistant." but everything works via mobile. I tried restarting by unplugging power and by software. any ideas ?
Are you using an IP or an address?
im using http://homeassistant.local:8123
on mobile in LOGS it says 'connection problem to snitun server'
and 'challenge/response error with SniTun server
try the ip address
Use Chrome, it gives better error messages.
And then share the full error message in here.
This site can’t be reached192.168.0.22 refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Do you have SSL enabled? Are you using a reverse proxy?
Can you SSH into HA to check the logs? Or do you have direct access to that computer to plug a monitor and keyboard in?
are those the same logs that visible via home assistant app on smartphone?
Yes, it's just not as easy to read it all on a phone 😄
Look for errors in there. You may need to click 'load full home assistant log', which also won't be very good on a phone.
2021-09-15 22:19:15 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server
2021-09-15 22:19:15 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server
2021-09-15 22:20:06 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.0.10 (192.168.0.10). (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0)
2021-09-15 22:38:30 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Oczyszczacz powietrza Mi 3H data
2021-09-15 22:39:08 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [Try again]
2021-09-15 22:39:17 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [Try again]
2021-09-15 22:39:20 ERROR (MainThread) [snitun.multiplexer.core] Ping fails, no response from peer
2021-09-15 22:40:03 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2021-09-15 22:40:31 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:default [None]
2021-09-15 22:40:37 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
errors after 22:38 are because of the router reboot
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
Please don't use Pastebin, since it can randomly add spaces to the main view.
Don't post massive logs in chat please.
This sounds like the problem:
2021-09-15 22:20:06 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.0.10 (192.168.0.10).
You'll need to clear the ban list. For that, you need access to that machine.
And I think I have a new favourite Polish word... oczyszczacz. Good tongue twister 😂
😄 😄
so it locks up after just one failed login attempt ?
let me try from another pc
I don't think the default is one failed attempt. And now that we know what the problem is, I'm going to suggest you move to a better channel... if you can get access to that machine, head to #integrations-archived to figure out the ban list stuff. If you can't get access, head to your installation channel for suggestions on how to get access.
can this be done from control panel from another pc in local network or only directly from the machine ?
You need to be able to edit files on that machine.
thank you very much for helping out 🙂 I saw that warning but I didnt expect it to ban my IP so quickly. I do not have micro hdmi cable right now, so do you think that changing my IP would be a workaround ? or is it smarter than that ?
#integrations-archived can tell you more about the ban functionality.
thank you
and I don't thing the word oczyszczacz is even close to the most difficult polish words 😄
*think
what am I missing here: filter: template: > [ {% for e in states.automation|selectattr('state','eq','on') |map(attribute='entity_id')|list %} { entity: {{e}}, secondary_info: last-triggered }, {% endfor %} ] wont show, while the template is fine in dev template
You're missing the rest of the conversation over in #templates-archived
no, I missed some obvious quoting```
filter:
template: >
[
{% for e in states.automation|selectattr('state','eq','on')
|map(attribute='entity_id')|list %}
{ 'entity': '{{e}}', 'secondary_info': 'last-triggered' },
{% endfor %}
]
@fiery ledge I did get a nice complicated template figured out that produces a pretty good looking card
will share later if you're interested
sure!
still, the include version seems more robust than the filter template version, even though it uses the template-entity-row card. and makes it easier to add the navigate action, so I'll stick with that for now
I agree, mine seems a little slow with all the templating
will see if I can achieve something similar without the template filter
has anyone made a front end that has messages on it like a log? So you can alert things like "Garage Door Open" or Trash Night? let the user acknowledge them and clear them with automations?
how can i make the notify service to my phone more reliable? seems to work sometimes and then do nothing other times... sometimes all my notifications come all at once randomly too..
pushover is pretty reliable
in my Dashboard I have a few motion sensors, like "Basement Motion Clear".... anyway to make it say "Basement Motion Clear for last 25min, " or simular? basically a quick way to sse which places had recent motion
instead of a history of all state changes... I just want each entity to say how long they have been in current state
something like "History Graph CarD" but textual
what kind of card are you using?
an entities card?
I have tried "Entities Card" and "History Graph CarD"
well if you use entities card, you could set secondary_info: last-changed
Trying to figure out how I can make a single button that can trigger multiple scenes, in this example turn off all the lights by setting each room's scene to "off", I've already defined a set of scenes for every room.
I could define a new "everything off" scene but then when I add a new light to a room, I have to add it to both scenes
you would do that by writing a script
I shall go read, thank you
Oh there's a simple GUI option for that.
Guess I was just looking at the wrong area, thanks again!
Yep. You can only call one thing from a button action, so you have to group them together somehow. That’s typically a script
Looks like my innovelli LED script that I've imported is causing some problem with the overall script function of HA, will look more at that tomorrow
There are things you can do in YAML that cause the UI to fail to save and parse the file. The easiest solution is splitting the scripts into UI and manual similar to this: #automations-archived message
would it be considered a bug when entering 'current: 1' in the dev state attributes list, it also shows 'current_temperature: 19', or 'current_position: 100' ?
I expected it to only filter the exact phrase tbh
They use fuzzy matching logic
What is the best way of troubleshooting why a card will not load in Lovelace? I get "Custom element doesn't exist: collapsable-cards." even though I've triple-checked all code, made sure it's loaded and copied the examples from Github.
Is there a log?
ctrl/cmd+shift+j
There's also some helpful tips here https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
yes, but just as (or maybe even more than ) before in the state filter column, that is not very adequate, and results in many 'non hits'. filed an issue to be sure https://github.com/home-assistant/frontend/issues/10041
Thanks! The module doesn't even show up as loaded in the Browser console, tried to filter after it as well.
Then you should have a 404 error about it, or need to make sure you put it in the resources list https://my.home-assistant.io/redirect/lovelace_resources/
It's in my resources as - url: /hacsfiles/lovelace-collapsable-cards/collapsable-cards.js - this path is identical to all my other cards that load as expected. I've copied and paste the path, and it highlights them as identical.
(and type: module)
It hasn't been updated in a few months (as I see from the github) - could it be something outside my control?
Maybe 'll try State Switch instead. On your animation, thomasloven, you have 1-2-3 on the top. Are those generated from an input_select entity or do you use some other setting to activate "mode 2" and so?
(link for clicks: https://github.com/thomasloven/lovelace-state-switch)
I use an input_boolean which shows a conditional card now: https://streamable.com/pod1yx
I'd love for a smoother transition and some animations, hence why I'm looking into these cards.
I don't remember how I made that demo. It's probably an input number or so
thank you! (I hope you dont mind the mention hours later)
hi, just wondering how I can disable sidebar and title bar in remote displays
using lovelace dashboards
I using Fully Kiosk
I found the user setting to hide the sidebar, but it is still possible to swipe from the left and make the sidebar appear
I don't know if this explicitly prevents access to it: https://github.com/maykar/kiosk-mode
OK I do have that installed, but it is saying "Not Loaded in lovelace"
reload browser cache
gives a 404 btw
browser cache in Chrome ?
I siwtched dashboards over to yaml, as I thought it might help with this
bit of a noob here
Where did you find that link?
This is the correct link: https://www.home-assistant.io/lovelace/dashboards/
ah sorry, that was on the kiosk mode github
so I need to add it in the resources: section ?
Add it via the UI unless you have a good reason not to.
OK, still unsure how to do that
The docs you started on tell you:
Non-YAML mode, or Storage Mode, users can find resources in their sidebar under "Configuration" > "Lovelace Dashboards" > "Resources"
yay it works !
should have read the kiosk-mode documentation better, there is a manual step involved which I missed
I wanna party with blobcatparrot. It gets down
Evening All sorry for asking, been digging on the website for ages looking for the variables. I am trying in my frontend configuration, set a colour for a button when that theme is selected. Which is the correct call for a button background ?
OK, the only I need to find out now is where the dasjboard configs get stored
They're hidden from you. You don't edit the files, just use the UI.
if I now click on that dashboard, the header is hidden in HA, so I cant edit it from th GUI
I am going to have to edit the yaml file to disabel kiosk mode first
I found something in config/.storage
guesing it might be that
If you edit that, you stand a good chance of breaking your dashboards completely.
well it di workm I just dleted a couple of lines and restarted core
otherwise it seems like there would be no way to get it out of kiosk mode
Ill make sure to do a backup first next time bfore trying this again
I'm getting this error in my system log when I reload home assistant (https://i.imgur.com/2MFkFTD.png), the reason it is even more confusing is that line 14 is an include for my automations directory, line 15 is an include for the scripts directory. The scripts directory only contains the innovelli led script, which apparently contains the entity_id string which it is saying is invalid. Anyone familiar with this situation? I'm unsure what I've done wrong.
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
Please don't use Pastebin, since it can randomly add spaces to the main view.
That’s the biggest script I’ve ever seen
Have you ever worked with bash?
Yes
and 329 lines is the biggest?
that's what she said
HA script. It’s pretty gigantic
that's an old version
It’s big enough that it’s easy to have indentation or formatting issues
it's probably not a great thing that I implicitly trust code you post
🤷♂️ I trust my code because it works 😛
hey look at that, updated and restarted home assistant and no more script error....imagine
I didn't say code you write, I said code you post, and that's why it probably isn't very good idea
thanks for the help @dark dirge @round lily
Okay now the script just isn't saving, I click "Add Script", make the script, then click "Save Script" and the button disappears, but when I go back, the script ain't there
Home Assistant full log doesn't show much
This doesn't feel much like a #frontend-archived issue.
#scripts isn't a channel, where should that go?
#automations-archived says it's also for scripts.
Reading the topics will help a lot.
I have a card from HACS that won't load - what's the best way to troubleshoot? The path and config.yaml is correct. Is there a log?
Share what you've done so far.
- Installed the card via HACS.
- Added it to a card in Lovelace - both my own and the github example as a test.
- Added the path to configuration.yaml - copied the relative path of the file to be sure (- url: /hacsfiles/lovelace-collapsable-cards/collapsable-cards.js )
- It shows as Not Loaded in HACS and "custom card does not exist" in Lovelace.
Add resources via the UI. When you've done that, Ctrl+F5 to force the refresh to skip the browser's cache.
"Configuration" > "Lovelace Dashboards" > "Resources"
I thought that was not possible when using YAML?
'using YAML'? Have you actually switched to YAML mode for that dashboard?
Or maybe that was just when you tried to edit the dashboard from the GUI. Let me see.
(For some reason my HA went into safe mode)..
"You are using Lovelace in YAML mode, therefore you cannot manage your resources through the UI. Manage them in configuration.yaml."
Yep.
Ok, so share what you have in your configuration.yaml for resources.
- url: /hacsfiles/lovelace-collapsable-cards/collapsable-cards.js
type: module
As an example, my favorite card ever, is in the same folder-path-file style.
- type: module
url: /hacsfiles/button-card/button-card.js
is the deal with adding to resources when installing via hacs... that it does it for you if your Lovelace is UI, but not if it's yaml?
my Lovelace is ui, and I've never added anything to resources manually
A strange thing is that "decluttering-card.js" will show in UI-list of loaded resources, but HACS says it's not loaded with a red banner.
need to reload browser cache
Done that a few times - and tried other, clean browsers.
If you look in the dev tools of your browser, do you see any attempts to load from that path?
No, there's no trace of that in the browser console. I see banners from most other cards ,though.
Nothing in the network tab?
No. All the other used .js-files are shown, though. Neat.
Tried a hard refresh as well.
If the browser isn't attempting to use it, it's like Lovelace doesn't know about it. Did you restart HA after adding it to your resources?
I did, yes.
I'm out of ideas, sorry. Hopefully someone else has suggestions.
Here's a shot of my code: https://imgur.com/a/mwRKjrB
Hey I really appreciate you helping. Usually these things are solved via a rubber ducky, but this one has eluded me for days.
I might try State Switch card instead. It's got some nice animations, but I like the collapsable menues of this card.
I was able to just install from hacs, reload when prompted, and use the card 🤷🏼♀️
maybe try installing it again?
can someone help me with this card/state/template
i want the "null" to be clear and when not "null" it should show the state
https://www.hastebin.com/zemuqaceho.lua
result
https://ibb.co/rw9XT9q
That's not valid JavaScript.
yeah you told me already
No. I told you it wasn't Jinja.
haha okay
What do you want it to show when there is a game?
Ok. Well you want an if/else then. Syntax goes like this:
statement1
} else {
statement2
}```
okay, but how do i need to adapt that to my actual card ? help would be highly appreciated
You try it. I'm not writing it for you. I've given you the information you need.
i see...
No, don't.
ok
right, my bad
I guess I'm still not clear on where js vs jinja is used
can js templates be used anywhere in the frontend?
or only where documented, like jinja?
Yes
Js templates are only used in custom cards, and only on the card in specified fields. Jinja can only be used in the backend in template areas and the markdown card. Custom cards exist that accept jinja, and those will only work on specified fields.
i tried my best, but as expected , doesn't work
https://www.hastebin.com/oqimukimuh.lua
You can’t template in the front end
turning "null" into "" did work
i just need to get the state in there, when there is one
What does [[ sensor.lich_5769.attributes.game ]] give?
entities:
- entity: sun.sun
name: Entity ID with wrapped in tag
type: "custom:secondaryinfo-entity-row"
secondary_info: "<b style='color:red'>[[ sun.sun.entity_id ]]</b>"```
Then I don't see why your attempt doesn't work. It's valid JS this time.
Although, upon looking at the docs... it doesn't want JS 😂
And the 'old style' is [[ if(<condition>, <then>, <else>) ]]
and the old style still does work
secondary_info: '[[ if(sun.sun.attributes.elevation < 0, "Below", "Above") ]] the horizon'
So why not just use that?
this worked for me, but instead of above i need to grab the acutal state, and i don't know how to change "above" to the state
okay thanks mono, helped
i always put the variable in ' ' or " or () and never worked
If it's inside quotes, it's a string.
okay thank you
Although I doubt I'm anywhere near the first person to do this.. I did want to show off a silly thing I did..
I used wallpaper engine to apply my (mediocre) dashboard to my windows desktop
Hey everyone, I'm having an issue getting a URL to display from the sidebar selection. I added the panel_iframe.yaml to my config and have a couple other URL displaying correctly but this one just doesn't want to display. Any ideas? So I just noticed it's saying it refused to connect. But I can connect through my browser just fine...is there something I'm missing with permissions maybe?
My default Overview dashboard shows the image of my ONVIF camera, but on my custom dashboard using an entity card, it shows the state IDLE. When I click on the cards in both dashboards it shows the same video stream. How do I show the image in my custom dashboard?
hi all, might be a silly question but i can't seem to find the setting.. how do i add an item to the top banner thing in my Home view? it's the one with like a circle icon and label at the bottom. when you edit the dashboard it's not an editable part. i forgot where i go to add stuff to here
nvm i found it. thanks!
‘Badge’ is the term you’re looking for
yep thank you. and actually i lost it again, i must be drunk or something
Edit the view, second tab. https://i.imgur.com/eHUrTBL.png
on my main pc the (left) HA menu is in a specific order and the custom lovelace works. all fine.
but on all other devices (ipad/macbook) i have a different menu order incl. overview and my custom lovelace is broken on the first page with error, custom layout card not found. but the layout-card on the second page is working fine ? whats happening here ?
Probably a caching issue.
The order of the things in the left menu is a per-device setting, though. You'll have to move the stuff around in each device/browser individually.
okay thanks thomas, the menu order is not the real problem, but why is the lovelace broken on my macbook
Probably a caching issue.
is chrome cache over all my devices the same ? oO
No
its broken on 2 macbooks, ipad and iphone, but on the main Windows PC its working, thats weird
Caches are local... but that doesn't mean that you don't have the same problem cached in multiple places independently.
It could also be that the bad cache is the working one.
Imagine if 10 people took a photo of something while it was broken, then it got fixed, and only one person took a new photo.
9 people still have a bad 'cache' of that thing.
The people aren't connected. They don't share photos between themselves.
okay thanks, now its broken on the main machine as well, so its clear now, where the problem is , i think.
thanks for the help!
I got a card that shows me graphs from the past 24h, but how can I view graphs for let's say last Monday only?
Using something like Grafana. See #analytics-archived for more on that.
This could be an idea for a feature. Select sensor, date range, and it could generate a nice graph for that period. I'm surprised it's not built in
thanks
Feature requests can be submitted on the forums:
If you have a feature request for the frontend you can open one here, for Home Assistant itself please post on the forum. All other feature requests should be made to the developer of that custom card/component.
how can i change frontend in core docker ?
once again, custom:slider-entity-row to the rescue.... - type: custom:slider-entity-row entity: number.hall_default_volume_7
I'd like to list my motion sensors on Lovelace with the state + battery level. What's the best way to do this compactly?
Any recommendations?
Something that allows a custom more-info field, like custom-more-info or whatever it's called, template-entity-row or card-mod.
Ok thanks, that reminds me of the multiple entity row addon! I'll go take a look at that
@polar kelp yeah that multiple entity row addon was exactly what I wanted, thanks again
I'm trying to apply a tap_action to a picture-elements card, but it does nothing. Even setting action: url and url_path: https://google.com doesn't do anything.
Does it just not support setting a tap action for the background? Only for elements?
It's not in the documentation, so probably not.
Guess I can fake it with a transparent image over the entire thing.
Hey all, I am trying to apply a double-tap action on a button card that calls the cover.stop_cover service, but am having problems with the syntax to get the entity id in there.. I have the following:
action: call-service
service: cover.stop_cover
service-data:
target: cover.master_bedroom_blinds
But it is not working: TypeError: sequence item 0: expected str instance, Optional found
Any ideas?
and target: doesn't work like that
service_data:
entity_id: cover.master_bedroom_blinds
or maybe, but I don't know why you'd want to:
service_data:
target:
entity_id: cover.master_bedroom_blinds
Thx. Will git it a try..
No, unfortunately that did not work for either case. Thanks though @dark dirge .
Thx.
I had already looked at the documentation before I asked here. The documentation is not at all clear what data needs to be put into the 'service-data' portion of the call. If I use the Developer Tools > Service UI I get the following YAML: service: cover.stop_cover target: entity_id: cover.master_bedroom_blinds which does not have a 'data' section, I tried the combination that I showed earlier, as well as the combinations that you sowed @dark dirge , but I still get the same error in the UI when I press double tap the button.. the same error for all 3 cases.
Ahh.. nevermind.. I think i see it now.. service-data vs service_data 🤦♂️
is there a visualization available to show the movement of my cell phone (GPS) over time?
a map?
Anyone with a binary_sensor with device_class door ? I noticed that this kind of entity shows unavailable state in green instead of gray
While all the others binry_sensors are correctly represented
If you think there's an issue, report the issue.
Indeed 😉 Was just looking if it was known or easily confirmable before...
That sounds extremely odd. Is this reproducible with no plugins and the default theme?
using default theme of course and sensor comes from Shelly core integration
another binary_sensor of class vibration works fine (from same integration, same device)
Ah. I thought you meant the icon.
nope, unavailable state
I am running my HA within a virtualbox enviroment. now I am trying to make a floorplan ( picture elements) , I cant use the structur " local/lovelace/Floorplans/ETG2.png as suggested in this yt video: https://www.youtube.com/watch?v=zZUXbNTVwiI&t=602s
I have to use: " http://10.0.0.19:8123/api/hassio_ingress/EVZ0r3jASdhhzO-rjPRpM0ousj5Af0kNelUb6sDWr_8/api/file?filename=/config/www/lovelace/Floorplans/ETG2.png"
wich I don't like at all
any suggestion?
you can also use an entities card with picture for header and an empty entities list 😉
card_type: entities
entities: []
header:
type: picture
image: /local/weather/weatherbit.png
tap_action:
action: url
url_path: !secret weatherio_api_url
hold_action:
action: call-service```
modded it with card_mod: style: | ha-card { box-shadow: none; margin: -16px -16px 0px -16px; }
It's supposed to start with a / too. /local/xxx maps to /<ha-configuration-root>/xxx, but you need to restart home assistant after first creating the www directory..
When I try to upload September_18_2021.tar, a backup I made, I get
Unsupported file format
Please choose a Home Assistant backup file (.tar)
Am I missing something? Is this a bug?
Current suspicion is devs only tested this on Linux, where it works, and not on Windows.
Oh, it works in Edgium.
(But not in Firefox)
I'll file a bug.
input_boolean/turn_on. Service not found.
hows that possible?
worked for like 1,5 years like a charme
i have like 20 input booleans
but i cant call the service, not even from dev tools
i do have default_config: and input_boolean: in my config.yaml
That is a question for #integrations-archived not here.
I have this entity which gives the data in seconds. How do I put in a custom format to display the value as Hours and Seconds? I mean where should I put the formula? Can I do that directly in lovelace, or should i need to define another entity just for this format?
a timeline map
Google Maps has this feature... you where here in this months.
Open Streetmap creates a Map and draws lines and you can jump in batches when this where recorded
Hi is it possible to count how many entities are displayed in type: entity-filter and show as a number in custom button card?
(I know how to display it I dont know how to count it)
yes, the map card 😂
🤷♂️
yes but are there any details? e.g. "last week" or "yesterday" or that gives better access then just lines?
euhm which card(custom) can display multiple attributes of a sensor ?
Is there a card or custom card that would allow me to use an icon to activate an input select drop down in the same view?
What do you mean by "activate"?
So say I click the icon and it brings up input select drop down, instead of the entity overview
So you want a custom pop-up card with an input select in it. browser_mod can do that. https://github.com/thomasloven/hass-browser_mod#replacing-more-info-dialogs
hello! what's the easiest way to see what version of Material Design icons are currently supported by HomeAssistant?
I have that bookmarked somewhere...
so that would allow me to just have a drop down on an icon press? sweet! thanks 🙂
oh or maybe not
Well a pop-up card with a drop down in it.
that doesnt seem like im saving any presses 😐
you can put an input select right in a card and tap it to drop it down
The list of dependencies here: https://github.com/home-assistant/frontend/blob/2240d019f542e22613b45d632a09e9a18d261923/package.json#L64
thanks! i'd actually just gotten to that file 😛 would be neat if that version number could be included under the Lovelace header on the /config/info page or something for easy reference.
Yeah it's not exactly "easy" You could always ask here https://community.home-assistant.io/c/feature-requests/13
yeah i figured it was probably not that simple (is it ever?)
anyway the reason i'm asking - mdi-light-recessed is allegedly in 6.1.95 (per https://pictogrammers.github.io/@mdi/font/6.1.95/) but when i try to use mdi:light-recessed in a card, it doesn't seem to work
Are you on 2021.9.7?
2021.9.6, not seeing an option for an update.
Yeah the build failed. Should be out soon.
ahh okay, thanks! just replaced a bunch of light switches and working on updating my dashboards, figured i'd use the recessed light icon.
appreciate the help, tom!
Actually looking closer that was merged into the dev version. It will be available in 2021.10
guys, is this correct?
light:
- platform: group
name: Krystal Krone
entities:- light.crystal_light_1
- light.crystal_light_2
- light.crystal_light_3
Does it work?
it should be i cant see the group entity showing up
it did so before, ond my old installation
"on"
never mind, I found it, have do add it manually
Anyone else experiencing that the log entries in 2021.9.7 doesn't work as normal? Like none of these entries is related to «ha alarm»: https://snipboard.io/AJDXFy.jpg and after a while it comes up with this: https://snipboard.io/3WgeoF.jpg (like when you select the «History» option in the menu)
Also tried to use the logbook card to show the log for just one entity, but it shows everything: https://snipboard.io/c4zpUt.jpg
Hi, how to set a theme to a single dashboard in yaml?
Long time listener, first time caller.... I just clicked on my MDI Icon Index and I see the XML/HTML file instead of the icons. I may have missed it but anyone else experiencing this?
There's an icon index?
yes, I followed this a while back and it will list icons and you simply click the icon and it will copy the text to your clipboard and you can customize the icon for any of your entities. https://community.home-assistant.io/t/mdi-icons-for-home-assistant-index/14360
Yeah, that's not been updated for 4 years 😂
The link Rob just shared is in the pins here - we try to keep the useful links up to date.
my bad
hey, i have got switch as entity. is there a way to make it look like a shutter switch (up/down arrows) in lovelace ? or is there a way to define this on the entity itself?
you can make a template cover
yeah thats what i tried
@velvet condor posted a code wall, it is moved here --> https://hastebin.com/jiriyixayo
@dark dirge with this config, i get a switch looking correct. but when i press it, i get an error:
sorry its in german, but it says something like: Error when calling service cover/close_cover. not a valid value for dictionary value @ data['entity_id']
how are you making it show up in Lovelace?
its displayed on the default board with this config
hmm i guess i found the error.. restarting
yes, it works!
entity_id: switch.switch.maxi_fenster_links the id was incorrect.. damn
just one switch.
ok just one thing is missing. the cover has 3 buttons: UP/STOP/DOWN
when pressing up, it goes up by sending the ON value, to make it stop, i have to send the ON again. when pressing DOWN i have to send OFF again to make it STOP in that direction.
from the docs "Initially, the state of a switch is unknown. When the switch is turned on or off (via frontend) the state is known and will be shown in the frontend."
is there a way to get the current state (value of the switch ON/OFF)?
stop_cover is of type "action" will it work with this?
sorry, i am new to hassio config scripting
Well that needs to be a service call.
yeah i thought of a condition
But the call will depend on the current state... so you'd have to template the service call.
if state ON call service up otherwise down
Exactly
But what happens if you press stop twice? That would send another 'up' or 'down', wouldn't it?
yes continue
https://www.home-assistant.io/docs/scripts/conditions <-- thats how?
when changing my config for the cover, do i always have to restart the server?
{% if states('sensor.temperature') | float > 15 %}
switch.turn_on
{% else %}
switch.turn_off
{% endif %}
that looks promising
is there a way to test the current entities value with states('sensor.temperature') ?
i mean some kind of debugging, live trying
service: switch.turn_{{ 'on' if states('sensor.temperature')|float > 15 else 'off' }}
and yes, either in
-> States or
-> Templates
ok to understand it: {{ }} is template engine for the config yaml itself its pre-executed?
It's a Jinja Template
and yes, it's evaluated before the script engine executes the step
so when state is on its like:
service: switch.turn_on
yes
ok, since the temperature stuff there is just an example, i have to do it like this i guess
it's just shorthand for the more lengthy option you mentioned
service: switch.turn_{{ 'on' if states('switch.maxi_fenster_links') else 'off' }}
do i have to restart?
or is there some kind of reload mechanism?
i mean /config/server_control and restart
seems not to work, its always sending ON when pressing the STOP button. 😦
i can see the state of the switch goes to OFF when pressing the down button
so i think the statement: states('switch.maxi_fenster_links') seems to return always true
ok i think i found the problem
{{states('switch.maxi_fenster_links')}} returns 'on' or 'off' so the if else doesn't make any sense. instead, i am trying now to append that directly after switch.turn_
YES!
amazing
THX so much, learned a lot
@dark dirge and @karmic tiger thankyou for your help!
@velvet condor posted a code wall, it is moved here --> https://hastebin.com/fibohekese
hey there, does anyone know why title shows up white on desktop but black on my wall tablet, search to no avail (maybe searching wrong) for a solution, please bear with me I am only nearly 2 months in
there has to be a submenu available for the frontend
how is that missing? its a huge problem
like a integral piece missing 😦
A sub menu with... What? What do you suggest goes in it?
You're vaguely complaining without suggesting improvements. That's not constructive.
lol
what are you asking, what's a 'sub menu'?
a menu under the menu
hey Pedro would you have any idea why title is white on browser (pc) but black on tablet?
so we have the view menu
but a subview menu below the main one to pick things under the main heading?
ha ha RobC I would say thats me, but ermm i think i am kindergarten stage still lol
which "view menu"?
you mean the tab bar in the header?
you want an extra bar right here? https://i.imgur.com/nN0g0Jq.png
First level is the dashboard, that's to the left. Second level is the view. That's on top.
There are ways to get a third level, such as conditional cards, or state-switch.
what do you mean by third level?
If you want different cards in the view based on some user selection.
Best way is to rethink your layout, though and use the available tools. Kind of like this https://www.youtube.com/watch?v=5y6rhwr5Y8c
lol last time we sent that video he got all bent up about it 😅
But state-switch was made more or less for the purpose of creating "submenus" https://github.com/thomasloven/lovelace-state-switch
ah, i see what you mean
Thusly: #frontend-archived message
ah, THAT is interesting
those are just buttons on the left?
Yes. And some card-mod trickery
right on
controlling input_booleans i guess? so you can automate turning the others off when another is pressed?
Either that or an input_select. You can select an item in those with a service call.
Oh, no wait. That screenshot with the buttons to the left use the URL hash.
?
ohh, I didn't realize you could do that
nice
I had used state-switch in one of my dashboards a long time ago, but not like this
just to show an entities card vs a glance card depending on user
and I guess with mediaquery is a "dynamic" way to possibly show different cards on tablet vs phone, etc
People got very upset when we put the quick launch menu on ctrl+p because "I use that to print"...
🤷
hi again guys, I am trying to put in a window blind in my element card, it is working but the icons is not correct
I get upset with the bloody titles on tablet, being black 😛 but anyway got to shoot to see how much pain the dentist is going to cause via my wallet.
here is my config for it
@hearty topaz posted a code wall, it is moved here --> https://hastebin.com/foqefaqiba
@hearty topaz just use /local/lovelace/icons/blind_*.png
instead of that whole big long thing lol
idk if that'll help but the whole thing isn't needed
you are absolutly correct, put it does not work
😆
What happens if you open http://10.0.0.19:8123/local/lovelace/icons/blind_open.png in your browser?
/local/lovelace instead of my setup did not work
People love this video- I should finally watch it but i can't - its not what I want. I want ALL Lights, Lights that are On, and Favorites in a screen on my phone so I can swipe left or right and see each of those cards
Hi! not sure if right channel: am new to home assistant, but am an experienced web developer. What would be the best way to create a custom interface for home assistant? (including custom menu/sidebar etc.) I want to write my own (s)css styling and custom js (preferably I integrate something like Vue.JS, but not sure if that would be possible with home assistant).
Have been messing around with ha-floorplan and have a working setup where I can change the color/state of my lights in a 3d floorplan. I want to customize my entire home assistant experience around the 3d floorplan. I saw an example of a custom UI based on picture-elements to style everything (https://community.home-assistant.io/t/floorplan-ui-with-color-synced-lights/169417). However, the way that he styled his custom dashboard is quite hacky, as he built it entirely in picture-elements (having to copy over the code for the sidebar for each and every view for example). What would be a better way of making a custom layout like that, but in a more manageable way (like I said, I have enough experience to make something like that in scss/js, just trying to learn about the best way to set it up with HA)?
@polar kelp i got a red error message saying the the image could not be found
Did you recently create the /config/www directory?
Wait is this real or a mock up? Can the 1 - 2- 3 be a horizontal instead of vertical?
@woven vector this is exactly what I have been doing, but I use picture elements
I only post real screenshots. Check the state-switch link.
sweet jesus you might have helped me after asking 4 times
So do you also use picture elements to design the rest of your layout, like sidebar etc?
yes
see everyone makes fun of me throwing shit against the wall so many times 🙂
Do you have multiple views? how do you handle having the same sidebar in all views then? or do you just duplicate your sidebar/menu code?
Dude, you didn't ask a question. You just complained. Ask a question next time and people will answer.
@woven vector https://www.youtube.com/watch?v=zZUXbNTVwiI&t=602s
@tacit cave I was up reading the messages from @tame shale cast se whats wrong whit his questions and comments
"cant"
its ok I don't need to be defended but thanks
some people mommas took them off the tit too soon
i get it
😉
the reason is the some are very quick to judge in this forum, I have had my round with it. not nice
that's not a question
that's 100% a complaint without a description on what he's even talking about
"Hey, how do I make a sub menu bar like the menu bar at the top of overview?"
yeah it is not, but there was questions before, this was a comment
But I wil shup up now 😉 it is not my business anyway
I'm just saying, ask a question. No need to bitch and complain and then ask the question. Which he didn't even do.
🤓
fwiw people like the video because it's a well made video that does show some very important concepts... nobody expects you to make THAT dashboard, but rather to apply similar concepts to your own context
hi, everybody. I'm new to HA and was wondering if it is possible to define a Lovelace dashboard to a specific group of users?
No type provided.
when using the hash example there
huh?
it definitely works
you'll need to do more than just copy and paste in most cases
I had all my stuff in there and it failed so I went back to the example -
Did you copy the entire example code and paste it into the yaml editor of a card in the gui editor?
Im wondering if entity-button is smeting else
well Im asking if I can copy the example under hash in to a card gui
button used to be called entity-button back then
No. The examples predates the gui editor, so they won't work exactly that way.
Now would be a good time to learn a bit more yaml. That'll be very useful for making state-switch work. http://thomasloven.com/blog/2018/08/YAML-For-Nonprogrammers/
you can hide the dashboards from people and then assign the users dashboard through the UI
That said, state-switch should probably be high on my list for cards to add gui editors to...
cards:
- type: button
entity: light.my_dummy
tap_action:
action: navigate
navigation_path: "#p1"
- type: button
entity: light.my_dummy
tap_action:
action: navigate
navigation_path: "#p2"
- type: button
entity: light.my_dummy
tap_action:
action: navigate
navigation_path: "#p2"```
thats the first part - re-coded properly
state-switch can do user based options
🙂
I just read that
in case you wanted to update it on your page 😉
I do not actually understand. At the moment I do have 3 dashboards, where as one is the default overview one, that is only visible to the admins. then I got a "main" one actually marked as "default". I would now like to create one with less content to be the default for my kids to be their default one... I wonder if this is possible and if yes how to do it. all dashboards or not enabled to show in the sidebar at the moment did you mean this by "hide"?
I got it working
@thorny compass if I understands correctly you go to "edit dashboard" then to the edit pen next to the title for your dashboard, there you can set visibility
you can turn of or on to wich users should be able to see the dashboard
@tame shalehey congrats
thanks
heres my next question related: light.dummy - how do I create this?
light.my_dummy
in "lights"
I will test _ ijust had to speak about it aloud 🙂
Hey everyone, Hope you are doing well, I am new here
I have a question, can I make my website using the opensource code in Github?
like changing the interface name (instead of Home Assistant it will appear something like SHAP) and the colors?
and if these are possible how can I start? many thanks in advance
@tame shalelight.my_dummy is your entity right?
its in the example
I obviously need some "fake" entities
just not sure how to accomplish that - best
in lights it dind't work with no entities
as a gorup
group
in input boulean I am using:
Lights On:
name: Lights On
#icon: mdi:car
initial: true
@tender plankhttps://www.home-assistant.io/developers/license/
can any of you help with title issue I am having, I have white on desktop but they are black on tablet
If you remove the dashboard from the sidebar (This can be done via yaml). Once you log in, it will not appear on the sidebar. Then under the user, assign the dashboard you want them to see.
Thanks for this tip. That could work for me! Would be cool to be able to assign this kind of visibility to groups of users though..
thanks
@tame shale why do you need fake entities? wouldn't you want to use the card with your own entities, rather than fake ones?
@vivid trout white and black... what?
it works
ok then
fwiw you don't actually need the entity there
it's an optional parameter of button card: https://www.home-assistant.io/lovelace/button/
@shell tide posted a code wall, it is moved here --> https://hastebin.com/oyiponolal
How to add background to this?
@hallow mango on pc browser I add title to a card and title is white like I want, on tablet its black and stays black lol
all browsers on pc are fine, on tablet running fully kiosk
Is it possible to add background to vertical stack in card?
ok I do have a bug
this card works fine in another place - but not within this new card
it is, but it's painful
how I can do this? 😄
in type: custom:state-switch it doesn't work
You have to use card mod and select the element and display it
if i remember correctly you have to use the mod-card card for card-mod
it's no easy feat for a beginner
requires the custom:card-mod card, and then you have to define the selector for the card
I'm sure someone has done it on the forums, I have not
Yeah u are right, sounds complicated 😦 maybe I will find any example
what are you trying to do?
because you can use an entities card to display other cards and it's much easier to change the background. But you still need card mod
Trying to add background to code similar to this: https://hastebin.com/oyiponolal
just use entities card
but changing the background still requires card-mod
- type: entities
entities:
- type: custom:button-card
...
- type: horizontal-stack
cards:
- type: custon:button-card
...
entites instead of vertical stack
wait, you can use arbitrary cards inside of an entities card?
yep
I only knew of using different entity rows, button, etc
when there's a will there's a way
it's all high level stuff
so it's not easy for beginners
thats 4 cards: entities, horizontal stack, custom button card, and weather card
however, it's an extremely complicated setup
Yes but still there is no background behind them
I was talking to drinernoo
Oh 😄 sorry
this is an example of what you're looking for, however I don't adjust the color of the entities background I just leave it as configured in the theme
and i just noticed there a drop shadow that wasn't removed
how are you defining the custom element?
looks nice. I use https://github.com/bokub/rgb-light-card for that type of thing
I attempted to use that card
however it doesn't allow selections
so you'll notice that red is highlighted in my image
that's something you can't do or customize in the rgb-light-card
so all those circle pallets are custom button cards
@tacit cave thank u so much for your help, I did it 🙂
right
card-mod but the biggest issue was how to place all this vertical 'single' cards into one big card with background so hui-element helped a lot 🙂
yep something fishy going on, I dont know if its fully kiosk related or not, but even a side bar coded to black show up white on tablet and coded to white I am going to try now
Stuff like that is always cache related
Every other channel, it's always DNS. In here, it's cache
I thought that but cleared fully cache and even have uninstalled it and reinstalled it, posted on forums with picture whats happening, let me try one more thing
Does anyone run live camera view to their frontend? I recently changed 4 of my cameras to live view and my whole HA is just slow as molasses to do anything now.
I am thinking its a nabu casa thing
#cameras-archived would be better. It's nothing to do with the frontend itself.
Ok thanks.
But 4 video streams at once... that's a lot of data.
Yeah I have plenty of bandwidth available, but the cloud might not.
can some one explain to me how despite copy and pasting the entire text from the raw configuration section of the dashboard from one instance of HA to another all the cards end up in a different order?
I still can't get that card to work within thie card 😦
in fact it looks like in the new instance it's just completely disregarding the grid rows and columns
Either something was missed/added during the copy/paste or something else is going on.
Hard to say for sure without you sharing anything.
Have you tried adding more sad faces?
not really sure what information to share, I have layout-card installed on both and I did these steps.
- On old instance > Overview > Three dots > Raw Configuration Editor
- Ctrl-A, Ctrl-C
- On new instance > Overview > Three dots > Raw Configuration Editor
- Ctrl-A, Ctrl-P
I don't understand how that can result in anything other than an exact duplication
Identical HA versions? Identical versions for all custom cards in use?
Not idential HA no, original was docker, new is HAOS.
As for version of the custom card, I have no way of knowing as it doesn't show a version number in the Resources page
How did you install the cards?
on original it was manual download, on new it was via HACS
HACS will tell you the version. If you did it manually, that will depend on whetherh you copied anything other than just the JS file into your custom components.
Or www, I forget 🤔
yeah, I can see a version in HACS for the new one, but no idea what the old instance is running
On old there are no files in "custom_components" there is just layout-card.js" in "www"
Yeah, I wasn't sure if you'd maybe copied in a package.json or something, so there's no way to compare other than actually checking the JS files against each other.
I'm not sure why you're seeing different results. If you're sure the contents you pasted are the same, it's going to be a case of finding the other variable(s) that are different.
:(🙄 👎 👻
none seem to help iut
it
oh thats interesting
just looked through https://github.com/thomasloven/lovelace-layout-card/releases and it seems that as of a version change back in March all previous configurations are fudged 😩
but then no one woudl know who. Iwas responding to
p2:
type: custom:auto-entities
card:
type: entities
title: Lights On
filter:
include:
- domain: light
- domain: switch
within type: custom:state-switch
entity: hash
doesn't work
and it looks like HACS won't let me install a version older than the one that breaks everything so going to have to start from scratch tomorrow.
Tip: ||we don't care most of the time||
oh
then I won't respond
😦
MAN - so close. I put that code in its own card and it works perfectly. Just can't nest it within the customer:state-switch
I give in trying to convert this to the new formatting, going to have to try and manually install an old version if I can work out how to do that on HAOS.
It worked perfectly well before so I really don't get why they had to go and change everything.
Who are 'they'?
@tame shale I haven't actually seen any card code you've tried... bets are on it not being correct in one way or another
You're supposed to decipher the emojis to discover the true meaning.
sad eyerolling thumbs down ghost
I bet if you read the release notes you could figure out how to fix it
this one is definitely not a valid card by itself
I’m using it
it does look like you've got the right idea, but still missing something
you said it doesn't work 🤔
^
It it’s own card it’s fine
what's in its own card?
this won't work the way you wrote it, as its own card
I've just spent the better part of an hour reading the guide on https://github.com/thomasloven/lovelace-layout-card just can't get anything working at all, it was much more intuitive with the gridrow and gridcol options rarther than this grid area nonsense
@tame shale maybe share some of the code you've tried (use hastebin or something)
maybe we could help if we knew what you were doing wrong
card:
type: entities
title: Lights On
filter:
include:
- domain: light
- domain: switch
this works as its own card.
that looks right
I know you're frustrated, but please mind your tone, RD2K. Thomas puts a lot of time and love into his custom cards so that people can have beautiful dashboards.
it includes all lights and switches in an entities card, from the looks of it
yes I took out most of my filters to make it work
its showing an empty list when used within this code
I think there is a bug of some sort
😦
Indeed, and I used and greatly appreciated it for over a year, yet for reasons I can not fathom he decided to break something that worked perfectly
that all looks totally fine to me I think
He didn't 'break something', he made breaking changes. You make it sound like he did it deliberately to spite you. Sometimes it's not possible to add/upgrade functionality and retain all previous functionality.
right but the list is empty 😦
how are you changing the hash? @tame shale
And you don't need to fathom his reasons. You just choose to use the card or not.
But if that's the stance you're going to take, good luck on your own.
I'm gonna guess you're not actually using the correct hash
I dont' know what that means?
If the entity parameter is set to hash, which card is displayed will depend on the "hash" part of the current URL - i.e. whatever comes after an optional # symbol in the current page URL.
oh oh
when I am in the editor it shows the card - its just no contents
like its all filtered out
not what I asked
Leave edit mode. View the dashboard with this card on it. What's the hash?
@tame shale posted a code wall, it is moved here --> https://hastebin.com/oxomabodep
@tame shale Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
For sharing code or logs use https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
You know the rules... don't spam again.
I really wish I could choose to use it, I really do but if it don't work then I have no choice
entity: input_boolean.all_lights
tap_action:
action: navigate
navigation_path: '#p1'```
So there's no hash until you click one of these... what do you see in the custom card when you do?
I see everything in p1 and p3 properly
Ok, that's the first time you've shared that info.
No-one said to move anything to p1.
oh drinfenoo did
If you know p1 and p3 work, the problem isn't the state-switch card... so whatever you put inside p2 is the problem.
I didn't say move stuff lol
ok ao I moved teh contents of p2 to p1 and it doesn't work there either
So the problem isnt' the state-switch card...
no its the auto-entities card WITHIN state-switch
And it works okay outside of it?
because auto-entities works fine outside it
Great. So log an issue on one of those cards explaining the situation, and see if the dev can figure it out.
?
ALL your lights and ALL your switches
its just showing switches and lights that are on
If that's what they want to show, let them.
Judging their choices isn't helpful here.
yeah I removed the filterting
just to make sure I wasn't screwing anything else up
I was removing potential variable issues
right on
criteria - issues
does it work if you use some other method besides hash?
yes
🤔
Hello again 🙂 I wanted to ask u - Is it possible to create button with link to another button on separate card? Or I can link only cards?
I didn't know you could link to a specific card
or what you would even use that for
I have shortcut for example to page with all my lights, and I need to scroll that page, It would be easier if I could make link to specific card
Short answer: it's not possible.
Long answer: make your pages smaller so you don't have to scroll.
Ok, that wasn't a long answer.
I don't know I press all three buttons
because atm that's not showing anything lol
look at the address bar
thats in the editor so you can see the empty card
its behaving like the criteria isn't met - as if its an empty set
yeah, you have no hash
sigh
what is the url in your address bar?
im using the other card - with buttons to set the hash
p1 and p2 show
sorry p1 and p3
🤦🏽♂️🤦🏽♂️🤦🏽♂️
/new-new-lights#p2
there you go
I didn't realize it was actually changing the url
/new-new-lights#p2
aha! something might be incompatible between those cards then
^
Yeah, we got to that conclusion a while ago already 😂
well you and I did 🤣
huh I heard it
u sure it is impossible?
I think they're both Thomas', so it doesn't matter which you log the issue on.
I was demonstrating something within the editor
yep they are
^
im sure it will matter
but I did
I think state-switch he doesn't really maintain so much anymore
doesn't look like any recent updates 😦
The constant sad faces don't help anyone...
I'm sure he'll investigate. Report it, then be patient.
You did the first part. Try the second.
its a form of experssion
So are blocklists. 👋
hey fwiw i can replicate
Well after another hour spent recreating the entire dashboard one card at a time I have finally gotten the blooming thing working
I humbly apologise for being rather obnoxious
I have HA Core set up on a RasPi using the OS image, and I'd like to use SSL to access the instance locally only.
Is this the best channel for support? Or would #general-archived, or somewhere else be better?
I found https://community.home-assistant.io/t/installing-tls-ssl-using-lets-encrypt/196975, but I'm not sure if that's going to result in https://ip.to.my.home.assistant working properly.
No this is not the best place. This is about the UI and Lovelace, you are asking about the LetsEncrypt addon, so... #add-ons-archived would be the place.
using the shortcut bar, dont we have "Reload Location & Customizations" ?
seems to be the one command I have to return to /configuration/server_control for...
that and homeassistant.reload_core_config
Hey mono (not tagging - hope you see this), you helped me troubleshoot some cards that wouldn't load correctly about a week ago. We couldn't for the life of us figure out why.
Yesterday they loaded. I did not restart, I did not force a refresh of anything or clear cache. It just worked.
link to docs?
No, you're right. That seems to be missing, Marius.
which card is this?
The quick launch menu. Press c
son of a bitch
Also try pressing e
nice, where's the list of these shortcuts?
In the code
here
I don't think it's even documented.
Oh it is. Great
in the fact that you can disable them
good enough for me
although, this seems like something that should be added.
we have it
With lovelace-wbah you can toggle entities from the quickbar too.
tbh, I don't think I'll use e, but c is a game changer
actually, no, scratch that. I'll use e alot when adding crap
you know what is interesting. Those nested cards worked last night on my phone?!
nm im wrong
I know what I was mistaken now - anyway broken everywhere
mr @polar kelp I filled an issue on github
I am very very close but this bug puts me back 😦
You should just switch to lovelace_gen and drop the auto-entities because it has limitations that you can't overcome. Chicken/egg scenarios with other cards.
on shortcut: would it be a feature request to add 'Reload Location & Customizations', and 'Reload core config'?
btw, I was reluctant to use these keys' but ever since I discovered them, I love them (especially with the new template: integration that makes these configs so easy)
I'd say the FR should include the difference between c and the list provided in server controls
which I think is just Location & Customizations
Hello everybody, greetings from Austria. I have a strange issue after updating and am curious if you see the same.
Within lovelace I created a picture-elements card. Now after the upgrade on my PCs the tap circle around entities stays persistant and does only disappear when I click somewhere else on the card.
Anybody else who sees this in core-2021.9.7? Can't post screenshots (I think), I hope my explanation is good enough. 🙂 Thanks for any hint.
heck, I just created this: https://github.com/home-assistant/frontend/discussions/10067 including the core config. O well, it doesnt hurt. hope it can be done.
I can't really fix it right now, but find the row in the .js file that says
root * {```
and change it to js root>* {
If you installed through hacs, you probably need to remove the .gz file too or something
Then clear your browser caches
That's state-switch.js, by the way.
#root>* {
yeah I changed it
didn't work but I will follow your other directions - thanks
renamed .gz - and cleared cache in browser - no go
restarted HA for good measure
so, turns out when I set "--divider-color: transparent" it works as expected, how can I find out where this divider-color is used? github doesn't give me any occurences, I'd like to write a proper issue possibly with a pull request.
Hi Guys, is there a possibility to change the resolution of a template built in config-template-card? I have a template which is built for 1920x1200 but i do need 1920x1080
to get it fullscreen properly
gonna need more info
right going to shoot the amazon fire HD 10 as that seems to be issue, on ipad and tab displays same as pc lol
replacing that renders nothing FYI so I don't think thats the proper change. I appreciate the suggestion but wanted to let you know it went backwards unfortunately.
Hey friends! I'm suddenly struggling to login to HA from ONE computer (Chrome, Edge, Firefox) on my local network. If I connect via Nabu Casa on that machine it works fine. On this single computer I get a strange URL redirect and console errors about failing to load /auth/providers. I can obviously connect to the HA host since it sits with the HA logo and the text "intializing". This feels like a security policy issue. Any ideas on how to start tracking this down?
Also sorry if this is in the wrong place. If so let me know and I'll move it.
i have a camera with P/T and can control the cam with a picture glance card...
now I have the same card on my fronted with a webrtc card
question: can I also have the controls on the webrtc card somehow?
the webrtc card is obviously a lot more responsive than the picture glance...
not a pro but grid 1 column with webrtc card and then a custom button card with controls under it?
would that be easier, I am sure pedro or thomas will be along sooner or later with better advice for you 😛
sounds like you aren't connecting locally and it's pulling information from cache, which makes it appear like it's 'half working'. If you're running a proxy, restart it.
you could do some sort of hybrid with a vertical stack or entities card. place the webrtc card on top with a glance row below it.
Thanks. As far as I know there isn't a proxy on my network. Is there any way to force clear the cache in HA? This is device based as it happens in all browsers even with chrome dev tools open and defeating the browser cache
Was that for me? It happens in all browsers on my machine including those that haven't visited homeassistant.local before. Visiting via nabu casa DOES work. The problem is trying to get there from the local network.
right I get it, but if it's an auth issue locally, then it's a different redirect internally and it's typically cache related
otherwise it's going to be network related
browser stores bad info and keeps using it, but if youre trying it on new browsers then try restarting your router.
or restarting home assistant, but I assume you've already done that
there's not much troubleshooting you can do when you have nabu casa, it's basically going to be one of your endpoitns
Yeah I've restarted HA, cleared cache, restarted problem computer, flushed DNS cache. It seems like something in the HA web server is cached or doing a funny redirect.
Also, as a nabu casa user, you have access to the nabucasa support
thanks, did the vertical group with glances, can I get rid of the space in between the two?
Sure but it DOES connect as expected through nabu casa so that feels like a data point not a problem. So my computer → nabu casa cloud → HA instance on my network shows the login screen as expected
however my computer → homeassistant.local → shows the HA logo and initializing instead of the login screen
have you tried the IP, not the hostname?
I have and it does the same thing
and are there errors in your logs?
Do you have a specific log set? I'm not seeing anything obvious
for anyone else, this is what I ended up with:
https://paste.debian.net/1212726/
@formal tide you can use custom:hui-entities that essentially does the same thing
it's also more stable than the vertical-in-stack-card, which has broken more times than I can count over the past 4 years
basically, use the custom:hui-entities card and use card mod on each card placed inside to remove the background and drop shadow.
just food for thought the next time vertical-in-stack-card breaks
I never worked with card mod, challenge accepted
I can help with that, it's not straight forward
@woven fern posted a code wall, it is moved here --> https://hastebin.com/cuvivozedo
@tacit cave ☝️
I'm not sure where you're pulling those logs from, but that's not the home assistant logs
No its not its from the host startup logs. I can't find anything else that looks suspicious
so you have nothing when you connect in the HA logs?
so now I have this with a black background... ?
https://paste.debian.net/1212727/
where is the magic card mod trick?
yet you're getting to the HA setup screen
card mod is a custom card
here's an example
(sorry, gotta find one)
i wait... petro...