#frontend-archived

1 messages · Page 7 of 1

pliant snow
#

The UniFi Protect integration saves "detections" to a media folder. How can I get that inside a Dashboard?

Really looking for almost the exact thing in the screenshot, but just in a grid card inside a custom dashboard.

wicked bone
#

hi all, i have a device with a termostat that is 3 degrees off, id like to subtract 3 from the value before it's shown in the picture element card, yaml snippet as in now - entity: sensor.brandvarnare_vind_air_temperature style: left: 19% top: 39% type: state-label

#

how is that done?

#
      {{ states('sensor.brandvarnare_vind_air_temperature')| something something -3 }}````
#

?

shut ingot
#

I’ve configured generic thermostats presets and using a scheduler and automations to switch presets. However it always seem to display the target temperature and not the preset one, any idea if expected ?

#

Here I’d expect to see 18 under the real temperature. Otherwise it’s misleading

karmic tendon
#

If the difference depends on the temperature, i.e. -2 when 28 or -1 when 18 then you can use the 'compensation' integration

median lotus
#

I would like to have my proxmox cpu temp, this is not a standard sensor. Ive googled it and the simplest solution ive found is:

http://pastie.org/p/21ZW2ViMgOSGVn9aAXyo4t

Here the guys SSH's the info. But I dont understand how to make it work. Anyone any idea that can point me in the right direction?

eternal belfry
#

Hi there
I have a quick Q
I've got some entities that are coming in to HA over MQTT. They've been automatically discovered
On the default "Overview" dashboard, they all seem to show up except for one. Any idea why that might be?

#

The entity does exist in HA, it's just not auto-populating in the default dashboard for some reason

karmic tendon
#
sensor:
  - platform: command_line
    name: temperature_cpu_nuc
    command: 'ssh -i /root/.ssh/id_rsa -o StrictHostKeyChecking=no -q root@10.10.40.6 cat /sys/class/thermal/thermal_zone3/temp'
    value_template: "{{ value | int / 1000 }}"
    unit_of_measurement: "°C"
#

if you already have a section 'sensor:' defined then put it in the same section

median lotus
#

its that easy? lol. lemme try. thanks

karmic tendon
#

well... assuming the command is correct of course

#

I would try that out first

#

before restarting and fining out you have just errors and restarting and...

#

e.g. for me on an Intel nuc it is much simpler...

