#frontend-archived

1 messages · Page 203 of 1

polar kelp
#

Nah. I'm always here

hallow mango
#

👍

#

you've been seeing me struggle with this then lmao

tacit cave
#

Foot in mouth

polar kelp
#

...for a rather weak definition of "always"...

hallow mango
#

a list of complete entity setups

polar kelp
#

yes

hallow mango
#

oof

tacit cave
#

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

hallow mango
#

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

polar kelp
#

So something like yaml [ {% for e in (states.automation | all your stuff | list) %} { entity: {{e}}, secondary_info: "last-changed" }, {% endfor %} ]

hallow mango
#

once i get options figured for template

#

ah ok lemme play with that

hallow mango
#

oh frickin beauty

tacit cave
#

I'm impressed with the 'all your stuff' filter

#

thanks for getting my joke mono

karmic tiger
#

Not sure it quite qualifies as a joke but it gave me a chuckle.

tacit cave
#

it was a "joke"

#

if you chuckled... mission accomplished

hallow mango
#

that's not giving me anything lol

#

but not sure where i'm messed up

cedar breach
#

Hi! Is there any Lovelace card/integration to see upcoming automations? I.e sunset automations, time-based automations etcetera?

hallow mango
#

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 🤣

karmic tiger
#

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.

past falcon
#

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

vapid field
#

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 ?

karmic tiger
#

Are you using an IP or an address?

vapid field
#

on mobile in LOGS it says 'connection problem to snitun server'

#

and 'challenge/response error with SniTun server

hallow mango
#

try the ip address

vapid field
#

it responds to ping but firefox says it cannot connect to the server

#

when using IP

karmic tiger
#

Use Chrome, it gives better error messages.

#

And then share the full error message in here.

vapid field
#

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

karmic tiger
#

Do you have SSL enabled? Are you using a reverse proxy?

vapid field
#

i do not have SSL, I'm not using proxy

#

its just basic configuration

karmic tiger
#

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?

vapid field
#

are those the same logs that visible via home assistant app on smartphone?

karmic tiger
#

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.

vapid field
#

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

kind shellBOT
karmic tiger
#

Don't post massive logs in chat please.

vapid field
karmic tiger
#

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 😂

vapid field
#

😄 😄

#

so it locks up after just one failed login attempt ?

#

let me try from another pc

karmic tiger
#

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.

vapid field
#

can this be done from control panel from another pc in local network or only directly from the machine ?

karmic tiger
#

You need to be able to edit files on that machine.

vapid field
#

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 ?

karmic tiger
vapid field
#

thank you

#

and I don't thing the word oczyszczacz is even close to the most difficult polish words 😄

#

*think

trail frigate
#

is it possible to hide the time on a graph card ?

#

just want to see the bar

fiery ledge
karmic tiger
fiery ledge
#

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 %}
]

dark dirge
#

I like that hassbot is conflicted over Thomas’ YAML

#

It’s good, but also very bad

hallow mango
#

@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

fiery ledge
#

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

hallow mango
#

I agree, mine seems a little slow with all the templating

#

will see if I can achieve something similar without the template filter

hallow mango
tame shale
#

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?

ivory escarp
#

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..

tame shale
#

pushover is pretty reliable

proven basin
#

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

hallow mango
#

an entities card?

proven basin
#

I have tried "Entities Card" and "History Graph CarD"

hallow mango
#

well if you use entities card, you could set secondary_info: last-changed

native cairn
#

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

dark dirge
#

you would do that by writing a script

native cairn
#

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!

dark dirge
#

Yep. You can only call one thing from a button action, so you have to group them together somehow. That’s typically a script

native cairn
#

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

dark dirge
#

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

fiery ledge
#

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

dark dirge
#

They use fuzzy matching logic

stoic rain
#

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?

polar kelp
#

ctrl/cmd+shift+j

fiery ledge
stoic rain
polar kelp
stoic rain
#

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?

#

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.

polar kelp
#

I don't remember how I made that demo. It's probably an input number or so

proven basin
glacial ermine
#

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

dark dirge
glacial ermine
#

OK I do have that installed, but it is saying "Not Loaded in lovelace"

