#frontend-archived

1 messages Β· Page 123 of 1

unreal wind
#

hassio on a raspi 3b

#

drag and drop doesnt work

civic sedge
#

samba addon?

unreal wind
#

no not yet

#

i read something about using SSH and some other thing

civic sedge
#

ssh curl or weget would be also easyer

unreal wind
#

okay ill write those down and check it out tomorrow. im pretty beat its late. thank you so much you HA god

civic sedge
#

lol that was just a little newbie help

#

just help the others when youre into it later πŸ˜‰

unreal wind
#

well you are very much appreciated

#

and i would love to, i cant wait

#

GN πŸ˜ƒ

frigid mortar
#

can you display multiple custom elements (namely custom:mini-media-player) under one big card?

frigid mortar
#

vertical stack works better for me, thank you anyway for pointing in the right direction

civic sedge
#

oh yea - mixed it up
almost everybody forgets the official cards 🀣

atomic glacier
#

@polar kelp I tried to install it late last night and it gave a persistent notification that it failed to setup.

polar kelp
#

From hacs?

atomic glacier
#

Also, The correction for the popups worked with a few changes, but anywhere I used auto-entities in a popup, it did not display. The card would show, but it would not populate

#

no manual

#

haven't checked HACS, yet. Should I install from there? before I reboot?

polar kelp
#

OOOOoooh! I see what's happening...

#

I get that error too... just didn't notice 😊

#

It still works, though.

atomic glacier
#

Ahh...never checked because I thought it didn't LOL

polar kelp
#

There we go. Fixed

atomic glacier
#

Just looking over the updated readme for changes. 😬 Stop lovelace_gen from breaking all the yaml which is not in lovelace... Glad you tagged me sir...

polar kelp
#

It didn't break the yaml itself, really... just the parser

civic sedge
#

wwhat is it..?

polar kelp
atomic glacier
#

new lovelace_gen component

civic sedge
#

that looks fun - ll save at least 400 lines in my floorplam

atomic glacier
#

@polar kelp I tried wrapping the auto-entities popup in an entities card but this is all I got...https://imgur.com/a/IursQYu was just showing the background and nothing else before

...still haven't figured out the mysterious app-toolbar color change yetπŸ€”

polar kelp
#

margin: 0 seems to be part of the problem... try removing it

#

sigh I hate css

atomic glacier
#

that's what I tried on that one. Gotta leave for work, I'll test a few more things and see what happens tonight and let you know. Thanks!

hot gyro
#

hey gyuys is there na issue with lovelace and mdi icons that carry a hyphen ?

#

eg I try to use icon: 'mdi:coach-lamp' which doesnt work if I replace it with speaker it does

#

hmm odd - spotlight-beam works

atomic glacier
#

Just a colon after mdi

#

No hyphen

#

mdi:lightbulb

hot gyro
#

I know the hyphen is in the name but it doesnt seem to be the hyphen either

#

it seems to be that icon, others with hyphen (-) work

polar kelp
#

Umm... was that added to the set yesterday?

hot gyro
#

not sure where to find the history of the icons tbh

polar kelp
#

Seems it was nine days ago...

#

You can try that, or wait for 0.97 or 0.98 or so.

hot gyro
#

aah ok didnt know the icons were actually part of the distribution

#

thanks - will give that a go

frigid mortar
#

whats the easiest way to add whitespace/a separator between entities in a type:entities card?

polar kelp
#

A divider

frigid mortar
#

cool, but i'm not able to style it

#
 - type: divider
   style: 'height: 1px, background-color: red'```
#

that just doesnt show anything

polar kelp
#

semicolon, not comma

polar kelp
#

@atomic glacier I just released a new version of browser_mod. It'll probably help with the scrollable popups.
Don't use height: 100%. That messes things up. Just width: 100%, margin: 0 and box sizing.

strong falcon
#

does anyone have any examples of cards they use for water/leak sensors? Looking for ideas

clear reef
#

@mild veldt thank you for the explanation. Perhaps I just need some guidance to learn the hassio system. I work in IoT were we collect data from a customer's BAS system then run that data through a MQTT broker then on to an analytics system. I was trying to do the same thing for my house. Where would one go to view docs on this system from a Noob point of view?

mild veldt
#

On analytics or the frontend display of data?

vernal gazelle
#

@atomic glacier thanks will try the custom gap card

clear reef
#

@hot gyro I think that will work for my home use. At our corporate level we are using a custom built software to 'listen' to various BAS protocals such as BacNet, Modbus, Lon, etc

hot gyro
#

Sure but then you need parsers making sure the protocol is collected etc which may be overkill - if you want to use your own software nothing stops you setting up a broker and oublishing all events and have your tool listening for any mqtt events but may take longer to get all that setup I’d think

clear reef
#

@mild veldt the corporate level used both dashboards, and back end data to develop a solution for energy savings and personal comfort.

atomic glacier
#

@polar kelp cool, I'll give it a shot when I get back to the house. Thanks 😁

vernal gazelle
#

@atomic glacier worked like a charm thanks again

atomic glacier
#

@polar kelp A+ πŸŽ‰ πŸ’₯ πŸ”₯ ⚑
Scrolling Popups!!!! Awesome job!!! Thank you sir! 🀯 A few adjustments on just a couple of them and I can get my repo updated. (of course, I'll need to add a few anchors first 🧐)

#

Will finally have a ui-lovelace.yaml with only one view needed😁
(instead of the 46 I used to have πŸ€ͺ)

mild veldt
#

@atomic glacier only problem is that popups don't work with the new cast πŸ™

atomic glacier
#

True. I haven't had much time to fool with it yet, but I couldn't get a panel view to work eitherπŸ€”

mild veldt
#

No it does not

atomic glacier
#

Ah, that's why then. Guess I'll hafta have a couple of views for cast at least

mild veldt
#

Yeah, same

unreal wind
#

Can anyone help me with migrating folders from my computer into my custom_components folder?

split granite
unreal wind
#

oh thank you

tough quiver
kind shellBOT
tough quiver
#

oops lol

#

Anyway, So i have that as my ui-lovelace.yaml

#

which is erm, not right.

#

(I suspect I've done something wrong)

polar kelp
#

Do you get anything in your browser console?

tough quiver
#

there is one: uncaught exception: Object

#

firefox doesn't want to be much more help than that.

#

is there something specific I have to do to tell it to re-generate a ui or something?

#

(tried CTRL+SHIFT+R, and "Refresh" in the three dots is missing when its rendering like the image i posted)

#

nothing in hass logs either.

#

(Which is set to error logs)

tough quiver
#

hmm, more interesting.

#

I copied in my old ui-lovelace and it, obviously, works fine.

#

So then I just copied over the new one (from the paste.ubuntu.com above) on top of ui-lovelace.yaml and it seems to be working

#

πŸ€” very odd.

polar kelp
#

weird

tough quiver
#

but if i modify the file in away it goes back to the imgur link way again

#

πŸ€”

polar kelp
#

Does it work if you don't add # lovelace_gen ui_lovelace.yaml, but to one of the included files?

mint geode
#

Has anyone had problems with picture glance pictures not updating upon a state change? After I reload the page it shows the correct picture.

tough quiver
#

@polar kelp I'll give that a try.

#

welp, it' still just doing what the imgur link was. @polar kelp

polar kelp
#

Oh!

#

That's a difference between the two. !include now works the same as the built-in one - it's rooted in the directory of the current file.

#

I.e. if you want to include lovelace/my_view.yaml from ui_lovelace.yaml it's !include lovelace/my_view.yaml.

tough quiver
#

yeah i already did that.

#
  - !include lovelace/new_home.yaml
#

first thing i did was update all my !include to have lovelace/ in them

#

if i !include something within the new_home.yaml does that also need to have lovelace/ ?

polar kelp
#

Does that file include other files?

tough quiver
#

yes...

polar kelp
#

No. All includes are relative from the current file

tough quiver
#

Ah!

polar kelp
#

And apparently including a file that doesn't exists doesn't give an error, but crashes in the worst way possible... I'll have to look into that

tough quiver
#

yeah its totally fine now

#

🀦

#

my new_home.yaml also has a # lovelace_gen is that necessary?

#

welp, doesnt seem to be necessary

polar kelp
#

# lovelace_gen is necessary in any file using lovelace_gen features. !include (without arguments) is not one of those.

tough quiver
#

Ah right, I'm only using !include not Jinja2 or any !file stuff in there so that makes sense.

polar kelp
#

There. A new version of lovelace_gen has been released.

#

What I think happened for you was that generating the lovelace setup failed without an error message, so Home Assistant fell back on displaying /states instead.

frigid mortar
#

can you change an icon of an entity depending on its state, eg. changing the icon of a lamp that is on to another one and when its off back to the default one

#

?

polar kelp
frigid mortar
#

thanks

polar kelp
#

I'm thinking of adding an emoji to the descriptions of my plugins on github to make them recognizable in hacs catalog. Is that a bad move?

#

πŸ”Ή perhaps

mint geode
#

Has anyone had problems with picture glance pictures not updating upon a state change? After I reload the page it shows the correct picture.

tough quiver
#

@polar kelp it definitely looks nice

#

lol

#

@mint geode I often have issues with my picture entity cards set to camera with view set to live not actually updating just staying on the first frame they displayed.

wheat current
#

Do it, do it, do it @polar kelp πŸŽ‰

mint geode
#

Need to check if there's already an issue open. Thanks!

main meteor
#

How to remove the config bar on the left, i now get double.

elder pendant
#

What change did you make that caused that to happen?

brisk steeple
#

I have a hopefully quick question. I "accidentally" enabled the config UI, and can't seem to go back to the normal mode. I deleted the lovelace file in .storage, and rebooted, but I'm still missing the option to check config and restart.

elder pendant
#

In your profile settings there is an option to enable advanced server control

brisk steeple
#

Advanced mode is/was enabled. I did disable, and re-enable it.

polar kelp
brisk steeple
#

AH!

That makes sense. I updated HA last night, and haven't had to config anything since. You are wonderful, thank you

brittle eagle
#

Hey guys, would anyone know how to change the scale that cards a displayed on cast? Can only see 3 full blown cards, i'd like to scale just like zoom in the browser to say 50%

potent compass
#

hi, i'm having toubles with my history. if i press the history tab it's just blank and it keeps on loading but nothing apaers. somebody that got the same error? i need to get his working because i watn to show a graph for temp.

elder pendant
#

Check the home assistant log for recorder errors

pliant eagle
#

Does anyone know if you can display a message to the user with an actionable option in Lovelace? For example a popup that says, about to enable the alarm press button to cancel?

#

@potent compass this is a Lovelace channel.., but I think the issue might be your dB got to big or not setup properly are you running on Pi3? If you got many sensors and weeks of data it will take a while to load

prime umbra
#

you can do that using browser mod

mint geode
#

Is the pop-up display for media players-, climate-, entities cards, ... in lovelace supposed to not work when casting from HA?

potent compass
#

@pliant eagle i have 2 sensors and i'm running HA on a PI3

polar kelp
#

Ugh! Another breaking bug in lovelace_gen. Who'd have though ripping things out of the Home Assistant core and stuffing in your own ones would be so hard?

#

Version 4 should not ruin packages that contain !secret.

#

Haha! Cool. You can search for πŸ”Ή in hacs to find my things

vapid field
#

good evening.
I start with HA. I can not understand how to install a card like mini-graph-card-bundle.js.
with you a link to advise me to learn the principle of personalization cards? thank you very much in advance

lean wing
#

It seems that your configuration.yaml doesn't properly include customize.yaml
Changes made here won't affect your configuration. whats does this mean , trying to customize an entity icon and its not taking effect

buoyant portal
#

@lean wing have you tried using the UI to customize entities by going to configuration>customization (nothing to do with lovelace)

lean wing
#

@buoyant portal yes I tired , but after a restart of the sever the icon just come back to default and the display the message as follow .....It seems that your configuration.yaml doesn't properly include customize.yaml
Changes made here won't affect your configuration. above customizing entities

errant plover
#

Make sure you have this in your configuration.yaml file: ```
homeassistant:
customize: !include customize.yaml