#
@-nuc:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +43.0°C  (high = +90.0°C, crit = +90.0°C)
Core 1:       +43.0°C  (high = +90.0°C, crit = +90.0°C)
Core 2:       +37.0°C  (high = +90.0°C, crit = +90.0°C)
Core 3:       +38.0°C  (high = +90.0°C, crit = +90.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +47.0°C  (crit = +115.0°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +56.0°C
median lotus
#

yeah that was the command line for a nuc

#

nope doesnt work lol, i checked the directory and ip

karmic tendon
#

what HA do you run?

median lotus
karmic tendon
#

HAOS/docker?

median lotus
#

not docker, just VM

#

docker was slow

karmic tendon
#

ok, I donot know what happens when you run tis via command_line

#

do you have any errors?

median lotus
karmic tendon
#

can you simulate this command in the same VM instance?

median lotus
#

i already removed it, want me redo it for the error?

karmic tendon
#

from docker I can run inside the container so I can check if all works

median lotus
karmic tendon
#

sometimes it lacks the right software

#

the whole command yes

#

in other words, I have no clue how this would work from withon a VM

#

I only know docker and plain OS

median lotus
#

lol

#

i see what i didt there, i dont have a thermal zone 3

#

lmao

#

one sex

karmic tendon
#

so there you go...if it does not work from within the VM then the sensor also has no result

median lotus
#

yup now it returns the value

#

lemme retry in HA 😄 XD

#

it boots

#

but no sensor

#

i think my hyphens are wrong?

#

and doesnt it need an 'unique id '?

karmic tendon
#

I have one without quotes which works fine but the documentation shows double quotes

median lotus
#

wierd. where dont u have the quotes? nowhere?

karmic tendon
#

and you can invent a unique_id which will allow you to delete it

#

example:

#
  - platform: command_line
    name: shopping_list
    command: python3 /config/custom_components/custom_sensor/shopping_list_open_items.py
#

but doc examples uses double or single quotes.

median lotus
#

hmmm i understand

karmic tendon
#

I suggest to search a bit on the forum for this, it may be that executing it from HA adds some additional stuff...I would not know as no VM experience.

median lotus
#

allright, man thanks for the help 🙂

karmic tendon
#

I can see it is HAOS that you are running on VM so please also note the comment in the doc about that

#

and I found this

#

but maybe you found that too

median lotus
#

thanks 😄

#

nope

#

lol

median lotus
#

[platform] is an invalid option for [template]

#

ok

#

so this means... i cant have platform under template?

#

sheesh XD

#

now what haha

#

im very close i think lmao

median lotus
#

allright

#

it recogines the sensor

#

one step closer 😄

karmic tendon
#

I did give you my example above 🙂

#

anyhow.... is it working now?

#

that is MOST important

median lotus
#

stuck at UNKNOWN atm hehe

median lotus
#

even when i do run ssh command from HA or Proxmox it returns a value

#

ffs im so close i can smell it ;D

shut ingot
main meteor
#

How to get rid of yellow icons on own defined sensors?

median lotus
#

anyone any ideas? I ran out 😄

plush dune
#

Not sure if correct server but could someone help me with this code on my custom button card?

    [[[
      if (states['person.g3_3'].state == 'home')
        return
      if (states['person.g3_3'].state == "Mother's")
        return
      else
        return `
            </ha-icon>${states['sensor.person_geocoded_location'].state}`
    ]]]```
#

is there a way to do like a an if error then blank?

karmic tendon
copper isle
#

Can someone help with bar card. Style commands are not working at all
All other commands are working fine.

golden mistBOT
#

@copper isle I converted your message into a file since it's above 15 lines :+1:

karmic tendon
#
logger:
  default: warning
  logs:
    homeassistant.components.command_line: debug
#

and then restart

#

the log should show a lot more details on the command_line activity

median lotus
#

oh ok thanks! will do 🙂

#

but im not getting errors lol

karmic tendon
#

it is not just errors

#

this will show a lot

#

should

#

e.g. for rest integration it will show the whole data coming in

median lotus
#

ok restarting now

karmic tendon
#

in the settings > system > logs...click on the button load full logs

#

fingers crossed if it shows things

median lotus
#

Command failed (with return code 255)

#

ok seems the error is there

karmic tendon
#

I remember something that when you go from HA OS command-line you had to do something else to get it to work but I am not sure what....check other CLI in the forum

median lotus
random relic
#

Hi guys. I have a input_text helper that is not showing its configured Last Changed
When adding it to the dashboard using the Entities Card I get the option to select Secondary Information. For other helpers this works fine, but not for input_text ones... What can I do please?

vapid field
#

Buonasera creando una nuova plancia mi da questo errore "TypeError: Cannot read properties of undefined (reading 'toUpperCase')" da cosa può dipendere?

random relic
vapid field
dark dirge
#

English, please

median lotus
#

I think hes desperate 😄

viral scarab
vapid field
# dark dirge English, please

Good evening, creating a new dashboard gives me this error "TypeError: Cannot read properties of undefined (reading 'toUpperCase')" what could it depend on?

random relic
#

Please post the exact steps that gives this error. I just tried creating a new dashboard (settings -> Dashboards -> Add Dashboard), which worked as expected. Is this also what you tried?

vapid field
random relic
#

I am just guessing now, but could it have to do with language settings? What if you change into english (if not already) and try again, will that work?

unique violet
#

I was fiddling with https://github.com/thomasloven/lovelace-auto-entities and noticed, that at some point recently, my "On" color changed from the default yellow, to a bright blue color. "Off" color remains a dark blue. My other cards are still yellow/blue. Any ideas what I might have broken?

random relic
vapid oak
#

for my motion sensor it changed to bright blue, I applied a custom theme to switch it back

#
custom:
  rgb-state-binary-sensor-color: var(--rgb-amber-color)
#

my heater is still blue/yellow, but motion sensor was dark blue/light blue

deep cairn
#

if I don't have a lovelace-ui.yaml do I just create one? does it have to have anything in particular?

dark dirge
#

what would lead you to want one?

deep cairn
#

"To utilize the backgrounds that come with the themes, add this to your lovelace-ui.yaml:"

#

my thought is... perhaps this info is outdated though...

dark dirge
#

no, it's just intended for people managing their lovelace dashboard in YAML. Which you presumably are not

deep cairn
#

I am not currently, however, I would like to play around with themes... can that be done without using yaml?

dark dirge
#

no

deep cairn
#

is it an all or nothing kind of thing?
yaml all the way, or UI all the way?

#

or... instead of adding to the yaml... would I add it via the raw config?

polar kelp
#

That line will work if added to the raw config.

#

Like this (please excuse the picture of code):

main meteor
#

Why is this not working?

vapid field
#

Hey all 🙂 - I hope that my queston does not exist yet - but I cant find anything on Google and in the Forums... I have a really strange error that perhaps only in the Code Editor. I want to edit a card but I can't see the error, it will only show a quarter of it in the left bottom... I'm not really sure why this is caused but I already cleared my cache and used another Brwoser (Chrome and Firefox each the newest version) - Following there are 2 pictures, the first one with a part of my test Code, there is all fine, the error is properly shown in the preview field but in the second image the error field is moved out to the bottom left... Is this a common problem? - and I'm not able to find the answer? or is this an unknown bug? - The error message appears normal until I have a "wrong defined" element on the picture elements card

Thank you a lot for your help 🙂

main meteor
#

Why is this not working to change the color icon depending on state?

fiery ledge
#

Did you install custom-ui? (If not, check my Bio)

golden mistBOT
#

@cosmic harness I converted your message into a file since it's above 15 lines :+1:

polar kelp
#

Can't use templating from the frontend like that. I suggest you make a script that does what you want and trigger that from the button.

#

Also, it's just data nowadays. Not data_template.

white marten
#

Is it a way to eliminate the vertical stack on this one? I try to use grid instead of horizontal as the large to the right line up.

cosmic harness
#

thx, can i pass a variable to that script, otherwise i need three scripts (min, max, normal)

polar kelp
#

Sure. Anything you put in data will be sent to the script as a variable.

cosmic harness
#

thx.

polar kelp
main meteor
fiery ledge
#

Locked or locked (check dev tools/state, which btw should also show the template in the attributes column)

#

just to be sure, check the config/info and see if custom-ui is correctly installed

main meteor
#

The red icon seems to be defaulted from the device class in 2022.12

fiery ledge
#

no, custom-ui overrides all others

main meteor
#

So my customize file might not be loaded?

fiery ledge
#

is it new? did you change anything? did it work before?

main meteor
#

It’s new, but reloaded. There is a file in include folder called customize.yaml

#

Together with my other include files

fiery ledge
#

can you see the template in the attributes column? Of not, it is not injected, and maybe your file is not included correctly

white marten
main meteor
fiery ledge
#

can you post a screenshot? btw, please post your yaml with the include and folder config. for testing purposes, you can copy that bit of yaml inside your configuration.yaml directly

main meteor
#

I tried reload using the dev tool option

#

There it shows the opposite

fiery ledge
#

well, if this currently shows a red icon, at least that is working as expected 😉

polar kelp
fiery ledge
#

did you, after changing the template, also change the state? it changes on state change

main meteor
fiery ledge
#

not sure what you're asking now. I thought you said the template is supposed to be reversed. If all is correctly loaded, it will change upon changing the state of the lock.

#

if not, you need to find out why.....

viral scarab
#

Or template the name/state? I can do it in mushroom cards... gotta be possible here too

simple grotto
#

hi, does anyone know what icon the 'Overview' dashboard uses?

#

its the icon with 4 different sized rectangles

dark dirge
haughty vine
#

I'm trying to get History explorer card to use long term statistics.
But despite using a example code from https://github.com/alexarch21/history-explorer-card#long-term-statistics
..and trying with multiple sensors I cannot get it to work.
Ofc. statistics card from HA shows indeed that there are LTS for those entities.
Can someone help me on this? Or at least confirm that this feature is working as intended with current HA version?

#

I can even see card fetching data using WS but it doesn't render anything past where standard state history ends..

vapid field
#

can anyone help me with this problem? Error loading the view strategy:

TypeError: Cannot read properties of undefined (reading 'toUpperCase')
it shows up when I create a new dashboard

gloomy iris
#

Hello everyone,
my brain seems to have a slow Sunday.
Anybody know why this is not working?

type: custom:auto-entities
sort:
  method: friendly_name
filter:
  include:
    - entity_id: climate.eq3_*
card:
  type: thermostat
fiery ledge
gloomy iris
#

Dashboard just shows a red bar with no error message.

fiery ledge
#

try 'name'

gloomy iris
#

It is not listed but strangely it always seemd to work.
I used exactly the same code again and now I get

Specify an entity from within the climate domain
entities:
  - entity: climate.eq3_climate_dining_room
  - entity: climate.eq3_climate_guest_toilet
  - entity: climate.eq3_climate_kitchen
  - entity: climate.eq3_climate_living_room
  - entity: climate.eq3_climate_master_bathroom
  - entity: climate.eq3_climate_master_bedroom
  - entity: climate.eq3_climate_office
  - entity: climate.eq3_climate_walk_in
type: thermostat

Now I am confused

#

Which is double weird.
a) those are the entities in the climate domain.
b) I get the same error when I filter by domain: climate

type: custom:auto-entities
sort:
  method: name
filter:
  include:
    - domain: climate
card:
  type: thermostat
fiery ledge
#

this would work:

#
    - type: custom:auto-entities
      card:
        type: entities
      filter:
        include:
          - domain: climate
            options:
              type: custom:hui-element
              card_type: thermostat
      sort:
        method: name
#

I changed the order, but also you need to add the hui-element to the card type, otherwise you can not add those climate cards to an entities card

gloomy iris
#

Would this also work in a simple vertical-stack-card?
Each stack card being a thermostat card

tired wedge
#

Hi, my twinkly light has an attribute with effect list. How can I add it to lovelace UI?

fiery ledge
fiery ledge
fiery ledge
glossy pivot
#

Hi I found an bit of annoying behavior of the graphs in the history tab on mobile. Where can I address this? (Functionality it’s working it’s just where the information shows up)

vapid oak
#

personally I've been using template areas

#
  grid-template-columns: 50% 50%
  grid-template-rows: auto
  grid-template-areas: |
    "sidebar main"
    "sidebar main"

and then you add this to the card

          view_layout:
            grid-area: sidebar
            grid-column: 1
            grid-row: 2
#

I went a little crazy and put grids in grids

white marten
#

What is the benefit of doing this vs vertical and hortizontal way?

vapid oak
#

I actually used a custom mod card for a layout card so I could add a background to it

vapid oak
#

I ended up running into some limitations with vertical stack so I ended up switching

#

limitations being: I can't change how it will look on mobile

#

so with the grid, this changes format i'll show

vapid oak
#

that changes to this when it gets small enough

white marten
#

The issue right now is that I have a HUGE card with 20 stacks inside them. I didnt know if I should do that or make one card pr entity and let mobile line it up

#

I start to loose control

vapid oak
#

I see ya

#

luckily the cards property can be copy/pasted pretty easily, but setting up this AGAIN in a layout card instead would be a lot of work

#

I know I had to do it for mine and it took quite a while for each card

#

but if you wanted more control over how it looks on mobile, grid is 100% worth

white marten
#

Its a new way of thinking for sure

vapid oak
#

yep, looking at your large vertical stack does remind me of the hours I spent lol

#

Maybe if you just switch the main stack to a grid you could keep the other stacks the same and grouped up

#

So you have horizontal stacks inside the grid, then you could easily change the layout

#

wish ya luck if you choose to embark on it 😂

white marten
#

Well this looks like the default method of HA, so its hard to figure out alternative methods. Its not before I started so scroll though the forums the grids came up

vapid oak
#

If you use a grid card your columns will be the same for the whole thing vs nearly no limits with css grid (I don't know any css other than what I've been googling for this)

#

default grid card could do very nicely for your Living room information though for sure

latent smelt
#

I'm still having issues with this.... Anybody have any ideas?

fiery ledge
gloomy iris
median lotus
#

Anyone else ever got stuck in a CLI boot loop and resolved it? lmao

median crystal
#

Can the screen wallpaper be changed based on time?

median lotus
#

dont tell me y'all run baremetal 😄

#

im still on 8.5.. cant seem t update

main meteor
#

Trying to evaluate a state number but cant get it to work.

#

icon_color: >
if (state > 0) return 'yellow';
return 'green';

median lotus
fiery ledge
fiery ledge
median lotus
#

hmm is there a way to install qemu guest agent?

main meteor
#

In having a state as a number. I count the number of lights. But when checking if state >0 it’s not triggered.

dark dirge
#

you can't just put a template there

main meteor
#

I have the custom_ui installed

white marten
#

Is it view type that is single row, and not masonry? Would be easier for mobile dashboard I think?

fiery ledge
#

btw, depending on the data you feed the template, it might well be the case it isnt a number, but a string. in which case you need to quote the number in the template

#

btw, and this was a complete surprise to me, (having used custom-ui since forever way back in 2016 I think), I learned we can even use this, on entities that allow setting attributes: in the config: attributes: icon_color: > {{'var(--alert-color)' if this.state|int(default=0) > 0 else 'var(--primary-color)'}} Ofc, we still need custom-ui installed for that (Core HA doesn't know the icon_color attribute). But it allows us to create a template in Jinja, and not need the Javascript version set in customize:

#

I haven't documented this yet in the Custom-ui repo (so consider this an official scoop 😉 ), will do so tomorrow. Also, I am not yet sure which impact this has on the system (JS frontend is evaluated in the browser, Jinja backend on the server).

main meteor
#

Thanks! I will check it! Btw trying the quote since it might be string. Did not help.

haughty vine
#

(But just a quick yes/no reply from other person running this card would probably have saved me quite a bit of time so I'm a bit salty🥲 )

#

Alex is indeed very active thou 👍

charred cloak
#

has anyone else noticed that in december releases, their areas are sorted differently on the overview dashboard?

#

specifically, mine are no longer sorted alphabetically, which is very strange

#

(and makes it very difficult to figure out where things are)

haughty vine
charred cloak
#

I have a crazy number of devices too, but have been curating it (e.g. hiding entities, etc.) so that it's mostly functional for me when I'm trying to do something I don't do frequently

#

(e.g. I have some switches that I can toggle on/off to power cycle a device that might be misbehaving)

haughty vine
#

I do hide devices based on not wanting them to be part of area targeted service calls.

#

which reminds me of the bug were all my deCONZ integration devices gets randomly cleared "hidden" flag. I should have reported that.

opal crown
#

Hey, is there any way to color code a logbook card? For instance, in my logbook below, I want to have the whole line RED when the Garage-Door contact became unknown, and Yellow when the Garage-Door contact was opened.

#

I also want to color code the Garage AC1 and AC2 to be blue when it is on cool and red when it is on heat.

earnest mauve
#

is anyone using the Show Upcoming Media card that integrates with Radarr/Sonarr/etc?

#

i have installed the card through HACS and i have installed the sonarr and radarr pieces... when i go to add the sensor in my configuration.yaml, i am getting this error when checking config:
Platform error sensor.sonarr_upcoming_media - Integration 'sonarr_upcoming_media' not found.

dark dirge
#

What exactly did you add?

earnest mauve
#

added the files in step 1, installed upcoming media card, added the sensor to configuration.yaml but when i check config i get that error

dark dirge
#

Did you restart HA before you added that?

earnest mauve
#

yes

#

i removed it from configuration.yaml and restarted HA

dark dirge
#

Well, it says it can't find it

earnest mauve
#

did that after i added the .py files, the js file,e tc

dark dirge
#

So you should review the HA log

earnest mauve
#

checking

#

a stray character got added to the .json file

dark dirge
#

Are you messing with the files in .storage?

earnest mauve
#

no, havent touched those

#

what are tthose used for?

dark dirge
#

You said:

a stray character got added to the .json file

quiet estuary
#

I want to change the content of some cards, depending on whether I'm logged in "local" or "remote". (I.e. whether I'm connected via Nabu Casa or not)
Can someone give me a pointer to get me started?
(I get how to do an IF statement, and do things with it like change the color of a card. I don't know how to detect whether I'm local or remote.)

fallen geyser
#

Does anyone know how to increase the height of the cards on the integration screen? Those are more usable on mobile devices than desktop devices right now :/
I'm talking about the /config/integrations url. The first screenshot is from the desktop, the second from a mobile device, the latter is much more usable

golden mistBOT
#

@limpid tusk I converted your message into a file since it's above 15 lines :+1:

topaz mauve
#

I am really looking forward to changing up my frontend cards with these new options in 2022.11.2 with all the pretty toggles that can be on them now when I get the chance to review

vapid oak
desert quest
#

hmm now I have a switch that calls a script that tells a service elsewhere to disable scheduling and restart... but there's like a 1 minute turn around... is there a way I can update the button in lovelace with a spinner or something that shows the action has been started but not finished?

upbeat zodiac
earnest mauve
#

there was an issue with 1 of my included files, uploaded them again and all good

upbeat zodiac
#

@earnest mauve do you have a radarr card also? I can't get the radar card to work

earnest mauve
#

check HA logs, that's how i found mine... saw when HA started it was having trouble with the manifest.json file, so got rid of that and put a fresh copy and was working

#

i dont have the radarr card but i can set it up when i get home and check

upbeat zodiac
#

@earnest mauve yeah I got the sonarr one working but the radarr and emby ones are not, I'm not even sure the radarr on is still functioning, if you get it working please ping me

earnest mauve
spring falcon
#

hi, is it possible to change the length of history shown for an entity? i have 7 temp sensors and 2 of them are showing history since first turned on. others are showing 24 hours

spring falcon
glacial ledge
#

@sudden apex

The preferred way to configure an input number is via the user interface at Settings -> Devices & Services -> Helpers. Click the add button and then choose the Number option.

opaque kiln
pine jungle
#

so with 2022.12.4, now binary sensors have the off and on color as amber

velvet gyro
#

After updating to 2022.12 the entity names are no longer shown in history graphs.
How do I get them back?

rich eagle
velvet gyro
#

Ah , no i didn't update because i don't use any of the components that got fixes

#

I'll update to .4

flat copper
#

Hey there! Quick question. In the last few updates over the last month or so something changed with my dashboard. It use to sort my Groups first (by order I have them configured in groups.yaml), but now it looks like my devices are all sorted alphabetically, first by devices, then by groups.yaml. Is there a settings somewhere to put groups first? I know I can "take control" of dashboard and create my own dashboard, but for the default dashboard, I personally liked the groups first, then all the devices after it... Just wasn't sure if there is a new setting or something that toggles this since it changed?

rich eagle
shell burrow
flat copper
rich eagle
winter hollow
#

No, not changed on purpose

#

I guess they should be between areas and devices?

halcyon mantle
#

I have been searching the forums and the like to wrap my head around the whole colour change debacle which broke many a UI. I managed to fix most of the issues, but I can seem to figure out how to change the icon color the custom:fold-entity-row. The behaviour also seems to be inconsistent, as some of them are using the default blue/grey colour, but some decided that the new orange is the way to go. Below is an example of one which decided to adopt the orange colour, and I would like to restore it to the blue/gray. Any direction/assistance will be appreciated.```
- type: custom:fold-entity-row
head:
type: custom:template-entity-row
name: 'Sleep Sounds'
icon: mdi:account-music-outline
tap_action:
action: fire-dom-event
fold_row: true
open: false
padding: 0
group_config:
secondary_info: last-changed
items:
- << bunch of scripts using a custom:button-card" >>

fallow root
#

hello I made a grid card with 6 buttons to set my heating. Each button calls a different scene. The only issue is that it does not highlight which scene is currently set. Is there a way to make it so that it highlights the button that is currently active (or just highlight which of the 6 buttons was the last to be pressed)?

sudden apex
rich eagle
#

But a scene in itself just recalls a certain saved state and cannot judge if it is still "active" a second alter, since some other action/automation might have changed something so it technically no longer matches the saved scene state.

fallow root
opaque kiln
fallow root
#

hmmm is there maybe a way I could disable an automation whenever I enable another one? I wonder if this could do the trick

opaque kiln
#

Sure. Use service automation.turn_off in the action section.

fallow root
opaque kiln
#

State trigger when automation b becomes on. Automations are also entities.

fallow root
#

I did this and it did not work:

opaque kiln
#

If you now go and turn automation b off and on, do you see the "triggered" bar at the top of this trigger?

fallow root
#

yes

opaque kiln
#

Then the trigger works. But the actions don't run?

fallow root
#

this is my action. I tested it with a time trigger. And the time trigger did turn off that automation

opaque kiln
#

Ok. So the action works too. Check the traces.

fallow root
#

erm this is a bit above me... I found the traces button though.

glacial ledge
carmine shoal
#

running node-red in docker... how do I add node-red to sidebar of home-assistant?
I am trying this:

  - name: nodered
    sidebar_title: "Node-Red"
    sidebar_icon: mdi:sitemap
    url_path: http://192.168.12.135:1880/
    embed_iframe: true
    require_admin: true

in the panel_custom part of configuration.yaml

vapid field
#

I need some help displaying a entity on the dashboard

carmine shoal
#

ok, ask

vapid field
#

So I have a smarter coffee machine, and would like to display and alter the number of cups using a slider instead of a drop-down menu

carmine shoal
#

ok

vapid field
#

Like you would a light

#

I'm unsure where to start

carmine shoal
#

ok, what is the type of the dropdown?

#

you can create a helper that is numeric, and map between the numeric and the dropdown

vapid field
#

Ah, that's the purpose of a helper

carmine shoal
#

display the numeric helper, and convert in the background

vapid field
#

Where do I find helpers?

carmine shoal
#

integration page 4th item at the top

vapid field
#

Ah thank you

carmine shoal
#

use an automation that triggers on numeric changing, to map changes in one to the other

vapid field
#

Superstar

upbeat zodiac
#

@earnest mauve any luck with radarr

spark light
#

Hey all 🙂 I've got a dropdown helper that I use to select an entity to be used in automation. Any way I can change things to make it it appear with a friendly name in Lovelace but still have the entity id for it's value?

sudden apex
dark dirge
#

when you create it:

sudden apex
dark dirge
#

maybe you need to have advanced mode enabled in your profile?

sudden apex
#

oooh probably! I didn't know that's a thing

dark dirge
#

that enables/disabled a seemingly random array of things

sudden apex
#

I am the creator/admin. Would have thought that was set already

dark dirge
#

yeah, well. that's been discussed

sudden apex
#

Nailed it
Thanks so much! And you as well @glacial ledge

tulip vessel
#

Hi there. I'd like to know if what I am experiencing is common or if I have somehow messed up.
Yesterday I migrated DB of pretty much fresh install (been running for only 5 days) to MariaDB. My install is a KVM on ubuntu server.
Well, I was playing with sensors and managed to confuse one to a point it was spitting out junk data. I said to my self, no problem, I'm just gonna go to DB and delete the junk readings.
Well I did exactly that. Than I clicked on entity in HA and it showed blank space, where the bad readings were.
Then I went to dashboard and to my surprise the charts were still showing the deleted DB data. This persists even if i restart HA from dev. tools menu.
I was trying to find answers on forum and google but I'm still finding how to delete data from database but nothing about the charts.

rich eagle
dark dirge
#

No idea, unfortunately. It's more of a discovery process 🙂. I sure wish that the "Owner != Advanced" discussion could be revisited as well

tulip vessel
#

What I noticed after migration was, that the previous database was showing up on the charts for next 12-18 hours before it was gone for good.
The weird thing was that during this time, it was sometimes shown and sometimes not.

untold trail
#

Anyone know how to remove huge margin/padding between my 2 bulbs in this Mushroom Grid?

#

Its off

#

Wait wtf

#

it WAS lmao it enabled itself

#

thx..

tulip vessel
#

Well I just found out that apparently the data is somehow still existing, but only in history section

untold trail
#

I'm trying to add a background color to my entire group/grid card but I think im doing something wrong?

dreamy shoal
#

Can someone help me with https://github.com/custom-cards/flex-table-card? I'm trying to create a table that lists all sensors from all android devices with the homeassistant app installed. But since the "entities" are the actual sensors and not the devices that have the sensors in them i'm only getting a table with one column being the full sensor name and the other one being it's "state". https://i.imgur.com/Agl80xz.png

type: custom:flex-table-card
entities:
  include: .*android.*
  exclude: null
columns:
  - name: Name
    data: name
  - name: State
    data: state
crisp rapids
#

Anyone here who knows how to change the background of mushroom chips? Normaly this whould work

#

card_mod: style: | ha-card { --ha-card-background: rgba(0,0,0,0.5); color: white; }

#

But adding this won't change anything for the chips background

untold trail
#

thats the same thing im trying to do right now lmao

spice meteor
#

(Apologies if there's a better channel for this.)
I can't delete entities of items that I no longer have -- can anyone show me what I'm missing? Even when I go to the details page the DELETE is greyed out.

untold trail
#

tick the box next to it

#

then at the top right there should be "remove selected" in red

halcyon mantle
#

Repost, still stuck... I have been searching the forums and the like to wrap my head around the whole colour change debacle which broke many a UI. I managed to fix most of the issues, but I can seem to figure out how to change the icon color the custom:fold-entity-row. The behaviour also seems to be inconsistent, as some of them are using the default blue/grey colour, but some decided that the new orange is the way to go. Below is an example of one which decided to adopt the orange colour, and I would like to restore it to the blue/gray. Any direction/assistance will be appreciated.```
- type: custom:fold-entity-row
head:
type: custom:template-entity-row
name: 'Sleep Sounds'
icon: mdi:account-music-outline
tap_action:
action: fire-dom-event
fold_row: true
open: false
padding: 0
group_config:
secondary_info: last-changed
items:
- << bunch of scripts using a custom:button-card" >>

viscid tapir
#

What's the best method for navigating to a specific dashboard based on specific entity state changes?

spice meteor
untold trail
untold trail
#

Using Button-Card from HACS, is there a way to move the icon to the left side to make it a horizontal item instead of vertical? https://i.imgur.com/781fitk.png

halcyon mantle
verbal flare
#

Is there a way i can get the calendar weeks to start on monday, and not sunday?

#

Like in the energy view, the new calendar, and a lot of other places

dark dirge
#

Isn't that this in your profile?

earnest mauve
verbal flare
upbeat zodiac
earnest mauve
#

ill keep playing with it and see if i can get it working

upbeat zodiac
#

@earnest mauve is your sensor even showing up?

earnest mauve
#

nope

upbeat zodiac
#

Well I got the sensor to work just nothing else

earnest mauve
#

do you have upcoming movies added? maybe try enabling theater option

upbeat zodiac
untold trail
#

Kinda weird looking

#

using icon_state

jagged slate
#

Anyone else having issues with the "statistics graph" card? It shows the past 3 months of time even when I set in to only show 1 day in the config... It does however only show the one day of data, but the graph is still 3 months wide...

opaque kiln
golden mistBOT
#

@untold trail I converted your message into a file since it's above 15 lines :+1:

untold trail
#

got it

opaque kiln
#

That's the name displaying in the card. So use icon_name

untold trail
#

changed it to icon_name and set size back to 32px

untold trail
#

Is there a way to center text in a card?

untold trail
#

I guess I shouldve specified..

#

the card_mod only works inside of a card

#

it wont apply to the parent card/wrapper

earnest mauve
#

could prob modify the theme css

untold trail
#

Can you nest cards? I want to put a grid inside of a vertical stack

spare moth
#

Is it possible to have a button do two actions on tap? It's used in a subview as a "submit" button, and I also want to back out to the previous page when it's tapped.

pliant mural
#

How do I rename my YAML dashboards?

vapid field
#

Hi there, I have a question: On my dashboard I have entities which take from NodeRed the measurement of the power consumption on my phase 1 - 3. Now on phase2 and phase3 I immediately see statistics when clicking on it:
This is not the case for phase1, and I can't figure out why. Ideas?
It states no statistics found...the question is why?
When I go on "show more" I see them...

pine jungle
#

@vapid fieldgo to developer tools > statistics

#

find that entity

#

does it show a fix issue button

#

this happened to me when the data had 2 different units

vapid field
#

Awesome! Thanks

#

Might have happened during migration from Rapsi to VM, or initial setup went wrong or so. Thanks a bunch

raven moth
#

Can I have a entity hard that lets say dynamicly has all pir sensors - based on maybe device class? Or all battery driven devices etc

sick crown
lone cobalt
#

After the update to 2022.12 I do not have titles on statistics-graph. I thought it might be some glitch while manually editing yaml through UI, as it sometimes removes those titles, but no. The names for entities are still there, but those do not show on the graph. Any ideas? Btw. "średnia" is just "mean" in Polish 😉

raven moth
daring hound
#

How do I get my dashboard to fill up the screen width in 3 columns?

white marten
#

Is it a way to add {{ state('entity.something') }} after Charging in the IF statement. If I do that the whole code is just shown as text

blazing wren
#

You could just make a template sensor for charging the car which outputs the text you want with an attribute for the colour.

upper blade
#

Why it says undefined?

crisp rapids
#

Anyone here who knows how to change the background of mushroom chips? Normaly this whould work
card_mod: style: | ha-card { --ha-card-background: rgba(0,0,0,0.5); color: white; }
But adding this won't change anything for the chips background

stuck saddle
#

How do i change the icon colors? since the 2022.12 update they became yellow and blue and w.e and now since the last update more became yellow -.-

opaque kiln
edgy flame
#

and then the page refreshes... for any little packetloss or connection blip..
how do i stop it from auto refresh.

#

just like leave it alone i dont need home assistant refreshing the page for no reason...

calm geyser
#

Using some mushroom cards, how would I go about getting these more in alignment .. any tips in right direction appreciated. I have been using a variation of horizontal stacks and vertical stacks

edgy flame
#

grid card render as squares

#

will fix this problem but prob introduce more xDD

calm geyser
#

Lol great let me give this a whirl

calm geyser
#

Well better lol I would like main floor more center tho haha

atomic glacier
young blaze
#

Is there any easy/plug and play way to organize and beautify my Overview dashboard and not play around with .yaml files? With the cards

edgy flame
#

themes maybe?

young blaze
#

Any reference? I was playing with Hacs frontend but its still yaml files

graceful trail
#

Hey, I have a question regards sensor view. If I haved picked a temp sensor in the past, it shows me a little graph which I also could change in time range to show me the data. If I now picked the temp sensor, it show only the actual temperature without a graph. Is there something changed in die views or is something damaged in my config?

iron leaf
#

Hi. Does anyone know how to pull an entry from the logbook to show in my mushroom card? This entity "gate motor" doesn't have any attribute to leverage, however, I can see when the entity was triggered in the logbook. Just can't figure out how to actually access it.

graceful trail
#

Also when I create a mini card with my temperatures from the last week, it shows only the actual temp.

junior girder
#

I have an vertical stack running, but i would Like to Show this füll stack only when states "state" of the first Sensor (Sensor.plex_state) is not "unknown"

#

Is that possible? And how?

#

Entitie-filter-card ist not the solution

polar kelp
storm salmon
#

I'm trying to get Mushroom with HACS running, but I get an error of mime type of "text/html" when it tries to load the mushroom.js file. Any ideas on how to fix this? Google didn't help 🙂

storm moth
#

im trying to use the entity card to display when a timer ends. it shows the information but the font size is just way too big. ive been trying to figure out how to reduce it but i dont actually find any suggestions on the great google that seems to work. am i on the right path here?

style: |
  .value {
    font-size: 10px;
  }
#

im a newbie btw

timid beacon
#

Are there performance or other downsides to only using a single dashboard? I'd like to make use of the decluttering card, but it only works per dashboard

#

Visibility can be controlled per-view so I don't think that would be a problem

timid beacon
#

Seems like one drawback is that there isn't a way to set a default dashboard view for a user

rich eagle
edgy flame
#

i figured out why home assistant does autorefresh whe you lose connection or view page after long sleep...

its cause of ingress... they havent figured out how to refresh or create new ingress session after long sleep or idle. So they refresh the page as a hack to emulate you clicking the link on the side bar to start the ingress session..

#

the connection issue is just an unintended side effect of this hack

stuck saddle
#

Once more:
My dashboard/overview w.e looks like a fckin rainbow, how to go back to one color? It used to be accent-color: #color

heavy pasture
#

How do I troubleshoot a resource not loading?

heavy pasture
glossy lichen
#

Erm, so I just did a "Show code editor" without realising I wasn't editing just one part of the card and lost a LOT of work. Is there any way to get that back or to roll back somehow?

timid beacon
#

Can you use animations with card mod? I don't see why not, but it doesn't seem mentioned anywhere in the docs or do I see anyone using it anywhere

golden mistBOT
#

@jaunty sierra I converted your message into a file since it's above 15 lines :+1:

jaunty sierra
polar kelp
#

Grid makes all cards the same height. Try adding square: false

jaunty sierra
#

wow, tx a lot its solved

white marten
#

Is it a more mobile friendly way to close popups? Up in the left corner is as too far for rapid usage. Something like swiping back to close

atomic glacier
#

@white marten I use auto_close: true option on popups that I just need to view and don't need any tap interaction. You could always add a button to tap with a service call to close he popup instead of using the 'X' at top left. 🤔 ...

untold trail
#

Theres no reason why it cant just let me create a taller dashboard.

timid beacon
#

Can you use the auto-entities card to display some card based off of another cards state?

#

I know there's the conditional card, but it's more limiting

#

Maybe state-switch is what I want

untold trail
#

Anyone use the threedy frontend integration?

atomic glacier
untold trail
atomic glacier
#

I've had a hard time finding something that couldn't be displayed the way I needed using that and a bit of trial and error. Pretty much use it on every view🤔

untold trail
atomic glacier
#

Oh, I use yaml for all my stuff. Not familiar with the GUI options, 😞 sorry

untold trail
#

So you just put everything in the layout card?

#

like may a layout card per column and shove stuff in?

atomic glacier
untold trail
#

Just noticed all my zigbee shit is unavailable apparently..

atomic glacier
#

columns, width, by pixels or percentages...they can be as long as you wish and column sizes can be tweaked to your desire

spiral jetty
#

Hi, I changed my UI from glance based cards the the new Tile based cards. On glance I could use a local picture as an icon which I cant seem to manage with Tile (I'm trying to change the icon of a scene imported from Tuya), any ideas how to work around this?

untold trail
#

If I make 3 layout cards, they all go vertical into 1 column

lean oasis
#

looking at css code does anyone know of a way to make drop shadow follow the colour of a bulb?

lean oasis
#
  • box-shadow: 0px 0px 10px 3px var(--button-card-light-color) will give the card a glow that follows the light color, but is there a way to use the var for drop shadow
#
  • box-shadow: 0px 0px 10px 5px var(--button-card-light-color) this works for a glow around the card, but wondering if there was a way to apply it to a drop shadow around the icon?
upper blade
#

Is this the right topic?

lyric prairie
main meteor
#

Trying to customize the icon of my "light counter" sensor. Is the problem that the counter is not seen as numeric?

dark dirge
#

states are always strings

main meteor
#

So how to validate a string number like above?

dark dirge
#

it's JavaScript, so presumably parseFloat()

#

or parseInt()

main meteor
#

if (parseFloat(state) > 0) return 'yellow';
return 'green';

#

Like this?

fiery ledge
#

just try it, or put quotes around the 0

grizzled ravine
#

Hi everyone, hoping i can get some help cleaning up my dashboard. right now i have a couple of devices that are showing all their devices as "Sensors" or "binary sensors". normally would look for the main entity or to each one and move them to the pertaining area, but these items are showing as having no "unique ID". is there any way to move them to other zones?

main meteor
#

It works great with string states

fiery ledge
#

Yeah well, I keep saying it: your install of custom-ui has an issue and you’re not providing the info we need to be able to help

#

Maybe open a post in the community and post your yaml there

#

Is way easier than here

#

Feel free to tag me

main meteor
#

Its just when want to compare a string as number its not working

fiery ledge
#

Then quote . There are many examples in the documentation

main meteor
#

Light still white

fiery ledge
#

Did you reload customizations

main meteor
#

yes and even changed the state

fiery ledge
#

As said , you have another issue .open a post in community and some of the yaml.

#

Including screenshot of the correct install

vapid oak
#

does it need to be surrounded in [[[ ]]]?

#

I just remember doing some javascript the other day and it was surrounded in that

#

just taking guesses tho, idrk

gray current
#

Is it possible to view with the hands (type: gauge) for consumption in real time? I have already connected a shelly3EM

graceful citrus
gray current
graceful citrus
#

Ok, a template sensor then

gray current
dawn acorn
#

or if it is exposed as an attribute, you can use that

fiery ledge
next imp
#

anyone who can help me out with making an animated icon - spinning fan. I dont know what i am doing wrong. It works just for maybe 1 second then it stops. The setup is as follows: rm4 pro + dumb fan.

fiery ledge
#

just use the spin: true ?

#

in the state, use it like: - value: 'on' id: state-on spin: true

#

the id is used in a button_card_template, so it can merge with possible other state stylings

#

or with a full template like: spin: state: - value: 'on' id: state-on spin: true so you use the template like: template: spin

next imp
#

"Button-card template 'spin' is missing!" is what i get.

dark dirge
#

needs to be under button_card_templates:

grizzled ravine
#

Hi everyone, hoping i can get some help cleaning up my dashboard. right now i have a couple of devices that are showing all their devices as "Sensors" or "binary sensors". normally would look for the main entity or to each one and move them to the pertaining area, but these items are showing as having no "unique ID". is there any way to move them to other zones?

prime narwhal
opaque kiln
hardy ember
#

Can anyone recommend a few simple examples of custom panels? Want to write something fairly simple but not really sure where to start aside from the example given in the docs.

atomic glacier
crisp rapids
#

is it possible to make use of template in a theme.yaml file?

white marten
#

I started using grid on the elements itself, but I still struggle with the main layout to be very unattractive. What is the best way to layout this in one row? It doesnt seem like things line up properly in full screen regardless (line up fine in mobile).

grizzled ravine
atomic glacier
fiery ledge
clear osprey
#

Hello, I was trying to implement an update to my pictures element display to incorporate some security cameras. Looking at the HA Picture Elements help page, I found something that provides help on security cameras. However, I want the icon on the Picture Elements display to be a static icon (like the light icon), and instead what I get is an image captured from security camera footage itself (because it uses camera_image: camera.xxx)
Is there anyone who can point me to only showing a camera icon?

plucky mesa
#

Hi! Unsure where to post this question so i'll keep it here for now. I'm using mushroom cards on frontend to control a group of lights in my living room. I've now added a LED strip that I want to add to that group. It's working, but i'd prefer if that LED strip always stays at 100% brightness as it's rather dim. Is there a way to retain the same mushroom card, but have the LED strip ignore the brightness changes made to it? FWIW, it's a Tuya WiFi strip

quasi scroll
#

Anyone else having issues with automation tracing on lovelace "Error rendering graph. Please download trace and share with the developers."? Tracing do not anything at all.

bright sky
#

Hey guys, i'm trying to change the color of a mushroom chip according to a numeric value, is this possible? The chip shows the difference between trv setting temp and actual room temp..

#

The Icon should be green for a diff less than 0,7 else red..

fiery tide
#

Hi all, after trying to google, community forum searching and doing some other searching I cannot find the cause of some ongoing, repeating and annoying messages in my logs. I could really use some help to get the root cause of this. Thanks!

white marten
#

In a grid is it possible to make sure the one in the middle there goes to the top and not centers? It automatically align to the middle

dreamy shoal
#

Can i pay someone to help me set up my dashboards with nice room overviews and everything

hardy ember
#

When writing my own custom panel. Is it possible to use HaPanelIframe as the parent class?

golden mistBOT
#

@glossy spire I converted your message into a file since it's above 15 lines :+1:

glossy spire
#

Have a question as to how the system reads the entities state.

#

My understanding is that it goes to the next if it fails. I can get the >10 and === 0 to function, its the 10>4 range that I cant get to trigger. Not sure if it should be an elif maybe or that the two are both greater than instead of the middle being <>.

dark dirge
#

the problem is that states are strings

#

comparing a string against a number that you turn into a string isn't the right approach

#

you need to turn the state into a number and then compare with a number

#
    - color: |
        [[[
          if (parseFloat(entity.state) > 10) return 'lime'; 
          if (parseFloat(entity.state) > 4) return 'yellow'; 
          if (parseFloat(entity.state) === 0) return 'black';
          else return 'red';
        ]]]
glossy spire
#

that makes sense.

dark dirge
#

But you haven't built a continuum. Did you want "red" from 1-4?

glossy spire
#

no only if it goes offline

#

so anything other than a number

dark dirge
#

that's not what the logic says

#

1-4 isn't covered, except for red

glossy spire
#

nvm 1-4 doesn't matter

#

4-10 is the timer running still

#

thats the only time iit goes under 10

#

just an alert that the timer hasn't stopped but the cycle has

dark dirge
#

you're also excluding 4

#

anyway, I leave the logic to you...

glossy spire
#

yea I understand that part just found the operators for doing that and wasn't sure if I can denote a range or not

#

ill do some tinkering I appreciate that

dark dirge
#

you can in Python, but I'm not a JS guy

glossy spire
#

I don't know either so lol. I can understand mostly as what things like this are trying to do but the syntax and in this case numbers vs strings

clear osprey
#

Hey Rob, I was wondering if you could help with my previous request:
I was trying to implement an update to my pictures element display to incorporate some security cameras. Looking at the HA Picture Elements help page, I found something that provides help on security cameras. However, I want the icon on the Picture Elements display to be a static icon (like the light icon), and instead what I get is an image captured from security camera footage itself (because it uses camera_image: camera.xxx)
Is there anyone who can point me to only showing a camera icon?

glossy spire
#
          if (parseFloat(entity.state > 10) return 'lime'; 
          if (parseFloat(entity.state > 4) return 'yellow'; 
          if (parseFloat(entity.state == 0) return 'black';
          else return 'red';
        ]]]```
#

wont produce anything and no error what did I miss lol

clear osprey
#

you had 3 = on zero before, now it is 2

#

No idea though

glossy spire
#

yea the code operators list it as only 2. I had that originally tho was just testing to see if it fixed it

clear osprey
#

just doing a comparison with the previous entry

glossy spire
#

no worries appreciate the help still im sure its something like that lol

dark dirge
#

you also put the parens in the wrong place

#

go look at mine again

#

I suggest breaking it down and seeing what it does

glossy spire
#

oh yea

#

parsing the equation instead of the entity

dark dirge
#

I...guess?

#

not really

#

oh, that's what you were doing

#

which doesn't make sense

glossy spire
#

yea I see that

#

I should do a course for java and python one of these days. I think it would be beneficial. I am attempting to work towards my CCNA

clear osprey
#

Ok, I worked it out eventually, able to insert my own image

bright sky
#

Can you help me set the icon_color based on the entity value in the following sample?

type: custom:mushroom-chips-card
chips:

  • type: entity
    entity: sensor.obergeschoss_hobbyraum_trv_auto_temperature_delta
    icon: mdi:delta
    icon_color:
crisp plume
#

Hi! For a room, I have the measured temperature, and the setpoints for heating and cooling (writeable) in HA. How would I create a thermostat card from that?

crisp plume
#

#templates-archived recommended creating a generic thermostat with a dummy entity as heater. After that it should show up in the dashboard.

vast crane
#

I suggested maybe try an MQTT thermostat, I think that could be appropriate.

raw stream
#

Is it possible to filter entities in the DevTools/States tab to show only those ending in a string, e.g. energy, kind of *energy$

wet schooner
rotund wadi
#

Not sure whether to ask this in here or #devs_frontend-archived , but will start here to I don't get roasted 🔥 I have created a custom card, which contains an SVG (and nothing else), which is a square (viewBox is 100x100). The resulting ha-card always has height 6 pixels more than its width (and that of the SVG inside), and there's an extra "gap" at the bottom (only). The SVG inside is a square (equal height and width), as it's supposed to be. It's a cosmetic issue, but it's bugging me. Where is this 6-pixel high extra bit at the bottom of the card coming from? Simple code for illustration of the problem at https://pastebin.com/yZUcY8kH

timber flint
#

Hello!

There is any solution to add a sensors value as secondary info under a switch?
I want to add under last entity "Mosogatógép" what is a dishwasher the remaining time what I have in a sensor. I tried with thomasloven/lovelace-template-entity-row but as soon I add it the switch changes the switch button to text "on/off" and I cannot switch anymore with a click.

#

As you can see the Switch button is disappeared.

timber flint
#

Solution would be secondary-entity-row if it would work correctly.

#

I dont know what is Object Promise.

#
        name: Mosogatógép
        icon: mdi:dishwasher
        type: custom:secondaryinfo-entity-row
        secondary_info: [[ sensor.mosogatogep_remaining_program_time.state ]]
        state_color: true```
dark dirge
#

that card uses pretty weird syntax, but my guess is that you need to surround the template in quotes

#

As shown in the docs. Otherwise, it looks like a malformed list to the YAML parser

timber flint
#

Omg, looks like I forgot to add it, Thanks so much for the hint. that was it.

polar kelp
rotund wadi
edgy flame
opal geyser
#

url: "https://myperfectpage.link/?argument={{ sensor.yourwish }}" eg as cardurl

edgy flame
#

sensor.yourwish ?

#

argument=value contains data from notification onClick

edgy flame
#

this will never work

#

webpage card does not support template like {{ }}

#

everytime i get close to a solution it always escapes me because of home assistant limitations

polar kelp
#

You'd probably need some sort of javascript templating card.

timber flint
#

Hello,

Can you please help me a bit with the syntax, I want to use secondary info to showing value of "sensor.mosogatogep_remaining_program_time.state" what is already working, but when the device is powered off remaning time showing Unavailable, in that case I want to show simple text "Not Started Yet".

        name: Mosogatógép
        icon: mdi:dishwasher
        type: custom:secondaryinfo-entity-row
        secondary_info: '[[ sensor.mosogatogep_remaining_program_time.state ]]'
        state_color: true```
#

secondary_info: '[[ if(switch.mosogatogep_power.state is on, "state of sensor", "Not Started Yet") ]]'
Something like this but the "is on" part is bad and not changing.

rotund wadi
timber flint
rotund wadi
#

uhm, replace the entity IDs with yours, of course 😉

timber flint
#

could you also pass this into the syntax if not a problem?
value_template: '{{ (as_timestamp(states("sensor.mosogatogep_remaining_program_time")) - as_timestamp(now())) | timestamp_custom("%M") }}'

#

so the remaining time will be shown as minute not as a timestamp.

rotund wadi
timber flint
#

ah you are right.

gray current
#

Hi, I've been trying for days to integrate all the correct sensors of a 3EM shelly into my energy dashboard. First of all, I saw that shelly's ammeter clamps don't calculate the energy produced by the solar panels, probably because the voltage is different (?).
I tried to integrate this, but without success because nothing traces me ( https://community.home-assistant.io/t/shelly-3em-3-phase-net-metering-templates-for-import-export-and-consumption/390237 )
Has anyone had this kind of problem before? How can I solve this problem?

edgy flame
polar kelp
#

${(new URLSearchParams(window.location.search)).get("argument")}?

edgy flame
#

Holy frik

#

thank you so much

sweet lintel
#

I'm getting this since 2022.12.7 when I try and look at the Overview. It's fine in 2022.12.6

rich eagle
sweet lintel
#

Hi, got a link to the repo please?

gleaming jackal
#

Hi! When viewing "All devices" Dashboard i get: Error loading the view strategy:
TypeError: e[0] is undefined or TypeError: Cannot read properties of undefined (reading 'toUpperCase'). How do I go about to figure what might be causing this? I have looked in the log files but don't see anything that looks related.

#

Oh... looks like I'm not the only one...

golden mistBOT
#

@spark spear I converted your message into a file since it's above 15 lines :+1:

spark spear
#

it displays the date as well only want the time

spark spear
timber flint
#

if you check back about 5-6 message I did the same.

spark spear
timber flint
ornate spade
#

Does anyone have any guides handy on putting multiple information in a card. Similar to this

timid beacon
#

I'm having all kinds of issues with the state-switch card. Primarily it will show the correct cards when I'm inside the card editor, but once the dashboard actually loads it doesn't show anything. Is this a common issue? It seems really glitchy

#

Sometimes if I make a change to the card then it will show up on the dashboard, but then if I refresh the page it goes away

#

But inside the editor dialog it always shows correctly

ornate spade
#

So i made some progress and using the stack in card. How do I get rid of the boarder

timid beacon
#

Using card-mod

#

Some info in there

west geyser
#

Hi Everyone. I'm trying to add my garage temperature with a template to my Lovelace because it's a pretty consistent 5ºC off. I was able to put it in with other climate entities but is there a way to make it look the same as the humidity? (Ignore the "not available", that sensor's batteries died and I haven't bothered to replace them yet)

timid beacon
west geyser
# timid beacon You should paste the YAML for that here

`type: entities
title: Climate
entities:

  • entity: sensor.lumi_lumi_weather_humidity
    name: Ensuite Humidity
  • entity: sensor.lumi_lumi_weather_pressure
    name: Ensuite Pressure
  • entity: sensor.lumi_lumi_weather_temperature
    name: Ensuite Temperature
  • type: custom:hui-markdown-card
    content: >-
    Garage Temperature {{ states('sensor.garage_temperature') | float +
    states('input_number.garage_temp_offset') | float }} ºC
  • entity: sensor.garage_humidity`
#

I think that's short enough to not use the website.

timid beacon
#

You can use 3 backticks btw to make a block of code

timid beacon
#

So that template that you have there, make an actual entity for that and you'll want to set the proper settings on it

#

Here's an example of a sensor I have for an attribute of another sensor. You can see how I set properties on it which will tell HA how to properly handle it

- name: Thermostat target temperature
  device_class: temperature
  unit_of_measurement: "°F"
  state: >
    {{ state_attr('climate.thermostat', 'temperature') }}
cerulean iron
#

Is it me or the new state colours for binary entities are very hard to differentiate from the default primary color? Here’s my example with two entities to OFF and one ON, it’s hard to see which one is at ON :

#

Perhaps i’m missing a new setting? 🫤

west geyser
timid beacon
timid beacon
cerulean iron
timid beacon
#

I probably would have noticed too, but I hide most entities on my dashboard that aren't active

#

You also may be able to fix that with your theme or just on the card directly. I haven't messed around with themes though so I can't help there

west geyser
#

...just need to change the name

timid beacon
#

They should probably change the "off" colors to be gray instead of blue now that they have different colors for different entities

half pecan
#

I have a weird issue with rgb-state-alarm-armed-color. When i set it to red, it turns white 😦

sage depot
cerulean iron
vapid field
#

Hey, how are you all doing. Im a new user to home assistant. After the nescecary strugles and effort, i managed to get my server running including a mqtt server and everything is connected via duckdns and secured with let's encrypt. I was so happy! Now i'm in the configuration of the dashboards and adding some lights. I think i understand everything, it just gives me an error when i try to add custom MQTT-lights that i dont understand. Actually its not HA that gives me an error, but it is the Studio Code Server App - where i edit the confuguration.yalm file - that warns me some things might not work. And in the frontend it also does not work the way i expect.

#

Can someone tell me if i just missed a big step somewhere?

dark dirge
#

does it pass the config check?

vapid field
#

yes, it does

dark dirge
#

what VSCode thinks doesn't really matter, and may be outdated

#

focus on what doesn't actually work

vapid field
#

okee i was contemplating this.

#

In the frontend, i do not get to see a colorwheel when i add a lightcard with this name. That i would expect.

dark dirge
#

ok. I have no colored lights and can't offer suggestions on that. Regarding the VSCode extension, I suggest seeing if you have an update waiting. Frenck recently updated the schemas and such

vapid field
#

Thank you. Ill check to see if there is an update.

#

im on the latest. But thanks anyway.

#

to give some closure, it does seem to work, despite the warmings. But i get it to work with an custom light card, not with the default one.

jagged cove
#

Hi All, my Synology Router (synology mr2200ac) reports its rec'd/send stats in KiB/sec. Is there any way to re-calculate that in the dashboad to be Mbit/sec?

cerulean iron
errant kraken
#

Hi everyone, I'm trying to switch a device FROM a light TO a switch, any hot tips on if there's an easy way to do that without config.yaml?

worn solstice
vapid field
#

Hi, is it possible to ping an external site to check it's uptime? Or is there a better way? The documentation only seems to cover ping on the same network

manic mortar
rotund wadi
ornate spade
fiery ledge
tired wedge
#

How can I fix locale inconsistency in HA? I have one card showing "," as decimal separation, the other "." ?

#

I live in Germany, but use English as language for all my devices.

#

"," is a standard decimal separator in Germany. But if I have frontend in English some cards do ignore it.

mortal compass
#

This is likely a feature that each custom card has to implement. I suggest opening an issue on the card's GitHub repository.

fluid vine
tacit cave
fluid vine
#

OK good point. Let me try in a built in card.

#

oh I can't actually do that. Nevermind. It's nice to be told no to waste time. Thank you.

sweet crater
#

is it possible to add custom css/js to lovelace dashboards?

past folio
#

I'm trying to fix an issue with my dashboard and a select entity. it's been non-functional for a while but I'm finally digging into it.
At some point in the past I was able to create an entity card with "select.foo" as the entity and it would give me a dropdown of available options, which I would click, and it would apply my selection.
Now, after the dropdown, I get the following message:
"Failed to call service select/select_option. must contain at least one of entity_id, device_id, area_id."
This occurs regardless of which select entity I use.
I don't recall seeing this in a breaking change, but I assume it was there. What do I need to do here?

vapid field
#

Picture is not showing up un the dashboard.
I can view the picture in media but it doesn't show up in the dashboard.
Code:

type: picture
tap_action:
  action: none
hold_action:
  action: none
image: local/test.jpg

Can someone help me?

fiery ledge
#

Need a / in front of that path

shut pollen
#

is there any kind of card/control that you can have one slider to set brightness on like 3 or 4 lights at once?

fiery ledge
#

Use a light group?

shut pollen
#

how do i make a light group? yea thats exactly what i want

halcyon mantle
shut pollen
#

aaaah found it - helpers

shut pollen
#

thanks

shut pollen
#

one more stupiud question- is there a way to make a dashboard have cards that are hidden for certain users? right now i have a dash for my phone and one for my wifes phone and they are 80% the same, she just doesnt have the stuff for my office in.

#

but now i have to maintain those same cards that are the same on both

#

its a whoe lot of copy and pasting whenever i add or change naything

twilit jungle
#

Hi, did I just dream that script fields were visible from the UI or they disappeared in 2022.12?

prime narwhal
#

How to make a local checkout of ha-core use a local checkout of ha-frontend? I want to test a recent fix that's not in a frontend release yet?

prime narwhal
#

Hmm can't get it to work. Most of the icons working, but not of the text, assuming some translation problem.

timid beacon
#

Feeling really frustrated with card-mod tonight. This isn't changing the size of the icon:

type: glance
card_mod:
  style: |
    ha-svg-icon {
      transform: scale(2.5) !important;
    }
entities:
  - binary_sensor.front_door_contact

What am I doing wrong here? If I save this and go into dev tools and find that element and apply that same css style it works exactly how I want. I constantly run into things like this with card-mod and I feel like I'm missing something. What gives?

timid beacon
#

I think it has something to do with the shadow root

timid beacon
vapid field
#

Is there a way to poll a rest service so the front end updates properly

timid beacon
#

But I'm not sure exactly what you mean

vapid field
#

Ah, good call

vapid field
#

I'm using entity-list cards to show the temp/humidity in each room. I'd like to add some color coding on each card to show if the values are in expected levels. Can anyone suggest a simple way to do this?

lunar heart
#

Hey Folks,

I am trying to show a mushroom card only if a entity is available or not... I found the conditions card but that only let's me check if the state is 'on' or 'off' so that won't work...

~ CLOSED ~

lunar heart
exotic dew
#

I haven't found anything on the site yet and was wondering if the new entity history color scheme is fixed. I much prefer the red/green over the new grey/yellow(?) isn't working out for me. Grey has always been unavailable (still is it seems) and is confusing w/ the Off state.

wicked bone
#

Why am i not able to add this sensor to the Individual devices in the energy dashboard? mqtt: sensor: - name: "IVT Supp energy heating" state_topic: "fxcf5c49fdsfd772/HP/5C52" unit_of_measurement: "kWh" icon: mdi:flash

#

ignore the malformed yaml (bad paste)

#

the entity works just fine in other dashboards

split remnant
#

anyone with this problem? Some icons don't show in the card, but if I click on the entity I see the icon... only hidden in the card. Some time after they show again, but only to disappear without apparent reason. This icons are from a custom pack https://github.com/elax46/custom-brand-icons

urban lake
#

Hi everyone, is there a way to adjust webpage card's aspect_ratio to span full height of a browser?

opal geyser
#

If you choose Panel(1 card) as new Dashboard Page and add a webcard with 100% it will look like this

urban lake
#

Yeah, but I hope to achieve the same with a sidebar view

strange bough
#

can someone help me out a bit ? i installed a theme in HACS , i restarted... but the file doesn't seem to be anywhere , also i seem to have same issue with updating other HACS integrations

#

i get this message

#

Download was not completed [timeout() got an unexpected keyword argument 'loop']

twilit axle
#

Still getting these endless warnings about bluetooth even with latest core and OS. Been ongoing for months. Is this the right thread to post this in?

jovial flicker
#

Idk why but my hass won’t show the background on the internal url anymore… does anybody know why that would all of a sudden do that out of the blue? I’ve tried reinstalling the theme and all kinds of stuff it only shows when I’m connected to the external url and it literally just started doing it today out of the blue.

elfin latch
#

I have an area card on my dashboard that use to show my doorbell or an image created by that doorbell, I swapped out the doorbell for a newer one but now there is no image. Is there any way to fix it? the new one is in the correct area and the old one I deleted just to be sure.

elfin latch
#

fixed it by removing the area and re adding everything again

fiery tide
#

Hi all, after trying to google, community forum searching and doing some other searching I cannot find the cause of some ongoing, repeating and annoying messages in my logs. I could really use some help to get the root cause of this. Thanks!

karmic tendon
#

Is this a sensor or statistics? Might it be that uour recorder only keeps 20days of (history) data?

karmic tendon
#

🙂

#

you can add a total_increasing sensor

#

that one just puts data in statistics on a rolling basis without setting it to 0

wicked raven
#

Hey guys. Can anybody tell me why the following code doesn't make the icon color match the lightbulb color? The code was shortened at the end, but shouldn't have anything to do with the problem. I just left off the tap_action.```

type: custom:mushroom-template-card
entity: light.office_light
primary: Office Light
layout: vertical
icon: mdi:lightbulb-outline
icon_color: "{{ states.light.office_light.attributes.rgb_color }}"

#

Or why this doesn't work either

type: custom:mushroom-template-card
entity: light.office_light
primary: Office Light
layout: vertical
icon: mdi:lightbulb-outline
icon_color: {{ state_attr('light.office_light', 'rgb_color' }}

sick crown
#

second one is missing closing bracket ) i think?

wicked raven
#

Yeah, that one is, but I don't think that the original code does. I'll check

wooden stream
#

Hello, I've been building my entire UI in lovelace, and it's pretty much finished.
Meanwhile, I've been trying to now import it all (creating pages and so on, in the ui-lovelace-minimalist but I can't seem to make the pages work with the code I'm copying in the UI and shows as "Unknown Type Vertical Stack".
https://paste.debian.net/1265038/

#

What am I doing wrong? I'm pretty sure it's the way I'm doing the spacement.

#

The times I manage to make it work (and can't even get there at this point lol), it doesn't do the vertical stack aligning it all.

#

If it somehow helps cus there's a change I've "ruined" that trying to fix the YAML, this the one that works on /lovelace https://paste.debian.net/1265039/
So all I want is to import code that's built that way, into new pages, via VSC in the new minimalist.

wicked raven
#

This isn't working either. ```

type: custom:mushroom-template-card
entity: light.office_light
layout: vertical
primary: Office
icon: mdi:lightbulb-outline
icon_color: {{ state_attr('light.office_light', 'rgb_color') }}
tap_action:
action: toggle

sick crown
#

did you test the template in dev tools?

{{ state_attr('light.office_light', 'rgb_color') }}```
wicked raven
#

Yes I tested it in developer tools and it returns the rgb color

timber flint
#

Hello. There is any solution to that to simple users can also read secondary_infos? or custom hacs secondary_infos?

#

1st picture: non-admin

2nd picture: admin

mystic timber
#

Hey guys! I have been trying to use SWAKES dashboard, and can't figure out why the font that showing up in my dashboard doesn't match his font; also I can't figure out how to remove the background behind the title of the card itself like in the picture:
The first picture it's SWAKES dashboard, the second is mine.

wooden stream
mystic timber
#

@sick crown mine?

past folio
#

I'm having difficulty using a "select" entity in a dashboard card - I get the error "Failed to call service select/select_option. must contain at least one of entity_id, device_id, area_id." every time I use it

wooden stream
upbeat zodiac
#

For some reason I cant get the hold action to work on my button card, tap action works fine but hold is just not reacting, any ideas

#

here is what i have

        entity: light.black_lamp
        icon: mdi:countertop-outline
        tap_action:
          action: toggle
        hold_action:
          action: more-info```
vast crane
past folio
#

okay, that's the thing - I can't find an example that shows doing that.
I'll happily show you what I've got but I can't find a good example of what I want - does that make sense? (pastebin incoming)

#

the things I see referencing "service_data" are all for "input_select" entities, not "select" entities

vast crane
#

Oh my mistake, I thought you were trying to do a button . If you just want a select dropdown in an entities card, I wouldn't think you need anything special. I would think what you had would work.

past folio
#

note: this was working until a few months back. and I've been going around it by using a node-red automation that's a bit more explicit about things.

#

and yeah, I'd have thought so too LOL - it used to.

vast crane
#

What you have works for me, so I'm stumped.

timber saffron
#

I have a question about icons: I have downloaded from material design icons a specific icon (PNG 24 x 24), changed it and saved it to my local config/www folder

Now I try using it but it doesn't show it. Is this the correct way?

icon: /local/window-shutter-partially.png

dark dirge
#

The field is typically looking for something like 'mdi:xxx'

#

It's not for images

timber saffron
#

Okay but is it possible to have your own modified icon showed?

dark dirge
#

Find the mdi id, and assuming that HA has the version that includes it, it should work

#

I don't think so

timber saffron
#

okay

past folio
upbeat zodiac
#

in reference to my post above, the hold action works when I use the HA app on my phone just not on my PC, strange thing is other buttons work with hold action on the PC

unkempt willow
#

Hello!
Should Entity ID's contain the device name? On my integration I have a number of sensors and they're are getting Entity ID's like: sensor.temperature, sensor_temperature_2, etc...

dark dirge
#

Not necessarily. They can be named however you want

#

If you change the name of the device, it will offer to rename the entities for you

unkempt willow
#

yes, I know the user can rename them. I was just wondering, when the integration is added if I should have more descriptive entity ID's

dark dirge
#

It's completely up to the integration

polar kelp
#

There are some guidelines, but things vary wildly.

wicked bone
#

hi all, im having trouble adding a sensor that reports power usage to the energy dashboard and statistics card. the data is served over MQTT, i have not added a unique id to the sensor in my configuration.yaml file. Is that why it cant be added?

#
      state_topic: "fcXX7772/HP/5C53"
      unit_of_measurement: "kWh"
      icon: mdi:flash```
#

i have no problem viewing the data in say an entities card.

tidal dirge
wicked bone
#

ill put in a good word with santa

mystic timber
#

Hey guys! I have been trying to use SWAKES dashboard, and can't figure out why the font that showing up in my dashboard doesn't match his font; also I can't figure out how to remove the background behind the title of the card itself like in the picture:
The first picture it's SWAKES dashboard, the second is mine.

fiery ledge
leaden island
#

So I'm using swiss-army-knife card. Installed via the hybrid and manual methods. Updated my configuration and ui-lovelace etc to get it running. It generally loads in, and I can build cards with the custom card, but they break anytime there is a restart.

Actually, everything, even the included tutorial and exampl dashboards break throwing a template error. If I never create my own card, I can restart without issue

thorny echo
#

Hey everybody, I'm trying to figure out how to create a button/light style toggle for all the lights in a room. Any suggestions on how to do that?

atomic glacier
thorny echo
#

Sorry I should have been clearer - my goal is to adjust the color/brightness of all the lights in a group at the same time. The group toggle works well for basic on/off stuff

blazing wren
#

You can still use a group

thorny echo
#

OK, do I need to add anything to the YAML of the card?

blazing wren
#

Nope, just make sure to use the right entity name for the group.

thorny echo
#

That gets me the toggle functionality - what about adjusting brightness/colors of all the lights at once?

blazing wren
#

Well for that you need the right kind of card 😉

thorny echo
#

That looks more like it. Thanks Rosemary!

blazing wren
#

Have fun!

thorny echo
#

Also that lead me to HACS which seems like the user repository I was hoping for.

#

😄

blazing wren
#

Yup, not everything is listed in their "catalogue", but a lot of integrations, cards, themes add HACS support to make it easy to install them

worn solstice
#

Hello, anyone knows what I am doing wrong?

#

I expected to see the forecast for the next 18 hours in 4-hour splits. What's that?

shadow vessel
#

Is the variable '{{ user }}' available in the dashboard to use in a tap action?

dark dirge
#

Only if the card you're using says it is

shadow vessel
#

As in the output is '{{ user}}' rather than the result

golden mistBOT
#

@shadow vessel I converted your message into a file since it's above 15 lines :+1:

shadow vessel
simple basalt
#

Hi all, happy Christmas!
I have a little problem with my thermostat card
anyone know why is showing these values ?

#

while in SmartLife app showing the correct temp values

#

im very new to all this.. any help will be much appreciated

devout raft
#

hello , do anyone know how to fix this weird up and down values from a temperature sensor , so the line is more smooth?

karmic tendon
#

If I look at the graph, it seems as if your sensor rounds at whole grades, maybe try to see if you can 'repair' the sensor ?

#

i.e. from the fist peak, it could have been 19.4 (roudning to 19) an dthen 19.5 resulting in the peak to 20 then 19.3 again (or so) hence back to 19

devout raft
#

propably yes..thats whats happening. i get the reading from AC , when its 'turned off' it still connects to wifi and reports the room temperature.
but even the gree intergration , show integer numbers.

#

@karmic tendon maybe its hardware limitations? and reports wrong values ?
do you have any idea how to solve this?

worn solstice
#

The fill_raw: last can be the issue,

devout raft
#

nah i tried without it . its the same or worst graphs because i have some missing readings from time to time

karmic tendon
#

often you can set the temp sensor to include decimals

#

Another option is to try and 'fake' in the graph by adding an average covering a period just a bit larger than the peak, e.g. 3 mins

devout raft
#

my AC is 'Inventor' brand( model : Nemesis Pro ), made by 'Gree'. Gree Integrations come from stock in HA.

#

i get the readings from this entity.

#

then i made a new 'sensor' and read these values , in order to use them in a card on dashboard.

karmic tendon
#

integration does not seem to show unrounded grades...a bit odd though. Your last graph still shows full grades, regardless of the .5 steps.

#

Option1: report an issue wiht the gree integration on temperature accuracy

#

I would do this anyhow

#

then.

#

Option2: if it is only the graph, then add group_by on avg with a period of (say) 2 mins and see if that helps, if the peaks come and go in <1 min you can go to 1 min period...try...

#

not100% sure as I cannot simulate this as I donot have the data

#

out now... good luck

devout raft
#

thanks!! i ll try option 2.. i ll report an issue also

#

have a great day, thanks again

old fox
#

Any way of adding tile cards to entities card?

wintry gull
#

Hello everyone. Is it possible to have a tap and double tap assigned to the same button? I ask because when I have both assigned only the single tap happens twice (turn on and then off in sequence fast).

bright sky
#

Is it possible to use an attribut (media player source) as condition for a conditional card?

dark dirge
#

Seems not directly. Would need to make a template sensor to expose it as a state

atomic glacier
old fox
#

Thanks

fiery tide
#

Hi all, after trying to google, community forum searching and doing some other searching I cannot find the cause of some ongoing, repeating and annoying messages in my logs. I could really use some help to get the root cause of this. Thanks!

blazing wren
#

Your internal IP address is not sensitive information, and the name of the dashboard/view shouldn't be either.

polar kelp
#

Random screenshot from latest slider-entity-row release:

blazing wren
#

I saw a number of commits on this and an update fly by! Yay!!

simple talon
blazing wren
#

What are you trying to do?

simple talon
#

Basically an ui component that lets the user to schedule heating for specific time during the night when they're asleep and electricity is cheap

simple talon
blazing wren
#

Have a UI button to run a script which only works in the cheap hours?

simple talon
#

Won't work, my dad wants to choose the heating period manually himself

#

there may be a fancy automation in the future, but he needs to be able to manually determine the time period

blazing wren
#

Well he can press the button any time. But you'll just have the script stop if it's expensive.

simple talon
#

Yeah, but that's not what he wants

#

i can achieve it with like two time selectors and a switch helper, but there are almost 20 different switches to control and i kind of don't want to manually configure each and every single one

#

so i was hoping for a pre-made component

blazing wren
#

Create a group?

simple talon
simple basalt
last magnet
#

Hello everyone, I'm not sure whether you guys also help with 3rd party front-ends, but I've been trying to install Mushroom, I've reinstalled it, reloaded my browser, cleared my cache, restarted my HASS, but I can't seem to figure out what's wrong.
Is there some kind of arbitrary fix I can try? I've searched on google and such but can't find anything relevant
For some reason the cards just won't show up when I try to edit the dashboard and add a card.

worthy willow
#
  1. How do I make the border-radius around the logo on top to be a circle? Its border-radius: 50% at the moment.
  2. How do I make the border-radius look normal on the cards below with 3/1 ratio. It's on 10% now but the corners are weird
simple basalt
#

Thermostat card values

vapid field
#

hello. I looking to add the dual-guage card from hacs. I downloaded it via hacs, then added the resource to the config/lovelace/resources. Rebooted the server and refreshed the browser. However Im still getting the "not card type configured" I verified the dual...js file is in the www/community/dualguagecard folder. {resolved} indentation error

meager leaf
#

Hey, Does anyone is using "custom_card_apexcharts" from minimalist UI ? I have an issue when trying to use it (was working before) : hui-error-card TypeError: n.setConfig is not a function. Sorry if I am in the wrong channel, have just arrived into the discord

#

Looks like I have the same issue, did you find a solution @latent smelt

latent smelt
hardy ember
#

When writing a custom panel is there a way to do something when a value in the hass object has updated?

polar kelp
#

What you want is called a "setter". A function that runs when a property is changed.

hardy ember
polar kelp
#

A completely new hass object is pushed to the panel by Home Assistant on every change.

hardy ember
#

Ah

hardy ember
sick marlin
#

Hi all, not sure what channel is right for this question. I have a custom:button_card that I am trying to add a volume % circle too. (using hass-config button cards as the template.

The button is to turn on and off a pair of speakers. But I want the volume to be representative of the Chromecast Audio that is attached to them.

I have a variable but I can't get it to show the volume and I'm have issues with the syntax.

I have this:

variables:
circle_input: '{{ state_attr("media_player.family_room_stereo", "volume_level") }}'

but is only returns '{{ state_attr("media_player.family_room_stereo", "volume_level") }}' as text.

dark dirge
#

You're trying to use Jinja templates when that card supports JavaScript

#

There are many examples of templates for that card in the docs

sick marlin
#

that makes sense, thank you,

violet tinsel
#

I have an input select populated with internal names (snakecase) that I'd like to display (have the user select from) a modified set (transformed to sentence case). I haven't found a good way of doing that, short of templating my transformed names and putting in some sort of automation logic to update the underlying input select. Am I missing an easier way of doing this?

blazing wren
#

What is the reason for the input select being snake case?

#

I would make them sentence/title case and then whenever it changes update an input_text with the snake case version and use that for my automations, assuming the snake case was important.

violet tinsel
#

No particularly strong reason. A carry over from having variables I use in other environments being computer friendly (no spaces, etc.). It's possible the names may get edited over time, leaving the true underlying values static for automations, etc.

blazing wren
#

You could always do something via MQTT instead. But an input select is a list rather than a dictionary of keys and values.

violet tinsel
#

Sounds like the most straightforward way is to use the human readable versions everywhere. 🙂 Thanks!

polar kelp
#

New auto-entities release 🎉 . It's been a while.

pliant mural
#

How do I get rid of default dashboards created by installing things? For example, Minimalist Created 2 dashboards and Mushrooms created 1 dashboard

strange bough
#

is it possible for rgb light cards to average the color of the child cards ? (for example if i have a blue and a yellow light to average to green)

#

i think i've seen this behaviour somewhere but i forgot how it was done 😄

#

i'm talking about the icon color in the dashboard

midnight island
#

Yellow and blue wouldn't make green, you'd get a greyish color

strange bough
#

ok but how do i get the effect ?

#

now it just propagates the last color change up the groups tree

#

if i change one bulb to red all parents get changed to red and it's not very nice to look at in the dashboard 😦

onyx bronze
#

not sure if this should go into hardware or front end, so we'll see who answers first.

that being said.

anyone have a recommendation for a lightweight linux distro to turn a raspberry pi into an HA kiosk?

i have a pi zero and a touchscreen that i wanna tape the pi behind but the pi obviously lacks a lot of power and i feel raspbian may be too heavy

raven jewel
#

anyone have a recommendation for an alarm panel card? Whatever update they did to the existing one is reckless and pure insanity. Gray for disarmed? Green for armed? Come on.........

hidden yoke
#

I'm trying to get a train timetable set up on a card to fill up most of a screen. There is a card designed for it but it doesn't scale well. I can use an entity card to display 1 upcoming train but it won't show additional times. The attribute displaying the additional times lists a bunch in a row with some brackets. How would I be able to extract this attribute info?

vast crane
upbeat zodiac
#

can anyone give me some insight as to why the hold action isnt working on my card?

#
            entity: light.kitchen_overhead
            tap action:
              action: toggle
            hold action:
              action: more-info
            state:
              - value: 'off'
                color: rgba(0,0,0,0.3)
            icon: mdi:track-light
            style: |
              ha-card {
                background: rgba(0,0,0,0.3)```
vast crane
upbeat zodiac
#

ill try it

dark dirge
#

same with "tap action"

upbeat zodiac
#

nope, did not work

#

tap action works fine

dark dirge
#

it's just wrong

upbeat zodiac
#

weird, not sure why tap action without the _ is working

dark dirge
upbeat zodiac
#

now things are getting weird, when i try the button on my phone it works as designed but when i try it on the desktop it isnt responding correctly

#

now when i tap i get more-info and it wont toggle but only on desktop

blazing wren
#

Caching

#

Did you clear the caches?

upbeat zodiac
#

I did, its very strange, it is working on mobile but not on the PC