#frontend-archived

1 messages · Page 181 of 1

pearl hound
#

Hello, iam trying to use a custom Javascript file (.js) in my www folder. I added as a resource to lovelace. I try to use it in the https://github.com/custom-cards/button-card, but i get the error ButtonCardJSTemplateError: ReferenceError: toStringElapsed is not defined. Has someone an idea? This worked for me on my old setup (with HA v103) but not on the newest HA version/ Button card

the .js file gets included in HA with
<script async="" type="module" src="http://home:8123/local/time-helper.js"></script>
might that cause the problem? In the version prior, there was a javascript type as an option for the resource. But not anymore

pearl hound
#

As far as i read, this might be a scope problem?

solemn narwhal
#

If you just add the input_select to an entity card, I think it will do what you want. It displays the current state, but you have to click it and bring up the more info before you can change it.

digital lynx
#

you are right this is the case for a singe entity card but when using a multiple entity card i dont think this is possible is it?

solemn narwhal
digital lynx
#

Thanks for the info. I think creating a sensor is a good idea

heavy pasture
#

1m

Did the sun badge get changed in the last update? It use to have an image in the middle of the badge. It is blank for me now.

tacit cave
#

no clue, sorry!

#

😉

heavy pasture
#

I understood you didn't know from your forum answer. Is this a minor bug that I should report or something else?

tacit cave
#

I was just being an ass

#

I don't know. Try refreshing your cache. CTRL+F5

near knot
#

I've got two cards in one particular view. One is a pair of graphs over 24 hours and the other is the same graph, but over 48 hours. I noticed that the 48 hour graph only shows 24 hours of data.

#

In trying to figure out why, I realised that if I save the 48 hour card, both cards work properly, but if I subsequently save the 24 hour card, the 48 hour card becomes a 24 hour card.

#

Is this expected?

solemn narwhal
near knot
#

vertical-stack

solemn narwhal
near knot
#

...of history-graph yes.

#

If I delete the other vertical stacks, any one of them exists perfectly well on its own.

solemn narwhal
heavy pasture
#

@tacit cave It is blank on all devices so I don't believe it is a cache issue. Tried a HA shutdown and no difference.

solemn narwhal
tacit cave
heavy pasture
#

I did, Just tried again on three devices. All show the sun as a blank circle.

near knot
solemn narwhal
near knot
#

In the GUI each of the cards has its own EDIT button. If I edit / make a mundane change, then save the 48 hour card, the others come good - sort of.

solemn narwhal
# near knot In the GUI each of the cards has its own EDIT button. If I edit / make a mundane...

Oh I thought you were using YAML mode cause of the way the code was formatted that you gave me. Did not know you could share an entire view that was edited via the UI. Learnt something new 😀

Unfortunately, I am unable to re-create your issue. I have setup my own graphs configured via the UI and save them each separately and clear cache between. They all still maintain the appropriate time scales. Sorry...

heavy pasture
#

Mine is also the latest and it is blank. No issues ever with this badge on any prior update.

near knot
opaque galleon
#

Is there any way I can set a 4 digit code for a smart lock through lovelace?

#

is there a card that will allow me to input a 4 digit code?

jade imp
#

?

mild veldt
# jade imp ?

The frontend is loaded in chunks. What is your goal?

opaque galleon
#

My goal is to set a 4 digit number as a door lock code through the front end

#

So the wife can easily change the door lock for our airbnb

jade imp
mild veldt
opaque galleon
#

Thank you

fiery anchor
#

I'm not sure if this is a frontend related issue, but after updating to 2020.12.0 I'm not able to access supervisor panel anymore through nginx proxy. From the developer panel I can see that when calling /hassio/app/frontend_latest/entrypoint.df099659.js it returns ERR_HTTP2_PROTOCOL_ERROR. What might this be related to?

#

if I bypass nginx reverse proxy it works... So I think there is something with the recent update and nginx reverse proxy...

jade imp
#

I’m facing the same issue...I use reverse proxy ssh tunnel to access my instance on internet. When I log on through remote url I could see supervisor panel but it gives error while accessing over lan

uncut hawk
#

Hi, I'd really really like to use a TV in my kitchen as a dashboard. Does anyone have any good inspiration I could use, or lovelace to copy? it seems like everything is built around high res, close small screens; I'm just wanting calendar, weather, and a few other entities to display nicely on a 1080p screen from about 10' away. any guidance or insight would be helpful.

small compass
#

Iam looking for a way to make views somehow responsive. I tried the grid card and was about to change "columns" but the grid card seems not easy to style with card-mod. Before I make me look funny trying to explain what I did, can anyone hint me to a solution where a view goes wide on desktop and narrow on mobile (including companion app or android) or is this not possible right now?

dense hawk
fiery anchor
bitter bolt
#

is there any way to play youtube vids through the media player card?

#

or is it strictly only stuff saved in media folder?

lavish bone
#

hey guys. i screwed up my lovelace interface and would like to recover a backup. i backup all the config folder (docker) which file is it that i would have to recover?

#

is it \config.storage\lovelace (no extension)?

karmic tiger
#

Sounds about right. Have a look inside it.

lavish bone
#

yeah looks exactly what i am looking for

#

do i have to restart HA after restore or is a reload web enough?

karmic tiger
#

Well when you restart, it'll probably just load what HA thinks it should load. You'll want to stop HA, restore things, start HA again.

#

Don't count on your changes taking priority if HA is still running.

lavish bone
#

thx, fixed the problem

#

next question: is there a way in 2020.12 to add the ZHA MAP to lovelace natively or should i reinstall "zha-network-visualization-card"?

karmic tiger
lavish bone
#

allright

plain onyx
#

on the map card i have my home,location and tracker added they give nice icons , but my ambulance/police/firetruck sensor gives a round blob and not its mdi:ambulance icon , any1 know how to fix this ?

karmic tiger
plain onyx
#

well that entity has an mdi:icon ?

karmic tiger
#

Is that a question or a statement?

deep hedge
#

Theme question: I want the default Dark theme always, but my browser keeps reverting to Light, since I use private browsing. Is there a way, or a parameter I can set in a custom theme that uses everything in the default theme, but sets it to Dark automagically?

bitter anvil
#

Trying to wrap up an auto-entities card
https://hastebin.com/oneralobod.yaml
Getting all of the lights/switches in there that I want, which is great but the icons are all different colors.... my icon_color line seems to do nothing. Anything I overlooked that can help me force color all of the icons to yellow?

bitter bolt
#

@jade imp looks good, thanks. does it get stuck if the youtube video was deleted? playlists don't automatically remove reported/redacted videos from playlists.

bitter anvil
mild veldt
#

icon_color: true

bitter anvil
# mild veldt `icon_color: true`

ha. Changed that, to no avail- they are all still their same color.
Since icon_color: true should have fixed it.... is there a way that I could put something in there that is not a boolean, but could be something to set all icons to 'blue' or something?

mild veldt
#

Active color is dictated by the theme

#

Or light color

bitter anvil
#

that makes sense--- i see 2 of my lights that are not at 100% have a different color...
the 4 that are not changing color had their default icon changed from 'switch' to 'light' that probably has something to do with it

#

lets go nuclear: (and i googled) is there a way to just hide all icons?

#

besides show_icon: false
because that didnt make a difference either...

tame dove
#

Where are you stuck?

manic zephyr
#

Some one on here want to help a NOOB with the Animated Background by Vilhellm?

#

@tame dove you talking to me?

tame dove
#

Yup

manic zephyr
#

Oh, well it’s kinda embarrassing. I’m using Hacs. So basically step 3 I can’t even get the dang this to load into a blank view.

#

I feel like a monkey F’n a football on a Friday night.

tame dove
#

Do you have the yaml at the very top of you lovelace yaml?

manic zephyr
#

Yes.

mild veldt
tame dove
#

No errors in the logs? Have you restarted home Assitant (not sure about this one but worth a try)? Reloaded the frontend?

manic zephyr
#

At this point I’m not sure what I have and have not done. Confirming it needs to at the top helps.

tame dove
#

Also, make sure you are properly defining the state of the entity you use it for

bitter anvil
bitter anvil
#

.....

#

thanks @mild veldt - it worked.

#

'state_color' and then refresh....

#

REFRESH

#

🥳

wicked breach
#

Does anyone know how to get a timer to show its duration in Lovelace in an entity card? It only shows duration if it's one of a few entities in an entities card, if it's in a singular entity card all it says is active or idle

jade imp
near knot
#

The observations have changed since yesterday. I've created three stock graph cards (using the GUI this time) all in the same view, all displaying the same single sensor: one history-graph shows 48 hours of data, another shows 24 hours, and finally one shows the last 2 hours.

#

When I create the 24 hour one, the 48 hour one changes to only show 24 hours.

#

When I create the 2 hour on, the 24 hour one changes to only show 2 hours.

#

Has anyone any clue what's going on, please?

viral sorrel
#

is there a way to configure the lovelace media player card so that it doesn't vignette the media image with a circle?

royal spear
#

Hello everyone, I'm having problems applying themes, basically using the frontend.set_theme service does nothing. My user have Back-end selected theme.. but it does not change by calling the service. Any advice on how to resolve this issue?

bitter bolt
#

is there no card/integration to stream spotify to chromecast devices?

karmic tiger
#

You use the cast integration to perform the casting. What do you think the card should do?

bitter bolt
#

🤔

short jetty
#

I want my Lovelace "front page" to have links to the other lovelace tabs. How can I do this (running 0.118.5)

polar kelp
#

Look for tap_action and navigate.

bitter bolt
#

the cast integration doesn't mention spotify.