vapid field
#

Hi is there a way to enable a debug log for lovelace UI ? I am trying to find out why all my history graphs for all devices and history_graph cards are broken. would that be in the homeassistant.log ?

ember crow
#

@lean wing as Tom said add what he listed. By default new installs of HA don't have the homeasssitant: part included anymore as it classed as a advanced use and needs to be added manually

vapid field
#

ooh possible breakthrough, chrome browser shows this error -

fetch-with-auth.ts:20 GET http://jarvis:8123/api/history/period/2019-08-06T03:00:55.230Z?filter_entity_id=sensor.hvac_setpoint,sensor.inside_temp,sensor.outside_temp,sensor.pool_temperature&end_time=2019-08-09T03:00:55.230Z 404 (Not Found)
#

its getting a 404 not found for the history graph

vapid field
#

derp... i somehow deleted "history:" from my configuration file.

#

😩

opal jay
#

hi, im kinda big noob atm with HA ( would love to get experienced someday ) but i need to start from scratch obv! so far iv added lights within a group and so on but id like to be able to get this https://github.com/kalkih/mini-media-player

wheat current
opal jay
#

i dont know how to add this to the yaml

#

Add a reference to mini-media-player-bundle.js inside your ui-lovelace.yaml.

polar kelp
#

There are two different ways of doing that. Both described in the link above.

#

@wheat current A beer say's there'll be a token question.

wheat current
#

Token? πŸ€”

polar kelp
#

"Unexpected token <". But I just realized that won't happen with mini-media-player...

wheat current
#

ahhhhh, that one πŸ˜„

#

It still can, I have seen a lot of folks not getting the file from the release..

polar kelp
#

But it's not available from anywhere else

wheat current
#

true

#

I must be thinking of another card with the same distrubution logic

opal jay
#

i made a www into /volume1/hass.io/hass.io/homeassistant/www

#

into that www i copied mini-media-player-bundle.js

#

after that i go to /volume1/hass.io/hass.io/homeassistant/storage and theres a "lovelace" file

wheat current
#

stop

opal jay
#

with some entities like light.tv.woonkamer

wheat current
#

restart HA

#

Then use the raw editor to add it under resources (see the GIF on the wiki)

polar kelp
#

Yeah. You shouldn't poke around in .storage/lovelace manually.

opal jay
#

No card type found
{
"resources": [
{
"url": "/local/mini-media-player-bundle.js?v=1.2.2",
"type": "module"
}
]
}

#

whenever i put this in the toggle editor :
resources:

  • url: /local/mini-media-player-bundle.js?v=1.2.2
    type: module
timid burrow
#

don't touch that file unless you want a lot of grief

opal jay
#

hehe i wont anymore :p

wheat current
#

"toggle editor " != raw editor

opal jay
#

yea im using that toggle editor now and put that line into it but im getting no card type found

opal jay
#

ahhhhhhh

#

Your config is not supported by the UI editor:
Expected a value of type undefined for resources but received [{"url":"/local/mini-media-player-bundle.js?v=1.2.2","type":"module"}].
Falling back to YAML editor.

wheat current
#

Why are you trying to add your own steps to the guide?

opal jay
#

?

wheat current
opal jay
#

ahh just did that, restarting ha now

wheat current
#

no need

#

For lovelace the only time you need to restart is one time after creating the www folder

opal jay
#

ahhhh okayy

#

damn

#

welll thx very much!! πŸ˜„

#

well i just need to get a start how to make things like this

#

im a noob

#

but this is a good start! πŸ˜ƒ

wheat current
#

"pro" tip, get hacs, it will do most of the "heavy lifing" for you πŸ˜ƒ

opal jay
#

hacs?

wheat current
opal jay
#

pro tip for a noob :p

polar kelp
#

Pro tip for everyone

opal jay
#

there's no community on my sidebar in ha

timid burrow
#

did you install HACS?

wheat current
#

Wild guess: no

timid burrow
#

lol

opal jay
#

got it ! πŸ˜ƒ

#

starting to feel like a HA pro alrdy

opal jay
#
  • entities:
    - entity: light.tv_woonkamer
    - entity: light.eetkamer
    - entity: light.gang
    - entity: light.zolder
    - entity: light.pc_2
    - entity: light.woonkamer
    - entity: light.achtertuin
    title: Licht
    type: entities
    url: /community_plugin/light-entity-row/light-entity-row.js
#

i get an error with the url |:S

wheat current
#

yeah... that's not how any card works ;)
Read the documentation for the card you are adding πŸ˜‰

opal jay
#

When installed, this will be located in '/config/www/community/light-entity-row', you still need to add it to your lovelace configuration ('ui-lovelace.yaml' or the raw UI config editor).

