#frontend-archived

1 messages · Page 180 of 1

prime summit
#

aha

#

doorvivint-card/doorvivint-card.js?v=1:7:1 Uncaught SyntaxError: Unexpected token '<'

#

seems the .js file is... borked

#

GAH

elder pendant
#

Sounds like you downloaded an html file

prime summit
#

I did wget on the link and it got the github page

#

instead of the raw js

#

that's easy fix

#

Thanks for the guidence!

karmic tiger
elder pendant
#

Which is why I was saying the github urls you were using probably wouldn't work 😉

karmic tiger
#

And another reason to use HACS if possible.

prime summit
#

Can't on docker install :p

wheat current
#

Who told you that?

elder pendant
#

A liar, surely

karmic tiger
#

Can't use integrations on Docker? 😮

prime summit
#

thought I read it somewhere

#

can't use HACS on Docker

karmic tiger
#

HACS is just a custom component. It works like any other component.

#

It's just Python code 🙂

prime summit
#

or I'm confused what HACS is maybe

karmic tiger
#

HACS is an add-on, right...? 🤣

#

Please don't ban me, Ludeeus.

compact flame
#

@prime summit you cant use the store in Home assistant OS

prime summit
#

I don't use HAOS

compact flame
#

HACS = container?

prime summit
#

but I think I tried to get Add-on for something else to work and it was like....... oof

wheat current
#

Stop confusing each other

karmic tiger
#

HACS is just Python code. Not a container. Not an add-on.

#

It's a drop-in component (or integration in the newer speak) to add functionality that's not shipped with the main HA build.

#

Because it's a component (like your lights, switches, thermostats, etc), it works on all versions of HA.

#

It also only installs other components and cards, which also work on all versions 😉

#

🤦‍♂️

#

(Love you, Ludeeus)

elder pendant
#

🤣

wheat current
#

Oh right.... I should update that.... One day....

elder pendant
dark dirge
#

I was ready to point somebody to the FAQ page a while back until I actually went there 🙂

hallow mango
#

not sure where I'd be best to ask this: I'm taking a look at the wled "liveview", which is a page that shows the "peek" view, animating via javascript

#

I'm curious if I could somehow render this page to a camera entity and show it in a lovelace card

#

or equivalent

iron locust
#

Does anyone know why my pages always have a giant HACS icon when I scroll down? It's hard to work in node-red since when I scroll down in the debug log, when I reach the bottom the page continues scrolling node-red away to a giant HACS logo: https://i.imgur.com/CQwRpLI.png

#

oh disregard, I should have googled that first

raw egret
#

Any card to expose an rgb light with effects to Lovelace?

#

Light card works but needs clicking on the card to choose the effect

#

I was looking to expose the current effect name and a drop down menu in Lovelace directly

hallow mango
raw egret
#

Cheers

rustic aurora
karmic tiger
#

If the comment says so, why would it not be true?

#

If you feel it should do something different, raise either a feature request or a pull request.

white drift
#

hmm, if im creating a binary sensor template that would pretty much be keeping the state of something being enabled/disabled (an alarm), what do you think is the best way to classify that. Guess there isnt an alarm device class

elder pendant
#

It doesn't really matter. The actual state will still just be on/off

pliant pulsar
#

Hello, i have an error in logs, Translation Error: The intl string context variable "състояние" was not provided to the string "променен на {състояние}"
"състояние" is translated from state, is this meaning that {състояние} should not be translated and should stay original - {state} ?

wheat current
#

Correct, placeholders {some_value} should never be translated

pliant pulsar
#

{count} {count, plural, one {week} other {weeks} }

#

which one here need to be translated ? it is a mess in our translation

wise arrow
#

Good evening all,
I’ve just downloaded the IOS Theme for Lovelace and I’m trying to replicate this ‘Lights’ area within my dashboard.
I’m struggling to understand how to get the brightness with a drag bar - any help would be appreciate - thanks

https://i.imgur.com/3Vwj8sq.jpg

karmic tiger
mild veldt
vapid field
#

Im using my first lovelace card - a picture card, I have put the picture in the media folder via the smb share, but what is the path to this folder ?

#

media/image.jpg doesnt work

karmic tiger
#

I'm not sure the media folder is meant for images. I'd put that in the /www folder instead.

#

I think the media folder is more for sending media via integrations like Google Cast. /www is your 'public' web folder for showing things on pages.

vapid field
#

ok, I'll move it

#

will it then be /www/image.jpg

wise arrow
#

@karmic tiger @mild veldt Thanks for the response both. I’ve found both of these on GitHub but I can’t work out how to install them.
Install .js file as a module.

#

Resources:
-url: /local/slider.entity.row.js
type: module

karmic tiger
#

I would recommend installing them via HACS. It will download the JS file into your HA host and should set up the resources too.

#

It's also the easiest way to get future updates for those cards when they change.

vapid field
#

What am I doing wrong here, trying to point that picture entity to this image:
/homeassistant/config/www/image1.jpg

karmic tiger
#

/local/image1.jpg

#

/config/www maps to /local

wise arrow
#

Perfect sound them both and added

#

Appreciate it

vapid field
#

thank you

wise arrow
#

Both working

#

Struggling with Hive though..
Had it working before I ruined my dashboard and decided to do a fresh reinstall. But now adding hive: with username and password isn’t adding the thermostat to my board

karmic tiger
#

Adding hive is an #integrations-archived thing. Once you've got the integration working, come back to your dash and see if you need to do anything else.

wise arrow
#

Thanks I’ll move over - cheers again @karmic tiger

bitter bolt
#

what are my options for webpage cards? can they be websites that require auth/cookies?

karmic tiger
#

Looking at the docs, no. It doesn't allow you to specify any auth.

kind shellBOT
bitter bolt
#

does HA support multiple user accounts simultaneously, each with their own lovelace dash?

bitter bolt
#

how can i get the information from the "HISTORY" tab of a card on the card itself?

karmic tiger
#

Maybe the history graph card? 🤔

bitter bolt
#

like i have a garage door opener entity card but it only displays controls. i'd like to also display the open/closed state of it in a graph in the same box.

edit: resolved with vertical card stacking

tepid raft
#

Am i blind or is there no users config / maintenance UI?

worldly wharf
worldly wharf
#

I ended up using card-mod module.

hallow mango
#

@tepid raft configuration -> users

#

uhh, advanced mode must be on, sorry

tepid raft
#

@hallow mango I don't have users in my configuration window

#

Oo

hallow mango
#

in your profile window

#

your avatar

tepid raft
#

Got it. Thanks!

bitter bolt
tiny saddle
#

not tryinig to cross post but i was pointed to this channel when i was trying to figure out why my new Truenas installation of home assistant core installed in japanese. my browser is definitely not set to japanese, and i dont have a vpn on that would put me there or anything. any help is appreciated

#

nvm, japanese was not set as my default language, but was apparently set as a sublanguage, all is good now.

scarlet mason
#

@bitter bolt did you figure out the garage thing? I think the answer is a cover.. then you have a graphical open/closed that works as a button too

karmic tiger
#

I did not suggest you come here asking about templates. I suggested you use custom cards to reach your goal.

#

🤦‍♂️

hallow mango
#

is it common that more cards in lovelace make it run slower? and is that something the frontend or backend device is more responsible for?

mild veldt
hallow mango
#

lots of templates and nested cards are my likely suspects

mild veldt
hallow mango
#

gotcha

tawny vault
#

So never played with scenes before. I just created one in the UI but when I go back to the list it doesn't show up.

#

Yet checking in scenes.yaml they are saved. They just don't seem to show up in the UI (even though I made them in the UI)

winter warren
#

Hey all, just confirming--there's no way to order items in the left-hand menu ...is there?

#

It appears to be the default dashboard, other dashboards alphabetically, and then I have multiple groups of things ordered alphabetically from various integrations

polar kelp
#

Click and hold the title for a second

tight goblet
polar kelp
#

I'd say that's a feature request rather than a bug, but it's a good idea.

thick surge
#

Does anyone have an idea on how to get weather forecast panel to show per day forecast from openweatherapi? Right now I only get every 3 hour forecast

smoky depot
#

@thick surge you have hacs installed?

thick surge
#

Nope, first time hearing this

smoky depot
thick surge
#

Yeah. I'ma gonna go ahead and install hacs

smoky depot
#

well you can get the full forecast with either card

thick surge
#

I do have the full forecast displayed, but it's only showing the 3-hour forecast. I only wanted the daily version. This is with openweatherapi btw

pine plinth
#

can the information from the Logbook be extracted somehow?

karmic tiger
#

Extracted how? For what purpose?

pine plinth
#

purpose not sure yet - basically if I take a log for one entity from 01.11 to 01.12 can I somehow extract that data into (lets say) a CSV?

karmic tiger
pine plinth
#

thank you!

smoky depot
#

@thick surge you are setting the entity to weather.openweathermap ?

smoky depot
#

@thick surge odd. i just added it and it worked for me. when added through the UI it even has a slider for showing forcast and a drop down to add whatever secondary display under the temp you want it to be

#

how did you add openweathermap? throgh the UI intergration or through manual way of yaml?

thick surge
#

Through the UI integration.

tight goblet
polar kelp
#

I'm sure it will

raw brook
#

Its not a feature request for Frontend though

#

Its for the backend

polar kelp
#

Is there no from in the logbook data?

raw brook
#

I dont think so. but its been a minute. I dont remember

#

We recently rebuilt it with Bdraco

polar kelp
#

That makes it a bit more complex.

#

I guess there's been no need for it...

raw brook
#

Right. I am not sure the resources required to get that small bit on info as well

#

Bdraco optimized the shit out of it so its nice and quick

tight goblet
#

Well, I'm glad it got picked up/noticed. Amazing, this community! I hope it won't be to difficult to implement as it seems to be a niche use case.

#

I also see how this could have wider implications. If it went as far as separating the state of an entity ('on','off','home','not_home', etc.) from the "availability_state" ('available','unavailable') of an entity.

