#frontend-archived

1 messages · Page 151 of 1

keen quartz
#

is there a way to preserve my front end but still start fresh and only load the front end back after I've set up all the integrations again?

#

is the lovelace file in .storage how I could save my current lovelace tabs for a fresh install?

woven echo
#

is it possible to reload changes to binary_sensor: in configuration.yaml without restarting the server?

frosty pelican
#

no youll need to restart for stuff like that

#

unless you set it up via Integration panel

muted inlet
#

You can reload everything at configuration > server controls and the input_* integrations (if you already added them) without a restart

frosty pelican
#

timer too

#

not sure about counter though

#

yea counter is not part of that

muted inlet
#

Ooo neato

#

I just wanna be able to reload template sensors without a reboot... 😔

frosty pelican
#

yea dude

#

not gonna lie i was super happy for input_boolean in particular

#

but yea templates would be the next big thing

muted inlet
#

Yeah happy about input_* for sure

odd gate
#

Hey all has anyone else faced a issue where there wemo no longer shows up

mild veldt
#

@keen quartz just start a new dashboardmisread. just open the raw config editor and save the yaml somewhere

icy patrol
#

anyone else notice the new slider under the media player in LL?

#

how do i get rid of the slider ?

mossy timber
#

Is there a way for Lovelace to display the user agent being used?

atomic glacier
#

@mossy timber browser-mod

mossy timber
#

Thanks, @atomic glacier That wouldn’t work for me. I’m testing an odd rendering problem where different browsers show different results. Looking to test it with a few friends. Will just ask.

analog dragon
#

I'm not sure if this is the right channel to ask, but is anyone using the Xbox One smartglass media player from HACS?

#

I was hoping to get the current source image to show up in the media player card but I'm not sure how to go about doing that

#

the entity has a state attribute of "entity_picture" that is a url for the current source (game, app, etc) and when I click on the media player card, that picture shows up as the thumbnail

#

I would like to use this picture as the background of the media player card. Is this possible using a different lovelace component? Or does anyone know how to do it natively in the hacs component?

vapid field
#

I might be missing something here. But I have made a default profile in light_profiles.csv. How do i make a switch in the front end abide by that rule?

copper mural
#

Is this the wrong way to split up ui-lovelace.yaml so the views get separate files?

views:
  - title: Home
    icon: mdi:home
    cards:
      !include lovelace/homeview.yaml
#

I get an error in vscode that say it expect it as an array. So I tried add a - in front of !include, but then it seems not be able to read the file as it complain about there is no card type specified.

raw cape
#

I just noticed in 0.108 there's a dashboard_path parameter for the cast.show_lovelace_view. However, I still can't seem to get it working.
My service data (testing in developer tools); entity_id: media_player.nest_hub dashboard_path: dwains-theme view_path: home
I can access the view I want to cast on my nest hub via https://<ha url>:8123/dwains-theme/home, yet, my nest hub shows 'Error: Unable to find a view with path home'. The home yaml file also has a path parameter; - title: {{ _d_t_trans.home.title }} icon: {{ _d_t_icons.menu_home|default('mdi:home') }} path: home panel: true
Anyone might have an idea what I'm missing?

long mulch
#

in 0.108.2

#

seems the background color in the latteral frame is no more applied when changing theme

high notch
#

I'm trying to migrate my views from ui-lovelace to the configuration file but when I do I just get the default view. This is my code:

#
    lovelace-yaml:
      mode: yaml
      title: YAML
      icon: mdi:script
      show_in_sidebar: true
      filename: /config/lovelace_views/lovelace_system_view.yaml```
#

can anyone see what I'm doing wrong? I tried using !include before the /config but that made the whole config file error

viral sorrel
#

will it ever be possible to get more precise trigger times in the ui? maybe hh:mm ? sometimes just having hours can be wildly misleading (assuming your just going on it visually from the top level).

#

or it might be called last_changed..

muted inlet
#

@viral sorrel do you mean the last time the automation was triggered? There's a last_triggered attribute with a value like this:

'2020-04-05T03:41:14.585199+00:00'
viral sorrel
#

I'm talking more about how it shows in lovelace when secondary_info: last-changed is enabled

#

if there was an options to show it as hh:mm it would be great

muted inlet
#

Ah got it

dapper grotto
#

Anyone can help me on how to reduce the image size?

#
  • card:
    entity: sensor.centralina_irrigazione
    image: '${states[''sensor.centralina_irrigazione''].attributes.StatusImage}'
    type: 'custom:hui-image-element'
    style:
    top: 45%
    left: 35%
    width: 5%
    height: 5%
    transform: translate(0%,2%)
    entities:
    - sensor.centralina_irrigazione
    type: 'custom:config-template-card'
#

this doesn't seem to work...

proper mesa
#

@wheat current hi, i know it's somewhere in the docs: https://hacs.xyz/docs/publish/theme but can't find it. There's an update on my theme. It's in my git already pushed. HACS will re-scan on its own or i have to create another PR?

wheat current
proper mesa
#

Cool, updated already. Dang mate you did a fantastic job with HACS mindblown

dapper grotto
#

Any help for me?

feral rivet
#

hey guys I have updated to 0.108.1 and now my media player cards for my sonos devices are unavailable. cogneato has mentioned possibly having to re-add them integrations , but I was wondering if this is something others are having to deal with.

last compass
#

hi all... what is the different between lovelace yaml and storage mode?

sinful summit
#

does more people have en error on HA? when i go to dnsname.duckdns.org:8123 i see a big HACS logo.... and/lovelace is not working

wheat current
#

That's not a frontend issue, your instance is not running correctly

#

I get that as well sometimes during restarts.

sinful summit
#

i will reboot it again, thanks

mossy timber
#

Does Lovelace use different code to render things in Safari vs other browsers?

wheat current
#

I think safari uses polyfills, but not completly sure

mossy timber
#

Not a clue what that means!

wheat current
#

Same here! 🙈

mossy timber
#

I think there is a bug somewhere, which renders timestamps incorrectly in Safari.

#

But I’m collecting screenshots from a few friends to make sure it’s not a local issue on my devices.

cinder basin
#

Hi guys,
i‘m running 0.107.7 with duckdns.
Sometimes I‘m Getting the error „Unable to load the panel source: /api/hassio/app/entrypoint.js“
I have to restart my raspi.
And idea to solve this?

sinful summit
#

three times reboot gives the same error 😦 on booting i get error failed to start QEMU guest Aent)

wheat current
#

You get that if the supervisor is not running corectly @cinder basin

last compass
#

what is the different between lovelace yaml and storage mode?

#

anyone?

cinder basin
#

@wheat current Hm okay. I reinstalled my system yesterday behause getting this error. Without installing a Backup. But today, the error is back.
Do you know how to solve this?

wheat current
#

no

feral rivet
#

anyone else having issues with sonos and media player cards after 0.108.1 update?

#

There is no errors and the breaking changes does not speak to this issue

muted inlet
#

@last compass YAML mode == you manually edit your lovelace config using the ui-lovelace.yaml file
storage mode == you use the raw config editor in the UI and/or the UI card picker

feral rivet
#

cogneato thinks I may need to re-add it, but looking to see if others are dealing with this issue as well.

mild veldt
#

@feral rivet "issues" is pretty non-descript

last compass
#

@muted inlet got it.. should I add lovelace setting with storeage mode? since raw config is default setting?

muted inlet
#

what do you mean?

feral rivet
#

the mini-media-player card is unavailable, no longer showing up.

last compass
#

I mean.. should I put lovelace setting on configuration.yaml with storage mode?

muted inlet
#

no

last compass
#

Thanks bro

feral rivet
#

hey guys is this a new card type: 'custom:browser-player'? I am just now seeing this since I upgraded to 0.108.1

mild veldt
#

@feral rivet make sure you have the latest version of mini-media

#

@feral rivet it is part of browser_mod

feral rivet
#

@mild veldt Installed: v1.7.0 not showing a new update

#

Is there a newer version out there?

crimson fable
#

is there a recommended way to display cover entities which also provide positional controls?

the only way to get both buttons as well as the slider seems to have an entities card with a custom-card slider row and the entity added twice?

that cant be right

#

my custom lovelace card definitions vanished

#

they are however still working

#

Please note that resources are not in the raw Lovelace configuration editor anymore, but in the Lovelace configuration panel.

i see

dapper grotto
#

Hi all, is there a way I can have a table with rows/columns in one view?

grim cairn
#

How do I get an entity to change icon colour based on state i.e. switch: lightbulb grey for off and yellow for on?

muted inlet
#

@grim cairn use state_color in the card config

grim cairn
#

@muted inlet The crazy thing is I had it in there but VSCode complained and thus I thought it was wrong, need to ignore VSCode messages more

distant stag
#

Which card is supposed to be used for displaying if a person is at home or not?

#

Sensor cards don't accept person.*entities

muted inlet
#

@grim cairn note that i said in the card config, not the entity config

#

@distant stag entity card

#

or glance, etc.

distant stag
#

Oh okay

#

Thanks!

grim cairn
#

Like this:

      - title: Bathroom
        id: 'bathroom'
        type: entities
        state_color: true
        entities:
          - entity: switch.bathroom_light
            name: Bathroom Light```