When you add this to your configuration use this:

  • url: /community_plugin/light-entity-row/light-entity-row.js
    type: Could not determine the type of this plugin, check the repository.
#

this is what it states

wheat current
#

That is not the documentation of the card ;)
And that is for the resources: only

opal jay
#

i added it through community

wheat current
#

no

opal jay
#

installed*

wheat current
#

You "installed"(downloaded) it

#

"you still need to add it to your lovelace configuration" == you have to add it πŸ˜‰

opal jay
#

i tried to do so in the raw editor of ha

opal jay
#

resources:

  • type: module
    url: /local/mini-media-player-bundle.js?v=1.2.2
  • type: light-entity-row
    url: /community_plugin/light-entity-row/light-entity-row.js
#

is that good?

wheat current
#

no

#

type needs to be js, module or css

opal jay
#
  • type: light-entity-row.js
    url: /community_plugin/light-entity-row/light-entity-row.js
wheat current
#

" light-entity-row.js" is not one of the 3 possible values I said..

opal jay
#

so it should be js i guess

wheat current
#

Don't guess, look in the repository (like you where told to do)

#

" type: Could not determine the type of this plugin, check the repository."

opal jay
#
  • type: "custom:light-entity-row"
    entity: light.eetkamer
    showColorPicker: true
    showColorSliders: true
    url: /community_plugin/light-entity-row/light-entity-row.js
#

still something wrong here

#

if this is the way it should be..

wheat current
#

@polar kelp You like to modify stuff, do you know if plugins (That have editors) can "hack" their way into the card selector in the UI?

polar kelp
#

Should be doable.

wheat current
#

That would be cool/usefull πŸ˜„

polar kelp
#

Listen for the "show-edit-card" event, and just add a button that sets the .cardPicked property of hui-card-picker.

#

I'm planing to start looking at editors for my cards once my PRs for the lovelace editor are merged...

wheat current
#

Cool cool! I think I have a plugin somewhere with an editor I can test that with πŸ˜„

opal jay
#

i cant seem to get it working:s

short edge
kind shellBOT
opal jay
#

doesnt work ;/

#

i dont understand what to do with this anymore:s

#
  • type: module
    url: /community_plugin/light-entity-row/light-entity-row.js

this works

radiant drum
#