bitter bolt
#

how can i have a vertical stack card configuration but have a conditional for only ONE of the entries?

#

do i just insert the conditional statement and flags between the two as needed?

polar kelp
#

Yes

#
type: vertical-stack
cards:
  - type: first-card
    ...
  - type: conditional
    ...
    card:
      type: second-card
      ...```
thick surge
bitter bolt
karmic tiger
#

The cards you want to be displayed conditionally need to be children of the conditional card.

#

You just have a list of cards where one of them is a conditional card with no contents.

#

Indentation matters.

bitter bolt
#

this is too hard.

karmic tiger
#

🤔

#

Look closely at what thomas shared. Compare it to yours.

#

And read this:

kind shellBOT
#

YAML is the mark up language used by Home Assistant, consistent indenting (two spaces per level) is key. Here is a primer, and this explains multi-line templates. For validating YAML see YAML Lint.

hushed wasp
#

Will shuffle mode be added someday to Media Browser or playlist support? 🙂

#

music files

spiral prairie
#

Hope this is the right section - I'm trying to change the background (and text colour) of the hamburger menu icons/heading on the front end. I created a post on reddit yesterday - but just saw this discord existed so I thought I'd post here too. I've been basing my current theme off of the clear theme - and I've managed to style everything else to my liking - but the hamburger icon background (and subsequently the expanded version which contains the "Home Assistant" text) has a white background which sort of ruins the ffect im going for. I found it using var(--primary-background-color) as it's background colour (unlike the rest of the sidebar/header which use their own selectors), which means I don't think I can change it individually without affecting the whole page. I tried adding a custom CSS stylesheet which targets the .menu selector, although I think due to the way it uses web components/shadow roots - it doesn't effect it at all.

I tracked down this section of the source code: https://github.com/home-assistant/frontend/blob/53214781e34e20d3fbe20ec4c33ba4832e9148ec/src/components/ha-sidebar.ts#L767 - would the only way to achieve what I'm trying to be to change its background-color there to use a custom variable? Or is there a better way to achieve what I'm doing?

Thanks so much. :)

(Screenshot showing it a bit more)
https://preview.redd.it/iy36kgodpd361.png?width=1372&format=png&auto=webp&s=0e390472707cd8a726e91fc003adddeaef48ca68

iron locust
#

So I'm using service.log to put things in the logbook as part of node red flows. The node lets me choose a domain to which determines the icon of the entry. Is there a way to get a list of ALL domains, including the ones I don't use? I saw there's a way to get ones the I do use.

icy shard
#

how protected is home assistant against bruteforce attacks?

civic sedge
rocky breach
#

So. What is the best way to limit access to stuff for non admin-users

#

i want my admin to only be able to see the stuff he have access too

#

lights in hos room, a couple of cameras and a graph of his internet usage

#

i made a user for him that isn't admin and moved all things in my dashboard to a admin only-dash. On the default dashboard is his stuff

#

Then i realized that he can see stuff in the logbook and history and after a click or two control them too

uncut fossil
#

Is there a way to disable touch on a webpage card?

#

I’m trying to get my nest cams to show on a card, but if I touch the card it pops up with the stupid “get more with nest” shit

karmic tiger
#

Ah, that can't be used that a webpage card 😦

uncut fossil
#

Yeah sadly

karmic tiger
#

Normally with web design, if you want to stop someone interacting with something, you paint an invisible layer over the top that has no event handlers (no hyperlinks, etc).

uncut fossil
#

Can you do that with that card?

karmic tiger
#

So you may have to come up with a proxy that does that for you. Serve the Nest cam up via another page that you're in control of, and have your page paint that layer over the top.

uncut fossil
#

Ah

#

Ok

karmic tiger
#

Not with that card, no. Maybe there's a custom card that'll help with this. It's the layering that you're after.

uncut fossil
#

Ok

karmic tiger
#

Hmm. Picture Elements card, maybe. Looks like it can take a camera feed as one of the elements, then you just need an overlapping transparent element with no tap action.

mild veldt
karmic tiger
#

Or that 😄

mild veldt
karmic tiger
#

I knew there'd be a custom card for it.

#

I'd never go back to it but the 2 years I spend doing web development were handy.

uncut fossil
#

@mild veldt am I doing this right?

#

Dangit

#

1 sec

kind shellBOT
uncut fossil
#

On iOS, can’t copy

#

Here’s a screenshot though

#

For some reason the copy/paste on the iOS yaml editor is ridiculously buggy

mild veldt
#

Don't think that will work with the null...

#

You could also change the action to double_tap or hold

uncut fossil
#

I’d rather it just be fully disabled

#

Do I just put exemptions as null then?

mild veldt
#

Block will do that but to will produce a prompt

#

It has been a long time since I looked at my code or even used this card but I think you can just put block: true

uncut fossil
#

Ok

mild veldt
#

And maybe couple that with a different action as well

#

And then you could set restriction-lock-opacity in your theme to remove the icon if you wish

uncut fossil
#

Ah ok

#

Looks great, thanks Ian

mild veldt
#

Excellent

worldly sage
#

when will ha support different languages per user?

wheat current
worldly sage
#

that's weird because when i set it for one user it sets it for the rest

wheat current
#

Languages are pr user/device

worldly sage
#

oh wait nevermind, doesnt do that anymore

#

that was weird

civic sedge
#
shell_command:
  unban: rm /config/ip_bans.yaml
icy shard
#

Ah yeah, thanks

brittle vapor
#

I don't understand how to use light groups.

https://www.home-assistant.io/integrations/light.group/

So let's say I have the following lights defined in my configuration.yaml:

light:
  - platform: group
    name: Kitchen Lights
    entities:
      - light.kitchen_accent_light
      - light.kitchen_main

How do I add the group to lovelace so that it displays in the frontend?

cunning gorge
#

It should be auto-added to the default overview unless you've modified it, but otherwise you'd add it like any other light, using an entity card or button card or whatever

#

You should find a new entity called light.kitchen_lights

brittle vapor
#

Hm. There is no new entity. Do I have to restart/reload something?

cunning gorge
#

If you haven't restarted or reloaded homeassistant already, then yes. Go to configuration->server controls, click "check configuration" to be sure everything is proper, and then "reload groups, group entities, and notify services"

brittle vapor
#

That worked. Thanks. @cunning gorge

shell island
#

Hi all! I am trying to sett a Hue Scene from a Button with the following code but my syntax is wrong:
type: button
tap_action:
action: call-service
service: hue.hue_activate_scene
scene_name: Dimmed
entity: light.stue_og_kjokken
show_state: true

#

does anyone know what I am doing wrong?

mild veldt
#

@shell island service options should be under service_data

shell island
#

thank you so much for answering iantrich!

#

show_state is options?

karmic tiger
#

scene_name is

#
  action: call-service
  service: hue.hue_activate_scene
  service_data:
    scene_name: Dimmed```
shell island
#

thank you! but I am still not understanding it. This do not work:
type: button
tap_action:
action: call-service
service: hue.hue_activate_scene
service_data:
group_name: Stue og kjøkken
scene_name: Dimmet
entity: light.stue_og_kjokken
show_state: true

kind shellBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example

Don't forget you can edit your post rather than repeatedly posting the same thing.

For over 15 lines you must use a code share site such as https://paste.ubuntu.com/ or https://www.hastebin.com/.

karmic tiger
#

Now you have action: too far left...

#

The amount of spaces before each line matters.

shell island
#

Thank you so much!!! You guys rock! Enjoy the rest of your evening :):)

steel ember
#

Hey guys - quick question - im just a windows tablet as a dashboard withhome assistant - is there some way in the dashboard to create a shortcut that will open spotify exe on the tablet device?

carmine moth
#

FAN "SLIDER" BUTTON: I like the look of the "light" card with the rounded slider that goes over it for dimmers. I was wondering if there was a way to create a similar looking button for fan control only with fixed "Low" / "Medium" / "High" snap points along the dial? Any help would be appreciated!

mild veldt
#

@carmine moth there's a PR open for that but the frontend devs need to have a bigger discussion about the rounded slider first

iron locust
#

Can I show/hide a card from lovelace using Node Red or in some other way? I'd like to show the latest image from my camera after a motion event and hide the card (or at least the image on the card) after a few minutes

vapid field
#

hi is there a way to move a card left and right with out making more cards?

#

@iron locust ```
conditions:

  • entity: whateverentity
    state: 'whateverstate'```
#

thats to show and hide

iron locust
#

oh I'll take a look at that, thanks

vapid field
#

oops it needs to be a conditional card

#
type: conditional
conditions:
  - entity: whateverentity
    state: 'whateverstate'