#

oh, wait. okay, i think i understand.

#

Spotify integrated media controls (pause, play, next, etc.) require a Premium account. If you do not have a Premium account, the frontend will not show the controls.
is this to say that if i use the google cast as the frontend i can't use UI controls?

short jetty
#

Do I have to make a dummy entity or something?

polar kelp
royal spear
#

I found my front end theme is stuck at Dark mode. If I set the theme using frontend.set_theme in dark mode it changes. But if I use light as mode it does nothing

hollow coral
#

In the front end, there's a "reload timers" button in the yaml reloading section. If I create a timers.yaml and then in my configuration.yaml add timer: !include timers.yaml, will that button then reload timers.yaml when clicked?

polar kelp
#

I am not 100% sure on this, but I believe it will reload any timer, even if you don't have them in an included file, and possibly even timers included in packages.

#

Ok, I just tested it. I'm 100% sure.

royal spear
#

In th elogs I see [homeassistant.components.frontend] Theme Smoky Light Theme set as default light theme ... but then how can I swotch to the light theme selected?

polar kelp
#

In your profile settings

#

Bottom left

amber jewel
#

I can't seem to remember my password since I havent had to log in in years

#

where are they stored?

#

cant get in to homeassistant or my other username

polar kelp
#

They are encrypted, so you can't recover it.

#

1: Make a backup!! 👈
2: In <config>/.storage/ delete the files auth, auth_provider.homeassistant, onboarding, and maybe person
3: Go to your interface and set up a new owner user.

royal spear
#

OK I figured out the theme problem now. If a dark mode theme is set, then it will be applied, no matter if if you set a light theme. To actually use the light theme selected the dark mode has to have the theme set to 'none'.

#

So, if a Dark theme is set, it will be applied until set to none, then the light theme will take over.

amber jewel
#

@polar kelp wont that delete my api keys?

#

i still have access on one computer is there a better way?

polar kelp
#

If that's an admin account, you can change the password for another user.

#

Or add another admin and use that account to set the password of your first one.

amber jewel
#

not sure where i even do that?

#

ok i got a new admin user in there heh

#

not sure how to fix the old ones

#

weird on my phone it has a users thing but on my computer it only has people

hollow coral
#

@polar kelp aha, so it reloads any timers, not just a specific file. Makes sense. Thanks!

short jetty
polar kelp
#

Hm... I thought that would open the link in a new tab/window, but maybe it doesn't for local URLs.

amber jewel
#

man this is so broken

#

one has a displayname: homeassistant with username:unnamed user

#

lol that is also the only one that allows me to add users

#

another one is set in the owner group instead of administrators

pearl hound
#

Hello, i would like to remove the default view of lovelace. It says you should set another view as standard and it be removed, which works. But this means whenever a new device opens HA the default view is shown until someone changes the standard view for that device. Or am i missing something? So for example if friends check the site with their device, the default view is always shown..

polar kelp
#

The owner user is the first one that was created during onboarding. The title doesn't really mean anything, but I did not know that could not be administrator...

#

@pearl hound Why not turn the default view into what you want the default view to be?

amber jewel
#

i deleted those 3 files and created a new user

#

lol the api stuff is broken now, users is gone, and it converted my user to people insead?

#

ugh tried to copy those 3 files back and now it wont boot

#

also deleted person since it wasnt there before

#