@opal jay it should be like this ``` - url: /community_plugin/light-entity-row/light-entity-row.js
type: module

frigid mortar
#

so how long does it normally take for the "background task" to finish after installing hacs and switching to the community tab for the first time?

wheat current
#

from 3 to 90 min

split granite
elder pendant
#

That seems reasonable

split granite
#

#330944238910963714 would be a better place to ask, though maybe we need a custom components channel

icy delta
wheat current
icy delta
#

ah thank you. what was i missing? should I have been able to find that on my own lmao

wheat current
#

Not sure where the info is

elder pendant
#

If you are familiar with github, then maybe

#

The guy never updated his repo links when he switched

icy delta
#

yeah i am still new to all of this so still learning. i appreciate the link guys!

pseudo wagon
#

how do you group entities together in lovelace (i.e. google home minis)

split granite
#

What do you mean by that?

#

Put them together?

#

Make them appear as one?

pseudo wagon
#

group them with other items in their area

split granite
pseudo wagon
#

ah i'll check that out

#

thx

split granite
#

The lovelace docs list all the stock cards, and there's more custom cards than anybody can track

pseudo wagon
#

gotcha

warm meteor
#

I currently have a person badge, and created a group.household (with two people in it). Is it possible to create a badge for the group, that is similar to the person one? Such that it has a banner with the status? The current group badge just shows the status in the circle

split granite
#

Yes. See the Lovelace docs about badges πŸ˜‰ I think they're part of view... but I could be wrong

warm meteor
#

@split granite lol youre everywhere. I looked there but didnt see an answer to this specific thing. Im not thinking its possible, but wanted to make sure

small pike
#

@warm meteor I have a group for all devices and I was able to add it as badge but the text beneath it showed only Home which is where most of the devices are but not all

split granite
#

It's certainty possible @warm meteor

wind bronze
#

I'm pretty sure this isn't possible, but is there a way to nest another card within an entities card? I'd like temperature and humidity entities to be side by side within an entities card, but not sure that I can.

split granite
#

Not with a stock card - it might be possible with some custom cards

wind bronze
#

That's what I thought--will look into some of the custom cards

#

Thanks!

radiant drum
#

Hi! doesn't card-modderwork with Home Assistant Cast?

civic sedge
pseudo wagon
#

So i tried using views from that link @split granite but i keep getting an error in my log

#

thats what that part of my log looks like

civic sedge
#

you use yaml mode?

pseudo wagon
#

thats the only mode i see on the docs

civic sedge
#

there is also the fancy new configurator

pseudo wagon
#

what do u mean?

civic sedge
#

well.. you basicly press the 3 dots in the right corner and press edit when I remember right

#

then you see some new icons and just press [+]

pseudo wagon
#

ohh right. the pop up warning saying dont do this

#

gotcha

civic sedge
#

well.. when you want to have an diffrent expirience you have to take the wheel πŸ˜‰

pseudo wagon
#

righto

civic sedge
#

for the new fiew just press the plus in your header

pseudo wagon
#

can u create groups or just use the groups they have

#

e.g all i see is "group.all_remotes" and group.all_switches

civic sedge
#

therefore you have to use some custom cards

pseudo wagon
#

aha

radiant drum
#

i did add http: cors_allowed_origins: - https://cast.home-assistant.io but i get the same result

civic sedge
#

but you can do a hell lot

#

fake news @radiant drum - this config is already loaded - thats why I crossed it out

pseudo wagon
#

wow cool

radiant drum
#

ok.. anyone else got card-modder working with cast?

#

Or does it only work when you dont use lovelace: mode: yaml

civic sedge
#

I got it working with yaml mode

#

@pseudo wagon
past one of these two configs as manual card

pseudo wagon
#

YAML Error: YAMLException: duplicated mapping key at line 31, column -195: cards: ^

#

or are they two separate cards

civic sedge
#

two seperate
but thats not 195 lines

pseudo wagon
#

line 31 it said

civic sedge
#

ah column

pseudo wagon
#

the second one works

civic sedge
#

either 4-26 or 32 -39

#

lets check where I made an mistake πŸ˜…

pseudo wagon
#

ok, looking

#

right now it spits out no error, just blank

#

nothing resolves on the card

civic sedge
#

let one play some music

pseudo wagon
#

ok

civic sedge
#
  - card:
      entity: media_player.entrance_mini
      type: media-control


    conditions:
      - entity: media_player.entrance_mini
        state: playing
    type: conditional
#

the Conditional Card looks up the state you desire and only shows an card when this state is true

pseudo wagon
#

yep that works

#

yay

#

man i wish i had more configs πŸ˜ƒ

civic sedge
#

there are a lot out

#

you can edit the cards and copy out some of the configs

#

I'm off to bed now - have fun

pseudo wagon
#

TY sir!

pseudo wagon
#

anyone know how to resize cards? having an issue finding that

split granite
#

Generally speaking, you can't

pseudo wagon
#

dang. these horizontally stacked cards are so tiny

#

ok..separately: i cant figure out how to stop discovery from happening on 2 devices: homekit rachio (i have rachio added already elsewhere) and HEOS (my receiver)

#

every time i restart the config it discovers these

elder pendant
#

If you are using the ios component you will get those notifications.

pseudo wagon
#

i dont want to use the ios component..how do i disable it

elder pendant
#

Did you enable it? It could also be that you're using the default_config which includes zeroconf (which is actually the component that is giving you the notification)

pseudo wagon
#

i didnt mean to enable it if i did. i have a fairly vanilla config

#

i am using default_config

#

how do i disable it?

#

should i just remove "default_config"?

elder pendant
#

Yes, but you need to check the docs for what that contains. You'll lose a lot of stuff if you remove it and don't add anything back

pseudo wagon
#

ah ok

smoky peak
#

Question. I have a simple webserver running on my home network (not on the same box that runs hassio). If I want to display its page within home assistant, what's the best way to go about that?

gray kernel
#

iframe

smoky peak
#

Thanks

wet pond
#

hi

#

can anyone lend me a hand on how can i add url/config/server_control to home assistant menu?

#

needs to work from outside also

#

lan / outside url

mint geode
#

Is the more-info view (on climate, media-player, ... -cards) disabled when using the new cast-feature?

wet pond
#

ok the answer to my question for who want to do it is this:

panel_custom:
  - name: hassio-main
    sidebar_title: 'Server Control'
    sidebar_icon: mdi:server
    js_url: /api/hassio/app/entrypoint.js
    url_path: config/server_control
    embed_iframe: false
    require_admin: true
mossy otter
#

is there a lovelace thing to change the scripts from "Execute" to something else more context-specific like "Add" "Decrease" "Reset" "Start" etc

mint geode
#

Another question: Does anybody have an iPad 3 to display lovelace? Worked a few months before, haven't checked in a while, Lovelace keeps being rendered blank. I'd guess it is too old to support HA at this time, unless someone got other news?

main meteor
#

Can i have multiple setups of lovelace per device? eg. Ipad, iphone, laptop browser

mossy otter
#

@mint geode thanks bud that's exactly it!

mint geode
#

Is there a custom entities card, where I can specify conditions on a per entity basis?

vernal gazelle
#

you could try this

kind shellBOT
mint geode
#

As far as I understand I can only chnage the name and the icon?

#

I have a entities card displaying all people in our house. If somebody is away, I'd like to show how long he's been away. The second info (how long away) would be a seperate sensor which I would populate once the persons state is "not_home".

#

Ah!

#

Just read again, should be possible with your card πŸ˜„

#

This line I was missing πŸ˜„ - entity: "${vars[0] === 'on' ? 'light.bed_light' : 'climate.ecobee'}"

#

Now I need to learn Java script

mint geode
#

Ok I think I got it. a ? b : c means if a == true then use entity b, else use entity c

#

What a nice little card

#

But can it show no entity? what would the condition for such a variant look like? just leave everything blank after :?

#

What does this mean? Note: All templates must be enclosed by ${} and card type must custom even for core. e.g. custom:hui-shopping-list-cardOnly custom cards are allowed in the cards "body"?

wheat current
#

no

#

"for core. e.g. custom:hui-shopping-list-card"

#

"shopping-list" is a core card

mint geode
#

So this should work?

type: 'custom:config-template-card'
variables:
  - states['person.karin'].state
entities:
  - person.karin
  - person.fabian
card:
  type: "custom:hui-entites-card"
  entities:
    - entity: person.karin
    - entity: "${vars[0] === 'not_home' ? 'person.fabian' : 'person.fabian'}"
#

Ignore the stupid condition on the bottom, just for testing

#

I get the error Custom element doesn't exist: custom:hui-entites-card. with that config

#

LOL

#

typo

#

Ok, the card renders now, but unfortunately you can't configure empty entites, so that's a bummer... 😩

mint geode
#

What about using a hui-conditional-card as an entity in an entities-card then?
EDIT: Works! πŸŽ‰

heavy cove
#

I have a page with horizontal and vertical panels.. but I can't seem to get the GUI editor to edit the items with it in it

#

it just allows me to see the cards, and then interact with them normally, but no editing of them

mild veldt
#

there are no ui editors for stacks yet

#

there should be an edit button outside the stack to click that will bring you to the yaml or you can use the raw config editor

heavy cove
#

There is no edit button for the stack.. i've been having to use the raw config editor

quick gulch
#

i'm getting a heap of Uncaught SyntaxError: Unexpected token < for 4-5 plugins i installed recently - how do i fix this?

wheat current
#

Download the raw file format

oblique river
#

anyone know how i would get the actual value to show up on mobile with input number entity using slider mode

#

its visible on desktop but hidden in the ios app

#

making the sliders useless

short edge
#

{{states.inputnumberentityid.state

#

}}

oblique river
#

i dont want to read the value but show it in the ui without extra duplicate row for each slider πŸ˜ƒ

split granite
#

If it's only behaving that way in the iOS app, try asking in #ios_and_mac-archived - they may be doing something

oblique river
#

its actually seems to happen whenever the user agent is mobile and view width is narrow, event on the desktop so not specific to the app

#

i guess its some css rule i need to override

wooden latch
#

Hi, is there a card or something I can use to list entities based on their values. Example, I measure the power usage of a lot of items and I'd like to have them arranged from most to least power usage

mint geode
#

You could look into the custom card "auto entities". Not sure though if you can sort them by value as well. @wooden latch

frank ocean
#

Anyone have yet another alarm panel running?

#

I'm dying tying to get this to run properly lol

#

The instructions on github say You can always configure your alarm using web interface or by editing your bwalarm.yaml directly. But gives not direction ont he address.

sacred onyx
#

How can I fix an "Custom element doesn't exist: mini-media-player." error?
I'm trying to add my first custom thing to lovelace.

#

I'm installing the mini-media-player for Spotify. And the installation only has 2 steps. But somehow I manage to mess this up... πŸ˜‘

arctic pumice
#

hey can someone help me figure out what im doing wrong, i cant get any custom card to work

#

i paste it ino raw config

#

and still shows Custom element doesn't exist:

#

raw config is like that

#

`resources:

  • type: js
    url: /local/entity-attributes-card.js?v=2
  • type: js
    url: /community_plugin/tracking-number-card/tracking-number-card.js`
#

atributes card works

#

but tracking number seems to be broken

#

i have the email sensor set up

wheat current
#

You can only use that endpoint if you installed it from hacs

arctic pumice
#

i did it like that

#

from hacs

#

any idea what i did wrong ?

polar kelp
#

Checked your browser console?

arctic pumice
#

umm

#

no

#

i dont know anything about checking browser console

polar kelp
#

Ctrl+i or j in chrome, I think

arctic pumice
#

what to look for ?

polar kelp
#

Anything in red

frank ocean
#

Did you reboot HA?

wheat current
#

No need

arctic pumice
#

i did reboot lots of reboots

#

i see few red lines in console

#

should i paste it here ?

wheat current
#

Check the console tab, that is in the inspector

arctic pumice
#

damn

#

socket.ts:53 WebSocket connection to 'wss://xxxxxx/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED e @ socket.ts:53 updating-element.ts:207 Uncaught ReferenceError: regeneratorRuntime is not defined at updating-element.ts:207 at Module.<anonymous> (updating-element.ts:207) at n (bootstrap:19) at bootstrap:83 at bootstrap:83

#

this ?

#

xxx were my address

#

well is it trying to connect via port 53?

#

so i need to forward it

sacred onyx
#

@wheat current I got it working! Thank you very much for pointing me in the right direction! πŸ‘

arctic pumice
#

still not working ;C

cunning pagoda
#

has anyone had issues with the custom roku remote card.since 0.97 it hasn't worked for me. i haven't changed anything since i set it up in 0.96. and not getting any errors in the log or the card yaml for it

arctic pumice
#

seems like its websocket issue

#
e @ socket.ts:53
(anonymous) @ socket.ts:136
createSocket @ socket.ts:136
(anonymous) @ connection.ts:323
r @ helpers.js:565
(anonymous) @ connection.ts:324
2socket.ts:53 WebSocket connection to 'wss://xx.xx:8123/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED```
polar kelp
#

:53 is not a port. It’s the line in the source file that failed.

arctic pumice
#

Ok so its something url related in this line

#

Seems like it fails to reach websocket but idk why

#

Can i debug it somehow to learn why its not working?

polar kelp
#

I’m not sure that’s related, actually.

arctic pumice
#

Well connection refused seems to be the problem ? Or im wrong

polar kelp
#

Try removing the card and see if the error persists.

arctic pumice
#

theres no error posted above

#

just Uncaught SyntaxError: Unexpected token < tracking-number-card.js:1

mild veldt
#

@cunning pagoda what's going on with it? Something is up with the input selector since 0.97

#

@arctic pumice you've downloaded the HTML file instead of raw js

arctic pumice
#

i did it via HACS

#

i didnt download anything

#

so what i need to do @mild veldt

cunning pagoda
#

@mild veldt it won't show up on any of my tabs, i tried both chrome and firefox on mobile and desktop tried clearing cache on both, and am getting no errors on the card or logs used HACS to install it

wheat current
#

"Uncaught SyntaxError: Unexpected token < " is not possible if you used HACS

arctic pumice
#

i have installed both via hacs

#

ill try to reinstall

#

now i get tracking-number-card.js:149 Uncaught ReferenceError: regeneratorRuntime is not defined at tracking-number-card.js:149 at Module.<anonymous> (tracking-number-card.js:149) at n (tracking-number-card.js:1) at tracking-number-card.js:1 at tracking-number-card.js:1

#

i think ill give up on this πŸ’©

mild veldt
#

That’s the spirit

#