card:```
#

like that

iron locust
#

nice, that was super easy, thanks

vapid field
#

np

iron locust
#

Got a nice scary picture card now for when someone's creepin around the house

vapid field
#

nice

#

do you know how to move cards @iron locust ?

#

like left and right

iron locust
#

I do not, that was maybe the 3rd card I'd ever manually made

vapid field
#

nice

iron locust
#

why/where do you want to move your card?

vapid field
#

to the left side of the screen

#

bc rn the side bar im making is in the center of the screen

#

XD

iron locust
#

that's a problem

#

but I think that's only for inside a card

vapid field
#

1 sec i will test

iron locust
vapid field
#

same link XD

iron locust
#

it's very late 8)

#

same dude, different project this time

#

check out the "Grid layout" entry there

vapid field
#

i will try that thanks

vapid field
#

didnt work does anyone know if there is there a way to move a card left and right with out making more cards?

abstract lagoon
#

hi there

#

is there a native TGB control panel for lovelace..or is this through using extensions?

#

RGB

vapid field
#

hi

#

anyone know how i can keep a view loaded at all times

#

i.e so when i switch view (click on another view) it doesnt disconnect my session - saying this as the view i have has a custom iframe loaded and i need it loaded all the time

#

i dont want it to refresh or disconnect when leaving you entering the view

kind shellBOT
hollow silo
vapid field
#

any pointers on my problem anyone?

karmic tiger
hollow silo
#

Thanks for your reply. Seems like this changed in Version 0.118. Because in older version it didn't show up

short steeple
#

Hi! Is it possible to use custom Lovelace components (ie, custom cards) and still use the UI editor (aka no in YAML mode)?
I'm trying to use weather-card but the editor says that this card type does not exist.

flat steeple
#

how can i add custom MDI (images) so i can use when to my current set ?

mild veldt
#

I take that partially back, you will not see a UI editor for it, but it also sounds like you don't have it configured properly

kind shellBOT
short steeple
#

I guess what's wrong here is that Lovelace is not loading the custom resources, unless I set YAML mode. Is this expected?

elder pendant
#

You only define resources in configuration.yamll if you are using YAML mode

#

if not, you add the resources through the UI

flat steeple
#

how to add custom mdi ?

carmine moth
carmine moth
vapid field
carmine moth
#

Very much appreciated! I'll just sorta leave the fans as-is for the time is in hopes that the "rounded slider" change gets added to the fans in a (hopefully soonish) release, or HACS even. Thank you!

vapid field
#

@carmine moth do you have hacs?

carmine moth
vapid field
carmine moth
vapid field
carmine moth
vapid field
#

rip

#

beat me to it

#

and yes it acn

#

can**

carmine moth
#

HA! Yes. I literally just stumbled across that about 3 mintues ago, but was uncertain if it'd allow me to use a FAN entity.

#

I'll likely use HACS to try it in a bit. That'd be amazing if I could. That's one of the two remaining items on my HA "wishlist" before I'm actively searching for new things to add.

#

Appreciate you pointing the way!

mild veldt
#

And as Bram notes at the bottom of the PR, we're debating on dropping the round-slider all together

carmine moth
carmine moth
mild veldt
#

Working it into designs typically makes use have to sacrifice functionality/usability

#

It's an ongoing discussion though as we don't really have a concrete alternative yet

carmine moth
#

Gotcha. Well. Shit. So many of the UI decisions I've made since beginning with HA (only a few weeks ago) have all heavily leaned on these rounded sliders for various purposes whether it be the look of the thermostats, dimmers, FX lighting, etc. Curious to know if it gets replaced what the alternative would be. I hope not mere horizontal sliders as those just look like they came from programmers, not UX people. Trying to find that happy balance.

#

I do appreciate the clarification / info. This is all super cool stuff.

mild veldt
# carmine moth Gotcha. Well. Shit. So many of the UI decisions I've made since beginning with H...

Couldn't say. While I agree that the round sliders look nice, they are kind of chore to use for things like setting temperature and brightness; and fan speed as well.
Start with temperature; typically you want to move it 1 or 2 degrees. Using the round slider to do that typically ends up in you over/under shooting your target and having to slowly readjust. To me, just some clean +/- buttons near the current set temp makes a lot more sense.
Then look to lights. Same thing. I want to set the lights to 50% or any number besides 1%/100%. Getting to that number tends to be a chore. I think +/- buttons could work there as well, but would probably have them with a step option so that you can step 10% at a time or something.
And fans are even simpler than that as they just have a few set speeds to choose from

carmine moth
mild veldt
#

we'll see what comes of it. The other option is of course to keep the sliders and add additional buttons for such functionality

#

I believe that's what Google did (which is where the Material Design inspiration came from )

karmic tiger
#

IMO, sliders should only be used when there's a large number of steps too. That gif on the PR is a little odd, with having only 4 states for each slider.

#

That's a job for radio buttons.

mild veldt
#

I mean, I get it. It fits the current aesthetic to use a round slider where you have a variable input. But the round slider is also a space hog, a chore to scale and imprecise for most applications.

#

I would personally vote for it to be removed

karmic tiger
#

Or at least for there to be a choice of styles.

mild veldt
#

that sounds like a maintenance nightmare 🤣

short steeple
keen belfry
#

Hello all

#

I have some issues with my icons in lovelace, some of them do not change color depending on their state while others do.

#

For instance, some climates do and others not

#

The climates of my valves do change colors but my generic climates do not

mild veldt
#

@keen belfry state color is dependent on of course your state and depending on the card used, the configuration as well

keen belfry
#

Thanks for the answer. I'm using entities card in both cases for my climates.

cunning gorge
#

I've just noticed that Lovelace views can have their visibility set per-user, but there's currently no way to do that with the Dashboards themselves, correct?

keen belfry
#

I'm not sure but I thing I figured out why climates icons are not behaving the same way. That may be due to the hvac_action attribute which does not exist for my valve climates.

mild veldt
cunning gorge
#

Gotcha, thanks. For my immediate purposes I think I can do a lot of what I need by just setting default dashboard and hiding others from within the app/user preferences on my kid's phone.

keen belfry
#

And figured out the sensor icon issue too. A sensor has many values so it cannot has only 2 states. I changed them to binary_sensors and now it's working. Thank you very much.

shell topaz
elder pendant
shell topaz
#

ehm, thx but i can't understand it

#

should i read this .js file and find it there?

elder pendant
#

You need to download that js file. Right click the link and click "save link as"

shell topaz
#

yes, i have downloaded the files

#

and put into config/www

#

now i am at the next step 🙂

elder pendant
#

Are you using YAML mode or UI configuration for lovelace?

shell topaz
#

UI

elder pendant
#

Then (make sure you have Advanced Mode ™️ enabled on your user profile page first) click the configuration icon in the sidebar, then go to Lovelace Dashboards, click on the Resources tab at the top, then click the "add resource" button in the bottom right corner

frail bridge
#

Is there a way to get a conditional coloring for a button card with an entity?

#

I have a printer, and I want the button to be red when it's not idle

shell topaz
#

THX, that is always difficult for the first time 🙂

#

and the first step in configuration, where should i add this new card type?

shell topaz
#

ok, i understood this as given by Villhellm and entered in the resources tab

#

where to enter this
And add a card with type custom:weather-card:

type: custom:weather-card
entity: weather.yourweatherentity
name: Optional name

karmic tiger
#

Add a new card, choose type Manual.

shell topaz
#

aaa ok, this already goes to the card....

#

Error: Custom element not found: weather-card 😦

mild veldt
#

you don't have it installed as a resource then, or you just created your www folder and didn't restart afterwards

shell topaz
#

have restarted. if i enter the url myha:8123/local/custom-lovelace/weather-card/weather-card.js it opens the js file

#

haha, reloading brower did the trick

#

works now!!!!!

#

HAPPY

echo rapids
#

Hi there how do I combine 3 cards into 1, ie i want two cards to be vertical, underneath each other and the 2nd card horizontal next to to first top one

karmic tiger
#

Use the horizontal stack and vertical stack cards.

buoyant mango
#

Hi, for some reason I fail to make a simple button which selects the next option of an input helper:

type: button
tap_action:
  action: call-service
  service: input_select.select_next
  entity_id: input_select.hallway_light_mode
  data:
    entity_id: input_select.hallway_light_mode
entity: input_select.hallway_light_mode

Can someone please point out why HA is complaining: Failed to call service input_select/select_next. must contain at least one of entity_id, area_id.

karmic tiger
#

Your data: needs to be service_data:

#

You can probably remove the first entity_id: too.

buoyant mango
karmic tiger
#

Some service calls will let you define the entity at the 'top' level instead of under data as a shortcut.

#

I don't think it applies to all services. And certainly in the case of cards, you need it under service_data anyway.

buoyant mango
#

Now it works! Thx a lot!

tranquil nest
#

Where is the recommended place to store images for person entities?

#

I've seen quite a few tutorials recommending to put images in config/www, but that doesn't seem right to me since that directory isn't protected by HA auth.

elder pendant
#

I don’t think it’s currently possible to store files behind auth

shell topaz
#

Hi there 🙂

hybrid jackal
#

i want to ask something for new grid card. is this correct chanel

#

i want to have in 1 row only one column (1 big card/button) and on each next row to have 4 columns

#

is this possible

vapid field
vapid field
wheat current
vapid field
#

rip i didnt read properly XD

tranquil nest
#

@wheat current of course! Too easy. Do I need to reboot after uploading? The image shows in the configuration settings but not on the Lovelace dashboard as a badge.

wheat current
#

clear cache maybe, but no restart

#

if it does not show after that, you are probably overwriting it somewhere

tranquil nest
#

Ok right I probably still have an old yaml config

stoic widget
tranquil nest
#

@vapid field I believe the /www folder is not protected by authentication, that’s why I was looking for an alternative location.

tired vigil
#

I used to use lovelace-background in a theme yaml file to set a background picture, but this no longer seems to work. Any suggestions on how to set a background picture now?

stoic widget
#

background: >-
center / cover no-repeat url("/local/images/wallpaper-dark4.jpg?v=1")
fixed

#

I use that in my yaml

halcyon arrow
#

Hello. What should I do to make that my light entities don't change their icon color if I change the physical bulb color?

copper mural
#

Gah, what do I miss in this simple code?

type: conditional
conditions:
  - entity: input_boolean.datarum
    state: 'on'
  - entity: binary_sensor.niklas_rum
    state: 'off'
card:
  type: entity
  entity: light.baksidan_vagglampor

That entity card should just be shown if input_boolean.datarum is on. But its visible even if its off 😦

#

@halcyon arrow In what card?

halcyon arrow
copper mural
#

@halcyon arrow state_coloris false by default. So you might have set it to true ?

stoic widget
#

Yabba, have you tried 'true' instead of 'on' for the input_boolean

copper mural
#

@stoic widget No, but as the gui say "current: 'off'" it should be on/off 🙂

#

No difference tho.

stoic widget
#

I had to clear my browser cache after I made a conditional card in order for it to not show by default

halcyon arrow
lean wyvern
#

Hi, I just installed the Google Dark Theme from HACS but I'm not able to create these "titles" like in the screenshots :
https://i.imgur.com/DiSx9KQ.png

Any idea how to do it ?

narrow falcon
#

hello everyone

green peak
#

I'm using media browser to show local .jpg files. It doesn't seem to show thumbnails so I have to click each file to see it. Is that currently by design or is it a bug?

echo rapids
karmic tiger
#

What have you tried so far?

compact flame
#

Hello guys.
I'm running HA on Docker.
Is there a way to include my nodered (also running in docker) on the "side" bar in HA?

elder pendant
#

Yes

tight steeple
#

Can anyone help me, I'm trying to center text on a markdown card but I only want to center it left to right not top to bottom too

lean wyvern
#

Hi, I'm trying to use the swiss-public-transport-card from agners (https://github.com/agners/swiss-public-transport-card) but I can not make it work...
As informed in the readme, I took the "still in development" swiss-public-transport integration from the PR (https://github.com/home-assistant/home-assistant/pull/30715) and put it in the custom_components
I downloaded the swiss-public-transport-card.js (from here : https://raw.githubusercontent.com/agners/swiss-public-transport-card/master/swiss-public-transport-card.js) and put it in config/www/ and then I added this into my configuration.yaml :

    name: Zürich Hardbrücke
    limit: 6
    stationboard:
    - Zürich Hardbrücke, Bahnhof
    - Zürich Hardbrücke```