asdlkfja;lskdjf;lkasdjfl;akshd;kpgjvhasd[po;hjfnaqso;ijudnbghfas[odupn;bgvuoif'

polar kelp
#

Is that a good "asdlkfja;lskdjf;lkasdjfl;akshd;kpgjvhasd[po;hjfnaqso;ijudnbghfas[odupn;bgvuoif'" or a bad "asdlkfja;lskdjf;lkasdjfl;akshd;kpgjvhasd[po;hjfnaqso;ijudnbghfas[odupn;bgvuoif'"?

amber jewel
#

i cant do anything now

#

i deleted the files again and started it again and now it does nothing when i click create account

#

@polar kelp any idea how to fix this?

#

got it had to delete core.area_registry

#

now i have to figure out how to get api working 😢

amber jewel
#

wooo fixed it

vapid field
#

Has anyone used the FireTV custom component from HACS - having an issue with the custom card - it'll be a me thing though just can't figure out what it is

jade schooner
#

Is it possible to rename entities per dashboard? Like the same entity being named differently for convince on different dashboards?
Edit : I know you can set a friendly name in the .yaml , is multiple friendly names possible this way?
Edit 2 : Ok I figured it out, editing the card has a seection called "name" which sets the name on that card / dash!

bitter bolt
#

does any sort of vnc card exist for lovelace to view remote access pc? i need RDP.

dire dome
#

On the devices page, when i change the sensor name and friendly name for a device, it still show as the original name. Is there any way for the device page to show the new names?

jade schooner
#

What worked for me was changing the entity name

Configuration > entities > device > name

After changing the name there it said "updating in home assistant in 30 seconds" or something alone those lines

bitter bolt
#

what card/integration can i use for viewing rtsp streams?

jade schooner
#

I'm not sure, I'm still new myself. I didn't even know you could do that lol

nimble dome
#

Typically I'm pretty good at the google machine, but I can't even brain it lately... In Lovelace, how would you go about having icons instead of names for the View tabs at the top?

#

I'm assuming Icon (Optional) but which list is that, the mdi:'s

small compass
#

I used last-changed with multiple-entitiy-row, obviously something changed with the last update, everything reports "Never" now. Did something change with recent update, could use a hint /url.

dire dome
#

@jade schooner thanks, so obvious in hindsight

jade schooner
#

@dire dome Np!

#

@nimble dome Would a header picture work in that case?

nimble dome
#

@jade schooner Header picture, maybe, but I've seen in other's screenshots that they have icons instead of text.

small compass
charred fable
#

I must be missing something in the docs I have a sensor with the following state:

pickup_types:
  - greenbin
  - recycling
next_pickup_types: []
next_pickup_date: '2020-12-25'
friendly_name: recollect_waste

But when I make an entiy card and pick the attribute type pickup_types it shows up as greenbinrecycling

Is there not an intelligent way for the card to parse the array?

charred fable
#

Oh seems I can do this with markdown!

#
content: |-
  {% for i in state_attr('sensor.recollect_waste', 'pickup_types') %}
  {{ i }}
  {% endfor %}
title: Garbage Pickup
``` 🥳
bitter bolt
#

is there any way to hide a camera picture entity card saying "Idle" in the lower right, similar to show_name: false ?

bitter bolt
#

tysm

#

is there a way to change card size for that entity card? i don't see a scale option and i don't see such a thing in the css doc reference, so i'm not sure if it's possible with themes either?

fathom vault
#

not sure but i think its tricky, because the layout decides the card size, and then the card displays itself according to that size

#

dont quote me tho

glossy zinc
#

Is there a gui method to create a group? I know I can do it in yaml but any gui available?

polar kelp
#

nope

vapid field
#

hello ...good night

#

i'm trying to configure this 👆

flat widget
#

hey guys 🙂 Just found out that lovelace got a panel mode. Can someone tell me if there are any disadvantages compared to non-panel mode? Thinking of a switch with layout-card so I can manage the positioning better.

flat widget
bitter bolt
#

thanks.

#

i ended up finding card-mod, too. it allows for custom css and allowed me to simply define height and width % increases. i'll have to play around with it and see how it renders on different resolutions and displays i have, though.

flat steeple
#

hi how can i add custom mdi or custom icons as icons? ps am not looking for entity_picture coz i need it for my map

full pasture
#

Oh @flat steeple I know of at least one HACS integration "fontawesome" that lets you integrate the fontawesome icons at the least - but so many of those appear to be "pay to use" icons unfortunately.

#

I don't know if this helps - you may already know this, so disregard if you do! But I just found out yesterday that if you add the "hass:" prefix, and remove "mdi-" from the following list of icons, they all are built in: https://cdn.materialdesignicons.com/5.3.45/

#

Or is your goal to have icons of your own creation in there? I'll be quiet if that's it, I don't know how you integrate your own icons heh

thin mist
#

Is yaml still the only way to create groups?

viral sorrel
flat steeple
#

how to show name of zone on map ? if icon is included it just shows icon, if you remove icon it shows name, how to have both ? or if there is another way please suggest ?

polar kelp
viral sorrel
#

I kept trying to copy the formatting of the example on the page I linked but I couldn't get it to work.. I'll try again now

#
- type: entities
  title: Entities card
  entities:
    - climate.heat_pump_office
    - type: custom:entity-attributes-card
      entity: climate.heat_pump_office
      filter:
        include:
          - climate.heat_pump_office.fan_mode
          - climate.heat_pump_office.swing_mode
#

that is not valid

#

or at least iit claims no card found

polar kelp
#

Does it work if you use it outside of the entities card?

viral sorrel
#

yes

#

this works:

#
type: 'custom:entity-attributes-card'
title: Office Aircon
heading_name: List
heading_state: States
filter:
  include:
    - climate.heat_pump_office.fan_mode
    - climate.heat_pump_office.swing_mode
polar kelp
#

Are you using the GUI editor?

viral sorrel
#

yes

polar kelp
#

Did you try saving despite the warning and refresh the page?

viral sorrel
#

yes.. I also tried changing it to be more like other entities cards and at least the first entity before the custom card came up

#
type: entities
title: Entities card
entities:
  - climate.heat_pump_office
  - type: 'custom:entity-attributes-card'
    entity: climate.heat_pump_office
    filter:
      include:
        - climate.heat_pump_office.fan_mode
        - climate.heat_pump_office.swing_mode
#

it then gives me the error Attempted to assign to readonly property.

#

and shows the code in a red box

#

The value of "entities.1" is not supported by the UI editor, we support on the left

#

with a bunch of other info.. but I'm editing yaml.. so I would have thought it would work

polar kelp
#

Ah, I see.

viral sorrel
#

ahh.. well that will do it

vapid field
wheat current
vapid field
#

Thx Ludeeus. I am not sure I understand. I tried
type: 'type:button-card'
and many other stuff, but nothing works. Do you have an example?

#

Now it works. type=custom... thx a lot for you help @wheat current

iron marten
#

Does anyone else consider creating separate dashboards for desktop/mobile? Can’t seem to make one that works well on both lol

kindred hull
#

@iron marten Yep. Different one for each wall mounted device too. I only add what I want one each one not everything everywhere.

karmic tiger
#

Yes. It's tricky to come up with a single view that works well across each screen size and is still intuitive. I have a tab that I use frequently on my mobile that's basically a load of horizontal and vertical stacks so I can be in full control of the scaling/layout instead of the auto-column stuff.

mild veldt
#

I have a single dashboard for both desktop/mobile as all I have is buttons really

#

works well for me

karmic tiger
#

So that's 3 columns on desktop and they stack on mobile?

mild veldt
#

yarp

karmic tiger
#

Maybe I need to come up with something more compact for desktop and do the same.

iron marten
#

Nice. Is that a live download speed?

mild veldt
#

I use an old windows laptop/tablet for my wallmount, so I do zoom the view in a little bit

iron marten
#

I like stats too much to have a minimal dash lol

mild veldt
#

you can update it more frequently though. speedtest.net integration

iron marten
#

Still decent. I wonder if there’s a live method, the stats are already pulled by my router

karmic tiger
#

The graph doesn't care where the data comes from. That's the integration's job.

#

Feel free to use your router's data if that's what you're after.

iron marten
#

Oh i know but I’m talking about what’s possible with HA

#

Ie. Whats already been done

karmic tiger
#

That is possible if the UPnP integration pulls it

#

My router only gives basic upload/download speeds. Some give a lot more info.

iron marten
#

Too fine grain for me atm lol, I’m still getting started, I’m sticking with premade/simple solutions at first, leave the bespoke stuff for next year

#

I run tomato, it’s decent, used it for years now

#

Tomato is like dd-wrt without needing much effort. More of a happy medium between consumer and dd-wrt. Still very powerful.

lethal flicker
#

Is anyone familiar with custom:button-card? Im trying to get the layout to go horizontal but it only goes vertical

fathom vault
#

theres an SNMP integration, which is usually how you poll routers for traffic stats

reef wadi
#

hi folks, having some trouble with mini-graph-card with a binary sensor. sensor works just fine, history looks good. I used the example from github, but something just isn't connecting here.

https://hastebin.com/itimawaleg.yaml

kind shellBOT
uncut arch
fathom vault
#

11:00 PM

#

seems to work here

uncut arch
#

it shows 15:01 for me

fathom vault
#

i just tested template, trying the full sensor now

uncut arch
#

Thank you for your help @fathom vault

fathom vault
#

seems to work in lovelace too..

#

sure youve reloaded sensors after making changes?

uncut arch
#

I restart HA with every change

fathom vault
#

ok

#

yeah not sure you can reload sensors now I check 🙂

#

what does this show when you paste it into developer tools -> template?

#

{{ 1608332801.51655 | timestamp_custom('%-I:%M %p') }}

uncut arch
#

3:06 PM

fathom vault
#

what does the - mean in %-I?

uncut arch
#

maybe I have to use: sensor.time_formatted as the entity?

#

I found that under Developer > States

#

Set the representation of a device within Home Assistant.
This will not communicate with the actual device.

Entity
sensor.time_formatted

State
None
State attributes (YAML, optional)

1
friendly_name: Date and time
2

fathom vault
#

What does this show

#

{{ 1608332801.51655 | timestamp_custom('%I:%M %p') }}

uncut arch
#

03:06 PM

fathom vault
#

ok, strips leading 0s i guess

#

what time is it there? :p

uncut arch
#

3:15 PM

#

oops 3:13 PM

fathom vault
#

so its wrong in lovelace, but ok in template demo

uncut arch
#

yes

fathom vault
#

not sure, sorry. hard to give any suggestions when its working ok here :/

uncut arch
#

I understand. Really appreciate your help

uncut arch
#

If I put {{as_timestamp(states('sensor.time')) | timestamp_custom('%-I:%M %p')}} into the template editor, should I get the time? I currently get "None"

#

Sensor.time is returning a value in Entities

uncut arch
#

however, states.sensor.time is returning None

tepid flame
#

i'm having a hard time finding where i can edit the badges on a page in lovelace. i used to be able to click a pencil button on the title of the tab after i click configure ui. has this been moved to anywhere?

uncut arch
cinder forge
#

I have a picture of my house in Lovelace with the different devices on it using the picture-elements card. I have one in landscape format which prefer to use on my tablet and one in portrait format. Is there a way to determine which device is which so I can go to the right tab automatically? (without creating multiple users). So is Lovelace aware of the device type or device id or something? If so, where can I find it?

radiant holly
#

Hey everyone, I've built a tablet UI for my Fire 8HD yet It doesn't display properly. I have 3 vertical stacks however on the Fire HD tablet in kiosk I'm only seeing two of them and then the 3rd for some reason shows underneath the second if you scroll down yet when I load up the page on my desktop it displays as per normal. Not sure why its not displaying correctly.

solemn narwhal
solemn narwhal
errant kraken
#

can anyone tell me what these sub entities are called, and how I can get them to display as a lop level lovelace entity?
https://imgur.com/a/y50n07V

errant kraken
#

thank you

lavish bone
#

hello guys. i have a little problem, not sure this is the proper channel for asking tho
in lovelace, the lightbulb card
if i set it to a color (lets say blue)
but then "reset" the bulb back to white through an automation for example
the lovelace card still displays the bulb as blue, it doesn't update the color
how can i fix this?

heavy pasture
#

I have two badge issues since the 2020 update. One is my sun icon is a blank circle and the other is a custom sensor that shows the home assistant version and available version is no longer readable due to the number of character in the version number. How can I truncate the software version number? How can I refresh my sun icon to get the picture of the sun back?

karmic tiger
#

First stop for any frontend issue should be to press Ctrl+F5.

heavy pasture
#

I have this on 4 different devices and I cleared the cache on all

radiant holly
fathom vault
#

Im embedding mdi icons into a markdown card using <ha-icon icon="mdi:map-marker-distance"></ha-icon> Is there a way to set the color of it using the html markup?

fathom vault
#

seems you can wrap them in <font color="orange"> </font> ugly but works

remote jackal
#

Looking for a better way then a grid+glance card to show this info. Ideally would like it to show last-updated too. anyone have any good ideas? https://imgur.com/a/T3k5UIh

polar kelp
#

Entities card?

remote jackal
fathom vault
#

how are you wanting it to look, ideally?

remote jackal
#

i dont mind the current look, but would like to have secondary info ideally below the icon, but could also display each item in rows. Just want something a bit more compact but shows more info

#

custom button card might be the way

fathom vault
#

ive been playing with markdown this evening, you can create some nice compact displays with it

#

like this, completely templated

remote jackal
#

how do you do that?

polar kelp
#

That’s nice!

fathom vault
#

add a markdown card, and then you can access all your sensors as usual template

#

the full card is this

#

pulling from peloton API

#

wish i spent more time exercising instead of coding ;D

remote jackal
#

hahaha

#

that is really nice

#

can you send the yaml for that?

#

the markdown help page just shows editing text

fathom vault
#

yup, its looks more complex than it is

#

just ask if you have any questions tho

polar kelp
#

Love it! Haven’t seen many markdown cards like that since Toasts days.

remote jackal
#

Is that all in the card?

polar kelp
#

It is. Markdown cards got some great improvements a dozen releases or so ago.

remote jackal
#

i dont see the content: field?

#

just trying to do something super basic to get started:

type: markdown
content: >-
  {% if is_state("binary_sensor.m1_motion_sensor","detected" %}
    <font color="royalblue"><ha-icon icon="mdi:heart-pulse">
  {% endif %}

  The **Markdown** card allows you to write any text. You can style it **bold**,
  *italicized*, ~strikethrough~ etc. You can do images, links, and more.


  For more information see the [Markdown
  Cheatsheet](https://commonmark.org/help).
fathom vault
#

Id add it via lovelace tbh, at least until youve finalised it

remote jackal
#

yeah thats in lovelace

fathom vault
#

ah if youre using the code editor bit, just paste this in top line

#
content: >+```
fathom vault
#

dbdm you need to close the <ha-icon> tag and then also the <font> tag

limpid apex
#

Anyone knows why my termostat card is showing 0°C?

fathom vault
#

whats the sensor reading?

wintry estuary
#

@limpid apex please do tell more

karmic tiger
#

No, it's supposed to be a guessing game.

fathom vault
#

my guess is low disk space

wintry estuary
#

I think his/hers/othesexes fridge temp is a tad too low 😂

fathom vault
#

could that affect it on a Saturday though?

wintry estuary
#

Did I miss something. I am drinking my saturday vodka and did not read all the messages

fathom vault
#

no, i think you are fully informed tbh

#

🙂

wintry estuary
#

🤦

#

😂

#

Can you tell when did the questions start so I can check those

karmic tiger
#

Side note: Prbtt is the sound a wet fart makes, right?

fathom vault
#

you saw the start of the question

#

Anyone knows why my termostat card is showing 0°C?

wintry estuary
#

Wth

#

@limpid apex I cant take this. Please do tell

fathom vault
#

im digging through HA source code to see if I can see what might be causing it

karmic tiger
#

In all seriousness... Forget code, forget hypotheses. Gotta have more info to find an answer.

fathom vault
#

yeah, thats what were joking about really :p

karmic tiger
#

They can give more detail when they're ready. Until then, crack open a beer and relax.

wintry estuary
#

I just rewrote my rasbpi kernel trying to get to the bottom of this

#

I need to open another vodka

#

Weekends are the best

#

And I will gladly try to be of assistance

#

Just joined the community but I love how fast people respond here

#

@karmic tiger You started it 😀

karmic tiger
#

Oops. Well let's leave it alone now and keep the channel clear for real support 🙂

wintry estuary
#

I'll support you 😀

#

Ok, sry joking aside, all seriousness, very adamantly I'll try to help prbtt when I wake up

limpid apex
#

I'm back

#

It's not a sensor

#

Before the last HA update it wasn't showing this big 0C

karmic tiger
#

What climate integration are you using? What does its state show in devtools > States?

limpid apex
#

Smartir

#

temperature_sensor: sensor.temperature

#

I haver this in my confg. But i dont actually haver any sensors

karmic tiger
#

You'll have a climate entity.

limpid apex
#
  • platform: smartir
    name: Ar Condicionado
    unique_id: ar_quarto
    device_code: 1381
    controller_data: home/ponteir/commands/MQTTtoIR
    temperature_sensor: sensor.temperature
    humidity_sensor: sensor.humidity
    power_sensor: binary_sensor.ac_power
#

The last 3 options are defaults. I didn't configure any of that. But my controller works fine, it's just that now it shows 0C. I think before the update it didn't show anything, just a smaller number for the temperature setpoint

karmic tiger
#

Go to devtools > States, check sensor.temperature. What is its value?

limpid apex
#

It seems There is no entity called sensor.temperature

karmic tiger
#

No sensor = no data = big fat 0 on your thermostat card.

limpid apex
#

But I don't plan on acty using any sensors though. Can I make it so it doesn't show 0?

karmic tiger
#

How will it know what temperature to show without a sensor? 🤔

#

How will it know if it's reached the target temperature without a sensor?

wintry estuary
#

@limpid apex Just remove temperature_sensor part?

limpid apex
#

Ok

#

Will try that

karmic tiger
#

Wouldn't be a valid climate without a temperature.

wintry estuary
#

From UI edit the card and remove the temperature part

#

Aah

karmic tiger
limpid apex
#

Alrighty

karmic tiger
#

Thermostats need to know the temperature. The whole point of them is to set a target setpoint and to enable/disable heating or A/C until that setpoint is reached.

wintry estuary
#

So you are using thermostat?

#

Confused I am

limpid apex
#

I'm just using a card that works as a remote to control my AC

#

It's an IR bridge

wintry estuary
#

So no sensors as you said

limpid apex
#

Yea

karmic tiger
#

It's not a frontend issue, take it to the right channel.

limpid apex
#

I'm sorry my dude, just thought it had something to do with frontend

#

Adios

wintry estuary
#

Mono dont be so tough 😄

coarse flame
#

I feel like I might spend the next 5 years adding HA docs. Gives me a headache sometimes. i.e. Sensor card has 'Unit (optional)'
There's no documentation on what options are available for unit. What if I want to count in lightyears? Can I just put that? frustrated as all hell.

wintry estuary
#

Yeah, had my finger burning ready to answer

karmic tiger
#

(and everyone knows parsecs are the superior measure for interstellar distances)

wintry estuary
#

😎

coarse flame
karmic tiger
#

Why wouldn't it graph? If you have a unit, it's graphable.

#

ºC only makes sense to us as a unit because we assign some meaning to it.

#

Try beaver dicks. Watch it work 😉

coarse flame
#

🤦‍♂️

wintry estuary
#

Mono you the man/woman/ohersex 👍

sacred gyro
#

i like to have my main lovelace page be the 'auto created' one. I created different managed views. But is there a way to hide everything from one area (Hidden) from the main page without taking it out of auto create mode?

timid orchid
#

rayzor, sounds like you might be running into what I am just starting to run into. I figured there would be an easy way to limit dashboards by user (so I can, for example, create a wall panel user login on my wall panels with that user and only have access to what I want wall panels to have access to). I don't yet see an easy way to do that, which is surprising me (I am still reading documentation though).

iron marten
#

is it possible to add links to things like Automations on the sidebar?

mild veldt
mild veldt
#

You can use the command pallet though

iron marten
#

thanks

timid orchid
mild veldt
timid orchid
#

Thanks for the information and saving me from digging through wheverever the issue tracker is to discover that therens' no roadmap for this.

mild veldt
timid orchid
#

I just upped it 100%;)

iron marten
#

what's the funky semi-transparent dash theme that a lot of people seem to use?

lapis stone
#

this is probably really simple, I think I'm just missing something

#

I've converted my lovelace to yaml config and I need to include my hacs installed frontend resources

#

I can't figure out what the config actually wants for lovelace to find the custom element

#

I have:

resource:
  - url: /local/simple-thermostat/simple-thermostat.js
    type: module
#

but I'm getting the error:

Custom element doesn't exist: simple-thermostat.
type: 'custom:simple-thermostat'
#

the type is what I have in the config in case that matters

#

I also try what hacs tells me to use too but it doesn't work either:

url: /hacsfiles/simple-thermostat/simple-thermostat.js
type: module
swift marten
#

are you able to change color on a button based on the state outside of the default? I'm using the iOS theme and would like to not have this specific button be yellow when it is on

swift marten
#

or if I could make the button look like it's on by changing the background somehow.

cursive wave
#

I'm using the mini-graph-card. I have a binary sensor and a lock. And I want to display them on two separate y-axis's. How may I state_map for the separate axis's? Thanks in advance.

rough vessel
#

got a question for the lovelace frontend. so my washing machine is on an outlet where i can measure the power consumption. can i display a custom "state" based on the power consumption in a card? like OFF, RUNNING, FINISHED

civic stream
#

Think I found a bug in the history graph entity name display, anyone care to test if you see the same?

bitter bolt
#

what is the best card/ui element for controlling lights, colors of lights, etc? i have multiple hue lights with color support.

kind shellBOT
#

There is no universal best anything. There's always trade-offs, you need to explain:

  • Your priorities/desired features
  • Where in the world you are
  • Your budget
  • Any protocols that you'd prefer (eg Zigbee) or want to avoid (eg Zigbee)
karmic tiger
#

Why not just an entity card? What have you tried?

bitter bolt
#

that seems good.

#

when i upload an image to the file system and i'm adding the relative path in the picture card configuration, what is the top working directory it references?

#

/config/www/ ?

#

it doesn't seem to work when i use "localhost" in the url line, do i really have to specify my local ip?

karmic tiger
#

You haven't said what path you're trying to access, so I can't possibly say what's wrong.

bitter bolt
#

http://192.168.1.30:8123/local/images/avrcontrols.jpg

#

picture card.

karmic tiger
#

Looks fine to me. Did you create /www today?

bitter bolt
#

i meant to say it doesn't work if i use "localhost" instead of the IP.

#

it works with the IP.

karmic tiger
#

localhost/ or localhost:8123/? You still need the port number.

bitter bolt
#

yeah, even with the port.

karmic tiger
#

Is your browser on the same machine as your HA host? localhost is the machine your browser is on.

bitter bolt
#

oh. i guess that makes sense..?

karmic tiger
#

Well... yes. That's how localhost works.

tropic junco
#

Gentleman and ladies good afternoon

#

I am playing with a template switch. how does one change the switch state icon from this:

#

ok can't paste an image..

#

from the 2 lightning bolts to a toggle switch

#

do i do that in the template switch YAML? or in lovelace somehow?

#

and I don't mean icon_template: mdi:toggle-switch

#

I mean the right side..

cunning gorge
#

Is there a way to force the number of columns in a lovelace view? I'm working on a wall-mounted tablet, and with the sidebar open I get two columns that are a little too small for the light card dimmer sliders to be easily usable. With the sidebar closed, it goes to three columns that are even more narrow. I'd love to have the sidebar closed and force the view to two columns.

vapid field
#

can i use state_image: to check 2 sensors at once

untold granite
#

Hi, i use the HACS card "config template card" for condicional ícons on card. But with this card i lost the horizontal position of cards. What can I do to have conditional icons and the cards horizontally?

vivid swift
#

Hi everyone

#

I have this sensor (an esphome uptime sensor) that has changed unit - I changed it from seconds to hours. Now, when I add it to my lovelace panel, it doesn't group nicely with the other uptime sensors that are in hours, but stays in seconds. The state (correctly) shows 0h uptime. I've tried restarting HA, and am not sure what else I could do. What am I doing wrong?

vivid swift
#

Ah, I see. It keeps 's' as long as there's old data to be displayed.

bitter bolt
thorn mulch
#

can i lock a user to one specific view based on "user ID"?

quartz cove
#

Hi, is it just me or does using the previous / next buttons on the calendar card list view just not work right?

#

Maybe I set up something wrong

thorn mulch
#

never mind, i got it 🙂 user feature is great!

rugged stump
#

So my lovelace UI I normally edit it using the raw config option in the UI but is there an actual .yaml file I can also edit? So I can use my own text editor

inner cosmos
#

Hi all — I hope everyone is doing well. 🙂

#

I had a question I was hoping someone could shed some light on an issue I’m having with older iPad 4 devices running iOS 10. If I change the icon to another mdi icon for a switch for example, it shows up as changed on my Mac and a new iPad Pro, but on the older iPads, it always just shows the lighting bolt for the icon no matter what I do. I tried the HA app, Safari, Chrome, Firefox and they all show the same thing. Since it is just an image, I would think that they should be able to see the different image for the switches. Anyone know why this is happening and/or how to fix it?

coarse flame
#

I found an option for timestamp_local, but I'm not sure, does that go in customizations? Do I override the attribute? Do I put this in the customizations page or customizations.yaml?

viral sorrel
#

I'm trying to graph a number sensor as a line in the history history-graph card but for some reasone it shows up as a bar instead of a graph.. What might cause that and how can I fix it?

#

not only that but for some reason it's putting it at the top

#

even though it's the last entity

fathom vault
plucky silo
#

Hello,
For some reason the UI isn't working.

The system is working, the automations are working. Any ideas?

inner cosmos
#

Hi carpii, I sure have. I’ve rebooted the whole machine and it didn’t make any difference.

#

I was able to see that I am able to edit an entity directly and change an icon there. Then it changes on the iPads. While that is better than nothing, it tells me that the iPads are indeed capable of showing the icons and that it must be a bug of some kind that when I change the domain for the switch with a specific icon, that they aren’t changed on the iPads.

fathom vault
#

Ok I guess take the HA iOS app out of the equation and limit it to Chrome.

#

Tried clearing browser cache on chrome iOS?

#

not that it should be necessary..

inner cosmos
#

I’ve tried it in the HA app, Safari, Chrome, and Firefox. They all show the same.

fathom vault
#

yeah I understand

#

easier to troubleshoot when you narrow it down though

inner cosmos
#

How do I clear the cache on those browsers on iOS anyways? I’ll give that a quick shot.

fathom vault
#

think its in settings

#

chrome -> setting -> privacy -> clear browsing data

viral sorrel
#

if I have a number sensor.. what unit can I set it to so that it's not treated as discrete values? it's just supposed to be an integer.. but a continuous one

fathom vault
#

what do you mean continuous?

viral sorrel
#

as in a line graph.. not a bar

fathom vault
#

what ui card are you using to present it?

viral sorrel
#

history-graph

inner cosmos
#

Tried clearing the cache on Safari/Chrome and neither changed anything on the iPad.

#

But it’s weird, if I edit the entity itself and manually type in an icon like mdi:lightbulb it changes on the iPad automatically.

#

It’s just the settings I have in the custom device settings for the domain or for individual items doesn’t work.

#

They work on the Mac and the newer iPad Pro, but just not the older iPad running iOS 10.

fathom vault
#

Ah, Ive just realised how old iOS 10 actually is. were up to 14 now

#

don't know of any reason it wouldn't work, but could be some outdated websocket support or something

#

what version of chrome do you have on iOS 10?

inner cosmos
#

Yeah.. I know its old but I think it should work as quite a few people will be repurposing these older devices.

viral sorrel
#

what is it? pre-retina?

#

my pre-retina ipad has become a desk ornament in the spare room.. it never gets turned on

fathom vault
# viral sorrel history-graph

Not sure to be honest. I have the same issue with a counter I graph using history-graph. I suspect maybe it only shows graphs for certain unit types such as Celcius etc

#

some forum replies suggest it might be because your sensor is returning an int in a string instead of an int, but thats not the case for me

viral sorrel
#

what if I have compressor frequency on the aircon 😛 what unit would that make sense as if I want a line graph? :/

fathom vault
#

I dont know, but Celcius is sounding pretty good right now 😄

viral sorrel
#

well I don't know ho I would check if it's an int or an int in a string.. node red is passing it out as a "number"

inner cosmos
#

Where is the proper avenue to report bugs on the frontend?

fathom vault
#
{{ states('counter.garage_door_counter') == 26 }}
#

returns True then False

viral sorrel
#

that does sound like a string.. I should try the same

fathom vault
#

maybe this is just normal in template engine, not sure yet

viral sorrel
#

it could be.. everything isd a string until it is cast

#

please don't tell me I need to make a template sensor out of an existing sensor

#

is there even a list of units of measurement> I can't find one

fathom vault
#

haha thats what Im trying now

#

it would suck if thats true

#

yeah there is, but they are all very specific with the alternative being None

viral sorrel
#

I just want a NUMBER :/

fathom vault
#

:/

viral sorrel
#

seems HA is just incapable of graphing numbers.. have to use Grafana for that

fathom vault
#

think its a history card issue rather than HA tbh

viral sorrel
#

unit of measurement is a sensor thing though

fathom vault
#

hrm yeah

#

not clear whether history card uses unit of measurement to decide the graph type

#

or whether it just infers it from the actual data type

#

creating a sensor which casts my counter as float to see

viral sorrel
fathom vault
#

yeah still the same bar with float too

viral sorrel
#

under unit_of_measurement

#

"Sensors with missing unit_of_measurement are showing as discrete values."

fathom vault
#

kinda silly

#

ah wait

#

got it working

#

so it only needs to have a unit of measure defined, and that unit can be None

viral sorrel
#

so None is different to none?

fathom vault
#

just a mo, removing my float casting out of the equation...

viral sorrel
#

yep

#

that worked.. so bizzare

fathom vault
#

none works too

#

it just needs to be explicitly defined in config

viral sorrel
#

so undefined == discrete,, anything else == continuous.. that wasn't immediately apparent from the wording

fathom vault
#

yup agreed

#

ive had this issue for a while too, and didnt dig enough to fix it

#

so im happy too now 🙂

#

still gotta create a sensor to encapsulate it though, which isnt ideal

viral sorrel
#

I have every issue.. so if there's a problem.. I'll have it

#

that's just my existential burden

fathom vault
#

XD

#

i know the feeling

#

usually its every device i buy is broken, so i have to get a replacement

#

but takes me hours to figure this out

inner cosmos
#

I can change the code in the dev tools for a switch. I can easily change the icons and they change instantly on the iPads.

#

But they do not like anything in the template area when you have code like this: icon: if (state === 'off') return 'mdi:pine-tree'; if (state === 'on') return 'mdi:pine-tree';

fathom vault
#

whats the reason you cant upgrade these ipads beyond iOS 10?

#

its just that, whilst it may be a bug its unlikely its going to get a fix with such an old platform

inner cosmos
#

iOS 10 is the last version that you can install on them. I think they’re iPad 4.

fathom vault
#

ah ok, and whats latest chrome you can install?

#

not latest im guessing

inner cosmos
#

71.0.3578.89

#

Guessing its not the latest. I’m guessing it just doesn’t like that logic.

swift halo
#

Is there a card for on and off buttons? I can't use toggle for safety reasons

inner cosmos
#

Is there any other forms of logic that may work? if (state === 'off') return 'mdi:pine-tree';

fathom vault
#

you can use a glance card and then assign tap actions to the icons

inner cosmos
#

Never saw that triple = before.

#

Maybe there is an older form of the logic that may work.

fathom vault
#

=== just tests value but also type afaik

#

at least it does normally in other languages

inner cosmos
#

Is that a yaml thing?

fathom vault
#

no, not specifically

#

try with ==, although i doubt it will fix anything

#

since theyd already be strings

swift halo
#

Is it easy to make cards in lovelace?

#

I mean make new types

swift halo
#

aaahh, its react. Nice.

lean minnow
#

I’m getting an “Unknown Error” when attempting to update my own user Name. Logs...

#

[140094994538896] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 18, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/config/auth.py", line 115, in websocket_update
if user.is_owner and msg["is_active"] is False:
KeyError: 'is_active'

swift halo
#

I think the button card is missing the action items "on" and "off", where can I submit a feature request for it?

fathom vault
#

what are you trying to do?

coarse flame
#

Hey guys, just looking for a general direction to start. I'm using the prayer times integration, but it's in UTC. I can't seem to find a doc for this, but I'm looking to convert my card to my local time and would need to modify the input from the sensors to display correctly. Can somebody link me a good doc to read up on how to do this?
Current attributes are:
friendly_name: Asr prayer
icon: 'mdi:calendar-clock'
device_class: timestamp

The card is receiving something like this:
20T06:00:00+00:00

This doc has been very helpful, but I don't see a way to modify output of time https://www.home-assistant.io/integrations/template/

I found an option for timestamp_local, but I'm not sure, does that go in customizations? Do I override the attribute? Do I put this in the customizations page or customizations.yaml?

fathom vault
#

I think it would go in your template, as a filter

#

{{ value | timestamp_local | timestamp_custom('%Y/%m/%d %H:%M') }}

swift halo
# fathom vault what are you trying to do?

To me? I'm need a button that assumes the same state regardless how many times it has been pressed for safety reasons. Toggle has the disadvantage that it can result in multiple on-offs in a row if the user gets impatient

coarse flame
# fathom vault I think it would go in your template, as a filter

Hey carpii, thanks a lot! Since I haven't created a template for this, I would assume I just add my entity to configuration.yaml such as:

  - platform: template 
    entity_id: sensor.fajr_prayer
    template_value:{{ device_class | timestamp_local | timestamp_custom('%Y/%m/%d %H:%M') }}```
#

something like that?

fathom vault
#

value was just a placeholder, youd need to change that to your sensor value which returns the UTC datetime

#

also need a template entry

#

in your sensor

coarse flame
#

AH gotcha the attribue device_class is using timestamp

#

Something like above?

fathom vault
#

where are you trying to display this datetime? You already have the fajr_prayer sensor so you should be able to just format that using a template (without creating a new sensor)

coarse flame
#

I'm working off some example of template, so I may be off with the sensor: part. I figured that's just describing what you're working with and not adding a new sensor.

#

Would I just specify the platform is template to only add this as a template or just add : template_value: <insert code>

fathom vault
#

yeah something like this i think

#
  sensors:
    my_localtime_sensor_name:
      friendly_name: "xxx"
      value_template: {{ value | timestamp_local | timestamp_custom('%Y/%m/%d %H:%M') }}```
#

im no expert though, just bumbling along myself

coarse flame
#

haha well I do appreciate the help. I will be fine once I get my bearings on some of the HA concepts. I think that's only the hard part. I'm like 3 days in.

fathom vault
#

not so long ago i was in same position. youll pick it up quick 🙂

coarse flame
#

Yeah it's 1% at a time now, but should be good soon lol

fathom vault
#

alternatively just don't tie it directly to an entity, and have a dummy button which just calls a service

#

(by adding a tap_action entry)

swift halo
#

ah, yes I can do that. A little bit more tedious, but doable. Thanks!

viral sorrel
#

argh.. lovelace view nuked itself because it didn't like an entity.. now I just get a blank page I can't edit with the ui editor

fathom vault
#

can you still get to dev tool in sidebar etc?

viral sorrel
#

can't fix it with the raw editor it seems.. just removed that entity and it still fails

fathom vault
#

the preview sometimes stops updating ive found, especially after bad syntax

#

or you mean youve saved it

viral sorrel
#

saved it and now one of the views doesn't load.. sometimes it partially flashes on screen and then disappears

fathom vault
#

go to supervisor and install visual studio code add on, and maybe ssh addon for good measure. theyre both good to get yourself out of a pickle

viral sorrel
#

I've got both installed

#

problem is I don't know why this problem is occuring

fathom vault
#

well, we've all been there. you'll figure it out 😂

viral sorrel
#
2020-12-21 10:30:09 ERROR (MainThread) [frontend.js.latest.202012120] :0:0 Script error.
2020-12-21 11:03:47 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.living_room_buzzer
2020-12-21 11:27:42 ERROR (MainThread) [frontend.js.latest.202012120] http://hassio-prime:8123/hacsfiles/entity-attributes-card/entity-attributes-card.js:21:18 TypeError: undefined is not an object (evaluating 'attr_id.indexOf')
2020-12-21 11:27:42 ERROR (MainThread) [frontend.js.latest.202012120] http://hassio-prime:8123/hacsfiles/entity-attributes-card/entity-attributes-card.js:21:18 TypeError: undefined is not an object (evaluating 'attr_id.indexOf')
#

that last line keeps repeating

#

I have no idea what's causing it

fathom vault
#

its HACS, unsupported

#

but usually the thing you changed last in these cases

viral sorrel
#

yeah so I changed it back.. but it still fails :/

#

I'll just remove that entire card

swift halo
#

I don't get scenes. It sais "Add the devices that you want to be included in your scene. Set all the devices to the state you want for this scene.", but I can't seem to find any places where I can chose the state.

viral sorrel
#

you choose it by setting it

#

then I think you save the state

swift halo
#

Setting it physically activates the device! Thats.... interesting if this is how this should be done

#

Aha, its like a "snapshot of now" with the selected devices.

viral sorrel
#

yes.. that's my understanding

swift halo
coarse flame
#

I tinkered around a bit more with it, but not getting the correct output.
Sensor.fajr_prayer uses device_class: timestamp and returns UTC time.
My goals are to:

  1. Use this in a card to display what time this is i.e. 6:40 pm
  2. Adjust the time from UTC to local.

I just added this to my configuration.yaml

-platform: template
 sensors:
    sensor.fajr_prayer:
      friendly_name: "Fajr"
      value_template:    {{ (states('sensor.fajr_prayer') |  timestamp_custom('%I:%m', True)) }}
#

I used timestamp_custom for the second argument which is local time. Seems the sensor maintains it's UTC time with no change.

inner cosmos
#

Any reasons why we can’t have badges at the top of a view in panel mode?

silent trout
#

Tried this in Lovelace

#

entities:
- entity: sensor.freezer_temperature_measurement
name: Freezer
unit: °F
graph: line

hallow mango
#

are any of the following possible? a) link directly to a subfolder in the media browser, b) display the media browser in a lovelace card, or c) display a subfolder from the media browser in a lovelace card?