@cunning pagoda I have no display issues on 0.97

cunning pagoda
#

well darn this is what i have for the card and can see the entity works as i was able to add the basic media control card any other idea for things to check
type: 'custom:roku-card'
entity: media_player.bedroom_tv
name: Bedroom TV
tv: true

mild veldt
#

I’m in the middle of a rewrite of the card. So stay tuned I guess. Not really debugging it in its current state

vapid field
#

hello is there a way to add a backgrund to custom components? i have hacs and lovelace card mod

#

and no idea how to

cunning pagoda
#

@mild veldt cool i can lived with that. since i don't have the slightest clue how to write my own cards and appreciate the communtiy sharing their projects and creations with the community

smoky peak
#

Does anyone have a link to iframe documentation? The only thing I can find is VERY slim.

split granite
#

In an HA context, or what?

gray kernel
smoky peak
#

I'll take what I can get.

#

And @gray kernel yeah, that's what I found. Can't make what I am trying to do work, but thanks anyway.

split granite
#

Maybe if you explain, somebody can help

gray kernel
#

check the web console for errors

smoky peak
#

I only want to display a local webpage (local on my home network, but from another server). Can't find the magic combination I need to get it right.

#

DOn't care if it is across the top, or along the side.

split granite
#

An iframe is just a pointer for your browser, so if the URL works in the browser it should work

#

That of course assumes that you're not using HTTPS for HA and HTTP for the other site

smoky peak
#

I am using https for both.

#

I did read that bit of warning

potent compass
#

my history of my devices just keeps loading in the historyy tab of lovelace card, what can be the issue?

smoky peak
#

My problem is, when I click "configure UI", wtf do I put in the fields to get it right?

split granite
#

@potent compass As in it never stops, or what?

potent compass
#

yes it just keeps on loading but it never show anything

split granite
#

Have you checked the log file for errors?

smoky peak
#

@potent compass you may need to ditch DB and start over.

potent compass
#

logfile in directory of config file?

smoky peak
#

the db file in config directory

potent compass
#

i'll have a look

smoky peak
#

home-assistant_v2.db

#

Delete it, and it should rebuild. That's what usually happens to me.

potent compass
#

it's now 217mb

#

normal size?

#

or does it depends on the amount of sensors etc

smoky peak
#

Depends.

potent compass
#

it's safe to just delete it?

split granite
#

Yes

smoky peak
#

Yeah, you only lose history.

split granite
#

Delete it, restart HA, you're all good

potent compass
#

oke i'll have a try

#

just starting with lovelace, so gonne be busy for a while (and a lot of questions πŸ˜‰ )

smoky peak
#

Same here, hence my iframe question.

potent compass
#

i don't know why nobody uses the voice channel

#

solves questions much quicker

smoky peak
#

On discord?

potent compass
#

yes

smoky peak
#

It interrupts my porn viewing.

#

lol

potent compass
#

hahahaha

smoky peak
#

Wouldn't be able to tell the diff between moans on my porn, and moans on the lovelace channel.

split granite
#

Coping with the differences in English in text is hard enough

#

You really don't want to have to battle with my Glaswegian accent

smoky peak
#

Glaswegian...almost as bad as Teximerican

potent compass
#

if i want the mini graph for my sensors. do i need to add a file or something for lovelace?

#

or for my lovelace in general?

split granite
#

If that's a custom card, yes

#

Follow the instructions for that card

potent compass
#

in the oinstructions they say this

Add a reference to mini-graph-card-bundle.js inside your ui-lovelace.yaml or at the top of the raw config editor UI.
#

where do i make the ui-lovelace.yaml file?

#

config dir.?

split granite
#

That's only if you're in YAML mode

#

Maybe if you could provide a link to the docs for this custom card I could comment more...

potent compass
#

here ya go

split granite
#

Ah, selective copy and paste

#
  1. Download and copy mini-graph-card-bundle.js from the latest release into your config/www directory.
#
  1. Add a reference to mini-graph-card-bundle.js inside your ui-lovelace.yaml or at the top of the raw config editor UI.
#

It may also be supported by HACS, which will help with that

potent compass
#

did 1.

#

heard of HACS but don't know what it is

split granite
#

But, if you've done (1) then all you need to do is (2)

potent compass
#

i added the lines to the top of my config ui

#

now just need to add a card right?

split granite
#

If you added it correctly, yes

potent compass
#

will try that, one moment

kindred pasture
#

Hi all, anyone installed mini-graph-card from HACS ?

#

I have it installed, but no joy 😞

#

I get the "Custom element doesn't exist: mini-graph-card" error

dark dirge
#

works fine for me

#

did you add this to your lovelace config?

#
  - url: /community_plugin/mini-graph-card/mini-graph-card-bundle.js
    type: module
kindred pasture
#

yes I did, except removing the _plugin, since since it installed in community folder

#

huh?

#

\HASSIO\config\www\community\mini-graph-card

#

tried without tampering with the url....no joy

#

any idea?

#

fixed it....

dark dirge
#

You don’t have to move anything anywhere

scenic mist
#

is it possible to use a custom icon in the top bar?

#

placed a png in the www folder and pointed to /local/filename.png but it wont show

#

when i go the the url it shows

copper mural
#

Is this a fix for this issue where half of the first entities-card-title is hidden behind the menubar ?

#

Thought I could add a picture. But no.

willow rose
#

ok so VS Code is coming up with icon: as a Unexpected property icon - type: picture-elements image: /local/green_house.jpg elements: - type: state-icon entity: automation.green_house tap_action: action: call-service service: automation.trigger service_data: entity_id: automation.green_house icon: mdi:water style: top: 20% left: 10% transform: 'translate(-50%, -50%) scale(3.5, 3.5)'

#

it works but just like to know why

scenic mist
#

@copper mural what do you mean ? do you have a screenshot

copper mural
#

I tried to share but I failed. πŸ˜› But I solved the issue myself. Thanks anyway πŸ˜ƒ

kind shellBOT
heavy cove
#

Why does the RAW Config editor have to organise everything into alphabetical order? It only makes is really really really confusing to re-read and tell what belongs to what...

                  action: toggle
                type: 'custom:button-card'
            max_width: 700
            type: 'custom:layout-card'
        column_width: 100%
        max_width: 100%
        type: 'custom:layout-card'
    icon: 'mdi:home'
    panel: true
    title: Our House

Just Sayin......

mild veldt
#

it's alphabetical

#

it is converted to json for storage and then re-parsed for editing

#

you can switch to yaml-mode if you prefer

#

@copper mural use imgur or something similar next time

sleek ginkgo
#

@heavy cove This was one reason why I switched to YAML mode, as I didn't like the RAW editor modifying my YAML, and I agree that the modified YAML is less intuitive and more confusing to try and go back to later.

mild veldt
#

ideally we'll get the storage mode to the point where you wouldn't need to touch the yaml and just use editors, but that still has a way to go

vapid field
#

I have noticed that when using !include dir in my lovelace configuration it doens't update the frontend unless I comment+save and then uncomment+save the include line in ui-lovelace.yaml

#

Is this a known problem?

vapid field
#

Hey guys, I have just upgraded to latest version of home assistant. But now the color of cards is grey in any case . It doesn't matter which design I choose. Check the link for a picture: https://imgur.com/PSUvtDn It wasn't like that on the last realease. Thanks for your help!

main meteor
#

Anyone using Compact Custom Header card for multiple devices with different views?

#

Id like to set a unique views for ipad, iphone and laptop. Possible?

rose spear
#

Hi, i messed up my lovelace... how can i bring it back to default state ? 😰

split granite
#

Depends on how you're controlling it

#

Stopping HA and deleting .storage/lovelace will do it if you're using the UI to manage it

rose spear
#

yup, thats the case.

#

on it

#

@split granite Thank You.

smoky peak
#

So...is the UI editor broken, or am I just stupid. Granted the latter is much more likely. I am trying to add a view, with a single card, which is a web page entity. It seems to want to duplicate my main (home) view, no matter what I do.

vapid field
#

Did you perhaps copy the path: variable from the home view? @smoky peak

smoky peak
#

I used the UI editor. So, unless it did that without my knowledge, no. Hence my initial question, "is the UI editor broken?"

#

I.e.....click "Configure UI". click "+". That's where it all goes off the rails.

#

I think it's broken. I am a person of exactly average intelligence, and I cannot get it to work, although in the past, I was able to successfully add four other views which work just fine.

split granite
#