hallow mango
#

reload browser cache

glacial ermine
#

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

karmic tiger
#

Where did you find that link?

glacial ermine
#

ah sorry, that was on the kiosk mode github

#

so I need to add it in the resources: section ?

karmic tiger
#

Add it via the UI unless you have a good reason not to.

glacial ermine
#

OK, still unsure how to do that

karmic tiger
#

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"

glacial ermine
#

OK, then Ineed to know to switch back from yaml mode

#

OK I got it

glacial ermine
#

yay it works !

#

should have read the kiosk-mode documentation better, there is a manual step involved which I missed

dark dirge
#

I wanna party with blobcatparrot. It gets down

vapid field
#

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 ?

glacial ermine
#

OK, the only I need to find out now is where the dasjboard configs get stored

karmic tiger
#

They're hidden from you. You don't edit the files, just use the UI.

glacial ermine
#

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

karmic tiger
#

If you edit that, you stand a good chance of breaking your dashboards completely.

glacial ermine
#

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

native cairn
#

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.

dark dirge
#

It looks like your script is broken

#

~share it

kind shellBOT
native cairn
#

I got it from @round lily so if its broken it was his fault 👀

dark dirge
#

That’s the biggest script I’ve ever seen

native cairn
#

Have you ever worked with bash?

dark dirge
#

Yes

native cairn
#

and 329 lines is the biggest?

round lily
dark dirge
#

HA script. It’s pretty gigantic

round lily
#

that's an old version

native cairn
#

It's pretty gigantic

#

oh I'll update it then...

#

Is this current?

round lily
dark dirge
#

It’s big enough that it’s easy to have indentation or formatting issues

native cairn
round lily
#

🤷‍♂️ I trust my code because it works 😛

native cairn
#

hey look at that, updated and restarted home assistant and no more script error....imagine

round lily
#

but i didn't write that 😛

#

i run it tho, works great

native cairn
#

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

karmic tiger
native cairn
#

#scripts isn't a channel, where should that go?

karmic tiger
#

Reading the topics will help a lot.

stoic rain
#

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?

karmic tiger
#

Share what you've done so far.

stoic rain
#
  1. Installed the card via HACS.
  2. Added it to a card in Lovelace - both my own and the github example as a test.
  3. Added the path to configuration.yaml - copied the relative path of the file to be sure (- url: /hacsfiles/lovelace-collapsable-cards/collapsable-cards.js )
  4. It shows as Not Loaded in HACS and "custom card does not exist" in Lovelace.
karmic tiger
#

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"

stoic rain
#

I thought that was not possible when using YAML?

karmic tiger
#

'using YAML'? Have you actually switched to YAML mode for that dashboard?

stoic rain
#

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)..

stoic rain
#

Yep.

karmic tiger
#

Ok, so share what you have in your configuration.yaml for resources.

stoic rain
#
  - 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
hallow mango
#

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

stoic rain
#

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.

hallow mango
#

need to reload browser cache

stoic rain
#

Done that a few times - and tried other, clean browsers.

karmic tiger
#

If you look in the dev tools of your browser, do you see any attempts to load from that path?

stoic rain
#

No, there's no trace of that in the browser console. I see banners from most other cards ,though.

karmic tiger
#

Nothing in the network tab?

stoic rain
#

No. All the other used .js-files are shown, though. Neat.

#

Tried a hard refresh as well.

karmic tiger
#

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?

stoic rain
#

I did, yes.

karmic tiger
#

I'm out of ideas, sorry. Hopefully someone else has suggestions.

stoic rain
stoic rain
#

I might try State Switch card instead. It's got some nice animations, but I like the collapsable menues of this card.

hallow mango
#

I was able to just install from hacs, reload when prompted, and use the card 🤷🏼‍♀️

#

maybe try installing it again?

trail frigate
karmic tiger
#

That's not valid JavaScript.

trail frigate
#

yeah you told me already

karmic tiger
#

No. I told you it wasn't Jinja.

trail frigate
#

haha okay

karmic tiger
#

What do you want it to show when there is a game?

trail frigate
#

the game 😄

#

result of attribute is currently
game: 'Hunt: Showdown'