gentle tide
#

Is it possible to reset the default dashboard? As in, I want it to go through the effort of re-identifying my entities and re-generating all of the default cards.

coarse flame
#

Hey anybody able to take a peek at that snippet above?

bitter bolt
#

anything to parse csv files as a card?

candid axle
drifting horizon
#

Is there any custom card type that's like the picture card but also allows to crop the image inputted?

supple oracle
#

I would like to create a toggle switch on a dashboard to set an entity (vacation) on or off.
I want to use that entity in a condition for automations.
I'm a bit lost what to create for this.

vapid field
#

hi

#

doesnt anyone know how to make a call to go to default view

#

over rest?

#

or another way

thorn mulch
#

Hi, is there a know issue where an entity refuse to "use" customised "friendly name".. i have since several years used yaml customisation for all my sensors, switches etc.. but for some reason one light just refuse to "take it" it simply shows the entity name in lovelace. I have searched all yaml files if i had duplicates but no luck. the devices is a esphome based "light"

vapid field
#

hi can i use a template in a picture elements card to change the image??

solemn narwhal
sweet willow
#

Does anyone know how to make the frontend user specific?

jagged slate
#

you can turn off/on visibility per user per "view"

#

and the user themself can choose a default dashboard

silent trout
karmic tiger
#

You have no unit of measurement