Last time I tested (0.96) it worked as expected to add a view

#

Let me spin up 0.97 and try

smoky peak
#

Thanks.

split granite
#

Which βž• are you using - the one next to Home ?

#

That creates a new view for me, but leaves me looking at the current view

smoky peak
#

The one to the right of the last view of my 5.

split granite
#

Yup

#

And it'll leave you looking at your current view

#

You've selected the newly created view?

smoky peak
#

Give me this:

#

Oh, sorry, can't paste her.

#

here

kind shellBOT
#

Please use imgur or other image sharing web sites, and share the link here.

hot gyro
#

hmm does the order of type/url matter in the resource definition??

split granite
#

Don't believe so

hot gyro
#

just wanted to confirm cheers

#

didnt look like it did but wanted to make sure

smoky peak
split granite
#

Yes...?

smoky peak
#

So, what am I supposed to put there? If I put "icon" and put whatever mdi, fine, I put URL path, enter the path I want to display, click "save" I only get the home view again.

wheat current
#

It does not @hot gyro (but it require both to be there)

split granite
#

Give it a title, optional icon and path

hot gyro
#

ok that confirms my observations thanks @wheat current

split granite
#

As I said though, it won't jump you to the new view you just created

wheat current
#

path != https://myhome/lovelacehsd/
path should be something

hot gyro
#

thats understood - just wondered as it seems that I have some this and others the other way round and I wanted to know if this actually matters - now or in future

smoky peak
#

wtf...it changed from what I entered...stand by....

#

Ok, only thing change was title. I put it back.

wheat current
#

My last comment was not for you @hot gyro , it was for @smoky peak ;)
For the difference between you @hot gyro and others are probably the UI editor, it sorts then alphabetically

smoky peak
#

so, @smoky peak ludeeus, I cannot use external links?

wheat current
#

no, not there

#

You could make a view (with panel mode) that contains a iframe card, to essentially get the same

smoky peak
#

Got a link to a doc on that?

wheat current
#

same as I allready have given you

smoky peak
#

ok thanks.

vapid field
#

Hi guys! I've recently updated HA docker to latest version and I've noticed that the button to validate config has disappear for me. Can anyone help me, please?

vapid field
#

@elder pendant I dont want to "restart" and "stop" the server, I want to validate/check config file

split granite
#

Have you enabled Advanced mode?

smoky peak
#

Server control

#

configuration-->server control. That's where it has moved to.

#

Used to be under "general" but moved.

#

@vapid field

#

If it doesn't show there (and it sometimes doesn't for me) try a refresh. Something, at least with my install, is broken, and it only shows up sometimes.

vapid field
#

@elder pendant @split granite @smoky peak Thank you! It was "Advanced mode" πŸ˜ƒ

smoky peak
#

Good luck.

woeful ridge
#

hi all! Do you guys know if it's possible to disable the new lovelace refresh notification?

smoky peak
#

Alright. I think I have my ipanel working, but it doesn't display. I suspect it is because it is a link to a device on my internal network which won't route across the Internet due to being an RFC1918 address. Is there a way around this?

split granite
#

It needs to be accessible from the browser, not from HA

smoky peak
#

So, then, the answer is no, without a translation.

#

And, that is not a problem, but would it be a feature request for HA to be able to handle something like this? My home network is around 80 nodes, and 99% of them are inaccessible from the outside, yet all are acessible to HA. Sometimes, I need to be able to access them THROUGH HA and it would be desirable for HA to act as the "proxy" or "bridge" to do so, rather than have the add those devices to my firewall, or to have to VPN in.

split granite
#

HA would have to be a reverse proxy then, I don't see them building that in, but somebody could create a custom component

#

Alternatively, VPN

smoky peak
#

arg, still doesn't work in the iframe. Works from a different tab, but in the iframe, says, "may be temporarily down or have moved".

atomic glacier
#

Has anyone else had this issue that uses Android for mobile? A display change happened to my mobile UI last week( not related to any UI changes or updates for HA.) Looks hideous and was wondering if someone might have any ideas???
Just popped up out of the blue... (pardon the pun 🀣 )???
Left old and right is now ??? https://imgur.com/a/ZVkcVWf

timid burrow
#

Anyone using a custom weather card with amcharts animated svg icons? These don't seem to render with the new cast? Just checking its not just me

tepid raft
#

I have the roku-card lovelace card installed but had to slightly alter the JS code, but the update doesn't seem to go to my browser. I've done a force refresh, cleared cache, and changed the ?v=0 flag with no luck - any ideas?

atomic glacier
#

@tepid raft If you installed it using HACS, I'm pretty sure you have to delete the .gz file. HACS makes a compressed version of it and it wont update your changes if its there

tepid raft
#

That was it. Thanks!

slow garden
#

Trying to get lovelace-gen (HACS version with jinja2 support) features, the !include with parameters, to work inside Grid Layout plugin. Keeps saying "unknown error". The feature works when not inside plugin? Any ideas ?

mild veldt
#

thanks to @winter hollow @late anvil and @vapid field for the awesome elements that went into making this. came out, imo, perfect

next dirge
#

@timid burrow . Same problem here. Can hope for a fix

polar kelp
#

@atomic glacier It seems that color comes from the manifest, which should follow the backend-selected theme.

timid burrow
#

@winter hollow or @polar kelp do you know if there is anything I can do with the svg animated icons used in a custom card so they will appear when HA cast is used? They work fine on desktop/mobile etc.. they are the amcharts animated weather icons and they just display blank when cast

#

@next dirge thanks for confirming it's not just me

#

it's unclear if it's a limitation of cast

polar kelp
#

No idea

timid burrow
#

I see your weather card just uses the mdi ones

winter hollow
#

@timid burrow Do you self host the icons? What version are you running? Do you have cors enabled?

#

And no, has nothing to do with that issue

#

Found the issue, in the config put the full url to the icons: so from icons: '/local/custom_ui/weather_icons/animated/' to icons: 'https://yourhainstance.com/local/custom_ui/weather_icons/animated/'

timid burrow
#

In which config? It’s a custom card so does that mean the card needs to be edited to include the full path?

willow rose
#

@mild veldt it looks so cool I tryinmindblown g it now but do't know if its to hard to make

winter hollow
#

The config of your card, what card are you using? Not mine I guess?

timid burrow
#

No it’s a modified one - was a darksky custom-card... I’ll get the URL if you can take a look

winter hollow
#

Just search for the url to the icons in the source and change that to the full url

timid burrow
#

Ok... so that’s going to be awkward for other people who are using that card

#

Can the path be parsed through from Lovelace?

winter hollow
#

Or make it a config option

#

got to run

timid burrow
#

So they can’t be served locally?

timid burrow
#

Right.. I was thinking a config option and parsing it through from the config

wheat current
#

How about parsing location.href? note to self, read the entire conversation

winter hollow
#

it is running on the cast

#

that is not your own domain

timid burrow
#

Ahhhhhhhhh ok gotcha

#

And what if someone doesn’t have https but uses local up address?

#

I actually have a few extra icons as well

wheat current
#

Don't cast require https?

timid burrow
#

So can’t just use Brams

#

Yes it does. Good point

wheat current
#

You can modify brams url to point to your repo, it's a proxy service

#

Ish

timid burrow
#

Hmm... will that cause github to get upset ? (limit-wise)

wheat current
#

I think they are more upset with me and hacs 🀣

timid burrow
#

Hahaha I’m sure they are lol

wheat current
#

Jsdeliver probably do caching

winter hollow
#

The reason is use jsdelivr is that they do hosting better then github

#

Js hosting on github doesnt work

timid burrow
#

Ok.. I forgot you load resource direct from us deliver

#

So I could have an extra config option in the lovelace card for someone to parse through their URL and I can read that in the js.

#

Sounds pretty simple..

#

Thanks

winter hollow
#

Maybe you could get the url of the user out of the cast app

timid burrow
#

That’s way above my pay grade lol

#

Can’t use secrets in lovelace can I?

#

It’s weird though because I have other icons that are working fine that are read from /www

#

But they are just entity_pictures - not set by a js card

#

Hmm

willow rose
#

any one know how you find your - uri: spotify:playlist:59YtBBPUHabClKxFeHSO8m

#

its my url for my playlist

wheat current
#

Right click the playlist, copy URI

willow rose
#

that eazy lol

timid burrow
#

@winter hollow Or @wheat current Can I use window.location.origin to get the FQDN & Port?

vapid field
#