After all that, it's impossible to add the custom card to the UI :
https://i.imgur.com/ld1aBdL.png
https://i.imgur.com/jwSQNaL.png

Have you any ideas how I could solve this problem ?
dense hamlet
#

Hi @lean wyvern , I have the same problem.

karmic tiger
#

Impossible to add? You haven't shown anything that says there's a problem.

#

It just says there's no visual editor... which is true for a lot of custom cards.

lean wyvern
#

Yea, but usually its only a warning, here its an error and it prevent me from creating the card.

desert delta
#

I currently have a fullsize floorplan on my wallpanel, and I would like to add some panels on one side, so the floorplan only takes about 80% width. Is that possible?

karmic tiger
#

Yes

desert delta
quick narwhal
#

Quick Bar question guys... When using Quick Bar, every word begins with capital letter. On Lokalise it is ok (i.e Navigate to {panel} configuration), but in front end it is Navigate To {panel} Configuration. I am not sure if I should report that as bug. Any advice?

#

It may looks fine in english, but in other languages it looks totally weird.

gritty trench
#

I'm having a weird problem.. everything that requires a local connection (node red, terminal, even the file editor) all give me a 401: unauthorized

#

Anybody know what would cause this?

gritty trench
#

NVM I fixed it. I had http misconfigured and it messed everything up lol

echo rapids
#

Hi there i want how do i remove the toggle swicthes on a entity card for each switch on the card

winter blade
#

@echo rapids You want to hide all the switches in that card? or only the top switch that controls all the other switches?

iron locust
#

how can I access a file in /config/www from a web browser?

#

ah, hassio.local:8123/local

vapid field
iron locust
#

oh my, that's pretty

karmic tiger
#

One would imagine 'lukevink' would know.

#

You took that image from their HA config repo, so try looking through their config 😉

regal peak
#

How do I edit the circles at the top of the dashboard?

arctic pumice
#

in the card settings

#

on top

#

they are called badges

tight steeple
#

Can anyone help me, I'm trying to center text on a markdown card but I only want to center it left to right not top to bottom too

arctic pumice
#

can someone tell me whats wrong here - entity: binary_sensor.gate_reed tap_action: action: call_service service: switch.toggle service_data: - entity_id: switch.gate

tight steeple
#

call-service not call_service I believe

arctic pumice
#

thanks got it working

lucid bronze
#

Can I resize the Home ''Zone''? I want to make it a bit bigger, I can't seem to resize it

#

I can make new ones and resize but the default home I can't click on the edit button :S

lucid merlin
#

hey, i ended up doing a complete new install of HA and my issue is when i install a something like lets say buttn card, i used to get the option to reload lovelace but now i don't. what am i missing that i forgot?

lucid bronze
#

What type of install version is it

#

paste in the instructions you used or link to download that will help direct you to right channel

versed mica
#

Switches on an entities card will switch their icon to yellow when on. The same switches on an entities filter card, will not switch the icon color. Is that just the way it is?

lucid merlin
#

@lucid bronze i had followed the HACS install and then I went to frontend on hacs and installed a custom card. on my old install when i did that it would install the files and then ask me to reload lovelace ui which i would. my new one is not doing that however.

arctic pumice
#

im using thomasloven's browser_mod and i want to setup popups but even tho i set deviceID: - this it opens at every devices which have opened home assistant not just my device any idea whats wrong ?

balmy shore
#

Hello 🙂

#