karmic tiger
#

Ok. Well you want an if/else then. Syntax goes like this:

   statement1
} else {
   statement2
}```
trail frigate
#

okay, but how do i need to adapt that to my actual card ? help would be highly appreciated

karmic tiger
#

You try it. I'm not writing it for you. I've given you the information you need.

trail frigate
#

i see...

hallow mango
#

@trail frigate try making it in the template tester

#

a lot easier to try things out

karmic tiger
#

No, don't.

hallow mango
#

ok

karmic tiger
#

It's not Jinja.

#

🤦‍♂️

hallow mango
#

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?

karmic tiger
#

Yes

tacit cave
trail frigate
tacit cave
#

You can’t template in the front end

karmic tiger
#

Depends on the card...

#

custom:secondaryinfo-entity-row

trail frigate
#

turning "null" into "" did work

#

i just need to get the state in there, when there is one

tacit cave
#

Yes but pretty sure that uses “secondary” as the field

#

Not secondary_info

karmic tiger
#

What does [[ sensor.lich_5769.attributes.game ]] give?

trail frigate
#

Hunt

#

the game

karmic tiger
#
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>) ]]

trail frigate
#

and the old style still does work

#

secondary_info: '[[ if(sun.sun.attributes.elevation < 0, "Below", "Above") ]] the horizon'

karmic tiger
#

So why not just use that?

trail frigate
#

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

karmic tiger
#

You just use the variable...

#

That gets the value you want.

trail frigate
#

okay thanks mono, helped

#

i always put the variable in ' ' or " or () and never worked

karmic tiger
#

If it's inside quotes, it's a string.

trail frigate
#

okay thank you

gusty pivot
#

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

sleek token
#

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?

raw marsh
#

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?

clever thistle
#

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!

dark dirge
#

‘Badge’ is the term you’re looking for

clever thistle
#

yep thank you. and actually i lost it again, i must be drunk or something

errant plover
trail frigate
#

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 ?

polar kelp
#

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.

trail frigate
#

okay thanks thomas, the menu order is not the real problem, but why is the lovelace broken on my macbook

polar kelp
#

Probably a caching issue.

trail frigate
#

is chrome cache over all my devices the same ? oO

karmic tiger
#

No

trail frigate
#

its broken on 2 macbooks, ipad and iphone, but on the main Windows PC its working, thats weird

karmic tiger
#

Caches are local... but that doesn't mean that you don't have the same problem cached in multiple places independently.

polar kelp
#

It could also be that the bad cache is the working one.

karmic tiger
#

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.

trail frigate
#

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!

fresh flume
#

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?

karmic tiger
fresh flume
#

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

karmic tiger
#

Feature requests can be submitted on the forums:

kind shellBOT
#

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.

paper delta
#

how can i change frontend in core docker ?

fiery ledge
#

once again, custom:slider-entity-row to the rescue.... - type: custom:slider-entity-row entity: number.hall_default_volume_7

noble galleon
#

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?

polar kelp
#

Something that allows a custom more-info field, like custom-more-info or whatever it's called, template-entity-row or card-mod.

noble galleon
#

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

warped ice
#

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?

polar kelp
#

It's not in the documentation, so probably not.

warped ice
#

Guess I can fake it with a transparent image over the entire thing.

quiet tinsel
#

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?

dark dirge
#

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
quiet tinsel
#

Thx. Will git it a try..

#

No, unfortunately that did not work for either case. Thanks though @dark dirge .

dark dirge
#

it's correct

#

so....

#

anyway, you've got the link to the docs

quiet tinsel
#

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 🤦‍♂️

gilded timber
#

is there a visualization available to show the movement of my cell phone (GPS) over time?

formal tide
#

a map?

novel finch
#

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

karmic tiger
#

If you think there's an issue, report the issue.

novel finch
#

Indeed 😉 Was just looking if it was known or easily confirmable before...

polar kelp
#

That sounds extremely odd. Is this reproducible with no plugins and the default theme?

novel finch
#

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)

polar kelp
#

Ah. I thought you meant the icon.

novel finch
#

nope, unavailable state

hearty topaz
#

wich I don't like at all

#

any suggestion?

fiery ledge
#
    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; }

polar kelp
jovial swan
#

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.

burnt shard
#

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

errant plover
torpid echo
#

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?

gilded timber
#

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

vapid field
#

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)

karmic tiger
formal tide
#

yes, the map card 😂

karmic tiger
#

🤷‍♂️

gilded timber
#

yes but are there any details? e.g. "last week" or "yesterday" or that gives better access then just lines?

plain onyx
#

euhm which card(custom) can display multiple attributes of a sensor ?

wispy flint
#

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?

errant plover
wispy flint
errant plover
vocal kiln
#

hello! what's the easiest way to see what version of Material Design icons are currently supported by HomeAssistant?

errant plover
#

I have that bookmarked somewhere...

wispy flint
#

oh or maybe not

errant plover
#

Well a pop-up card with a drop down in it.

wispy flint
#

that doesnt seem like im saving any presses 😐

hallow mango
#

you can put an input select right in a card and tap it to drop it down

vocal kiln
errant plover
vocal kiln
#

yeah i figured it was probably not that simple (is it ever?)

errant plover
#

Are you on 2021.9.7?

vocal kiln
#

2021.9.6, not seeing an option for an update.

errant plover
#

Yeah the build failed. Should be out soon.

vocal kiln
#

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!

errant plover
hearty topaz
#

guys, is this correct?

#

light:

  • platform: group
    name: Krystal Krone
    entities:
    • light.crystal_light_1
    • light.crystal_light_2
    • light.crystal_light_3
karmic tiger
#

Does it work?

hearty topaz
#

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

fierce tree
winter jackal
#

Hi, how to set a theme to a single dashboard in yaml?

patent sapphire
#

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?

karmic tiger
#

There's an icon index?

patent sapphire
dark dirge
#

Good ol’ 2017…

karmic tiger
#

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.

patent sapphire
#

my bad

velvet condor
#

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?

dark dirge
#

you can make a template cover

velvet condor
#

yeah thats what i tried

kind shellBOT
velvet condor
#

@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']

dark dirge
#

how are you making it show up in Lovelace?

velvet condor
#

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)?

karmic tiger
#

Sure, use a template.

#

Something like {{ states('switch.your_switch_name') }}

velvet condor
#

stop_cover is of type "action" will it work with this?

#

sorry, i am new to hassio config scripting

karmic tiger
#

Well that needs to be a service call.

velvet condor
#

yeah i thought of a condition

karmic tiger
#

But the call will depend on the current state... so you'd have to template the service call.

velvet condor
#

if state ON call service up otherwise down

karmic tiger
#

Exactly

#

But what happens if you press stop twice? That would send another 'up' or 'down', wouldn't it?

velvet condor
#

yes continue

#

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

dark dirge
#

service: switch.turn_{{ 'on' if states('sensor.temperature')|float > 15 else 'off' }}

#

and yes, either in devtools -> States or devtools -> Templates

velvet condor
#

ok to understand it: {{ }} is template engine for the config yaml itself its pre-executed?

dark dirge
#

It's a Jinja Template

#

and yes, it's evaluated before the script engine executes the step

velvet condor
#

so when state is on its like:
service: switch.turn_on

dark dirge
#

yes

velvet condor
#

ok, since the temperature stuff there is just an example, i have to do it like this i guess

dark dirge
#

it's just shorthand for the more lengthy option you mentioned

velvet condor
#

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!

kind shellBOT
vivid trout
#

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

tame shale
#

there has to be a submenu available for the frontend

#

how is that missing? its a huge problem

#

like a integral piece missing 😦

karmic tiger
#

A sub menu with... What? What do you suggest goes in it?

#

You're vaguely complaining without suggesting improvements. That's not constructive.

hallow mango
#

lol

tacit cave
tame shale
#

a menu under the menu

vivid trout
#

hey Pedro would you have any idea why title is white on browser (pc) but black on tablet?

tame shale
#

so we have the view menu

#

but a subview menu below the main one to pick things under the main heading?

vivid trout
#

ha ha RobC I would say thats me, but ermm i think i am kindergarten stage still lol

hallow mango
#

you mean the tab bar in the header?

polar kelp
#

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.

hallow mango
#

what do you mean by third level?

polar kelp
#

If you want different cards in the view based on some user selection.

hallow mango
#

right, that makes sense i suppose

#

not really a "submenu" though, is it?

polar kelp
hallow mango
#

lol last time we sent that video he got all bent up about it 😅

polar kelp
hallow mango
#

ah, i see what you mean

polar kelp
hallow mango
#

ah, THAT is interesting

polar kelp
hallow mango
#

those are just buttons on the left?

polar kelp
#

Yes. And some card-mod trickery

hallow mango
#

right on

#

controlling input_booleans i guess? so you can automate turning the others off when another is pressed?

polar kelp
#

Either that or an input_select. You can select an item in those with a service call.

hallow mango
#

ohhh duh

#

that would work

polar kelp
#

Oh, no wait. That screenshot with the buttons to the left use the URL hash.

hallow mango
#

?

hallow mango
#

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

polar kelp
#

Yes.

#

Screen size, touch screens, printers, etc.

hallow mango
#

lovelace on a printer? lmao

#

i suppose crazier things have happened

polar kelp
#

People got very upset when we put the quick launch menu on ctrl+p because "I use that to print"...

#

🤷

hearty topaz
#

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

vivid trout
#

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.

hearty topaz
#

here is my config for it

kind shellBOT
hallow mango
#

@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

hearty topaz
#

you are absolutly correct, put it does not work

hallow mango
#

what does it not do?

#

"does not work" is like, the vaguest thing you could say

hearty topaz
#

😆

polar kelp
hearty topaz
#

/local/lovelace instead of my setup did not work

tame shale
woven vector
#

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)?

hearty topaz
#

@polar kelp i got a red error message saying the the image could not be found

polar kelp
#

Did you recently create the /config/www directory?

tame shale
hearty topaz
#

@woven vector this is exactly what I have been doing, but I use picture elements

polar kelp
tame shale
#

sweet jesus you might have helped me after asking 4 times

woven vector
hearty topaz
#

yes

tame shale
#

see everyone makes fun of me throwing shit against the wall so many times 🙂

woven vector
# hearty topaz yes

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?

hearty topaz
#

@hearty topaza minute

tacit cave
tame shale
#

I got the answer!

#

thanks

hearty topaz
#

@tacit cave I was up reading the messages from @tame shale cast se whats wrong whit his questions and comments

#

"cant"

tame shale
#

its ok I don't need to be defended but thanks

#

some people mommas took them off the tit too soon

#

i get it

hearty topaz
#

😉

#

the reason is the some are very quick to judge in this forum, I have had my round with it. not nice

tacit cave
#

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?"

hearty topaz
#

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

tacit cave
#

I'm just saying, ask a question. No need to bitch and complain and then ask the question. Which he didn't even do.

hearty topaz
#

🤓

hallow mango
thorny compass
#

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?

tame shale
#

No type provided.

hallow mango
#

what

#

lol

tame shale
#

when using the hash example there

hallow mango
#

huh?

tame shale
#

HASH

hallow mango
#

it definitely works

tame shale
#

i copied that example -

#

nd get type undefined

hallow mango
#

you'll need to do more than just copy and paste in most cases

tame shale
#

I had all my stuff in there and it failed so I went back to the example -

polar kelp
#

Did you copy the entire example code and paste it into the yaml editor of a card in the gui editor?

tame shale
#

Im wondering if entity-button is smeting else

#

well Im asking if I can copy the example under hash in to a card gui

polar kelp
#

button used to be called entity-button back then

polar kelp
tame shale
#

oh

#

see - i don't know

polar kelp
tacit cave
polar kelp
#

That said, state-switch should probably be high on my list for cards to add gui editors to...

tame shale
#
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 😉

thorny compass
# tacit cave you can hide the dashboards from people and then assign the users dashboard thro...

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"?

tame shale
#

I got it working

hearty topaz
#

@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

tame shale
#

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 🙂

tender plank
#

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

hearty topaz
#

@tame shalelight.my_dummy is your entity right?

tame shale
#

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

hearty topaz
#

@tender plankhttps://www.home-assistant.io/developers/license/

vivid trout
#

can any of you help with title issue I am having, I have white on desktop but they are black on tablet

tacit cave
thorny compass
hallow mango
#

@tame shale why do you need fake entities? wouldn't you want to use the card with your own entities, rather than fake ones?

tame shale
#

theyre just butons

#

to show the right view

hallow mango
#

@vivid trout white and black... what?

tame shale
#

it works

hallow mango
#

ok then

#

fwiw you don't actually need the entity there

kind shellBOT
vapid field
#

How to add background to this?

vivid trout
#

@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

hallow mango
#

using two different themes maybe?

#

what browsers?

vivid trout
#

all browsers on pc are fine, on tablet running fully kiosk

vapid field
#

Is it possible to add background to vertical stack in card?

tame shale
#

ok I do have a bug

#

this card works fine in another place - but not within this new card

tacit cave
vapid field
tame shale
#

in type: custom:state-switch it doesn't work

tacit cave
#

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

vapid field
tacit cave
#

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

vapid field
tacit cave
#

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

hallow mango
#

wait, you can use arbitrary cards inside of an entities card?

tacit cave
#

yep

hallow mango
#

I didn't know that lol

#

never tried I guess

tacit cave
#

you might need to use the under the hood name though

#
- type: custom:hui-entities
hallow mango
#

I only knew of using different entity rows, button, etc

tacit cave
#

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

vapid field
#

Yes but still there is no background behind them

tacit cave
#

I was talking to drinernoo

vapid field
#

Oh 😄 sorry

tacit cave
#

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

tame shale
#

Custom element doesn't exist: state-switch.

#

but it loads - most times?

tacit cave
#

how are you defining the custom element?

tame shale
#

much be caching

#

BUT the card for the ON lights is still failing

hallow mango
tacit cave
#

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

vapid field
#

@tacit cave thank u so much for your help, I did it 🙂

tacit cave
#

nice, did you use card-mod?

#

or did you just leave it your theme color?

vapid field
#

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 🙂

vivid trout
#

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

tacit cave
#

Stuff like that is always cache related

dark dirge
#

Every other channel, it's always DNS. In here, it's cache

vivid trout
#

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

versed kettle
#

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

karmic tiger
versed kettle
#

Ok thanks.

karmic tiger
#

But 4 video streams at once... that's a lot of data.

versed kettle
#

Yeah I have plenty of bandwidth available, but the cloud might not.

low remnant
#

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?

tame shale
#

I still can't get that card to work within thie card 😦

low remnant
#

in fact it looks like in the new instance it's just completely disregarding the grid rows and columns

karmic tiger
#

Either something was missed/added during the copy/paste or something else is going on.

#

Hard to say for sure without you sharing anything.

karmic tiger
low remnant
#

not really sure what information to share, I have layout-card installed on both and I did these steps.

  1. On old instance > Overview > Three dots > Raw Configuration Editor
  2. Ctrl-A, Ctrl-C
  3. On new instance > Overview > Three dots > Raw Configuration Editor
  4. Ctrl-A, Ctrl-P
#

I don't understand how that can result in anything other than an exact duplication

karmic tiger
#

Identical HA versions? Identical versions for all custom cards in use?

low remnant
#

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

karmic tiger
#

How did you install the cards?

low remnant
#

on original it was manual download, on new it was via HACS

karmic tiger
#

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 🤔

low remnant
#

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"

karmic tiger
#

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.

tame shale
#

none seem to help iut

#

it

karmic tiger
#

You know you can reply without sending a notification, right?

tame shale
#

oh thats interesting

low remnant
tame shale
#

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

low remnant
#

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.

karmic tiger
tame shale
#

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

low remnant
#

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.

karmic tiger
#

Who are 'they'?

hallow mango
#

@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

karmic tiger
#

You're supposed to decipher the emojis to discover the true meaning.

hallow mango
hallow mango
hallow mango
tame shale
#

I’m using it

hallow mango
#

it does look like you've got the right idea, but still missing something

hallow mango
tame shale
#

It it’s own card it’s fine

hallow mango
#

what's in its own card?

hallow mango
tame shale
#

Yes but if it’s part of state-switch

#

It doesn’t

low remnant
hallow mango
#

@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

tame shale
#
card:
  type: entities
  title: Lights On
filter:
  include:
    - domain: light
    - domain: switch
#

this works as its own card.

hallow mango
#

that looks right

tame shale
#

just to be clea

#

r

karmic tiger
#

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.

hallow mango
#

it includes all lights and switches in an entities card, from the looks of it

tame shale
#

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

#

😦

low remnant
hallow mango
karmic tiger
#

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.

tame shale
#

right but the list is empty 😦

hallow mango
#

how are you changing the hash? @tame shale

karmic tiger
#

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.

hallow mango
#

I'm gonna guess you're not actually using the correct hash

tame shale
#

I dont' know what that means?

hallow mango
#

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.

tame shale
#

oh oh

#

when I am in the editor it shows the card - its just no contents

#

like its all filtered out

hallow mango
#

not what I asked

karmic tiger
#

Leave edit mode. View the dashboard with this card on it. What's the hash?

kind shellBOT
#

@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).

tame shale
karmic tiger
#

You know the rules... don't spam again.

low remnant
#

I really wish I could choose to use it, I really do but if it don't work then I have no choice

karmic tiger
#
    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?
tame shale
#

I see everything in p1 and p3 properly

karmic tiger
#

Ok, that's the first time you've shared that info.

tame shale
#

I even tried moving the code to p1 like you suggested

#

didn't matter

karmic tiger
#

No-one said to move anything to p1.

tame shale
#

Im saying like you suggested the hash was wrong

#

I confirmed its not

karmic tiger
#

No, I didn't.

#

And no-one suggested moving anything.

tame shale
#

oh drinfenoo did

karmic tiger
#

If you know p1 and p3 work, the problem isn't the state-switch card... so whatever you put inside p2 is the problem.

hallow mango
#

I didn't say move stuff lol

tame shale
#

ok ao I moved teh contents of p2 to p1 and it doesn't work there either

karmic tiger
#

So the problem isnt' the state-switch card...

tame shale
#

no its the auto-entities card WITHIN state-switch

karmic tiger
#

And it works okay outside of it?

tame shale
#

because auto-entities works fine outside it

karmic tiger
#

Great. So log an issue on one of those cards explaining the situation, and see if the dev can figure it out.

tame shale
#

?

hallow mango
#

ALL your lights and ALL your switches

tame shale
#

its just showing switches and lights that are on

karmic tiger
#

If that's what they want to show, let them.

tame shale
#

I have filtering criteria normally

#

I took it out for testing

karmic tiger
#

Judging their choices isn't helpful here.

hallow mango
#

not just on ones, according to your filters

#

yeah nvm

tame shale
#

yeah I removed the filterting

#

just to make sure I wasn't screwing anything else up

#

I was removing potential variable issues

hallow mango
#

right on

tame shale
#

criteria - issues

hallow mango
#

does it work if you use some other method besides hash?

tame shale
#

yes

hallow mango
#

🤔

vapid field
#

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?

hallow mango
#

link to another button?

#

link cards?

vapid field
#

Yes, I mean cards

#

but not pages, just link to specific card on page

hallow mango
#

I didn't know you could link to a specific card

#

or what you would even use that for

tame shale
vapid field
#

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

karmic tiger
#

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.

hallow mango
#

@tame shale what's your current hash?

#

the url in your address bar

tame shale
#

I don't know I press all three buttons

hallow mango
#

because atm that's not showing anything lol

tame shale
#

p1 p2 p3

#

and its blank

hallow mango
#

look at the address bar

tame shale
#

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

hallow mango
#

yeah, you have no hash

tame shale
#

sigh

hallow mango
#

what is the url in your address bar?

tame shale
#

im using the other card - with buttons to set the hash

#

p1 and p2 show

#

sorry p1 and p3

hallow mango
#

🤦🏽‍♂️🤦🏽‍♂️🤦🏽‍♂️

tame shale
#

/new-new-lights#p2

#

there you go

#

I didn't realize it was actually changing the url

#

/new-new-lights#p2

hallow mango
#

aha! something might be incompatible between those cards then

karmic tiger
#

Yeah, we got to that conclusion a while ago already 😂

hallow mango
#

well you and I did 🤣

tame shale
#

huh I heard it

vapid field
karmic tiger
#

I think they're both Thomas', so it doesn't matter which you log the issue on.

tame shale
#

I was demonstrating something within the editor

hallow mango
#

yep they are

tame shale
#

anyway you are correct

#

I need to log a problem

#

same author or both cards

tame shale
#

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 😦

karmic tiger
#

The constant sad faces don't help anyone...

#

I'm sure he'll investigate. Report it, then be patient.

tame shale
#

i did, sir

#

but the sad face makes me feel better

karmic tiger
#

You did the first part. Try the second.

tame shale
#

its a form of experssion

karmic tiger
#

So are blocklists. 👋

tame shale
#

oy vye

#

well I appreciate the help verifying I had it coded right

hallow mango
#

hey fwiw i can replicate

low remnant
#

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

safe notch
#

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?

errant plover
#

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.

fiery ledge
#

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

stoic rain
#

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.

polar kelp
#

No, you're right. That seems to be missing, Marius.

tacit cave
#

which card is this?

polar kelp
#

The quick launch menu. Press c

tacit cave
#

son of a bitch

fiery ledge
#

😉

#

Oops that’s big

tacit cave
#

lol ya, it's nice

#

well, you never quit learning with this software

polar kelp
#

Also try pressing e

tacit cave
#

nice, where's the list of these shortcuts?

mild veldt
#

In the code

tacit cave
#

here

polar kelp
#

I don't think it's even documented.

tacit cave
#

it's sort of documented

polar kelp
#

Oh it is. Great

tacit cave
#

in the fact that you can disable them

#

good enough for me

#

although, this seems like something that should be added.

#

we have it

polar kelp
#

With lovelace-wbah you can toggle entities from the quickbar too.

tacit cave
#

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

tame shale
#

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 😦

tacit cave
#

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.

fiery ledge
#

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)

tacit cave
#

which I think is just Location & Customizations

misty harbor
#

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.

fiery ledge
polar kelp
#

and change it to js root>* {

tame shale
#

oh thank goodness thats helpful!

#

thanks so much I will figure it out !

polar kelp
#

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.

tame shale
#

#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

misty harbor
#

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.

stiff vigil
#

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

tacit cave
#

gonna need more info

vivid trout
#

right going to shoot the amazon fire HD 10 as that seems to be issue, on ipad and tab displays same as pc lol

tame shale
woven fern
#

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.

vivid trout
#

the unicorn has puked

formal tide
#

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?

https://paste.debian.net/1212722/

#

the webrtc card is obviously a lot more responsive than the picture glance...

vivid trout
#

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 😛

tacit cave
tacit cave
woven fern
tacit cave
#

ah, i see you said nabu casa

#

clear your cache and reload your page

#

CTRL+F5

woven fern
#

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.

tacit cave
#

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

woven fern
#

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.

tacit cave
#

Also, as a nabu casa user, you have access to the nabucasa support

formal tide
#

thanks, did the vertical group with glances, can I get rid of the space in between the two?

woven fern
#

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

tacit cave
#

have you tried the IP, not the hostname?

woven fern
#

I have and it does the same thing

tacit cave
#

and are there errors in your logs?

woven fern
#

Do you have a specific log set? I'm not seeing anything obvious

tacit cave
#

homeassistant.log

#

that's where you'd get errors when logging on

formal tide
tacit cave
#

@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

formal tide
#

I never worked with card mod, challenge accepted

tacit cave
#

I can help with that, it's not straight forward

kind shellBOT
woven fern
#

@tacit cave ☝️

tacit cave
#

I'm not sure where you're pulling those logs from, but that's not the home assistant logs

woven fern
#

No its not its from the host startup logs. I can't find anything else that looks suspicious

tacit cave
#

so you have nothing when you connect in the HA logs?

formal tide
tacit cave
#

yet you're getting to the HA setup screen

tacit cave
#

here's an example

#

(sorry, gotta find one)

formal tide
#

i wait... petro...