hey all, i need to buy a tablet for my HA setup, what is the most important spec. aspect i need to consider before buying. (for smooth experience in lovelace)

split granite
#

Android? iOS? Something else?

wheat current
#

Nokia 3210i

split granite
#

I may have one of those in a drawer somewhere...

kind shellBOT
vapid field
#

@split granite i prefer android, i dont like iOS because its so slow when you have outdated hardware, and price is one of the aspects tho.

split granite
#

Well, tell us more then πŸ˜‰

#

Where in the world are you. What kind of price range. What's your other requirements...

willow rose
#

ok so do anchors: decluttering_album: &decluttering_album have to be in the - !include lovelace/living_room.yaml file ??

#

or in any lovelace file

vapid field
#

@split granite Poland, it can be used, no more than 100 euro, its going to be a wall mounted HA hub

split granite
#

7", 10", 2"?

#

I mean, you should be fine with any recent version of Android

vapid field
#

7 or 10 is enough

#

Hi guys... I tried to find it, but I didnt saw anyone with the same question. Is it possible to sort the entities on an entities card based on the state/value?

#

@split granite Nougat will be good enough ?

split granite
#

Android 7.... should be ok I believe, but that's already 3 versions old. I'd suggest looking for newer

#

@vapid field You'd need a custom card for that

vapid field
#

@split granite can you name one that support this?

split granite
#

No

vapid field
#

πŸ˜ƒ . Thats exactly my problem. I couldnt find any so far

#

@vapid field its able to sort but not is not sorting using the state/value

#

basically it sorts based on the rule to filter them

#

as far as I could see

wet pond
#

what would be the best way to display some camera controls in a card

#

?

split granite
wet pond
#

i need to be able to press commands that execute scripts

#

is picture glance working like that?

split granite
#

If you set it up that way, yes

wet pond
#

seem so @split granite thanks

atomic glacier
#

@polar kelp if that's the case then has there been any recent modifications to the code? It used to follow primary_colorfrom the theme variable. Is there a way to test this on my Android via Chrome or something? Thanks

polar kelp
#

You can set the backend theme with the frontend.set_theme service.

brave dove
#

Hi, im trying to install calendar-card with hacs but i cant find my lovelace config

brave dove
#

Thnaks

polar kelp
#

@atomic glacier Can't see any changes in that part for two years...

atomic glacier
#

I'm wondering now if maybe a Chrome update maybe the culprit don't know if Android Q beta controls anything within Chrome either, way passed my pay grade. I'll have to get someone else with another Android to test it locally. 😬 Thanks for checking @polar kelp

vapid field
#

@vapid field that one is to display attributes, I dont have any attribute on my entity

#

this one looks like a perfect match

#

Im going to see if it works

#

@vapid field okay i probably dont understand what you realy need tho, these one i found that might interest you. Hope you gona find it ! Cheers πŸ™ƒ

radiant drum
vapid field
#

@vapid field I have a entities card that shows Name and State

#

I want to sort them by state

#

the card represents the next bus/metro on my area

polar kelp
#

Looks fine to me @radiant drum. Check the inspector in your browser to see if there's actually a style tag added to the ha-card element.

vapid field
#

@vapid field it worked

#

flex-table-card works

#

@vapid field great ! im gona keep that in mind if i ever need that kind of solution πŸ˜ƒ Cheers ! πŸ’ͺ

radiant drum
#

@polar kelp not sure how to find it in inspector

polar kelp
#

If you right click your markdown card and choose inspect, you should see a <hui-markdown-card> tag. Inside that is a <ha-card> tag and that should contain a <style class="card-mod-style"> if everything is right.

radiant drum
#

I dont see any <style class="card-mod-style">

polar kelp
radiant drum
polar kelp
#

I see a missing semicolon. Or rather I don't.

radiant drum
#

I had a typo in resources:

#

So the card-modder didnt work :/

mild veldt
#

@willow rose anchors need to be in the same yaml file they are used in

brittle eagle
#

Hey all, i'm trying to set up a from date to date (and days + hours in between those 2 as secondary info) log for when i turn on and off an input_boolean, i'd like to show the log entries in the front end and show up after the switch is off (from an on position). Anyone any pointers where to start this

wary totem
#

Hi, I'm trying to add a button that is 1) highlighted when my cover is at a certain position and 2) sets the cover to that position when pressed. But I don't know how to tackle this. How can I achive this?

mild veldt
wary totem
#

All right, Do you know if I can install it using HACS?

mild veldt
wary totem
#

Great!

#

Let my try it, thanks!

mild veldt
#

that's a subjective question

#

whatever suites your needs, in the end

fossil jasper
#

Hi why hacs is not an add-on like the others ?

#

With install in one git pull in the "store" ?

wheat current
#

#609399695466430465 would be the best place to ask about that ;)
The answer: Add-ons are only for Hassio

split granite
#

Because it's not an add-on πŸ˜›

fossil jasper
#

πŸ™ƒ

#

In order to update hacs, it's the same process of install that first time ?

split granite
fossil jasper
#

Oh ok

willow rose
#

@mild veldt thanks I did try moving it but I think the spacing is worng.

#

Or something

rugged cobalt
#

here is what i have in my themes.yaml

radiant drum
#

Is there a way to get secondary_info: to show on the Picture Elements Card?

polar kelp
#

Easiest way is to make a template sensor which extracts the data you want.

#

If you really really want to do it, you can make an element with type: custom:hui-text-entity-row or something and set name: " " and secondary_info: whatever

radiant drum
#

Thanks! i will see if i mange to do type: custom:hui-text-entity-row

split granite
#

The ones that mention picture in the name are likely the ones you're most interested in

#

There are, of course, lots of custom cards too

brave dove
#

Yeah but i only get a static photo with tjat

#

that

#

You know a good custom card?

gaunt juniper
#

picture-glance, but you don't want to overstress your hardware

#

with high fps

brave dove
#

okay, so how do i get my camera up but still have a good fps?

split granite
#

Did you take the time to read the card config options?

#

(hint, no)

gaunt juniper
#

what hardware are you using?

brave dove
#

Raspberry pi 3b

#

32Gb

split granite
#

Read through the details for the card above

gaunt juniper
#

you don't want high fps, trust me

brave dove
#

no i know

split granite
#

You absolutely can stream the camera, if you configure the card (and HA) correctly, but as @gaunt juniper warns you may regret that

brave dove
#

yeah

#

it sounds like a bad idea πŸ˜„

#

so any ideas how i can do it?

split granite
#

Do what?

gaunt juniper
#

I don't want to sound rude, but read the docs

split granite
#

^^^ THAT

#

You've been pointed at the answer already

#

If you don't want to stream but just update more than once very 5 seconds, there are custom cards

brave dove
#

how do i know how much my raspberry pi can handle?

split granite
#

Try it and see

gaunt juniper
#

my setup, I'm using my NVR for high fps/quality and for lovelace I use 2fps on surveillance-card

brave dove
#

do yuo know of any plugin or so that can monitor the raspberry?

#

okay

gaunt juniper
#

and I'm running hass in docker

split granite
#

There are other options if you're not using Hass.io, but that should get you started πŸ˜‰

gaunt juniper
#

you can monitor hardware with system-monitor, like @split granite is suggesting

split granite
#

(and lots of other options in there - I run one of the other things on all my systems)

brave dove
#

Great

#

Thanks for the help and patience

gaunt juniper
#

sysmon will show you the RAM and CPU (among others), that can give you an idea of the load on your hardware

#

when you're messing with the camera

brave dove
#

Okay awasome

#

can't find sysmon... 😦

split granite
#

There are many tools on that page

#

sysmon may also be shorthand for system monitor

brave dove
#

Okay

#

with "disk_use_percent" i can select a directory to get stats from. What is the main directory? Is it root, home or anything else?

split granite
#

Depends entirely on how you installed Home Assistant, and what you mean by main directory - all that is a #330944238910963714 question though

brave dove
#

btw my system monitor is stuck at 2% cpu

#

it's not refeshing

split granite
brave dove
#

what room then? 😦

split granite
brave dove
#

It says configuration in this room

#

i thought it was a setting in conf to make it refresh more often or so

split granite
#

Discussion regarding the Lovelace UI and configuration

#

Lovelace UI being the key thing there πŸ˜‰

brave dove
#

This is a Lobelace Ui question. How do i add icons instead of panel name?

split granite
#

Define an icon for the view

brave dove
#

ive tryed: "f2dc", "mdi-home" and "home"., none works.