#

You haven't shared the card's full config though, so it's difficult to say what card type you're using and what the config should look like, @silent trout

silent trout
#

It was added as a sensor from a smart things integration. There is no configuration yml for it. Just the Lovelace card I posted. How do you add a unit of measurement? Unit: doesn’t do that?

karmic tiger
#

Well you can't just make stuff up. What card are you using? What keys does the documentation say it allows?

#

There are dozens of Lovelace cards. Hundreds if you count custom cards. I can't help you if you don't provide more information.

kind shellBOT
karmic tiger
#

Don't keep posting the same code wall...

kind shellBOT
#

@supple oracle 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.

jagged slate
#

does anyone have a cheatsheet for all the mdi icons? the website home-assistant.io links seems to be offline...

karmic tiger
#

Have you checked the pins?

jagged slate
#

I have not...

karmic tiger
#

Ah, they're down too... 😦

jagged slate
#

yeah😔

karmic tiger
jagged slate
#

nice, thank you

supple oracle
#

I'm having issues with layout-card integration.
The issue is it doesn't places the cards like it should.
It places all cards in one column in the middle.
I can show screenshot if needed.
Code: https://paste.ubuntu.com/p/G9cdtTtXFy/

silent trout
#
  • type: glance
    #title: Temp Sensors
    entities:
    - entity: sensor.freezer_temperature_measurement
    name: Freezer
    unit: °F
    graph: line
    - sensor.office_door_temperature
    - sensor.desk_temp