#

@muted inlet I believe that is correct and VSCode syntax checking is not updated with the state_color field.

#

I mean it works...

modern plume
#

is there a way to make a unit in a Gauge card show as an int?

mild veldt
#

@modern plume create a template sensor

modern plume
#

uhm yeah I guess that's an option. Kinda wish I could just set my input_number to be an int to keep things simple

proper mesa
#

Guys, when one wants to add cards to lovelace, some of them (button card, entity card) have the Entity (optional) which should be Entity (required).

Not a big issue but i thought you wanted to know

feral rivet
#

ChunkLoadError: Loading chunk 57 failed. (error: http://192.168.1.23:8123/frontend_latest/chunk.a4716173afdd33caad0d.js) I am getting this error from my conditional mini-media-player card. I am running HA0.108.2. iantrich mentioned making sure that card was updated, but currently there is no pending update for this card.

#

anyone know how to fix this?

muted inlet
#

C H U N K

feral rivet
#

🤔

stark ivy
#

All, I am trying to figure out why these custom cards aren't working after upgrading. I renamed the modules to /hacsfiles but still no luck. I tried clearing cache also... idk wtf.

feral rivet
#

what does that even mean

stark ivy
#

I'm on Docker HA image (latest), watchtower did an auto-update. Now; the Lovelace modules installed via HACS are not working in the UI.

feral rivet
#

@stark ivy what cards are you having issues with?

stark ivy
#

Example, the multi-entity-row card will not work.

mild veldt
#

works for me

#

make sure you have the latest version

stark ivy
#

I read through the forums and such and noticed that after upgrading people will have to change their modules from /community_plugins to /hacsfiles

#

So I went through and changed all of my modules to /hacsfiles to see if that helps, and it did not.

feral rivet
#

I have the latest HACS update I am having issues as well

stark ivy
#

ian, the version shows latest in HACS.

#

Generally when hacs breaks it really does, this time the entities are still showing but not being modified by the custom plugin.

#

Hence why I am in frontend. All my "plugins" used to be in the Lovelace yaml, now they automatically disappeared... curious if there was anything else we need to do.

mild veldt
#

@stark ivy you should have used HACS to move the modules

#

I would rename everything back to /community_plugins and then go to HACS -> Settings and in there you'll have the option to move to hacsfile, which will update all the references it has in its files

#

@feral rivet try reinstalling the card in question

stark ivy
#

There is nothing in settings about it

#

Will try it out again though. I am gonna revert to old versions if this doesnt work out I suppose

#

I reverted the card in question, and used the option in HACS to change it. Now it says the custom element doesnt exist 😮 haha

wet fiber
#

So I just noticed HACS has a pending updates sensor so I added it as a badge. Currently I don't have any pending HACS items with updates so it says zero. Is there a way to hide the badge when it is zero?

woven jasper
#

Hmm times in the logbook are incorrect.

#

But they are correct in history.

wet fiber
#

@woven jasper Is your time zone set right?

woven jasper
#

yes

#

my location is filled ion

#

current date and time

#

this was only a few minutes ago

#

yet the ending time in history is correct

#

hold on

#

all of the history ends at the incorrect time

#

so the time thinks it is some 2:45 am

frosty pelican
#

digging the new androidtv screenshots in the media control card

feral rivet
#

@mild veldt so I reinstalled HACS and did a reinstall on the mini-media-player card and I am still having the issue where since the update I am unable to see my custom:mini-media-player cards. I have restarted HA at least 4 times this morning.

woven jasper
#

welp i give up

#

i'll try and get this working another day

#

i might just use an old pc than a pi

distant stag
#

Does the map card's dark_mode option support templating?

split granite
#

boolean

#

I'd say no

distant stag
#

Are there other ways of dynamically changing it to dark?

split granite
#

I don't know

mild veldt
#

@distant stag config-template-card

distant stag
#

Your own code I see

#

Javascript is scary af

#

I'll check it out thanks

humble jetty
#

Since .107 I don't see triggered automations being logged. Anyone else see this? I didn't see anything in the release notes about a change here.

split granite
#

I see mine 🤷

humble jetty
#

ok, just me then 😦

split granite
#

0.107.7 here

humble jetty
#

had it since 0.107, still don't see them on 0.108.1

#

I'll have to do more digging

#

*had them gone since 0.107

distant stag
#

@mild veldt Your module was pretty easy to set up and it does the job perfectly 👌

#

Finally my eyes are not burning after sunset

muted inlet
#

@humble jetty i'm on 0.108.2, no issues with triggered automations being logged

vapid field
#

Hello! I am looking for a way to make the temperature configuration of the "thermostat" card configurable. The upper end is at 30°C per default. The documentation https://www.home-assistant.io/lovelace/thermostat/ does not mention such an option. Is there none or did I consult the wrong documentation?

#

And ... ""hello", this is my first post here.

muted inlet
#

get out

#

jk

#

welcome!

#

AFAIK an option like that doesn't exist. maybe check if your thermostat itself has a limit

#

or there could possibly be a custom thermostat card that has limits as an option

vapid field
#

I am building an incubator for chicken eggs, therefore the need for high temperatures. I am using "esphome" as the integration.

muted inlet
#

oh you need it higher

#

interesting

vapid field
#

Yes. My problem is: I can adjust the limits by clicking. But the nice sliders on that card are only capable to configure up to 30. SO what I need would be: Map the "right end" of the circle not to 30°C but to 40°C. Otherwise, It's much clicking the spinner.

muted inlet
#

i'm assuming you could just use the same thermostat for cool_entity_id and heat_entity_id

vapid field
#

Thanks a lot for your help!

muted inlet
#

no prob! i've never used that card so YMMV

vapid field
#

For custom cards: does it make a difference whether I use plain homassistant via Docker vs. using hass.io?

muted inlet
#

nope, you're good either way

#

what are you using btw?

vapid field
#

I am using it with Docker

muted inlet
#

nice, same

vapid field
#

But I saw that some things are simpler with hass.io, but at the price of taking over the complete device

#

at least that was how I read it

muted inlet
#

sorta, yeah. but you could do the generic linux install to have the benefits and still have control over the host

#

but that's an unsupported method

#

tbh i've tried all four installation methods and settled on core on docker as the one for me

#

i wanted to learn about how the add-ons that i was using worked (NGINX, mariadb, etc.)

slow wave
#

Well, supported, but if you don't know what you're doing you can screw it up bad

#

Do you know Linux, run venv, do you know docker, run docker, do you know neither, run supervised all has pros and cons

muted inlet
#

ah right, it's supported if you use Ubuntu or Debian as the host OS

vapid field
#

Maybe I have to revisit my decision at some point 🙂 the installation method and the used distribution.

#

Thank you both for the valuable input, I am looking forward to give this custom card a try and more than that, I have been using HA only via the graphic capabilities and this is an excellent statring point to dive a little deeper.

#

By the way, esphome is awesome, building a regulator for a heated box with HA integration was a matter of several minutes (plus the soldering, of course), and my issue is only a cosmetic one. But I'll stop here as I am getting off-topic

#

Thanks and enjoy the weekend!

muted inlet
#

yeah esphome is pretty cool

#

you too, stay healthy/safe

vapid field
#

hello there i somehow deleted the default_config line in my configurations.yaml file. How can I fix this?

muted inlet
#

SSH in/use samba to add it back to your config

vapid field
#

thank you for the response. My ssh is being denied and I was currently working on getting my samba configured because for some reason it was empty. Thats how all this started. But it was a complete accident to delete that line. I have direct access to the host. But I don't know enough to figure this out on my own.

muted inlet
#

@vapid field assuming you're running Home Assistant/Home Assistant Supervised, ask in #330944238910963714

vapid field
#

ok thank you

cosmic gazelle
mossy timber
#

I believe the Lovelace code for device_class: timestamp is flawed:

  1. It does not accept a timezone as input.
  2. It renders incorrectly on Safari, and only Safari.
icy patrol
#

anyone notice that the media player added to LL now shows a volume slider and a power button?

#

since the new 108 update?

mossy timber
kind shellBOT
brittle eagle
#

Hello

#

Can i use !include in the lovelace config editor to include views? Dont want to use yaml mode but still be able to easily edit the views using vscode

split granite
#

You can only use it in YAML mode

hallow granite
#

Hello Friends.. HAPPY EASTER! I just wanted to know if someone is familiar with layout card here? I struggle to get this working.. intents are wrong or I make something sompletely wrong

lavish mango
#

hello everyone, this morning while updating to 108.2 I noticed that the sidebar's color from my theme was not working anymore... Found that the theme propery paper-listbox-background-color has changed for sidebar-background-color

#

generally speaking, where to find documentation on the different properties / elements on the page, and how to theme them? The Chrome HTML inspector is not of a good help

#

also, I was not able to find a proper changelog highlighting this change

arctic pumice
#

my home assistant sometime fail to start frontend everything works addons (i can ssh to it, browse samba, etc) but when i try to reach frontend it reads Unable to connect to Home Assistant. then it out of sudden work for like 5s and again Unable to connect to Home Assistant.

#

i have to do random restarts and it magically works again

#

theres no errors in logs

split granite
arctic pumice
#

got it done thanks

full schooner
#

Hi, I have weird lovelace custom cards issue. I have custom card is that is defined as resource in my configuration.yaml

#

now it works on my ui-lovelace.yaml

#

but when I created new dashboard from the frontend and tried to enter the same yaml code (using the Code editor in the UI Config)

#

I'm getting No card type found

#

and Cannot read property 'setConfig' of undefined

#

i don't see any errors in the logs

#

how can i find what is wrong?

#

found the issue... I copy the yaml with minus sign and this failed on my. NukeFacePalm

vapid field
#

What is the best way to use light.toggle in the ui?

split granite
#

On a card? 🤔

vapid field
#

I am trying to get my hear around the different cards. The cards are the things like button or entity, entities?

#

They are all called a card?

split granite
#

Look on the right, under Cards - those are all the stock cards

vapid field
#

Ok. Again sorry for being such a noob lol

split granite
#

It's fine, as long as you don't mind that I'll keep directing you to docs that cover most of this

#

If you want a button to turn a light on and off, then a tap_action on a Button card or a Glance card may be what you're after

vapid field
#

Thank you. I will have a play with the glance and button cards.

rough bridge
vapid field
#

@split granite Is it normal to get errors in the ui code editor even though it works?

#

Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received {"action":"toggle"}.

split granite
#

No

#

Errors means you did something wrong 😉

vapid field
#

It does work though?

split granite
#

That may be luck, such as it defaulting to all entities of that type

#

So, fix the code to not throw an error

vapid field
#

I am trying to understand what the error means but is jibberish to me.

#

I copied the parts from an example on the glances help page.

#

That is the actual code.

split granite
#

You have to tell it what to toggle

#

The example looks outdated

#

Actually, no, that should work. I've always made a service call though 🤷

vapid field
#

I am trying that now to get a hold to set the brightness to 1%

split granite
#

Light service call

vapid field
#

service: light.turn_on

#

Is that what you mean?

vapid field
#

Ok. I have the toggle working which is just calling toggle. But the hold is not working

#

Is anything super wrong there?

split granite
#

That doesn't look like a turn on service call 🤔

#

Have a look at the docs I linked

vapid field
#

ok

#

Isnt the service: light.turn_on the cane of the service being called by the action call_service above it?

split granite
#

Yes, but your arguments... they're not right 😉

#

They look more like a scene than a service call

vapid field
#

ok

#

So the data: part is wrong?

split granite
#

Yup

#

Look at the examples on that page

vapid field
#

Ok. I am trying to have it so that pressing it toggles the light on and off. Hold sets it to 1% brightness

split granite
#

Yup

#
  action:
    - service: light.turn_on
      data:
        entity_id: light.living_room
        brightness: 255
``` from the docs for the service call
#

That you're using a card doesn't change the nature of the service call

#
    hold_action:
      action: call_service
      service: light.turn_on
      data:
        entity_id: light.bathroom
        brightness_pct: 1
vapid field
#

Hmmm. It does not work

split granite
#

Ah, service_data

#
    hold_action:
      action: call_service
      service: light.turn_on
      service_data:
        entity_id: light.bathroom
        brightness_pct: 1
``` (probably)
vapid field
#

ok

#

Still a no go.

#

Hold on

#

Its call-service not call_service

safe mantle
#

Hi everyone, looking for a way create a presence card with Life360 where is shown Location, Battery Status (if is charging the icon update for the charging icon instead of a regular battery icon). I was able to create the card with most of it but having problems with the icon for the battery. I'm a noob. Thanks.

split granite
#

A template sensor, with a device class of battery and a unit_of_measurement of % should cover y ou

manic harbor
#

I want a card or button to select various LED effects from an esphome controlled LED strip. any suggestions on how to approach this in HA?

#

I don't like the way the Light card just turns the LEDs on and off and stops whatever effect was running. I'd like it to toggle on/off but when it turns on, restore whatever effect it was doing before, or at least go to a default effect rather than just all LEDs on

split granite
#

That sounds ... more complex than just a card

manic harbor
#

ok, how do you suggest I approach it?

split granite
#

Probably snapshot the current state with a scene

#

You'll have to handle this with scripts, scenes, and input selects to pick the effect

#

And an automation

#

Use the input select to change the effect, the automation then handles snapshotting the current state, and setting the new effect

manic harbor
#

ok

#

one step at a time. let me look at input select

willow falcon
#

I don't like the way the Light card just turns the LEDs on and off and stops whatever effect was running. I'd like it to toggle on/off but when it turns on, restore whatever effect it was doing before, or at least go to a default effect rather than just all LEDs on
@manic harbor i use wled for rgbww strips

manic harbor
#

ah

#

instead of esphome for example?

willow falcon
#

yes and wled effects within ha

manic harbor
#

does that integrate with HA?

#

ah

#

checking it now

willow falcon
#

i have esphome on sonoff switches, gosund plugs but for led strips wled do agreat job

#

wled has an native api integration with ha

manic harbor
#

ah that sounds great

#

going to try it now

vapid field
#

@split granite Is there a built in function that double click on a button goes to full brightness?

split granite
#

Please don't tag to "ask" for help

#

It comes across poorly, and increases the odds folks will block you 😉

#

Just ask the question

#

If there is such a function, it'll be in the docs for the card

vapid field
#

Ok. Sorry.

#

I am used to the irc days

split granite
#

I know it seems harmless, but many of us get a stack of tags, each of which is a notification ping

#

Think about how you'd feel if your phone started pinging at you every few minutes - all the damn time 😉

vapid field
#

Wouldnt be great.

manic harbor
#

@willow falcon thanks for the WLED tip. In fact I looked into it before at some point and totally forgot about it untul you reminded me

willow falcon
#

😉

manic harbor
#

hmm, i did something and now it doesn't show up in HA anymore. I changed the name of it? maybe that did it

#

how do i get HA to detect it again?

#

light.wled is marked as unavailable in developer tools

icy patrol
#

notice that the roku media player does not power on the TV when the power button is press in LL

#

Anyone else try it?

#

Also now in LL the media player card shows a volume slider. Is there a way to hide that?

mild veldt
#

@icy patrol no

willow falcon
#

hmm, i did something and now it doesn't show up in HA anymore. I changed the name of it? maybe that did it
@manic harbor delete and readd

manic harbor
#

how do I delete it?

willow falcon
#

integrations

#

wled

mild veldt
#

You can try mini-media-player @icy patrol

icy patrol
#

@mild veldt Thanks. You think it will work for roku TV?

manic harbor
#

thanks tioan

#

that fixed it

mild veldt
#

@mild veldt if the power button is not working that is a bug that should be reported

slow wave
#

Interesting, I tried using the new feature of combo yaml \ ui editing of #frontend-archived but while adding a second view I get this after adding three sensor cards 🤔 and HA stops working overall 2020-04-11 15:33:18 ERROR (SyncWorker_21) [homeassistant.components.recorder.util] Error executing query: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/3o7r)

vapid field
#

tinkerer. THanks for the help. I think I have it usable for now 😄

#

I am sure your set ups are more advanced. But for lights I now have tap as toggle. Hold will reduce brightness to 1% and double tap will turn on to full brightness.

last compass
#

I use anniversary module which allow to show the countdown date. However it also show more information like the age etc.. however its appear on attributes. How can I make it appear on the dashboard/card?

tall pine
#

Can I restrict access to dashboards for certain users?

wheat current
#

yes, make it admin only, and don't make the users admins

tall pine
#

@wheat current s I mean like so one user can access a dashboard that is like designed for them specifically, then another user can access their dashboard, but they can't access each others, and neither of them are admins

wheat current
#

then no, not by default, there may be custom options for it

tall pine
#

ok

split granite
wheat current
#

Only to the header, not the dashboards (sidebar entries)

feral rivet
#

Does anyone now if there is such a thing as a CSS Style cheat sheet for HA or a guide that can show what is possible with these cards?

warm meteor
split granite
#

Yup, those go in your customize section

warm meteor
#

k thats what i figured. just wanted to make sure. then all covers will show that?

split granite
#

Using that, all the cover entities with _window_ in them

warm meteor
#

that was my next question, where does the window portion show?

#

i dont see that attribute anywhere

split granite
#

In the entity_id

warm meteor
#

oooo

#

gotcha. guess i need to change some names then

split granite
#

That too uses customize_glob

warm meteor
#

whats that?

warm meteor
#

so ive used customize before, what does customize_glob do? not seeing an explanation there

split granite
#
  # Customize entities matching a pattern
  customize_glob:
#

From the examples further down

atomic glacier
warm meteor
#

@split granite sorry, im stupid this morning.

#

Any idea why its not working? Added customize_glob to my config, restarted. Changed my cover to cover.living_room_window. and uploaded the images to my local folder. But Im still just seeing the default icon

split granite
#

Did the state of the entity change?

warm meteor
#

yep

split granite
#

you ran a config check?

warm meteor
#

config validation shows good

kind shellBOT
#

Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.

split granite
#

Show us what you did, then we don't have to guess

warm meteor
#

k one sec

#

this is my customize_glob
"cover.*_window_*": templates: entity_picture: > if (state === 'closed') return '/local/blinds/blinds_00.png'; if (attributes.current_position <= 10) return '/local/blinds/blinds_10.png'; if (attributes.current_position <= 20) return '/local/blinds/blinds_20.png'; if (attributes.current_position <= 30) return '/local/blinds/blinds_30.png'; if (attributes.current_position <= 40) return '/local/blinds/blinds_40.png'; if (attributes.current_position <= 50) return '/local/blinds/blinds_50.png'; if (attributes.current_position <= 60) return '/local/blinds/blinds_60.png'; if (attributes.current_position <= 70) return '/local/blinds/blinds_70.png'; if (attributes.current_position <= 80) return '/local/blinds/blinds_80.png'; if (attributes.current_position <= 90) return '/local/blinds/blinds_90.png'; return '/local/blinds/blinds_99.png';

#

this is my lovelace:
`entities:

  • entity: cover.living_room
  • entity: cover.office
  • entity: cover.living_room_window
    show_header_toggle: false
    type: entities
    `
split granite
#

Well, you ignored how to share code...

#

And, you shared it with zero context

warm meteor
#

sorry, missed the robot. i can report. what context do you need?

split granite
#

We need to see how that looks _in your configuration.yaml

#

What you posted clearly wasn't from there, or if it was was about as wrong as it gets 😉

warm meteor
#

one sec

split granite
#
homeassistant:
  ...
  customize_glob:
    "light.kitchen_*":
warm meteor
split granite
#

Yeah, no

warm meteor
#

?

split granite
#
homeassistant:
  customize: !include customize.yaml
  customize_glob: !include customize_glob.yaml
``` that bit is good
#

Oh joys, you posted all the files in one block 🤔

warm meteor
#

you want me to send you 3 seperate links?

split granite
#

Ah, never mind

#

I didn't read the whole page for those icons, and neither did you 😉

#

Note: My setup using custom_ui for home assistant to allow me to set all of my convering to use icon configuration.

#

Are you using custom_ui?

warm meteor
#

no, decided to do it a different way. How do I set a custom icon that is located in local? Think Im formatting this wrong
`type: entities
entities:

  • entity: cover.living_room
    icon: '/local/blinds/blinds_00.png'`
split granite
#

You can't

warm meteor
#

lol i guess thats my problem then

split granite
boreal sluice
#

@split granite can you give me some tips how to setup that? I'm on homeassistant event page but i don't see something about calling.

split granite
#

You want to be looking at the docs for your card

timid wigeon
#

Since 108, my left bar now has a white background and white text. I have custom CSS but any tips on targeting the new side bar styling to make it grey background and white text again?

timid wigeon
#

did this happen to anyone else with a dark theme?

boreal sluice
#

I think with 108.3 the themes are broken.

timid wigeon
#

I'm on 108.2 still

worldly burrow
#

I used to have a groups.yml that specified groups - with the latest update I got an error "view is not valid in groups" so I removed it. Now I don't see my tabs.. the page on groups configuration doesn't mention this any more: https://www.home-assistant.io/integrations/group

split granite
#

Tabs.... aren't a thing controlled by groups any more

#

That was a thing for the old UI

#

Views and Dashboards in Lovelace

worldly burrow
#

ooh lookie there. Neat. Thanks @split granite

timid wigeon
#

Are themes broken in 108.3? Should I hold off on the update?

worldly burrow
#

OMG this configuration UI is amazing

#

as much as I like yaml, this is ❤️

steady sluice
#

Anyone have a good online solution for making the maps for the frontend in HASS?

livid kelp
#

I want to display the current state in my display. So I have a washer rule. Tells me when washer is done. But I would like to be able to see in the display visually the current state and how long it has been in the current state. Appreciate any advice!

radiant bear
#

I can't edit my scenes anymore. The Pencil inside the Scene Editor is grayed out

split granite
#

Then the scene likely doesn't have an id: needed by the editor (I guess)

radiant bear
#

Could be. I've imported them from a backup. They work tho

split granite
#

Yup, but the editor(s) require an id: so they can work with them

radiant bear
#

How do I ass this?

split granite
#

Edit them manually and add them?

radiant bear
#

Thing is: They aren't in my scenes.yaml anymore

#

And Ideas?

#

*Any

split granite
#

Check your file system for them?

radiant bear
#

How? 😅

#

What do I have to search for?

split granite
#

YAML files containing words from the entity_id 🤷

radiant bear
#

Well. I was dumb as always.

#

Just had to remove those Scenes from the Entitiys

#

Thanks @split granite

drifting horizon
#

Is there a good way to move badges from the top, over into their own card?

split granite
#

dotsvertical -> Take control

drifting horizon
#

Let me rephrase my question. :)

radiant bear
#

Maybe Copy Paste from RAW Configuration?

drifting horizon
#

I'm editing ui-lovelace.yaml, are there any pretty examples of cleanly displaying badges inside a card?

#

Mostly looking for ideas here.

radiant bear
#

Create a Manual Card and Copy the Badge Inside it as an Entity?

split granite
#

Badges don't go in cards 😉

#

Badges are specific to the View

#

You can however move put any entity in a card

#

You can use those for headers too, or you can just use a Glance card

split granite
#

That looks like some custom card magic

drifting horizon
#

Yeah, project on github hasn't been touched for a year.

distant stag
#

How do I read the remaining time from a timer entity?

#

It has a remaining attribute, but that doesn't seem to be changing at all

daring night
#

question re 'moving' a lovelace card (via the 3 dot menu on the lovelace card) - is it possible to move to a new lovelace dashboard setup in the new Lovelace Dashboards feature? seems to only allow to move within the dashboard set its currently in? thanks in advance

vivid osprey
#

Hello Folks I have being notice that the since 108 or the last 107 builds the Frontend started to became heavier

dark dirge
#

Slower?

paper apex
#

How do I display an MQTT message from some point in recent history? I can display what the message state is right now, but I want to display a previous state. Anyone know how?

harsh plaza
#

Not sure what I did wrong here on this card. I can't get the service to call. But when I do the service call in the dev tools it works.

        name: rep
        tap_action:
          action: call-service
          service: counter.increment
          service_data:
            entity_id: counter.tays_kb_daily_swing_total
        double_tap_action:
          action: call-service
          service: counter.decrement
          service_data:
            entity_id: counter.tays_kb_daily_swing_total```
grim cairn
spiral pasture
#

@drifting horizon# you could recreate the example image you posted with custom:stack-in card containing an entities card, and a picture-elements card with state-badge elements.

spiral pasture
#

the key thing being, that you can use badges in a picture-elements card

#

@grim cairn that doesn't look like an entities card - or if it is, are they custom entities? Usually, individual rows in an entities card wouldn't have a border by default

grim cairn
#

They are custom

#

I think it thus adds a border for custom cards by default

#

I garner I would need car modder or something similar to remove it.

spiral pasture
#

it can be applied to a whole card, or for entities card, you can apply styles to individual rows, not sure what styles you'd need though as I don't use the entities you're trying to change

grim cairn
#

hmmm... I think I will live with it, its more things that could break and more time on what is a subtle border

honest yoke
#

Not sure if this is frontend, template or integrations.. but i have a REST sensor that fetches a date (device_class: timestamp). And when it is presented in lovelace it is interpreting the date to text. So instead of writing 2020-04-20 it writes "In 1 week"
When clicking the sensor for more info it clearly states the actual date.. how can i get lovelace to show the date instead of text?

dapper grotto
#

Hello, how can I resize this image?

#
  • card:
    entity: sensor.centralina_irrigazione
    image: '${states[''sensor.centralina_irrigazione''].attributes.StatusImage}'
    type: 'custom:hui-image-element'
    style:
    top: 45%
    left: 35%
    width: 5%
    height: 5%
    transform: translate(0%,2%)
    entities:
    - sensor.centralina_irrigazione
    type: 'custom:config-template-card'
#

The style doesn't seem to work

stray bolt
#

Hi everyone, new here. Just wanted to aks if there is some fix on the "Unable to load the panel source: /api/hassio/app/entrypoint.js" error?

split granite
stray bolt
#

@split granite I did not posted there, because my installation was working for months, so no "installation" thing I imagine. Sorry, I am not familiar with the topic organisation here

split granite
#

No worries, but anything that refers to hassio or supervisor is probably best asked there

stray bolt
#

ok, thx

distant stag
#

My dashboard is finally starting to look gut

#

Ngl lovelace is a godsend

#

I just need to figure out how to hold together a few cards that belong to one room

#

Possibly with like a title card kind of thing that possibly could display temperature/occupance

#

But I really have no inspiration 😕

spiral pasture
#

@distant stag have you looked at custom:stack-in-card - it'll give you a header / title and then allow you to combine cards in horizontal and vertical stacks without borders, so they look like one customised card. https://github.com/custom-cards/stack-in-card

manic harbor
#

i put tasmota on a power switch device, but how do i now add it to HA? shouldn't it get auto discovered? currently it's not

#

and I can't see tasmota as an integration to manually add it

split granite
wheat current
#

@split granite 🖕
You are too fast.....

split granite
#

😛

#

That shortcut is in my history, because too many people seem to struggle finding it with Google 🤷

manic harbor
#

thanks

#

fwiw, I think the link has moved

split granite
#

Then... find it there 😉

#

Took me... two clicks from that link

wheat current
split granite
#

I'm disappointed there's no VR/AR card yet

manic harbor
#

guys, i wasn't complaining you sent me the wrong link, just pointing out it seems to have moved

wheat current
#

There is a feature request section on the forum @split granite

kind shellBOT
distant stag
#

So I have some button cards, each representing a scene for my lights. Whats the best practice to change their colors to show which scene is active?

split granite
#

Scenes aren't active though...

distant stag
#

So the method would be checking which one was ran last?

#

If that's possible, idk anything about scenes

split granite
#

Well, the problem is the moment you change anything the scene set, the scene's settings aren't current any more, so your scene ended

distant stag
#

Makes sense

split granite
#

You could use the scenes to set an input select, saying which was last run

#

You'd need some way of setting that to a None equivalent

distant stag
#

That's what I was thinking, but I don't think it's worth the hassle

#

I'll just flash the button for half a sec to indicate that the scene was activated

#

As far as I know, the button card's state_color only supports changing the icon's color

#

So if I wanted to change the background dynamically, I'd have to play around with config-template-card and the theme: option, right?

split granite
#

Not sure, I don't really use the UI like that

candid lintel
#

what are the small circular icons at the top of Lovelace called?

distant stag
#

Badges

candid lintel
#

ah thank you!

solar laurel
#

Guys, i legit cannot enter spaces into the frontend. Just installed brand new Hass.io instance. Latest Chrome on Windows 10 x64. I can enter space into address bar, copy it and paste it and it works. Just pressing space on keyboard does nothing in Home Assistant text fields. Works everywhere else.

vivid osprey
#

@dark dirge yes when editing automation or some configuration sections the browser process goes higher about 60% and make everything slower...
This only happens with ha page,

vapid field
#

hello

split granite
#

You could probably use a group to simplify that

kind shellBOT
#

Groups allow the user to combine multiple entities into one.

vapid field
#

ty Tinkerer, I am way past that

#

my problem is a little bit more complicated

#

how can I add a picture to this channel?

kind shellBOT
#

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

vapid field
#

lol, ok. moment...

#

this is my fronted: 3D floorplan and some lights (actually only smart switches, added)

#

I want to implement a button: it will be an image with opacity and I want to toggle all the switches (sonoff touch T1 s) on and off

split granite
#

So, which bit are you stuck at?

vapid field
#

I made 2 scripts: one for turn off all devices and one to turn on all devices

#

but I can't write the code for the button (image with opacity)

#
  • entity: script.1586538341312
    image: /local/btn_assets/btn_parter.png
    state_filter:
    'off': opacity(90%)
    unavailable: opacity(40%)
    style:
    left: 12%
    top: 75%
    width: 20%
    tap_action:
    action: call-service
    service: script.1586538406427
    type: image
kind shellBOT
#

@blissful obsidian 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

vapid field
#

this doesn't work as intended

split granite
#

🤦

#

EDIT your message

vapid field
#

script does not have states

split granite
#

And... the key you're looking for is probably the one next to 1️⃣

#

The script will be on (running) and off (not running)

#

However, it'll run, and set all the lights, and then it's done (no longer running)

vapid field
#

no ,that state is not what I want....

#

how can I make a global variable with a counter that holds the number of turned on devices

split granite
#

That sounds like a template sensor

vapid field
#

no, that sound like a program. I can write it in other programming languages, but not in YAML for hassio

split granite
#

Well, you can do that with a template

vapid field
#

I am newbie, so I don't get this subtle hints 🙂

split granite
#
        The following lights are on: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_lights', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}

That will give a count of how many members of group.my_lights are in the state on

vapid field
#

that is json?

split granite
#

Jinja

kind shellBOT
split granite
vapid field
#

ok, ty Tinkerer/ give me a day to document myself and I will update my status 😄

#

did you see my picture with my home?

split granite
#
sensor:
  - platform: template
    sensors:
      devices_on:
        friendly_name: "Devices that are on"
        entity_id: sensor.time
        value_template: "{{ dict(states|selectattr('entity_id', 'in', state_attr('group.my_devices', 'entity_id')|list)|groupby('state'))['on']|length }}"
```I gave you the wrong template before, this should be the sensor you need
#

sensor.time is needed so that it updates

gusty glen
#

Hello!
I'm new in here. Love HA so far, what a great piece of software. Migrated from domoticz - waited way too long to migrate.
I have one question I fail to google an answer. Whenever I click for example a temperature sensor, I get the history graph displayed like this: https://imgur.com/a/qNklOCH
As you can see and I am sure all of you are aware, it only fills a tiny portion of the screen. This totally does not fit the general polishedness of home assistant, and I am looking for a way to get it displayed in the size it would actually deserve to be displayed.

Anyone of you went through this and would share with me how to?

candid lintel
#

Was just watching a youtube vid ( yes I know i shouldnt be doing that) and the guy adds an iframe card for his weather add-on. I dont see that option, in the UI, is it gone for good?

split granite
#

Which?

candid lintel
split granite
#

So, you're asking if the iframe is gone for good, or the weather add-on?

candid lintel
#

sorry, yes my end goal here is to get a cool weather card on the front end. Hopefully i avoided the XY problem 🙂

split granite
candid lintel
#

there it is!

kind shellBOT
split granite
#

~codewall @safe mantle

kind shellBOT
#

@safe mantle Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.

Please take the time now to review all of the rules and references in #rules.

split granite
#

That said, what error message?

safe mantle
#

Expected a value of type `{entity,name,icon} | entity-id

wooden bluff
#

Had an update circle at the top of my overview. How do I get rid of it?

gusty glen
#

even on my phone it does not fill the screen

split granite
#

The "more info" popup isn't a full screen thing, ever 😉

#

If you want bigger graphs, you need that in the UI

gusty glen
#

But would it not make sense, that when I click a sensor graph, that it actually fills the available real estate, instead of a tiny static graph?

kind shellBOT
split granite
#

Feel free to raise a feature request there 😉

#

I find the popup is far less useful than the mini-graph-card

gusty glen
#

you make me feel like I'm the first person bringing this up 😅
I'll check out the mini-graph-card. thanks!

split granite
#

I don't think that that many people have cared about it

#

If you click the title, it takes up the full width FYI

gusty glen
#

you mean the mini-graph-card right?

#

ohh!!!

#

😂

#

well, that took me a seriously looong time to find out 🤦‍♂️

#

thank you!

#

I am now trying to install HACS, it wont show up in the integrations searchbox ...

#

yes I did clear my browser cache

#

alright, i have finally seen the big blue box about "assuming you have done the installation" 🙈

scarlet coral
#

Any idea why I'm seeing the following error for my mini-graph
Cannot assign to read only property '0' of object '[object Array]'

#

Nevermind issue, resolved. Forgot that they moved away from the legacy community directory.

versed forge
#

Hey guys! Anyone knowing how to change the icon of an entity? I want to convert to switch "lightning" to a "lightbulb" when I try it in the states section it disappears after a certain amount of time..

versed forge
#

Great! Thanks a lot

cosmic trellis
#

Hi. I think this question belongs here. I've got several numeric values that are not being stored as numeric, thus they aren't generating graphs. How do I make an entity be stored and represented as numeric? https://snipboard.io/dYMokW.jpg
I've added unit_of_meaure into my customizations file which added the UOM but didn't change the representation.

split granite
#

If you look in devtools -> States does the entity have a unit_of_measurement attribute?

cosmic trellis
#

Yep. At least now it does.

#

Looking at the data in the SQL table, not all of the entries in the states table has a UOM, just the latest ones since I added that.

radiant bear
#

How do i force the color of a gauge in a theme

livid kelp
#

I have an automation that is tracking numeric state of wattage from an entity (an outlet). I have an automation that is changing “input select” for the entity based on several possible wattage levels on the entity. I would like to reflect the current “input select” in a front end display. Any advice would be appreciated. The line switching the input select looks like this:

#
  • data:
    entity_id: input_select.washing_machine_status
    option: running
    service: input_select.select_option
split granite
#

Just add input_select.washing_machine_status to a card?

candid lintel
#

i'm trying to add a picture to the picture elements card but i keep getting the broken image link icon

#

i put the image in a folder labeled www, in my config folder

#

switched from JPG to png, and it worked!

shrewd condor
#

I'm looking for a good looking easy to use (granpa friendly) "set your self time/day of week" card alarm clock to launch the script with the lights in the morning, any ideas ? thnks in advance

livid kelp
#

Does that show the status or allow me to select it? Resulting code looks like this:

#

type: entities
entities:

  • entity: input_select.washingmachine_status
    title: Washer Status
tranquil nest
#

This is completely cosmetic, but is there a way to add a title on top of a card in lovelace?

#

I'm currently using vertical stacks to do this, but in some cases vertical stacks complicate things and aren't possible (for example, with the auto-entities custom card)

muted inlet
#

@tranquil nest some (most?) cards have a title built in

tranquil nest
#

Yeah that's what i used to use, but they don't all have titles to to be consistent i was using the vertical stack card to add a title.

#

The vertical-stack card has the added bonus of placing the title above the card (i think it looks cleaner this way)

#

now that Lovelace supports vertical stack cards it's pretty easy to maintain, the downside is that vertical-stack cards are not supported in auto-entities custom card that i use quite often.

gusty glen
#

I have frequently come across a Hass.io panel in the left menu in tutorials/websites/docs. However my docker installation does not have that. I fail to find any documentation about it. How do i get it?

#

and whats the deal about it?

split granite
#

You don't

gusty glen
#

is there any documentation about this that I can just read through and get a clear picture about the situation i am facing here?

#

i tried googling multiple times and failed hard

split granite
#

The "situation" is that you didn't use the install method that provides that panel 😉

gusty glen
#

the "situation" is that there is a panel referenced in many manuals that I don't have and can't find any documentation about

split granite
#

Because it's specific to that one install method

#

It exists to allow you to install other software

#

If it's what you want, you have to use that install method

gusty glen
split granite
#

add-on

#

That's just software running in a Docker container, with a little tweaking to include in the #330944238910963714 UI

#

I'd assume that somebody somewhere must have done a Docker container for it 🤷

gusty glen
#

ah, alright. thank you, that info helps a lot!

broken marsh
#

I've added a glance card to show remaining toner in my printer and when I click on one it shows the percentage the last 24 hours. Can I change that to show 7 last days for instance?

split granite
slow wave
#

How much ink do you use to need a 7 day monitor for it? FeelsSuperWeirdMan

split granite
#

I must admit I only care about order more soon and replace it now

broken marsh
#

Hardly any but that's the point. If I click Cyan there's a line at 34 % instead of showing the development over time.

#

Seeing that I've used 1 % the last 24 hours is pointless. But it would be cool to see how much i use in a month.

split granite
#

For that, you probably want to send your data to InfluxDB then

broken marsh
#

It's not stored that long?

#

I'm slowly moving from Domoticz to HA and in Domoticz I think logs are saved forever by default.

#

It's fun to see temperature history the last year

kind shellBOT
split granite
#

HA's own database isn't really intended for long term storage

barren bolt
#

Is this not work with lovelace?

entities: 
  - !include my_entities.yaml
  - entity: switch.wathever
split granite
#

If you're using YAML mode, though probably not like that

#

I'd expect that you'd need to put them all in my_entities.yaml

barren bolt
#

Yes, if I only set my_entities.yaml this is working. But if I set other entities too, this is not working.

split granite
#

It's probably achievable, but it'll need some work testing out the formatting

#
entities: 
  !include my_entities.yaml
  - entity: switch.wathever
``` maybe 🤷
barren bolt
#

I get mapping values are not allowed here in ...

split granite
#

Well, time to keep messing about then 🤷

barren bolt
#

I have testet so much thinks. I have no more ideas. I thought someone else have an idea.

pulsar citrus
#

I'm probably looking in the wrong places, but i can't find where to paste resources for lovelace.

#

I should not be adding them to the lovelace configuration, that gives me a popup notice about "The Lovelace config panel". But where's that?

split granite
#

configuration -> Lovelace dashboards

#

For some reason the Resources view only shows up if you enable Advanced mode in your user profile

pulsar citrus
#

That's my issue, Advanced mode. I've been searching for a good two hours now. Thanks!

broken marsh
#

HA's own database isn't really intended for long term storage
@split granite I see. Is that why Logbook takes 30 seconds to load on my RPI?

split granite
#

Well, amongst other things, yes

barren bolt
#
entities: 
  !include my_entities.yaml
  - entity: switch.wathever

@polar kelp would this be possible with lovelace_gen?

polar kelp
#

And without, with the right !include function, I think.

barren bolt
#

Can you please help me with this?

lofty summit
#

Hey guys, not sure if this is the place to ask. My intellisense in vscode is suddenly broken on my project, just stuck on loading forever. Any suggestions? Had two lit extensions running apparently.

drifting shell
#

Hello friends, I am trying to configure notification in HA config and facing the below error. Looking for help to find out what I am missing

#
    platform: group
    services:
      - service: living_room_tv
        data:
            { "data": {
    "icon": "www/test.png"
  },
  "message": "Food Time...Come and Eat"
        }```
split granite
#

That doesn't look like a card config

#

Also, WTF with the JSON - just use YAML 😉

drifting shell
#

voluptuous.error.MultipleInvalid: required key not provided @ data['message']

split granite
#

Your question isn't related to the frontend

#

And try using YAML 😉

drifting shell
#

ack, thanks Tinker, coming there

#

🙂

solar laurel
#

Is it possible to set Lovelace so it only displays 2 columns of cards?

#

Everything is too small

split granite
#

Change the zoom in your window

solar laurel
#

Browser zoom?

split granite
#

Yup

solar laurel
#

lol

#

Ok it works but it's not a very neat solution xD

fleet scaffold
#

hi, I'm having issues with media_player card after adding my SonyTV (with Android TV), first, I don't see anything meaningfull in the Sources dropdown (only STREAM_NOTIFICATION:) and second, when I'm using let's say..Spotify, it does not show what is currently playing, just that Spotify is running

#

I installed ADB addon, because I though lack of it is causing it, but no, still the same afterwards

atomic glacier
short jetty
#

is there some way to have mqtt switches and sensors without having to restart home assistant for each and every change to those switches and sensors?

valid nest
#

There is auto-discovery functionality

steady sluice
#

I am trying to make a new lovelace dashboard but the create button is greyed out

valid nest
#

You problably logged in with a user without rights to do that?

split granite
brazen vortex
#

has anyone got a simple way to format the sensor.date_time output in an entity card?

desert delta
#

I have a input_boolean shown on a entities card in lovelace. It shows a toggle button. How can I show the state (true/false) instead of the toggle button?

celest jackal
#

good evening,
I have a problem with the themes, the sidebar with all the buttons for the various screens does not take the right color, how do I solve it?

normal ibex
#

Making the Garbage bin level indicator (Empty-Full) Do we have any standard /custom Lovelace card that will show the level empty to full in the scale of 0-100? which will depict the garbage level in the trash can

zinc gorge
#

Trying to pull current temp from weather.home onto the mini-graph-card.

I can get this template to work in the Template sandbox: {{ state_attr('weather.home', 'temperature') }} but that doesn't work on the Lovelace card:

entities:
  - entity: sensor.bom_[redacted]_max_temp_c_0
    name: Max
  - entity: sensor.bom_[redacted]_min_temp_c_0
    name: Min
  - entity: {{ state_attr('weather.home', 'temerature') }}
    name: Current

Can someone help me with the correct templating call?

mild veldt
#

@zinc gorge you can't just use templates in LL. Some custom cards (and the markdown card) support them, but most do not. Create a template sensor and use that in the card

zinc gorge
#

Thanks for explaining that @mild veldt.
I'll go in that direction 👍

#
- platform: template
  sensors:
    current_outdoor_temp:
      friendly_name: "Outdoor Temperature"
      unit_of_measurement: 'celcius'
      value_template: "{{ state_attr('weather.home', 'temperature') }}"

That was easy. Thanks again @mild veldt

woven jasper
#

I have an entity list with a few scripts on it. Is it possible to change the icons of the scripts?

#

Oh, scripts work the same as entities here...

split granite
#

Scripts are entities 😉

woven jasper
#

Yeah I worked it out.

#

So many words

split granite
#

There's entities, services, and events

woven jasper
#

okay

#

and then scripts etc are subsections?

split granite
#

Subsections?

#

They're entities of the script domain

#

Like automations are entities of the automation domain

woven jasper
#

ohhhh

split granite
#

Or lights are entities of the light domain

woven jasper
#

okay

#

yeah that makes so much more sense now actually

#

thanks!

tall pine
#

I have a harmony hub setup in home assistant. Is there a way that I can have directional buttons and the device they control changes based on what activity is currently active. I was thinking that I could create a virtual switch (I don't know how to do that btw) which is turned on and off based on which activity is active (I have hue emulation setup for my harmony hub)

#

Using that it could determine which device I want it to be controlling

#

is this possible?

tall pine
#

How can I trigger an automation with a button in lovelace?

#

Don't worry. I'm just calling the service

split granite
#

I was about to say to just move the actions to a script, but for a single service call, that's better

tall pine
#

I'm using an automation because it has conditionsl

split granite
#

You do know that scripts can have conditions too 😉

tall pine
#

How?

#

Let me explain what I am trying to do because there may be a better way than my way. So 2 input booleans, one it turned on when my satellite box is on and one is on when my xbox is on. I want to have a button which, depending on which input boolean is turned on, call a different service.

muted inlet
#

Templating would be the way to do that

tall pine
#

I have never done anything with templates before. What would be the best thing to look at to learn how to do that?

kind shellBOT
tall pine
#

Thanks

fading condor
#

Hey guys. Just recently switched yo yaml mode lovelace and I'm having a hard time debugging some 'unseen' issue. I have my views set-up as include_dir_merge_list and all but one are displaying properly. The last one is blank but no errors are reported anywhere. How should I approach debugging this?

fresh ridge
#

How can i have a mobile app icon point directly to a lovelace UI? so my family can use it more easily than having to navigate to a specific section themselves

split granite
#

Depends on your mobile app...

fresh ridge
#

apple

split granite
#

That's a brand not an app

fresh ridge
#

but i'm asking for the how to make the app

#

or rather, a home screen icon

split granite
#

Are you asking for a shortcut to the web page, or about an actual mobile app?

fresh ridge
#

Whichever, i just want to have a custom lovelace UI that i build that has a limited set of stuff so its more user friendly for less tech people in the house

#

Sounds like i should link to a specific URL and make an app shortcut to that

#

(alarm, a couple light settings, etc)

split granite
fresh ridge
#

if its like the android app, it just takes provides me with the full home assistant experience

#

and not a narrow view

#

*just provides

fading condor
#

I think you can set-up users with different views

split granite
#

You can limit one Dashboard to admin accounts, and another for all

fresh ridge
#

sure but it still will give me everything else (the supervisor, addons i have, etc)

#

i don't want to show any of that stuff

#

(i'm assuming)

split granite
#

Assuming...

fresh ridge
#

well thats why i'm asking 🙂

fading condor
#

If it's a plain user it shouldn't.

fresh ridge
#

ok

split granite
#

Try it out 😉

fresh ridge
#

I didn't even know about other "users"

#

will test it out thanks

fading condor
#

Hey guys. Just recently switched yo yaml mode lovelace and I'm having a hard time debugging some 'unseen' issue. I have my views set-up as include_dir_merge_list and all but one are displaying properly. The last one is blank but no errors are reported anywhere. How should I approach debugging this?
bump. this is frustrating. moved stuff from split files back to ui-lovelace.yaml still nothing. no error, view is completely blank

fresh ridge
#

all works well, thanks

steady sluice
#

Anyone here know anything about the custom header?

split granite
steady sluice
#

I dont want to "disable" the sidebar, but I dont want that white bar on the side of the UI. I just want the hamburger menu to be in the left hand corner

topaz sinew
#

I'm wondering how to change the color of the icon in the standard light light lovelace card?

steady sluice
#

Crap and now I am trying to make new lovelace dashboards and it caps me out at 2

odd light
#

Is anyone using areas for anything? are they useful at all?

split granite
#

No, and 🤷

#

In theory you can use them to turn on/off all lights/switches in an area

odd light
#

kinda how it looked to me.

steady sluice
#

Yeah I dont use areas for anything they are kinda useless unless you like to keep everythiung clean

split granite
#

There was discussion about using areas to format the auto-generated UI, don't know if that happened though

odd light
#

I don't even use the UI much I mean I have buttons of certain things in case I need them and I have some stuff in there I need to make some physical buttons and stuff for but, I try to not have to pull out my phone open an app and navigate to something if I can help it.

steady sluice
#

I use the UI on tablets on stands around my house

#

But other question, I try to make more than 2 lovelacd UI's and it wont let me

#

Anyone know why? Ive looked it upo and cant find anything

woven echo
#

I have 3 lovelace UIs so not at all sure what the problem would be

#

@split granite thanks for posting that link. I just got a pi touchscreen and PoE hat and working on making a touch specific UI before I mount it on my wall. That custom header has the exact features I came to ask about

kind shellBOT
#

Tinkerer is away for 58m 16s with a message :point_right: Boldly going ... or not going 🤔

pastel drift
#

Hi, is there a way to prevent the icon to turn orange and stay blue no matter the state of the switch?

wind tulip
#

hi, i play around with auto-entities and was able to filter the plex media players. and they are shown as entities(i set card: entities). i wonder if there is a way to get them shown as media-control?

tight steeple
#

Hey all, I have my TV set up as a dlna media player. I have a mini media player card for it that has a volume slider, is there any way to have the same slider on a separate card away from the media player

split granite
#

You could link an input_number to an automation to control the volume, and vice versa

tight steeple
#

Ok so I think I get it, I can set the volume with media_player.volume set with a range of 0-1, 0 being mute and 1 being max at 100. Do you know how I can make for example 0.25 = volume 25

muted inlet
#

Multiply by 100

tight steeple
#

I would assume a x100 thing

muted inlet
#

Oh. You can't change what the service call uses

#

but you can make the input number between 0 and 100 and divide by 100 in the service call

#

(that's what i do)

split granite
#

Maths?

#

That sounds ... easy

muted inlet
#

shia labeouf magic gif here

vapid field
#

Hi folks, i have configured a MQTT Ligth with effects. I've added it to Lovelace but I can't set up effects until the ligth is on. I would like to power-on the ligth with an effect. How can I achieve that?

split granite
#

You can't

#

That's just the way it works

tight steeple
#

Can anymore point me to an automation example with maths in it?

vapid field
#

That's just the way it works
@split granite Why "hide" effect selection when light is Off? At least we should have a way to select a default effect

split granite
#

You can't

#

If you want it to be different, feel free to submit a PR (pull request) providing that functionality 😉

vapid field
#

If you want it to be different, feel free to submit a PR (pull request) providing that functionality 😉
@split granite I've already taken a look to schema_template.py that shouldn't be so difficult. I just want to know if it make sense at all, not only MY use case

split granite
#

~irc @vapid field

kind shellBOT
#

@wild topaz Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.

muted inlet
#

bloop

split granite
#

Yes, it makes sense, but I suspect it's not done because only a handful of integrations actually support it (the devices themselves)

#

One size fits all makes it less confusing for end users

vapid field
#

Sorry for the @, kinda new to discord

#

yes, i've also seen different functionnal level between schema (basic|json|template)

split granite
#

No worries, it just gets old fast 😉

muted inlet
#

@Tinkerer

tight steeple
#

@muted inlet I guess the float bit does the maths?

muted inlet
#

| float converts the input_number state from a string to a floating-point number

#

all states are stored as strings, so you need to convert to a number before doing math

tight steeple
#

Ok thanks not sure I get it just yet but I will have try see if I can work it out, thanks for your help, really appreciate it

muted inlet
#

oh, this is the part i was talking about: {{ states('input_number.white_noise_vol') | int / 100 }} (line 156)

#

| int converts the state from a string to an integer, then that value is divided by 100

tight steeple
#

Perfect I'll give it a try, thanks

#

Is there a way to get the TV to report back to HA? I guess it's a limitation of the TV? Just checking I haven't missed something obvious

muted inlet
gentle tide
#

Did I miss something or did Thomas Loven archive all of his lovelace plugins?

rose garden
#

Hello, HA is flooding my network with MDNS packages, anyone can help?

split granite
#

If you're running Supervised/Hass.io (have add-ons or a Supervisor panel) try #330944238910963714

rose garden
#

👍

flat nacelle
#

I am using the picture elements card for my foscam with pan. I used the example picutre elements lovelace on the home assistant website. What I can't figure out is, to get the camera view to go to larger view when I can click on it.

candid lintel
#

What do I add to the .yaml with false to make an icon disappear?

#

show_icon: false i found it . Yay me

bitter compass
#

i updated my HA after a long while and no longer have my theme i had on it. is there a link to a new page of how to set them up? or a place that has some premade ones?

lofty summit
#

@bitter compass Have a look at https://github.com/hacs/integration you can install it as an integration from your HA configuration page. It's basically the best thing since sliced bread (for custom cards, custom integrations and themes anyway).

bitter compass
#

@lofty summit thanks. ill look into it tonight. been a while since i have messed with my setup and have a bunch of things to reconfigure since latest update changed a good bit of things.

lofty summit
#

Good luck. HACS basically makes installing and updating custom stuff super easy.

bitter compass
#

now to scrub out all the cobwebs of installation and my logins

#

cant i login winSCP via my username? or no? looks like i had it saved as root/somepwdicantremember but cant connect in. can i make a new admin user to access this via ftp?

zinc gorge
#

@bitter compass are you working on a Raspberry Pi, or what device?

bitter compass
#

Pi

#

Its been a long while since I have messed with my setup.

zinc gorge
#

There are no shortage of guides on line mate. Search: Forgot Raspberry Pi password

bitter compass
#

I'll take a look, a while back I had forgotten and had to do a full reset

zinc gorge
#

no need to reset

#

The Pi is not encrypted (is that even an option yet?)

#

so you can mount the SD card and make changes

bitter compass
#

Strangely I did ssh into it a while back and somehow remembered pwd

zinc gorge
#

Not strange. You set the password after all :p

bitter compass
#

I may have to go see if I wrote it down somewhere. Might have. I have far too many passwords of late

zinc gorge
#

If you have more questions, it would be better placed in the #330944238910963714 channel too. Surely they deal with this a lot more than #frontend-archived. If you can't remember the pass!

bitter compass
#

I was really wondering more about themes in here. I'll get that install figured out tomorrow

zinc gorge
#

👍

deep hawk
#

hi! is there a way to force a specific view of the history graph? It stubbornly displays temperature and humidity as bars, despite these entities having unit_of_measurement defined

sullen stream
#

what's the best dark theme for the front end?

atomic glacier
woven echo
#

is there a built in way to get tiles instead of lists to show statuses?

#

or a recommended repo to add to get them?

#

@sullen stream Slate Theme looks pretty good to me

fleet scaffold
#

uhm..was androidtv media_player broken in latest update?

pallid linden
#

Hello, is the home assistant auth token service verifying the originating IP address? When I login using the android app at home it works.. the moment I move to 4g the app can no longer get a refresh token

#

Great for people who have different URLs internally and externally who don't know how to configure DNS but a bit of an issue when you have it setup to the same address on both sides of the network for ease of use

#

Ok this issue only appears to be relevant to the Android app, not iOS. I will ask them what's broken. Thanks for listening to my ted talk

visual meteor
vapid field
#

Hi everyone... I don't understand why my hassio instance does not let me in... Always connection refused... Any idea?

split granite
fiery pulsar
#

Hi all.. Ran into a problem with the sidebar. Created two accounts for my kids, with a custom lovelace dash as default. They don't have access to the other lovelace dashes. Turns out in the sidebar they can still use logbook and history which shows stats for almost everything. How can I hide those for normal users?

#

Problem is, I'm divorced, want the kids to be able to control alarm and lighting scenes, but don't want my ex to be able to use their phones to see other stats

#

So I was really happy to see the multiple dashboards and the ability to differentiate between user types, but didn't foresee this. Someone knows of a way to work around this, or tell me if I'm missing something?

zinc gorge
strange sundial
#

I just upgraded my Hass.io instance from 0.107.x to 0.108.4 and now the front-end just says "Loading data". I've rebooted the RPi, checked logs and done what I can, but no success.

Does anyone have any ideas?

fiery pulsar
#

Nah, that is about hiding entities @zinc gorge, I was wondering if it is possible to hide the entry in the panel for specific users

split granite
strange sundial
#

Thanks

limpid apex
#

Has anyone managed to make a scheduler to turn on/off lights via frontend?

#

The way I did it was using input booleans for each light, input booleans for each day and datetime for setting up hour. I then use nodered to compare the current time with datatime and automate things

kind shellBOT
limpid apex
#

Obviously is not efficient and I can't make more then one scene, unless I make more input booleans

split granite
#

There's an AppDaemon thing called something like Schedy, for heating

limpid apex
#

Interesting

split granite
#

But, light scheduler like that I've not heard of

#

I'd personally tackle that with light sensors and simply turn on the lights when the room gets too dark/off when it's bright enough

#

(indeed, that is how I tackle it)

limpid apex
#

I understand

#

I'm thinking of a way to a newbie user be able to change that on the go

split granite
#

Light sensor, and an input number for the level

limpid apex
#

Someone who just uses the app to turn on off things

split granite
#

So... move to smart switches 😉

#

Then people can control things the way they're used to, and you can build in logic around that to avoid annoying them

limpid apex
#

😂

#

Alright, thanks!

tacit vessel
#

Anyone know of any good dark themes? I've been using one called 'Dark Green' but it's poorly made and doesn't work with some pages like love lace configuration page.

glass marlin
#

Does anyone know why my rest sensor for fully kiosk browser only works when my router has internet plugged in? My HA is always offline unless i have to update, and that's the only time it works??? I've been looking everywhere for answers, but nothing.

split granite
#

Is that sensor configured with the LAN IP?

#

Have you checked the log file?

glass marlin
#

Yea its http:192.168.42.25:2323/?command

kind shellBOT
glass marlin
split granite
#

What's in the log (file) when that tries to update?

#

Just that timeout?

#

Is your HA system using the same IP range (192.168.42.x)

glass marlin
#

Yea just time out yea

#

And same range

worldly terrace
#

@flat nacelle ibid. Infact I dont know exactly why but I do now have an image and the camera buttons work but like you no way to enlarge from lovelace

vapid field
#

@split granite Shopping lists get stored in .shopping_list.json in the config folder, not .storage

#

nice to know...

icy patrol
#

Hey guys.. anyway so that when connecting to the samba share for HA; it does not always prompt to login?

#

i have this in the samba addin
allow_hosts:

  • 192.168.2.1/24
limpid remnant
#

Interesting: I got the replacement States page to appear in 0.108 with this config from the Dashboards and Views docs :

#
  dashboards:
    lovelace-generated: # Needs to contain a hyphen (-)
      mode: yaml
      filename: notexist.yaml
      title: Generated```
#

Is there any way to have the page alphabetize or otherwise control the sequence of badged entities?

#

The display appears somewhat random in layout among domains and lesser keys

#

(I took a leap and didn't create a notexist.yaml file. Should I have? What would be in it? Particularly if it doesn't exist mildpanic)

limpid remnant
#

Schrodingers's file?

twilit delta
#

Hey

#

So im using a pi 2

#

and when i click on any entity to see the history, the page become unresponsive

#

But on the mobile app, it works fine

#

What could be happening here?

limpid remnant
#

Schrodinger strikes again 😆

#

(it both exists and doesn't exists at the same time). Sorry , no help here for Rasp2...

#

Do Rasp2 still exist? Maybe not....

lime glacier
#

hey guys

#

I have a mqtt camera that I use for stills

#

is there a way in lovelace

#

when I click on the picture I get a full page picture?

#

using the picture-entity card

limpid remnant
#

I'm more into automation. Maybe look into some of the "hacs" custom cards/plugins?

lime glacier
#

yeah, but the card has actions

#

just I don't which one is 'make it bigger and let me look closer'

granite spruce
#

Any idea why I can't access lovelace since updating hass?

lime glacier
#

but no description of what hte actions do?

granite spruce
#

Which docker runs lovelace so I can get the right log output?

#

*in supervised

limpid remnant
#

@lime glacier check out custom:button-card. may have more insights on actions. Long discourse to look through.

#

What update v from what v

lime glacier
#

k, cool

granite spruce
#

previous to latest, did yesterday

#

Other hass dockers are fine otherwise.

limpid remnant
#

Try restarting again,- not too soon if you have zwave.

#

YOu may also need to migrate your resources.yaml reference to config.yaml. see release notes

#

so, yam;l mode or internal?

#

step back

granite spruce
#

just rebooted machine, persists. I'll check the notes.

limpid remnant
#

Your ui-lovelace.yaml file should still work and display tabs in - 0.107-0.108. Mine did. However, any "resources" from custom ... shall be included in configuraton.yaml now. Look through 107 release notes.

#

Now that multiple dashboards can be created, resources are moved up under lovelace: in configuration.yaml

#

maybe, maybe not your issue:

granite spruce
#

Don't see ui-lovelace.yaml

limpid remnant
#

NA if you're not using yaml mode for lovelace: Sorry.

mossy timber
#

wow, the entity-filter card lets me filter states on a per-entity basis! that is awesome!!

proper latch
#

hi

#

I broke my frontend somehow

#

// again

#

I set it up behind a reverse proxy server

#

and it does not give me a yaml error

#

but instead some undecipherable python

#

File "aiohttp_http_parser.pyx", line 523 in iohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: Invalid HTTP method

proper latch
#

pls hulp

#
http:
  server_port: 8123
  base_url: https://homeassistant.leander.media
  use_x_forwarded_for: true
  trusted_proxies:
    - 10.10.80.10
#

adding this to my configuration.yaml makes my core completely unbootable

#

I am using nginx as a reverse proxy and ssl management on a different host in my network

#

and i can't seem to get it to work, no matter what I do

#

it spits out a 20k line output of pretty much garbled nonsense

#

that magically fixes itself once i restore configuration.yaml to a state without use_x_forwarded_for:

#

I am really at a loss of what to do

#

the internet does not seem to have any clear answers either

naive onyx
#

Hey guys. I’m getting really frustrated with custom element doesn’t exist since 107

#

Reverted back to 106 a few times but figured I’d give it another go now

#

I’ve tried finding the info, installing the preloader etc but no luck

#

If I press “add Lovelace card” where it populates samples, the cards load correctly

#

But otherwise it complains about picture-elements card

wheat current
naive onyx
#

Best practise way to install)

#

?

wheat current
#

carefully

naive onyx
#

There is only usage instructions not installations

naive onyx
#

Tyvm