#

i just get an empty name without any icons or names

split granite
#

Icons have to include the source, even if there's only one officially supported source for now

brave dove
#

Great

muted mulch
#

Hey all :-)
I have a question about changing color for an icon on a picture-elements card...

is there a way to set a custom color for an icon on a picture-elements card?

I'm using a theme and I can change the global var "paper-item-icon-color", but I'd like to do it icon per icon

SOLVED

https://www.home-assistant.io/lovelace/picture-elements/#style

style:
  # Positioning of the element
  left: 50%
  top: 50%
  # Overwrite color for icons
  "--paper-item-icon-color": pink
hot gyro
#

hey chaps - can lovelace directly point to a eg sensor attribute or do I still need a template for it?

mild veldt
#

I mean, it obviously depends on the element. I would say most pertain to the state, but there are custom ones for attributes. Would need more context on what you're trying to achieve

hot gyro
#

well, when I got a sate of a sensor, being able to put a state attribute onto a dashboard - only looking at the entity brings up the entity with the various attributes and their state but I only want to have lets say 2 out of the 14

mild veldt
#

use button-card, you can display pretty much anything using that

hot gyro
#

I have a look thanks

mild veldt
#

e.g.

type: custom:button-card
name: >
  [[[
    return states['sensor.my_sensor'].attributes.my_attribute;
  ]]]
#

this would be better though, so you're not refreshing that element all the time

type: custom:button-card
entity: sensor.my_sensor
name: >
  [[[
    return state.attributes.my_attribute;
  ]]]
hot gyro
#

I give that a go thanks - wish loading all the plugs etc would work without restart ...

mild veldt
#

you don't need to restart after adding a custom card

#

only integrations that don't use config flow or a backend configuration change require a restart

hot gyro
#

ha learned something new

mild veldt
#

a frontend change never requires a restart, unless it is the first time you created your www folder

#

if not using HACS, then you just need to be sure to clear your browser cache

hot gyro
#

so all plugins can be added at runtime?

mild veldt
#

yes

hot gyro
#

damn ...

#

cheers mate

#

was the only reason I was a bit reluctant to test more plugs out

mild veldt
#

coupled with HACS, it's pretty easy to add a new plugin

hot gyro
#

yh just updated HACS so that wanted a restart anyway so that worked just fine

strong falcon
#

anyone have a suggestion for an icon that could be used for the deck or outdoor space? Trying to find one to use for a switch to activate an outdoor scene

wheat current
#

mdi:sun

split granite
#

mdi:table
πŸ˜›

strong falcon
#

haha

mild veldt
#

mdi:outdoor-lamp

strong falcon
#

that might work, thx

thick ice
#

Does anyone know if there any way to add a sensor reading (outdoor temp) to the thermostat card that renders with a generic_thermostat component?

elder pendant
#

You mean put the sensor into a generic thermostat or render it next to a generic thermostat?

thick ice
#

I want to render an additional sensor reading into the history graph that is integrated into the thermostat card

#

Out of the box it renders the target temperature and the current temperature

elder pendant
#

You can use the history graph card, but you cannot stick another entity into an entity's history graph

thick ice
#

What if I developed a new custom component very similar to the generic thermostat?

elder pendant
#

Seems like a lot of effort for something that's already solvable with another card...

thick ice
#

I already have a new component. I am developing a fan based A/C component. It works just like the generic_thermostat, except it requires the outdoor temperature to be less than the current indoor temp.

#

Functionally, it works great

#

I would just like to add the outdoor sensor reading I already have in the component to the graph that renders in the thermostat so I can see the correlation with the outdoor temp.

mild veldt
#

@thick ice you're talking about the graph in more-info, I assume? Just create your own more-info using the popup-card or browser_mod

thick ice
#

Yes, that is what I was referring to

strong falcon
#

Can I activate an input boolean as a tap action on a picture glance card?

split granite
#

Why couldn't you?

strong falcon
#

i guess i can 😜

#

is it possible to replace an icon with text for example replace mdi:play with text that says "Play Now"

wheat current
#

no, that is not an icon

strong falcon
#

ok ,i was thinking of the mini media player where you can have text buttons to start a playlist as an example

wheat current
#

when you use custom, "all rules" are "thrown out the window"

mild veldt
#

well it's not a rule, per se. The picture-glance card just doesn't support that

#

πŸ˜‰

strong falcon
#

ok, got it

wheat current
#

yeah yeah yeah... mr. technical... πŸ™„

mild veldt
#

it's actually Dr. Technical

split granite
#

renames @mild veldt

strong falcon
#

Similiar question, is it not possible to fire a script from the entity section of a picture glance card?

strong falcon
#

I have the tap action down, wanted to run a script from the entity bar at the bottom

vapid field
#

Hey there, i am still new to homeasisstant and i try to show state based icon colors in a glance card. For that i customize in configuration.yaml:

kind shellBOT
vapid field
#

but the colors does not appear

mild veldt
#

@strong falcon ah yeah, not possible, I've argued for that before but was shot down by management πŸ˜‰

strong falcon
#

@mild veldt could I work around it by turning on an input boolean which would activate an automation?

mild veldt
#

uhhhh, I guess. I don't like that solution, however

strong falcon
#

not do i

mild veldt
#

do you need the picture-glance?

#

what's in the picture?

#

like, could you just have the picture as a picture, and then put some buttons below it in a stack?

strong falcon
#

I am trying to create a card to activate a playlist in Sonos. The picture is album art

#

We pick an "album of the week" that the family listens to, i save it to a playlist, save the album art to www. Wanted to have a single click solution to play it

mild veldt
#

i see

strong falcon
#

sweet, pretty much what i need. Pretty self-explanatory or some special coding?

brave dove
#

Hi, im trying to get a vertical stack card with a sensor graph inside, but I get an error saying β€œSpecify an entity from within the sensor domain.”

#
  • type: sensor
    Entities:
    • sensor.ute
      graph: line
potent compass
#

Hello everyone,

i’m building a system tab with al the system values like ram, cpu temp etc. I addes a couple of sensors and it all worked then i added a couple of counters like the code down below. after i rebooted for the second time my cards never came back. I deleted them from my yaml file but the cards still won’t show up. if i refresh the page they appear for less then a second and then they are gone.

mild veldt
kind shellBOT
mild veldt
#

@brave dove wrap your config in back ticks so that it is properly formatted

strong falcon
#

thanks

brave dove
#

How do u mean?
I’m new to home assistant

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:

```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G

elder pendant
#

It's a discord thing, not a home assistant thing

mild veldt
#

when did the commands switch to .? I missed that

elder pendant
#

You can do either

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:

```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G

mild veldt
#

oh yeah...you can't have text in front of it

elder pendant
#

If you want to tag someone it goes after the command

mild veldt
#

i am a failure...

elder pendant
#

But we keep you around anyway πŸ˜‰

mild veldt
#

too kind πŸ™

strong falcon
#

@mild veldt my play and shuffle icons are black, how can i make them white?

mild veldt
#

I think that's my theme

#

in the style section you can set the color

#

"--paper-item-icon-color": white

strong falcon
#

ok, can i make the "play" call a script as the service?

mild veldt
#

yes

strong falcon
#

I ma not sure how to implement that code for the icon color

elder pendant
#

It goes in your theme

mild veldt
#

or in style of the element

#

e.g.

style:
  left: 10%
  top: 90%
  "--paper-item-icon-color": white
elder pendant
#

Oh yeah, forgot we were talking about picture elements

brave dove
#

Why do I need to format it?

mild veldt
#

because I don't know if your problem is your formatting or you configuration itself without that

#

indentation is very important in yaml

elder pendant
#

yaml is format dependent. A single space could be the difference between a working config and a broken mess

brave dove
#

Unfortunately I’m on mobile so I can’t copy the exact text

#

I know that the spaces and everything is right

#

That’s not the problem

mild veldt
#
- type: sensor
   Entities:
     - sensor.ute
   graph: line

well this is not correct

brave dove
#

No I know

#

I wrote it by hand in discord app becaus I can’t copy

#

Because*

mild veldt
#

well when you get to a PC pass it along

#

oh wait...sensor is only for one entity

brave dove
#

But when I have - type: entities instead of - type: sensor it works

mild veldt
#

yea...those are different cards

brave dove
#

But I can’t get the graph to work on entities because it needs an sensor

#

Yeah

mild veldt
#

Yeah, so their configurations are different

type: sensor
entity: sensor.ute
graph: line