karmic tiger
#

There's no unit

#

If your sensor doesn't already know a unit, you'll need to customise that entity at the sensor level, not just 'hack' it at the card level.

silent trout
#

that explains why it didn't do anything when i added it laughs

karmic tiger
#

If you still can't figure it out, head over to that channel.

silent trout
#

from a UI perspective, would adding unit_of_measurement as F fix that issue?

karmic tiger
#

That's the idea. If you want something to be graphable, the entity needs a unit of measurement first.

#

Note: it won't change old data 😉

silent trout
#

one more question, is there a list of acceptable units of measurement?

karmic tiger
#

Nope. Use anything you want. ºF, ºC, bananas, toasters...

#

But if you use a measure for temperature, use the same measure on all sensors that report temperature... then they can be graphed together 🙂

silent trout
#

aaaaaa, got it!

#

thanks! I'll try out custom configurations!

jagged slate
#

a lot of the mdi icons I want to use don't appear... is it possible that home assistant can't fetch them because the mdi website is down?

karmic tiger
#

Normally I'd say that can't happen because icon packs are served up from CDN's... but one of the pins that doesn't work is from the CDN.

#

So yes, it's possible that you can't load valid icons because it can't download them.

jagged slate
#

okay, then i'll leave it like this and hope they appear at some point.😁

karmic tiger
#

It's been down a lot lately. Hopefully the core devs have noticed and maybe they have a plan.

#

The MDI icon set is quite comprehensive, so it'd be a shame to have to switch to something else.

supple oracle
#

someone with some experience with layout-card that is able to help me?

jagged slate
#

ask the question, someone might be able to help.

supple oracle
#

I'm having issues with layout-card integration.
The issue is it doesn't places the cards like it should.
It places all cards in one column in the middle.
I can show screenshot if needed.
Code: https://paste.ubuntu.com/p/G9cdtTtXFy/

jagged slate
#

the items in that horizontal stack, are themselves a new column. so the items inside will be displayed next to the items outside the stack.

supple oracle
#

normally i should have at least 2 columns ?

jagged slate
#

oh, right. I see what you mean now.
can you send the lovelace code?

supple oracle
#

Thanks for helping me sort this out, been breaking my head last few days.

jagged slate
#

it looks like it's somewhere in your custom card config not in the horizontal stack

silent trout
jagged slate
silent trout
supple oracle
#

@jagged slate i just installed the custom card config, did not change something in it.

jagged slate
#

if you're not doing something special with the custom cards, then why do you have them?

#

it seems to me like you don't need it's functions

supple oracle
#