I have an animated background on my setup, the problem is that it prevents my tablet to display the screensaver :(
Any workaround?

elder pendant
#

It's kind of designed to be that way

balmy shore
#

oh ok, I can't use it then, I don't want the screen to be always on

dense roost
#

can someone instruct me - is there a way to hide the top title bar? I am running a tablet with fully kiosk

stoic widget
#

kiosk mode from HACS is what I use

dense roost
#

thanks - I'll check it out

indigo shuttle
#

I have a markdown card with a for loop.
I want to only show an addon if update_available is true.

I tried adding an if statement, but this does not seem to do anything.
https://hastebin.com/umokesalex.shell

My gut feeling says it should also be possible to add a condition to the for loop rather than an extra if condition

serene kindle
#

I'm not sure if this belongs here or in Automations, but, I'm hoping I can get a "history: view (or graph) of what Zones a given user (or device) is in. I do have the companion app going, and I can get e.g. geofenced locations, and the "history" on the map card works

#

I'm thinking I may need to create a template entity? Possibly based on an entity (sub?)property? Or, may I need an automation that a template item or helper gets switched by?

#

(Or in integrations)

tawny vault
#

I have a relatively custom integration that is constantly logging information which is to me unnecessary given it's doing like every hour no matter what. How do I work out how to exclude it?

#

In the logs it's coming in as [root] so not sure what I have to add to that to exclude. I obviously don't want to exclude everything from root

#

e.g.

2020-12-09 04:34:50 ERROR (SyncWorker_18) [root] MideaClient::send_api_request: errorCode=3106, errorMessage="invalidSession"
2020-12-09 04:34:50 ERROR (SyncWorker_18) [root] MideaClient: trying to login again due to invalidSession error...
mossy linden
#

Hi everyone, wondering if anyone has would should be a very simple answer to a common resource issue which I have looked up for hours with no luck. I have a core installation on a Pi. I am trying to add a custom card via a JS module and Lovelace can't seem to locate the resource even after it was added under the Resource tab. I've located the JS module under my /home/homeassistant/.homeassistant/custom_components directory and the only thing I have figured out is that the web server isn't going there at all.... Would love any guidance or ideas... https://www.dropbox.com/s/q1ps4wjl9rb133a/error.png?dl=0

tawny vault
#

what card are you trying to add?

#

custom:content-card-example there no such card. This is literally the example from the dev guide on making a card

mossy linden
#

Correct. I have the script added as a . js resource. My issue is that Lovelace can't find/load the resource. Ty.

karmic tiger
#

Ctrl+F5

#

Also... that path it's trying to load looks way off.

#

custom_components is where you put custom integrations, not cards.

#

You also wouldn't specify the entire path from the root of your machine - only the relative external path that a browser will look for.

mossy linden
#

Agree, I'm just running a local load test.

karmic tiger
#

Load test? You're not testing anything, you're just doing it wrong 🤷‍♂️

#

If you're installing cards manually, put them into config/www, making sure to restart HA if www didn't already exist.

#

Then when you tell Lovelace where to find your resource, remember that config/www maps to local.

mossy linden
#

You hit the nail on the head. Can you just idiot proof for me, where does config/www go?

tawny vault
#

there should be a folder in your HA's config directory. If there isn't you can create it

karmic tiger
#

Only you know that, since you're not running the image-based install.

#

Find configuration.yaml and you'll know you're in config.

tawny vault
#

I'm still not sure what exactly you are trying to achieve though 😅

karmic tiger
#

They just want to run a custom card. Any custom card.

mossy linden
#

Got it. Under my local home folder I need to add the config/www.

#

I am reasonably smart (not) and couldn't find that in any docs

tawny vault
#

not home as your pi's home folder. where the rest of your ha file are locate

mossy linden
#

I got it

#

Really appreciate the help

#

And I'm just proving the thing works and off to write some custom cards.. thanks again

tawny vault
mossy linden
#

100%. Hacking in to my Vista 20p panel via AlarmDecoder and replicating all the Pulse app functionality. Need custom cards to do it

tawny vault
#

Now that's actually interesting! I have a very old alarm system but still looking for ways to integrate it

prime summit
#

Is it possible to change the display of the octopi integration data from XXXX s to hh:mm:ss format?

mossy linden
#

Check out AlarmDecoder.com and then the AlarmDecoder HA integration. I got this to work on a Raspbian core install with my old ADT Vista 20p panel. Pretty cool tech

tawny vault
#

Just saw the price of those adapters. That's insane

stoic widget
#

The only advantage I see to the AlarmDecoder thing is retaining your wired OEM keypad?

mossy linden
#

Quick overview and answer to both questions. Yes the AlarmDecoder board isn't cheap. I went with the simple USB serial board. It's WAY better than Konnected.io. Konnected.io replaces the alarm panel. They also have an "interface" board that wires directly into an addressable connector on the Vista 20p (which is the most common and legacy Ademcoalarm panel in the U.S.). After a ton of panel programming, the Konnected "interface" will give you zone readouts. The AlarmDeocer is better (much). Some brilliant guy figured out that you could emulate an panel "keypad" and simply build a board to connect to a panel. If you have ever seen an ADT Vista 20p digital keypad you know that it displays everything the panel has to show. And it of course accepts input keystrokes. The AlarmDecoder simply hooks in as a new "keypad" and can instantly see everything going on. You can also use the AD board to send commands right back to the panel (arm, disarm, chime, bypass, etc). It works. When it comes to HA, I've noticed that most alarm system integrations involve the developer rigging up a manual Alarm Display panel and basically building out code to emulate an alarm system. The AD and the integration I've set up allows LIVE access bi-directionally to the Vista 20p panel. It's pretty cool. https://www.dropbox.com/s/e3ujnpm4oq3rl98/AD_Vista20p_HA.png?dl=0

sacred gyro
#

I'm running latest hassos. Trying to create a new lovelace view, starting from a blank template. When I click to 'Add Card' the UI is frozen, and no matter what I try to click on, after maybe 3 minutes it comes back with trying to add a different card than what I clicked on. CPU is < .5%. any idea?

#

I got lucky on my alarm system, my house is wired with Interlogix NX8E. Bought the right cable, Serial->USB and not only can I control the alarm but I get sensors for every door and window and motion in house

serene kindle
sacred gyro
#

From the same browser, I can access my HomeAssistantCore installation that I am migrating from and it works fine

serene kindle
#

I'm a HASS beginner and don't know much, but, might be worth checking the dev. console in the browser, see if you're getting anything in the JS console logs

#

Might point to a missing resource, etc

tiny oyster
lean wyvern
#

Hi, is there a way to contribute to the mobile integration sensors translations ?
Because it gives me results both in french and in english...
https://i.imgur.com/Nk7VSbS.png

stoic widget
#

BabaYaga, use Kiosk Mode from HACS

tiny oyster
#

kiosk mode, dont kill the menu

#

I have kiosk installed

#

@stoic widget

karmic tiger
stoic widget
#

installing kiosk mode and making it work are two different things. you need to add the code to the raw Lovelace editor

tiny oyster
#

ok i was finking about the app kiosk

#

lol

#

i will try it

#

can i set it by user?

stoic widget
#

yes you can

tiny oyster
#

@stoic widget that was very usefull thanks

serene kindle
tiny oyster
#

hmmm

#

Component error: kiosk_mode - Integration 'kiosk_mode' not found.
20:49:33 – Hass.io (ERROR)

stoic widget
#

Do you have HACS installed?

tiny oyster
#

yes

#

i did install with hacs

#

im restarting the server

stoic widget
#

Restart required

#

... beat me to it

elder pendant
#

It shouldn't require restart...

#

and it seems like you tried to put that config in configuration.yaml

tiny oyster
#

hmm still

#

Component error: kiosk_mode - Integration 'kiosk_mode' not found.

elder pendant
#

It's not an integration.

stoic widget
#

You put the lines in your Lovelace editor?

tiny oyster
#

ok its done

#

you are right i was putting in configuration.yaml

#

now its very nice

#

😄

#

thanks

karmic tiger
#

Got your IP. Starting the hack now.

elder pendant
#

I'm already in the main frame

tiny oyster
#

now i need to find a way to dim screen when there is no movement
and detect movement and light up the screen

#

ahah its a internal vlan ip address

#

soo

#

good luck

#

xD

#

you see....testing devices 1 and 2...ip 1 and 2

#

😅

karmic tiger
#

192.168 is internal? I never knew

tiny oyster
#

yup

#

it is

shell island
#

Hi group! hope all is done fine today!

#

I would like to use the state of an entity as the value in a card

elder pendant
#

What value of what card?

shell island
#

I have an entity called "power_highest_consumption_today" which outputs a number I would like to set as the MAX value in my gauge card of currently using watts

karmic tiger
#

It will let you use templates and existing state as values in cards that normally don't allow templates.

shell island
#

thank you mono

#

but I've tried to run the entiti as {{power_highest_consumption_today}} and I can see that the code is run but the syntax is wrong so I think it can be done on this card 😦

karmic tiger
#

That's not a valid template...

#

It's not a valid HA template... plus that card doesn't use HA templates, it needs JavaScript.

#

"${states['sensor.power_highest_consumption_today'].state}"

shell island
#

hmm... thank you .i think I understand, but that doesn't work 😦

#

thank you for trying though!

karmic tiger
#

Did you follow the rest of the instructions? You need to tell the custom card which entities to watch.

stoic widget
shell island
#

I think so:
'''type: 'custom:config-template-card'
card:
type: gauge
entity: sensor.real_time_consumption
name: Price
severity:
green: 2000
yellow: 6000
red: 10000
max: "${states['sensor.power_highest_consumption_today'].state}"

kind shellBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example

Don't forget you can edit your post rather than repeatedly posting the same thing.

For over 15 lines you must use a code share site such as https://paste.ubuntu.com/ or https://www.hastebin.com/.

mild veldt
shell island
#

thank you so much iantrich og mono! hooray!

marsh sentinel
#

Can I get rid of the "padding" or white space to the left of a grid card? I would like to use all that negative space it adds to the left 🙂

#

If my view starts with a grid: it's getting pushed too far to the right imo

mild veldt
#

the grid card itself does not have padding? are you just talking about the positioning of cards in general in a view?

marsh sentinel
#

@mild veldt I'm just comparing two different views that I have. One that starts with a simple entities card and another that starts with a grid

#

no other customizations that I know of

#

the one that has an entities card will fit 4 columns whereas the grid one can only fit 3 columns on my screen

#

if it's not due to the grid card, I'm not sure what's causing it.. I haven't fiddled around with css or anything

mild veldt
#

@marsh sentinel I'm guessing you have a lot more cards in the other view. The layout stuff is somewhat finicky. I would wager if you added more cards you would see it eventually split to 4 columns. Not saying that is the right approach, but that is how it currently handles it

marsh sentinel
#

@mild veldt yeah, that's it.. I had to add some more stuff and it automatically got pushed to the left.. I thought I tried that but I must have added my test object to an existing grid 🙂

#

thanks

stoic widget
#

"Where's the remote for the Roku?!"
Input select to choose which Roku
Conditional cards with grid cards for the layout
https://imgur.com/a/RLR2AWP

#

Question becomes, is there a better way? Preferably to make the buttons smaller?

elder pendant
mild veldt
#

I personally just use button cards now 🤷‍♂️

#

I find it funny for all the custom cards Thomas and I have made, we both are now running vanilla frontends 😄

#

But also a testament to how far Lovelace has come

flat steeple
#

hi how to use custom mdi ?

sacred gyro
#

there is no such thing as custom mdi?

#

mdi are material design icons which is a published project of icons that are contributed by the community

simple grotto
#

Hi, I have an automation that is trigger my lights off and I can't for the life of me figure out which one. I wanted to see my log book to see which automation is triggering the lights to go off but there hasnt been any logbook data for 2 weeks - I dont think I've changed anything so I am wondering why logbook isnt working anymore?

#

I have

# Logbook (For History)    
logbook:

In config.yaml

#

all my entities show "No logbook entries found."

vast frost
#

hello ! 🙃

#

I want to parse a date-time coming from the robot vacuum like this: 2020-12-10T08:38:07 into just a time string to add to an entity card... how can I do that?

stoic widget
radiant drum
wanton rover
#

hey guys, i have a bunch of sensors and only want them to show up if the windows/doors are open, how can i do that? I remember doing this before
but cant remember now

elder pendant
wanton rover
#

that's not what i want

stoic widget
#

Sounds like you want badges to be conditional

#

Not sure if that's a thing

wanton rover
#

that's it

#

the entity filter, thanks...haven't played with HASS for 6 months and forgot it

#

type: entity-filter
state_filter:
  - 'on'
entities:
  - entity: binary_sensor.wyzesense_778b162c

#

I got this working now, how can i keep the entity-filter card always visible?

stoic widget
#

You could add a sensor that basically never changes state.

nova field
#

Hello, hopefully i have the right section, apologies if not. I have accidentally deleted a card which i had made a few modifications too. I have regular backups, but was wondering is it as simple as copying a particular file across or access to obtain the code? what file is the code from cards written too?

dark dirge
#

cards live somewhere in config/www

#

depends on where/how you installed it

nova field
#

@dark dirge i apologise, but im still new to HA. I just go through the dashboard and add a card but then go and select SHOW CODE EDITOR

dark dirge
#

oh, you mean a configured card. If you're configuring Lovelace via the UI, the cards and layout are stored somewhere in .storage. I configure Lovelace manually through Lovelace, so I don't know how it easy it would be to grab it out of there

karmic tiger
#

If you already broke something, it's probably already updated to the new copy in .storage.

#

Old version is gone 🤷‍♂️

nova field
#

where is .storage? can i not grab it from my backup

karmic tiger
#

.storage is a hidden folder within your config.

nova field
#

found it. thank you. I will have a look at my back up and hopefully recover 😄

karmic tiger
#

It might be better to switch to YAML and use version control (like git) to track changes to config. Then you can always undo/recover changes.

nova field
#

yes, i shall look into that as well. Thank you

#

@dark dirge @karmic tiger All sorted... thanks guys. 😄 😄 😄

arctic pumice
#

tap_action: dont work for sensor card right?

dark dirge
arctic pumice
#

oh right

#

i use that cards 😄

vapid field
#

i have added some cards from HACS but they are not appearing in my add card menu. what am I missing?

#

i see them listed in config / lovelace / resources

stoic widget
#

I seem to be in the habit of taking a snapshot, making changes, then restarting HA. So, I always suggest a restart after something you have changed doesn't appear to be doing what it should. Others say I am crazy, but 60% of the time, it works every time.

vapid field
#

lol well i've added these cards weeks ago

#

when i was browsing and meant to start using them but only now just realized they aren't available

#

several restarts since then

#

i feel like i need to add a directory somewhere :T

stoic widget
#

You may have the resources pointing to the wrong place.

#

I can look at my resource paths when I get home

vapid field
#

oh okay

#

appreciate any help 🙂

stoic widget
#

/hacsfiles/simple-thermostat/simple-thermostat.js

#

Mine are referenced like this

vapid field
#

yeah mine look the same

stoic widget
#

I believe you can also reference like /local/community/simple-thermostat/simple-thermostat.js

vapid field
#

just aren't populating in the 'add card' menu

#

do i need to add manual card and use the editor to make them work?

stoic widget
#

Maybe... Come to think of it, I think I created all of mine manually the first time, then they showed up after that

#

I am still new to this, so I do 100000000 things and forget 9999999999 of them

vapid field
#

haha same

#

i have been trying that and haven't seen success yet. will keep plugging i guess

stoic widget
#

Wait for someone proficient in lovelace to chime in. I am hacky at best

hallow mango
#

@vapid field hacs cards don't usually show up in the menu

#

you'll have to specify them with type: 'custom:abc-card-here'

vapid field
#

oh okay

#

thank you

fallow oak
#

Can I add css-vars to the default theme?

simple grotto
#

Hi, I have an automation that is trigger my lights off and I can't for the life of me figure out which one. I wanted to see my log book to see which automation is triggering the lights to go off but there hasnt been any logbook data for 2 weeks - I dont think I've changed anything so I am wondering why logbook isnt working anymore?

eternal flume
#

Hello, is it possible to remove the current temperature shown in the weather card? I have my own sensor so I dont need it....thanks!

eternal flume
#

Alternatively would it be possible to have the current temperature attribute in the weather card get its information from my sensor rather than from the weather entity?

versed kettle
#

I want my door/ window sensors to show on my HA dashboard only when they are open. Is there a way to do this in the UI, and if not can anyone recommend a noob guide? Thx

karmic tiger
#

Conditional cards

#

There's also the entity filter card, and custom cards that do similar.

versed kettle
#

LOL conditional worked great. Thanks man!

Is there a way to make two conditional cards to appear as one card? For example, if both of my doors are unlocked, I want them to appear as one card instead of two separate cards.

pearl hound
#

Hello, i have an old backup from my homeassistant (v103) with a json lovelace file. What would be the easiest way to import it to my new homeassistant (v118)? RAW mode only supports yaml

elder pendant
#

json is valid yaml

#

but there are also converters online

vapid field
#

is there a way to add links to configuration sections from the sidebar?

elder pendant
dark dirge
elder pendant
#

The downside to that is it requires a restart of HA for any changes

vapid field
#

thank you

hallow mango
#

can you not edit input texts from a lovelace card? I've just got one in an entities card

#

ah, had to set a value manually first 👍

runic heath
#

Does anyone know if it’s possible to disable zoom on the HA dashboards when using the companion app? It’s just a small thing but would be nice if it didn’t zoom in every time I entered text 😂 thanks!

hallow mango
#

I'd just like input selects to expand better near the bottom of the screen

karmic tiger
runic heath
#

Ok. Thanks. I asked in the #ios_and_mac-archived channel already and they told me to ask here 😂 I guess it used to be disabled in the past they said but now it’s not 🤷🏼‍♂️

dark dirge
#

do you have an example of that? I haven't noticed

runic heath
#

It usually happens whenever I go to type something. Like if I’m trying to quickly edit an automation while I’m away, it zooms in on the text entry and then when I try and zoom out by pinching, it’ll often make the page refresh, which means I then lose my changes

karmic tiger
#

When you browse your dashboard on Chrome/Firefox/IE/Edge, it doesn't do that.

#

When you browse it in the app, it does.

#

It's the app.

dark dirge
#

weird. it doesn't do it on my phone, but it's an XS Max

karmic tiger
#

The apps are just webviews but that's where you'd lock any zooming.

dark dirge
#

if I edit the description of an automation, for example, it just pops up the keyboard

runic heath
#

Dang.... guess I’ll try the app again. Thanks guys

prime summit
#

Is there a way I can display a reading from a temp sensor in C while leaving the rest of my stuff in F?

dark dirge
#

I believe that you can give it a specific unit_of_measurement

prime summit
#

does that actually change the units, or just change the postfix?

#

oof, this was an auto discovered MQTT sensor

#

and I see the data is coming in as C in the devtools ->States

#

but then in the card it gets converted to F

#

oh wait, JK

#

it is coming in F

dark dirge
#

It should convert the value. It’s one of the few times when the unit_of_measurement is important

prime summit
#

so if it was an auto discovered device, I didn't config it at all in any yaml

#

can I adjust the attribute still?

dark dirge
#

You can still customize it

prime summit
#

ok, using customization.yaml file or just in the lovelace card code?

dark dirge
#

customize.yaml, or through the UI

prime summit
#

hmm... does not seem to have changed it

#

I set Unit of measurement in the Customize UI for my entity to °C

#

hmm, apparently the º in the °F was not the correct UTF8 code

#

Now it's working great! Thanks

simple grotto
#

Is there any reason why my Logbook would not be recording any data?

stark vigil
#

How do you suppose it isn't?

#

95% of the time I think it isn't is because the time on my computer is different from the time on the server running HA

zenith crescent
#

How can I remove the media browser, and other default items, from the menu drawer?

supple linden
#

On a History Graph style card, is there a way to remove the text from the right side of a switch entity? I'd like the times to line up with the other two graphs (temperature and humidity) in this screenshot: https://ibb.co/fC8F9yn

supple oracle
#

Hi i have a sensor with multiple attributes and can't figure out how to place them on a lovelace card

#

For example the sensor is washing_machine_status and the state is currentEnergyConsumption.
It is not working like this:
value_template: states.sensor.washing_machine_status.attributes["currentEnergyConsumption"]

#

configuration check gives me always: expected <block end>, but found '<block mapping start>'

karmic tiger
supple oracle
#

ok thx

mossy otter
#

is there a way to view my lovelace custom components thing? I keep getting errors saying I have custom header intsalled but I got rid of it through HACS ages ago

golden eagle
#

Does anyone have any ideas on how to create a graph/element like this in Lovelace? https://ibb.co/b58R5WS

The idea is to have a visual representation of my thermostat's settings, with min, max, target, and current temperatures. None of the cards I've looked at seem to work for this use case.

karmic tiger
#

You're probably looking at using something like the custom button-card, which despite its name can actually present almost anything you want.

golden eagle
#

@karmic tiger I was looking at that actually, but didn't know if there was a better/simpler way. If I have to manipulate button-card into doing it, then so be it.

karmic tiger
#

Well if there's no current card (default or custom) that does what you want, you only have a couple of options. One is button-card, the other is to create your own custom card.

golden eagle
#

I'm not sure I have the time or skillset for the latter. Button-card it is. Thanks!

edgy canopy
#

Hello everybody! Is it possible to use the Thermostat card without any entity ?

#

I've an air cooler that work with an infrared remote. I already have an Ethernet arduino listening to an MQTT topic. So, to set the room to 20°C, I just have to publish in MQTT. No climate entity. So I'm stuck and the temporary solution (one button for each temp value) is ridiculous but working. Does someone has an advice ? Thanks!

rough trench
#

I go to scenes. enter a name, select two devices, press the save-icon. save icon goes away.
go to automations. go back to scenes. my scene is now gone..?

what am I doing wrong? :)

rough trench
primal idol
#

Hello I am trying to have 3 different YAML dashboards available.. This is what I have in my config.yaml;

kind shellBOT
primal idol
#

The 'middle' one (iphone.yaml) does not exist. I have no clue what I am doing wrong..

brisk surge
#

Hi, I am using Picture Card for displaying camera stream. All works fine but when disconnecting/reconnecting my wifi network the stream disconnect and do not know to automatically reconnect. There is only small blue question mark icon in Picture Card. Then only HA app restart fix the stream display. Any idea? Thanks

versed kettle
#

I am using Entity filter to display when door locks are unlocked, or when windows are open. Currently I have to have two entity filter cards because I can not add two different types of entities into the same card. This isnt really a problem, but now on my dashboard even if there are no doors unlocked or windows open I have two blank areas instead of nothing. Is there a better way to do what I am wanting, or is this limited?

uncut arch
#

I hope this is the right place for this. I installed accuweather and am trying to get the data to show up in the lovelace weather card, but accuweather is not a listed option. Do I need to add something to the config yaml file?

karmic tiger
#

Are you sure you set it up correctly already?/

uncut arch
#

I see the entities: Home
weather.home_2
AccuWeather

Home Cloud Ceiling
sensor.home_cloud_ceiling
AccuWeather

Home Hours Of Sun 0d
sensor.home_hours_of_sun_0d
AccuWeather

karmic tiger
#

Then you know what to add to your weather card.

#

Entity ID will be weather.home_2

uncut arch
#

oh - ok - thank you

#

I was looking for an entity called AccuWeather 🙂

sonic gust
#

Is there a way to get information on the "SW" reading from a shelly1? I followed this tutorial (https://www.youtube.com/watch?v=WEZUxXNiERQ) to get Shelly to to read position of reed switch (shelly app shows blue icon depending on reed switch/magnet). But the only info I can see in HA integrations is the state of the relay. I don't care about relay state, I only care about reed switch state...

shell island
#

Hi all lovely people! Is there a way to have a slider in the TITLE card of an entity card to dim an entire group of lights?

kind shellBOT
#

@echo rapids 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.

karmic tiger
#

You've done that plenty of times now. I suggest you familiarise yourself with #rules before posting again.

shell island
#

I am looking forward to the update! Exiting times ahead. HA rocks!

limber pine
#

Does anyone have any good ideas on how to exclude/avoid the spam of "Window/door was closed/open" upon restarting? Or a way to exclude it in the logbook?
My first thought is to have it ignore any entries including this sent X minutes after restart in the logbook, is that the best option?

simple grotto
#

Is there any reason why my Logbook would not be recording any data? It hasn't recorded anything for "2 weeks" and none of my history is saved on any entity like it use to

uncut arch
#

I am trying to install a custom card and it tells me to add this to the configuration.yaml:

resources:
//When using HACS installation method

  • {type: js, url: '/hacsfiles/garbage-collection-card/garbage-collection-card.js'}
    //When using manual install method
  • {type: js, url: '/local/garbage-collection-card.js'}

When I do that, I get this:

Error loading /config/configuration.yaml: mapping values are not allowed here
in "/config/configuration.yaml", line 151, column 10

Is there something I am doing wrong?

hallow mango
#

install it via hacs @uncut arch

uncut arch
#

Thanks for the response, @hallow mango. I have installed teh integration via Hacs, does that mean I don't need to create a ui-lovelace.yaml?

I'm a little confused, sorry

#

I also installed the card via hacs too

hallow mango
#

no, installing through hacs should be enough

#

have you tried adding the card in lovelace?

#

don't worry about adding that stuff to configuration.yaml either

uncut arch
#

Thank you so much. I got it working. Is that the same for all custom cards?

pearl hound
#

Hi, iam trying to lod a custom .js file to my lovelace from older version. Dont i have to add it just to the resource with /local/filename.js as module? In older version there was also javscript as type available

edgy canopy
stable phoenix
#

Can I see what a card does for a particular button? I have a card that's autogenerated for my Panasonic OLED, and it has a button to switch it on/off. It always works. But when I manually use self.turn_on in AppDaemon, it doesn't work. The Viera integration has issues and so that might be why (the TV also shows as always on even when it's off). But the button on the card always works, and I'd like to know what it does so I can replicate it.

#

I tried editing the card, but all I can do is re-order things or remove it.

hallow mango
#

@uncut arch pretty much. afaict, anything you install with hacs just needs a restart/reload to work

torpid echo
#

Zack's demo on drag and drop is cool. Can't wait to try out the custom components...sadly the weekend is over here

pearl hound
#

Hello, Iam using a custom .js javascript function in a lovelace card. This worked in 103 and doenst in the newest HA version. I added the file to the resources as javascript module. But Frontend says it cant find the function, am i missing something?

#

using

name: |
  [[[
    return "vor "+toStringElapsed(states["variable.test"].attributes.test);
  ]]]
karmic tiger
#

Which function? toStringElapsed?

#

That's not a JS function. How are you defining it?

vapid field
#

New to Home assistent and installed it today. When I try to add devices and entities to Lovelace I get the following message "You don't seem to be in control of any dashboard, please take control first. Anyone knows how to fix this? I have restarted HA and also created a new panel and set that as standard panel but the problem remains

karmic tiger
#

Edit the dashboard, take control

humble walrus
#

Hello,
I have been working on getting lovelace to work properly on an iPad 2 with 9.3.5 and thanks to an update some time ago it is able to properly load the gui. However, entity cards with images do not load and show a grey image with a small image icon. I selected images from my web server, but perhaps there is a limitation to the hardware of the iPad, which cant handle the current configuration. Is there maybe an alternative solution to get images to show up on the iPad? Interestingely the RING camera view does show properly.
Thanks in advance!

languid axle
#

this seems like it should be simple by i am not sure where to start. I want to make a card with buttons 1-9 and each button publishes a mqtt message to the same topic with that digit. What would be the best way to do this

#

got it figured out

pearl hound
#

@karmic tiger thats a custom function, definied in time-helper.js

function toStringElapsed(testvar)
{
 ...
}

and added to resource via /local/time-helper.js
this worked in HA 103 so far for me

vapid field
#

Ah, you men that I have to create an empty Dashboard?

karmic tiger
vapid field
#

hi

#

does anyone know how I can call a view from a scipt for example

#

like on a certain event go to that view, the event would be something happening on underlying os

#

lets say

radiant bear
#

Is there a list of Cards that support Header and/or Footer?

vapid field
#

anyone know how i can hide a card for all users in a view

fathom vault
hoary lava
#

anyone know what might cause this? 2020-12-13 16:09:12 ERROR (MainThread) [frontend.js.latest.202011112] https://a.b.net/frontend_latest/chunk.d7ce65414e9c07df6f20.js:2:20908 Uncaught TypeError: Cannot read property '_leaflet_pos' of undefined

compact flame
#

hey 😄 where would be the right channel to ask sth about scenes :D?

bitter anvil
#

Trying to figure out everything else (famous last words) but have not been able to get custom entities to work in lovelace...

Tried to install auto-entities. Followed the instructions, installed via HACs, added the repo to lovelace, and am getting 'custom elemtn doesn't exist: autoentities:
https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
I feel like i am doing something very obvious incorrectly

mild veldt
kind shellBOT
stark vigil
#

How do I get the X close buttons off of the wrong side of the modals?

smoky haven
#

I think I saw a demo today during the conference where someone showed the integrations page and the integration had a red error message on it. Am I remembering that right? I'm a backed/core person and i'm interesting in raising some error messages like that when the integration i'm working on gets stuck in a bad state. Can someone give me some pointers? I'm reading through ha-integration-card.ts but nothing is popping out to me

#

whoops, i think this was meant for devs_frontend

bitter anvil
#

I copy/pasted the example for the page and am still getting the error:

type: custom:auto-entities
show_empty: false
card:
type: glance
title: Lights on
filter:
include:
- domain: light
state: "on" # Remember that "on" and "off" are magic in yaml, and must always be quoted
options:
tap_action:
action: toggle

#

Error: Custom element not found: auto-entities

#

and i am 99% sure I installed it correctly/added the resource

#

Nevermind, I am 99% sure I am stupid. 🙂

humble walrus
#

And currently only a generic (error) image is shown on the iPad

bitter bolt
#

is there any kind of tv remote card that is customizable with buttons i can assign to any kind of event/script?

fathom vault
signal spear
#

Hi there. After the last upgrade (from 2020.11.xx to 2020.12.0) I can't start lovelace anymore. When I open the app or the web interface, it says: 404: Not Found. I have tried several possible solutions I found online, but none did the trick. I can still reach it's files and folders by samba share and it seems that it's still running since I see records populating in the logs too. Any help is appreciated. (Running HA on a Pi3).

tough quiver
#

is it possible to just hide the view selector of a certain dashboard?

#

i intend to have view loading done via some custom buttons, not the header thing

placid radish
#

Hi everone, is there a way to set a light's transition time when brightness/color changes are made through the lovelace light card? It's clear how to do this when making a service call, allowing for smooth transitions, but not sure how to do this from lovelace. When I pick a color or adjust brightness it just jumps to the selected setting.

livid kelp
#

Not sure if this is the right thread. Sorry if not. I want to use a fire tablet to display Lovelace dashboards for family members. What is the best way to do that? Can I put a link to a dashboard on a device without exposing the whole HASS? Possible to have the device open right to that dashboard? Thx.

placid radish
spice ledge
#

Hi everyone. I have tested 3 different tablet but all are slow and freeze. Toi much Time to refresh my Lovelace. I have searched but not found recommandation... Can someone suggest great tablet with good performance to load companion app and Lovelace quickly ? Thanks a lot.

elder pendant
#

I went through 3 different tablets (with the same issues that you described) before I bought an ipad. It's been solid for a year now

spice ledge
#

Thanks for answer. Which model do you use?

#

I Heard about Amazon fire 8 hd plus.. but don't know if it will be good or not

elder pendant
#

Fire tablets are pretty much garbage in my experience. The exact model of ipad I got is A2197

mild veldt
#

Fire tablets are cheap for a reason

spice ledge
#

Thank you

#

Fire tablet. Out

#

Will look for an iPad

#

I use to use fully kiosk that's why inwas lookign for Android tablet

elder pendant
#

I just use the companion app

mild veldt
#

I use a Lenevo X230. They are super cheap on Ebay

spice ledge
#

Lenovo x230 is ok with companion app?

mild veldt
#

No, just use a browser

#

It is running Ubuntu

spice ledge
#

@elder pendant is it possible to launch a spécific page of Lovelace through nodered or ssh on companion app?

spice ledge
elder pendant
#

I think you can with the browser mod custom integration

mild veldt
#

fully kiosk is Android only

spice ledge
#

Wright

#

Thanks for the answer

#

Will look for those models

mild veldt
#

And unfortunately, no one really makes good Android tablets anymore

spice ledge
#

I have this model at home

#

Model yoga tablet 2-830f

#

Do you think i Can put linux on it ?

mild veldt
spice ledge
#

Ok it's à tablet pc

#

Cheap of course

mild veldt
spice ledge
#

Yep 😜

#

when i see my pocophone x3 it runs terribly fast with companion app

humble walrus
#

Any idea which formats HA supports for card photos?

#

jpeg doesnt work either! What...

#

Okay. So appearently my way of converting webp to png wasnt the right way... Now it works just fine! Still weird that it showed fine on some devices but not on the iPad but now it does

livid kelp
livid kelp
# elder pendant I just use the companion app

Actually, IOS has useful function under accessibility called Guided Access. Essentially, you can pin lock the device to run a specific app. User can’t escape to the full device OS without pin code.

mint geode
#

Hi guys, I've updated to 2020.12.0 and I can't find the option for changing the number format, already cleared the frontend cache on mobile and my browser cache on my PC. It doesn't come up.

mint geode
#

ok, but there will be? Because it hurts my eye if you're not used to it looking like that 😄

mild veldt
mint geode
#

ah jesus, I didn't see it was still open, sorry, my bad...

#

On another note, any news on the google-nest hub cast problem where it resets the view every 10 minutes or so?

soft turret
#

Hi, hopefully the right channel(seems to be frontend related), but I wanted to ask if I'm the only one, who has interesting ha-svg-icons under add-on stage? It seems, that these icons should be as icons, but are shown as string. https://i.imgur.com/R1ZpWv1.png

mild veldt
#

nvm, found it

#

yeah, see the same here

kind shellBOT
bitter anvil
#

Well, that was too long----
Howdy---
Working on an auto-entities (which I got working after being dense...) and now trying to either hide icons or force all entries to be the same icon. Any ideas how to add in a hide icon or force icon into code?

hollow coral
#

is there any way to sync sidebar order and shown/hidden status between various app installs/users?

#

i want the fam to have the same view as me without having to collect their phones when I make a new dashboard or whatever

mild veldt
hollow coral
#

@mild veldt aight, thanks

fathom vault
#

I have a glance card showing an input_boolean, and Im trying to add a tap-action so itll just toggle when clicked. Having trouble figuring out what format the service-data field should be in.. https://paste.ubuntu.com/p/MXbM3vJ6fy/

#

ignore that, its service_data not service-data 🤦‍♂️

hallow mango
#

you can also just do:

...
tap_action:
  action: toggle
...
```@carpii#9156
icy patrol
#

is there a way to see how long a light has been left on for the 24 hour period?

icy patrol
#

ahh ok, thank you - is there a more effective method - have a lot of lights

novel onyx
icy patrol
#

i would like to know the total time the light has been on for in the 24 hr period - but would like to the value for each light

novel onyx
#

Ah, you could set up InfluxDB and run a query against it to output the data in an array to parse, but that's probably MUCH more involved than History-stats with a dose of copy+paste

icy patrol
#

thank you! i might take a stab at the influxDB and get some nice looking graphs going

#

which perhaps maybe i can compare days with

pallid needle
#

Since updating to 2020.12 the front end no longer loads on my phone

#

I've tried both chrome and dolphin, I've cleared my cache and I've tried a domain I reverse proxy and an ip address

#

any thoughts on what else I can try

#

I don't see anything in the logs

#

omg I was on the wrong network

#

it's working

onyx wolf
#

Okay, dumb question but I can't find it anywhere in the docs: how the heck do I display a dashboard on a tablet? Is there a different port to use?

thick dagger
#

anyone got a link to a doc that explains the benefits of using an area

#

vs using groups

#

or what the purpose of an area is meant to be used for

#

@onyx wolf what kind of dashboard are you referring to?

onyx wolf
#

Lovelace

thick dagger
#

I mean you can just have it load your normal HA dashboard

#

or create a new user with non-admin rights

onyx wolf
#

Okay, is the normal 8123 a dashboard then? I thought that was the configuration page

thick dagger
#

yeah

#

thats the port for all of HA

onyx wolf
#

Ahh. Probably something that should be in the docs somewhere for idiots like me then 🙂

thick dagger
#

🙂 no worries there duder

onyx wolf
#

Is there a way to have one auto login without a user? Say for a tablet so I don't have to wander around each time the power goes out?

thick dagger
#

you can save the login to it

#

it asks you when you login

onyx wolf
#

k, I'll give this a shot then. Thanks 🙂

thick dagger
#

the community behind HA is amazing

onyx wolf
#

That's what I've heard. I must admit, it's one heck of a lot more difficult to setup than I expected after all I'd read

thick dagger
#

its a lot easier than it used to be

onyx wolf
#

I've got a single sonoff basic r2 that I flashed Tasmota to and it's taken more about 8 hours to get it sort of working

thick dagger
#

hey you got mqtt working

#

thats a huge step

onyx wolf
#

Yeah, that SetOption19 thing screwed me up for a few hours lol

thick dagger
#

yeah

#

took me a bit on that one

onyx wolf
#

Do I have to set that manually after each boot of the Tasmota?

#

Ahh. I get it. The browser saves the user/password so I'll still have to go around to each tablet after a power failure. Dang it.

thick dagger
#

No no need with tasmota

fallen badge
#

What could be the cause of ex Automation UI stop showing the entity_id tab when I select a service? Like this: https://imgur.com/a/7mSBug7

#

Removed data: {} from the buttom automation and now it seems to work for all my automations. The thing was that the bottom automation stopped every automation to show up correctly in the UI editor. And the bottom automation was also made in the UI editor so I'm not sure what went wrong here

#

Nope, not working. When I try creating a new automation it just do the data: {} and breaks the editor again

brisk bramble
#

Good morning, I'm playing with an image processing integration, and it has updated the summary state of it, but I'm unsure how I display this on a tile

rich root
#

Hi All, would anyone be able to help me with an install problem. I'm trying to install on my Mac to set it up as a server but I keep getting an error saying "WARNING (SyncWorker_1) [homeassistant.bootstrap] Cannot launch the UI because frontend not loaded"

split granite
bitter bolt
#

what can i add as a card or something that will give me options to press to toggle different scripts, with one script on each line?

dusty spear
#

I'm clearly missing something obvious, but I've installed kiosk mode and set a dashboard to kiosk: true. How do I edit it now?

split granite
bitter anvil
#

Not sure if this is the right place to ask?
Integrated my Bond Bridge - the light entities that came in are not seen as regular lights- 2 lightning bolts for on/off. Is there a way to just have it be recognized as a normal light or switch? Trying to add it to a auto-entities card and want all formats of the entities to match

The red arrow: https://drive.google.com/file/d/1nWHXrE1q5q7rSi-OTQgpYgIATMCdGaCa/view?usp=drivesdk
(The green arrow too, but not the right place to ask)

fierce vale
#

if you go to configuration -> entities, is there a sorting possible for also the area on your systems? mine is puzzled up. Sorting for all other columns works as designed but not for areas. Correct?

#

anybody to confirm?

solemn narwhal
stoic widget
#

Has anyone built a keypad in Lovelace? I want something I can recycle for alarms, locks, whatever I come up with that I want to enter a code in order to activate. Just trying to figure out best practices for holding the code until I hit OK and then comparing that to a stored code value.

bitter bolt
#

can someone please help me out incorporating a working script into a grid card snippet?

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

i don't know how to parse my syntax properly. i plan on making a grid card TV remote and i would rather do it by using this service rather than making a dozen different scripts for each remote button.

stoic widget
#

I have a couple of issues with the built-in one:
too small for my fat fingers when on a phone or tablet
I am fairly certain I will end up confusing myself calling states "armed_away" when referring to the cat feeder (Not an actual use example, but I can see my kids dumping 100lbs of food out if I build one and don't put it behind a password)

bitter bolt
#

yes!!! thanks. 🙂

dim harness
#

hey, is it possible to create template sensors from the frontend directly?

#

I have a slightly related second question, too: what's the proper approach for "binding" a sensor value to input_number element in the UI? the concrete example I'm trying to do is to allow modifying the "intensity" attribute for WLED lights from the frontend

#

so my current understanding is that I need four separate steps to make that happen:

  1. create input_number which reads the current state from the light,
  2. use sensor template to extract the state attribute containing the value for #1,
  3. bind the extracted sensor to the #1's input_number and
  4. create a button to do a service call based on the value of this sensor

am I on the correct track here? 🙂

bitter bolt
#

is there a way to add color to my grid card or do i need to learn how to use the theme dropdown?

solemn narwhal
bitter anvil
#

Anyone know how to change an entities 'switch' on a card? or force all entities to have the same control?

solemn narwhal
mild veldt
mild veldt
mild veldt
dim harness
#

@mild veldt okay, thanks! will hop templates to ask how to proceed with the binding

junior cave
#

Hi everyone not sure if this is a right channel so feel free to send me to a correct one. I have an ONFIV capable camera (used as a baby monitor) and have integrated it via ONVIF component in Home Assistant. I also have configured Nginx Proxy Manager, so I am able to access HA instance remotely via a (sub)domain I own with a LE cert. Now, I want to be able to send the video stream to an Android TV (Sony Bravia with Chromecast built in). I am going through the documentation but I cannot find a way to stream the camera to the TV directly. Google Cast integration casts only the views/dashboards but I am trying to cast the stream. Are you able to point me in a right direction, pretty please 🙂 ?

bitter bolt
solemn narwhal
bitter anvil
solemn narwhal
wicked breach
#

Hi everyone, got a quick question about the Plant Status card. Does anyone know if it's possible to put those cards into a grid? When I do so it scrunches the text of the 4 parameters (moisture, illuminance, etc) into the center of the card, and I don't see a way to spread them out more. Seems like a waste of space to me

solemn narwhal
bitter anvil
#

is that what you would have done for customization? actually rebooting now-- had some fun zwave fun this morning "fun"

solemn narwhal
#

The the assumed_state: false should not be necessary when the assumed_state checkbox is available.

bitter anvil
#

besides that... i was double doing it since it didnt seem to work the first tinme

solemn narwhal
#

You might have to clear browser cache, then change the value of assumed_state. That is what I had to do to change assumed_state back to false.

bitter anvil
#

wellllll wellll welll
It seems that your configuration.yaml doesn't properly include customize.yaml.
Changes made here are written in it, but will not be applied after a configuration reload unless the include is in place.

open seal
#

Hi guys,
I'm having a hard time adding a custom lovelace card.
So I have a barometer.js file, that I placed in /config/www/barometer.js on the Resources page I added the file as /local/config/www/barometer.js then in the UI editor I added a custom card with the following config:

entity: sensor.pressure
apitoken: 'xxx'
apiBaseUrl: 'localhost:8123'
minmaxhistory: 3```
And the card doesn't appear, I get the following error: `Custom element doesn't exist: barometer.`
What am I doing wrong? Is there a button to reload the resources?
wicked breach
solemn narwhal
open seal
#

@solemn narwhal there I only have Edit Dashboard and Help

#

Home Assistant 0.117.0
HassOS 4.15

bitter anvil
#

Setup failed for customize: Integration not found.
12:35:43 PM – setup.py (ERROR)

solemn narwhal
solemn narwhal
# open seal UI

Go to Configuration -> Lovelace Dashboards -> Resources -> add Resource

open seal
solemn narwhal
bitter anvil
solemn narwhal
open seal
solemn narwhal
open seal
#

yep thats what I'm trying. of course I entered barometer-gauge-card as the name, I just wrote barometer here on Discord to make it shorter

solemn narwhal
open seal
#

the strange thing is the resources list doesnt give me any feedback if the file exists or not

bitter anvil
bitter anvil
#

REBOOTING

bitter anvil
jade imp
#

From where does the text elements in front end come from? Are those part of js files linked with strings?

umbral harness
#

https://pastebin.com/ByrmbU8w
is this the best way to jump between first/second floor with picture-elements card? ideally i would be able to click on anywhere on the stairs and jump between first/second floor.

digital lynx
#

Is there a way to show an input_select as a static value in the lovelace? Now i can change it with a dropdown. I just want it to show the current state in the card without being able to by accident change it