I mean i want to use the custom card but don't change the custom card itself.
I want to custom order my cards. For example in the screenshot, 3 cards horizontally

#

Or if only 2 columns possible, the first two cards in the first column and 3th card in second column

karmic tiger
#

You don't need the layout card for simple horizontal/vertical stacks.

supple oracle
#

I thought it would be easier to do it with layout card?

karmic tiger
#

Why would it be easier? You're still writing a whole load of YAML that does the same thing.

#

Stick to stacks.

jagged slate
#

apart form the entities themself

karmic tiger
#

So much less code too 😄

supple oracle
#

when changing to horizontal stack i get this

jagged slate
#

yes, what you don't want in that stack you should move two spaces to the left (in the raw code that is)

supple oracle
karmic tiger
#

Draw a picture of what you want, share it here

supple oracle
#

thanks for your time guys

#

or girls

karmic tiger
#

I don't know what you're trying to achieve. Instead of cryptic arrows, draw your preferred layout.

#

Use MS Paint if you have to.

supple oracle
#

sorry for my bad paint skills

karmic tiger
#

So that's just two vertical stacks... first card in the first vertical stack is a horizontal stack (with two cards).

supple oracle
#

ok so i need 2 vertical stacks or just one?

karmic tiger
#

If you want to always have two columns, you'll have two stacks.

#

Just remember that when you're on mobile, it'll try to put the second stack under the first. If you want to always see two columns, you have to wrap the whole thing in another horizontal stack 🤣

supple oracle
#

ok

#

and thanks

karmic tiger
#

red = horizontal stack, green = vertical stack, orange = regular cards

#

Terrible choice of colours. Sue me.

supple oracle
polar kelp
polar kelp
#

(not really)

supple oracle
#

If I add them in a horizontal stack, they are only half size anymore

#

and putting each card in a vertical stack is just placing them under each other

karmic tiger
#

For the final touch, Kipni... put your view in panel mode 😉

#

But yeah... I'm not the best person to ask about layouts. My dashboards suck.

supple oracle
#

but why do they order under each other in stead of next to each other without stacking?

deep moat
karmic tiger
#

Yes

polar kelp
languid cloak
#

anyone using swipe for mobile? I have the following in my configs, but no swipe capabilities. No errors in logs.

#
resources:
  - url: /www/community/lovelace-swipe-navigation/swipe-navigation.js
    type: module
#
swipe_nav:
  wrap: true
  skip_hidden: true
  animate: swipe
#

I did install via HACs, so I've tried a combination w and w/o config.

deep moat
#

is it still mdi:xxxxx ?

polar kelp
#

yes

deep moat
coarse flame
#

Still unable to get the correct output. Can anybody point me in the right direction?

Sensor.fajr_prayer uses device_class: timestamp and returns UTC time.
My goals are to:

  1. Use this in a card to display what time this is i.e. 6:40 pm
  2. Adjust the time from UTC to local.

I just added this to my configuration.yaml
-platform: template
sensors:
sensor.fajr_prayer:
friendly_name: "Fajr"
value_template: {{ (states('sensor.fajr_prayer') | timestamp_custom('%I:%m', True)) }}
I used timestamp_custom for the second argument which is local time. Seems the sensor maintains it's UTC time with no change.

thin mist
#

I see an error like this every so often. Anyone know how I should debug more?

2020-12-21 14:22:46 ERROR (MainThread) [frontend.js.latest.202012120] :0:0 Script error.

pastel canyon
polar kelp
#

There's also a chrome plugin to get a searchable list directly in your browser.

pastel canyon
#

is it just Material Design and HAAS that are inbuilt?

polar kelp
#

Yes

pastel canyon
#

Oooooh - now that is what I was hoping for! Fantastic!

timber flint
#

Anyone know what is the name of the thing what is doing the Titles top of the cards?

shell island
#

Hi all 🙂 I was wondering if there is any way I can have two or three entities grouped together when doing the Picture Elements Card? I would like an icon showing presence and the room temp right under it. Now I am manually specifiying the coordinates for multiple icons/entities and it doesn't look all that good.

shell island
#

@polar kelp : Is there any way I can specify what size my hass-fontawesome should be?

shell island
bitter bolt
#

are there any cards/integrations to let me view data from a csv as a card?

tropic junco
#

🤔

worthy tapir
#

is there a faster / better way to configure the dashboard? I've just got my alarm system integrated successfully, which was a fair bit of work itself, but now adding cards for each sensor is a chore, and its not even well displayed - for example i'm having the card show when the sensor was last tripped and it's in a hard to read time stamp format

gritty frost
dense glacier
#

is javascript_version: latest still necessary?

hallow mango
#

I'd like to have a picture-entity card, but have a few camera entities, and change them out based on the most recently updated... any ideas?

dim jolt
#

@hallow mango conditional card

#

alternatively if you wanted to go nuts (and you have object detection) you could show the one that last detected something useful
rather than just bushes/shadows

#

or just cycle through them?

hallow mango
#

yes, I'm running frigate

dim jolt
#

not sure how detailed I could help in HA, but you could use node-red

hallow mango
#

it creates a camera entity for that shows an image of the last object of each type

#

so a camera for person, one for car, etc

dim jolt
#

and look at the last time the state was updated, and use that to parse into a sensor / entity node sensor.last_active

#

then use the conditional card based on that value

#

does anyone know for a custom:button-card when using custom_fields, what controls the size of the 'area'

#
custom_fields:
      additional_info:
        - position: absolute
        - right: 5px
#

is it just height and width, or is there size as well instead

#

ah using ha-icon style="height: 30px;" seems to have worked

hallow mango
dim jolt
#

do you have node-red?

hallow mango
#

nope lol

dim jolt
#

ah - then you're going to have to get clever with yaml

hallow mango
#

yeah, I'm ok with that lol

dim jolt
#

i'm learning to code, but node-red is flow based

#

do you have a sensor for motion / object detected for each camera?

hallow mango
#

yeah

#

they give an object count for each object detected

#

2 people, 0 cars, etc

dim jolt
#

so an automation that looks at all the sensors, and names sensor.latest_motion something like front. Then have a conditional card that shows camera.front

hallow mango
#

👍

dim jolt
#

there are people much smarter that could help look at the time since last detection etc

hallow mango
#

I bet I can figure that out

dim jolt
#

but thats the way i'd do it

#

then if motion comes from another camera, that would then show

#

good luck 🙂

hallow mango
#

yeah, I think I may actually go about it with an mqtt sensor... frigate already publishes to mqtt anyways 👍 I hadn't thought of it until now 🤦🏽‍♂️

dim jolt
#

oh nice

swift halo
#

I have a switch controlled from HA (an entity), and I must implement a scheme the prevents the user from changing the switch again after a certain amount of time after it has been activated due to safety reasons. A back off or cool off period. How would I go about to do this in HA?

karmic tiger
#

Not with the frontend 🤷‍♂️

#

Maybe a template switch that only sends the command when it's been long enough but that's a discussion for #integrations-archived

inland swallow
#

any known bugs in 2020.12 with the lovelace thermostat card? the set temperature value currently appears to be the same size as the current temperature value (it used to be smaller)

karmic tiger
#

Mine's been fine both on a new install and an upgrade.

#

Ctrl+F5 if you're seeing weird UI behaviours after any change.

inland swallow
karmic tiger
#

Ctrl+F5 does a 'better' Ctrl+R, no need to do both. What about in other browsers or on other devices?

inland swallow
#

same on Chrome (Mobile), Firefox (PC) and Edge (PC)

karmic tiger
#

Incognito?

#

And if it happens everywhere, it's probably worth checking the open issues (and raising a new one if there isn't already one).

kind shellBOT
inland swallow
#

same in incognito too 🙂 thanks, will check or open an issue

swift halo
#

Can a control be hidden from the automatically managed overview page? I do not want the user to accidentally operate a switch, but it is part of automations

karmic tiger
#

Not if you want it to be displayed in other places.

#

You can disable entities if you don't want the Lovelace-managed dashboard to show it... but then you can't display it elsewhere.

swift halo
#

ok, can the overview be hidden from users?

karmic tiger
#

The standard Lovelace dashboard cannot be edited from the UI. You can hide it by setting another dashboard as default.

swift halo
#

ok, thanks

#

oh, on this device only 😦

warm coral
#

Hi there, is there any lovelace page can interface to user management?

swift halo
#

oh well, I guess this is like everything, there is nothing that fits all use cases. Thanks for making such an awesome program

fallen badge
#

So I have this custom:button-card that changes icon color if my light are off, on or in auto mode. Is there any way to get the state of it to show three different states as well?

karmic tiger
#

Probably. It's one of the most flexible custom cards around. Describe in more detail what you're trying to do and someone may be able to help.

fallen badge
karmic tiger
#

Presumably you'd just use a JS template for the state: key too

#
[[[
if (states['input_boolean.auto_hallway_light_control'].state == "on")
  return 'On';
if (states['light.hallway'].state == "on")
  return 'Off';
return 'Auto;
]]]```
fallen badge
karmic tiger
#

This seems like a good place to start:

  - value: 'on'```
fallen badge
#

state: needs to have a value but that is either on or off

karmic tiger
#

Why on or off?

fallen badge
#

I just thought it checked the state of the entity here and applied what ever styles you put there

karmic tiger
#

🤷‍♂️

#

And when I said 'someone may be able to help', I didn't mean me.

#

Please stop tagging me.

fallen badge
#

Sorry m8

fallen badge
#

Solved it, showing label instead of state and templating label.

pallid delta
#

I am looking to have a wall-mounted device that is running Home Assistant but is also capable of accepting Alexa voice commands in the background. I am building a new home and originally contemplated having Amazon Echoes in the ceiling, but thought this might be redundant if I intend to have a wall mounted iPad/Android device running Home Assistant. Is such a thing possible?

swift halo
#

Is there a way to use the button card to only fire a ON action and still show the state? How do I do that?

karmic tiger
#

For about the 37th time... a template switch 😉

#

You're asking for a level of indirection between the thing the user interacts with and what happens to the actual device.

#

You need to include that indirection.

swift halo
#

thanks. I just discovered "helper" and watching curiously a vid about it 😄

rocky pike
#

New noob here 🤪

#

Can I change the picture size in a picture-entity

#

Would like to downsize my pictures to the same size without changing the image file

swift halo
#

I have to edit configuration.yaml in the command line shell, right? There is no built-in editor in the UI?

karmic tiger
#

If you're running a version of HA that supports then, there are #add-ons-archived for GUI editors.

#

Otherwise, I'd recommend using VS Code on your main machine and installing the SSH extension.

#

I actually prefer the latter now that I've used both.

swift halo
#

Ah, ok, I'm not running hassos, only the official docker image. I'll go for the latter, that is wellknown

#

BTW have you tried the docker integration and access the file directly through the container, or only SSH?

karmic tiger
#

The extension is great. You can still browse the folder tree, use a terminal windows, and edit files... all in one place.

#

Through the container? Please tell me you have your config files mapped to a location outside of your containers 😟

swift halo
#

of course. I might be a dumb n00b to HA, I'm very experienced with docker and containers 😄

karmic tiger
#

Phew

#

You don't need to go via a container then. Just browse to wherever you mapped /config

swift halo
karmic tiger
#

Nope, you don't want that

#

And I think that only applies on the same machine.

#

Plus let's say you need to fix config because HA won't start... you'll need to edit files on the host anyway. The SSH method is awesome.

swift halo
#

jep, this was a side track

karmic tiger
#

Fix stuff up, then run docker-compose up -d as soon as you're done to test changes. No need to switch windows or log into another 'machine' 🙂

swift halo
karmic tiger
#

So it depends what you're going to ask 😄

swift halo
#

haha, I get completely lost in these categories 🤣

dim jolt
#

could someone tell me why -- is needed for mod_card in some instances

style:
  ha-card {
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: white;
    --primary-text-color: blue;
           }
#

if i remove the -- in front of primary-text-color it doesn't get applied - just curious as to when it should be there vs not

twilit echo
#

i'm trying to get a restful switch working
HA calls my-url using both GET and POST, any idea how my-url should be responding?

switch:
  - platform: rest
    name: "Display"
    resource: https://my-url
    body_on: '{"lcd": "on"}'
    body_off: '{"lcd": "off"}'
    headers:
      content-type: application/json
dim jolt
#

i think you'll need:
is_on_template: '{{ value_json.lcd }}'

cinder forge
solemn narwhal
# cinder forge Thanks. I tried browser_mod and it works cool if you are working in a browser (a...

Configuration -> Lovelace Dashboards -> Choose the Dashboard you want (click on the name, NOT on open) -> Choose Set As Default on this Device in the popup. This is in the same spot for all devices.
Though if the user is not an admin, you can also change it under Profile (click your user at the bottom of the side menu) -> Dashboard (should be after themes option) -> Choose from the drop-down.
If you have issues finding it, let me know

cinder forge
hybrid jackal
#

Is there any way to control my iot devices in my home assistant from my WebOS LG tv

wanton rover
sterile oriole
#

I have around 30 pcs of binary motion sensors. I want to display them on lovelace ui with entity filter. Showing them only, which is currently active. The problem the active: are only showing for 1 second and then disappears. Probably because of the speed of timout of the IR motion sensors. I want to display them instead of 1 second, more like 3 seconds which is nicer for the eye. So I can make it with custom:button card, but with that I cannot do multiple entities at once. Can you give me hint how to do it! Thank you.

hallow mango
#

looking for a way to open into a specific subfolder in the media browser... is that possible?

#

i have all my frigate clips in a folder, Frigate/clips

#

but would like a lovelace button that opens directly to that, instead of the media browser root

dim jolt
#

@hallow mango you will need to add the url to the whitelist - then make sure the folder is accessible.

#

it maybe easier to map the www folder into the frigate docker container from your host if they are on the same machine

hallow mango
#

well frigate doesn't give me files...

#

it populates a .db, and then shows them in the browser

dim jolt
#

-v /path/to/www:/Frigate/clips

#

oh

#

iframe that?

#

can you not use a snapshot when frigate detects something to export the clip?

hallow mango
#

it just puts them in the HA media browser

#

it does make stills, and shows those as the image for a camera entity

#

which makes them easy to show in lovelace

#

and the github provides a url path to them for attaching to notifications

#

but not sure how to get to the clips it generates

dim jolt
#

interesting, i've not used frigate - but are you able to find the clips in a folder (assuming the clips are stored somewhere, and the DB is for referencing them)?

#

whats the url path from github?

#

and are you using frigate as docker or hassio addon?

hallow mango
#

ah here he comes lol

#

frigate as docker

quick oracle
#

I will be adding the videos to make this easy soon.

hallow mango
#

sweeet

quick oracle
#

Are you on iOS or Android?

hallow mango
#

android

quick oracle
#

Me too

hallow mango
#

good man lol

quick oracle
#

Should be a simple change to the pass-through

hallow mango
#

ideally, I'd be able to send clips through a notification, but I'm not sure how they'd play on device?

quick oracle
#

Also adding the full resolution snapshots too

hallow mango
#

my original question in this channel was actually about opening the media browser TO the frigate folder

quick oracle
#

The url will be public so they should work like any link to an mp4 file

hallow mango
#

instead of to the root

quick oracle
#

In the last version, that's how people viewed clips with a mounted volume

hallow mango
#

I have a lovelace button labeled "view clips", that I'd like to go right in

quick oracle
#

You just can't do any fancy thumbnails or filtering

hallow mango
#

I've got -v /storage/docker/frigate/clips:/clips

quick oracle
#

The media browser doesn't have the current path in the url

#

So you can't like to a specific path

hallow mango
#

👍

#

I figured that was the case

quick oracle
#

Are you wanting to view the video of the recent clip more easily? What are you trying to do?

hallow mango
#

umm, yes

#

but two separate things

#

a) I'd like to be able to send the most recent clip through a notification (I have this working for stills already)

#

and b) I'd like a lovelace button to open and show me historical clips

#

more easily, yes

#

I have a wall tablet, and wanted a straightforward way for the wife to see clips

#

without her having to remember to go to frigate first, basically lol

quick oracle
#

Makes sense. I think that will require some kind of custom card.

hallow mango
#

yeah... I'm thinking so

#

haven't seen a custom card for browsing media yet though

quick oracle
#

You want something like the spotify media browser, but that plays in the browser rather than control an external device

#

Nothing like that really exists

hallow mango
#

right lol

white hill
flat steeple
#

hi !:) is there a way to add a secondary info like ( last uopdated or changed ) on the mini-graph-card by kalkih

that would be cool 🙂

oak parcel
#

Not sure where to put this exactly, I've a wall mounted tablet with Fully Kiosk running. After a small while the front-end seems disconnected untill the screen lights up again. Is there any way to prevent this? I'm using browser_mod as well, so when there's mail in the mailbox, it will show a dialog. But if it's disconnected it isn't working ofcourse. Anyone have a fully kiosk browser setup as well? Thanks

karmic tiger
#

'seems disconnected'?

#

If you're saying that Lovelace doesn't receive any updates while the screen is off, that's the normal, default behaviour. There's an option in your profile to disable it.

oak parcel
#

Yeah when it comes "on" again, it says at the left bottom a snackbar with: "Disconnected, reconnecting"

#

so the default behaviour is also that the browser_mod can't put popup's on the screen while that is the case? Then I'll look into my profile for this, thanks a lot

karmic tiger
#

If it's disconnected, HA can't talk to it.

#

So you are correct, browser_mod can't do anything.

oak parcel
#

I thought it was fully kiosk itself that disconnected it, I'll try that option and see if browser_mod can send a popup after say 1 hour as well.

karmic tiger
#

The auto-disconnect was added when people reported high data usage for video streams that ran in the background. You just need to turn it back off if you're using the device at home.

oak parcel
#

Yup, it's just a wall mounted tablet, thanks!

#

ok, just looked into it, unfortunately I turned that option off already. So I think it's not the fault of home assistant disconnecting itself but more a fully kiosk issue

#

It's a Samsung Tab S 10.5 (so an old one)

karmic tiger
#

I've never used FK. See what others suggest.

oak parcel
#

Thanks for the suggestion in the settings though 🙂

#

Guess I've found the solution in the documentation (-.-"). My bad, will try to put: force_stay_awake: true inside the config of the browser mod device.

slow panther
#

How do I rename devices? I can only rename entities??

karmic tiger
#

The same way you rename entities

#

configuration > Devices > pick a device > click the configuration in the top-right corner

slow panther
#

Thanks!
It was almost the same way. The configurationis positioned in the tab bar. Made me ignore it since i thought that was some ui config thing.
entities is a bit more logical... you just click on them, noconfigurationinvolved 🙂

karmic tiger
#

Entities are a little simpler since there's less information. Devices already have a lot going on in the UI, so it makes sense they hide some stuff away 🙂

slow panther
#

got it. But it would make even more sense if theconfiguration was moved down to somewhere in the information part of the device

karmic tiger
#

Yeah, maybe. You could suggest that as a feature request.