#frontend-archived

1 messages Β· Page 11 of 1

sterile smelt
tribal galleon
#

@gusty pivot I don't see why not. Just change the operator and values appropriately. you might be able to make multiple colors, for example, green, yellow, and red ranges.

#

@sterile smelt Think you'll want to use the values found in hvac_mode

sterile smelt
#

Thanks D_sellers.. but it doesn't want to change.

#

The AC stays like that doesn't even use the icon you wrote.

#

ahhh interesting.. So I got rid of show_icon: true.. now it shows the text values .. "Cool" and "Off"

#

But no Icon.

tribal galleon
#

What card are you using? Maybe that card can't modify states.

sterile smelt
#
show_state    bool    false    Set to false to hide the main entity state
state_color    bool    false    Enable colored icon when entity is active
styles    object / template        Add custom CSS styles to the state element
tribal galleon
#

Yeah. Just Googled that. Looks like that card uses some different syntax but that wiki should point you in the right direction.

sterile smelt
#

Yeah. Trying.

#

Your value thing gave me the step in the right direction. Thank you good sir.

gusty pivot
tribal galleon
#

Try changing line 22 to value: instead of current_position.

sterile smelt
#
  - entity: climate.midea_ac_141837000057408
    show_icon: true
    icon:
      conditions:
        - icon: mdi:desk
          attribute: state
          condition: equals
          value: cool
        - icon: mdi:house
          attribute: state
          condition: equals
          value: 'off'
    tap_action:
      action: toggle
#

@tribal galleon .. from what you see.. what am I doing wrong?

#

I don't get it 😦 .. Icon remains default icon for climate.

tribal galleon
#

Gimme a sec to make it back to computer and I'll look at the wiki.

sterile smelt
#

I appreciate it Thank you sir.

#

Stepped outside for a smoke as this thing is driving me nuts haha

gusty pivot
gusty pivot
#

shout out to @tribal galleon for helping me out with my blinds button. thanks again friend!

#

for future reference... the problem I was having is the position of the blind is an attribute. the state of the blind only changes to closed when the position attribute is at 0 I was able to access the attribute by doing the following:

#
state:
  - operator: template
    value: "[[[ return entity.attributes.current_position > 62]]]"
    icon: mdi:blinds-horizontal
    name: Close Front Blind
    styles:
      card:
        - filter: opacity(100%)
      icon:      
        - color: rgb(235,217,21)
tribal galleon
gusty pivot
#

the reasoning for this is that my window is shorter than the blind. the blind actually covers the entire window when it's 62 % open.

sterile smelt
#

regarding 'cool' doesn't work.. regarding state.. I get error.. error reading state_on

#

I just updated home assistant.

tribal galleon
#

I noticed the state_on/off mentioned. was going to consider that being an issue.

hallow mango
#

hey guys, hopefully quick one:

#

i'm using custom:multiple-entity-row, and trying to style the icon color:

    style:
      hui-generic-entity-row:
        $: |
          state-badge {
            {% if states('input_boolean.aaralyn_cat_cow') == 'on' %}
              color: blue;
            {% else %}
              color: red;
            {% endif %}
          }
#

this shows my icon as red when off, but not blue when on πŸ€”

#

any ideas?

hallow mango
#

this way seems to work for the off state:

    style: |
      :host {
        --paper-item-icon-color: red;
        --paper-item-icon-active-color: green;
      }

but not the on state πŸ€”

#

i get the default yellow "active" color

#

full card code here:

type: entities
entities:
  - type: custom:multiple-entity-row
    entity: input_boolean.aaralyn_cat_cow
    toggle: true
    name: Cat & Cow
    secondary_info: 5 each
    state_color: true
    style: |
      :host {
        --paper-item-icon-color: red;
        --paper-item-icon-active-color: green;
      }
sterile smelt
#

Is there a way to get attributes from an entity (particular weather.home) and show it on the dashboard?

calm plover
#

Does anyone know where these cards are from?

raw sapphire
#

Hi - pretty new to Home Assisstant (non coding background but trying to learn)

#

I am trying to creat a Card that shows my Microsoft tasks, as well as be able to add tasks from the card

#

I can create the card to show the list, but I am trying to be able to use the service call and add the info for the service card through the card. Is that possible?

vast crane
#

What all info needs to be provided?

raw sapphire
#

Here is a service with example data filled in:

service: o365.new_task
data:
subject: Pick up the mail
description: Walk to the post box and collect the mail
due: YYYY-MM-DD
reminder: 2023-01-01T12:00:00+0000
target:
entity_id: sensor.grocery_Account1

Grocery list would be subject only but for another task list I would like to due date set to be optional if possible

#

Is there a way to mark the tasks complete also?

service: o365.delete_task
data:
task_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

vast crane
#

you could have entities card with 4 entities: input_text.subject, input_text.description, input_datetime.due, input_datetime.reminder

You fill in the fields, and then push a button, and it populates the service call data from those.

raw sapphire
#

OK thank you for the guidance!

raw sapphire
#

Above my pay grade as I have limited coding knowledge. I'll have to come back to this

slender glen
#

I need an advice: I'd like to create a card with two entries: one which shows the hour when I leave home, the other one when I return. Is there a way to do it? I'd use the device tracked datas

gritty loom
#

im guessing its pretty easy, but has anyone ever made a button for their dashboard thats a counter? i have a super old android phone that im going to put near my dogs feeding area and i want to be able to tap it when i feed him, have it count the number of times in the day so that no one else feeds him by accident, and then have it resset at midnight every day

supple bear
#

I notice what to me could be classed as a bug. I often create automations/scripts and really like the fact that when I start typing something like an entityid into say an automation trigger, it auto completes and shows me the various options that match what I have typed. However if paste is used, it doesn't work. eg if I paste 'alarm_control_panel.home_alarm' without the quotes of course, into an entity id trigger, the dropdown doesn't filter. Its like the filter logic needs to trigger on the paste event as well as the key change event. If this is valid I don't mind writing it as a bug.

vast crane
supple bear
#

Ahh great thanks!

vast crane
#

Not sure if that's exactly the same as yours or not.

supple bear
#

Yeah maybe slightly different, I'll comment to see would the same fix, fix both in one sweep.

gritty loom
vast crane
gritty loom
#

Ya. Nothing populates. And I tried refreshing my browser as well as restarting home assistant(extreme I know, lol)

vast crane
golden mistBOT
low vapor
#
            {{ lights_on | length }} Lights and {{ devices_name }} is on

          {% elif (lights_on | length > 1) and (devices_on | length > 1) %}
            {{ lights_on | length }} Lights, {{ devices_name | regex_replace(',([^,]*)$',' och\\1') }} is on

          {% elif (lights_on | length == 1) and (devices_on | length == 0) %}
            {{ lights_name }} is on

          {% elif (lights_on | length > 1) and (devices_on | length == 0) %}
            {{ lights_on | length }} Lights are on

          {% else %}
            <font color='#6a7377'>Everything is turned off</font>
          {% endif %}
          </b>```
golden mistBOT
gritty loom
karmic tendon
gusty glen
#

does anybody know, is there some kind of graph card that would allow me to display additive values? Like have multiple device-power-consumptions overlay each other, so the top graph would be the total power consumption, but I could also see which device consumes how much power at a given time? it seems neither the statistics, nor default charts or mini-graph-card can do this

karmic tendon
#

This is one example but not sure if this is along expectations

gusty glen
#

nice, that seems just like what I'm looking for, thanks!!

vapid field
#

Any ideas? Still not working after two days, even did a full reboot.

sullen wyvern
#

Hi all, is there a way how to achieve following scenario on picture element card? tap_action -> more-info of entity 1, hold_action -> more-info of entity 2

golden mistBOT
#

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

plain torrent
#

Good Day, I'm wanting to add a card to show the battery level of all my ZigBee devices but only show the ones below 40%. Is there card that I can use? I have over 30 zigbee devices.

tribal galleon
red lark
#

Hi, can nay one help me im adding CSS to a mushroom chips card but i want it to apply to all the chips

#

im using this code mushroom-template-chip:nth-child(1)$

#

i tried removing the child number

#

adding more numbers

#

removing the code after chip:

silk igloo
#

bump

silk igloo
red lark
#

yea whats weird with that is , the 1st chip still works but the rest dont

iron locust
#

I recently upgraded from a 6 month(?) old version to 2023.2.0 and some Markdown on my Markdown card stopped working. If I include this Markdown the card is completely blank. Did something change?

#

{% if states.sensor|selectattr('attributes.device_class', 'eq', 'battery')|selectattr('state', 'ne', '100.0')|selectattr('state', '<', '60')|list|count>0 %}

ivory pagoda
#

i use the flex-table-cardinstalled by HACS and want to style table rows depending on their state. is that possible?

dark dirge
iron locust
#

oh that makes a lot of sense, thanks

dark dirge
#

you should do {% if states.sensor|selectattr('attributes.device_class', 'defined')|selectattr('attributes.device_class', 'eq', 'battery')|map(attribute='state')|map('float', 0)|select('<', 60)|list|count>0 %}

#

no point in comparison against 100 if you're then going to filter on <60

iron locust
#

I know it seems weird, but for whatever reason I had to add that

#

might be because it was trying to do < on a string

vernal oxide
#

Is there a way to make a custom icon. Say an SVG file?

iron locust
#

The Markdown you posted there doesn't work for some reason. If I cut out the map and select parts it shows, but with those in it fails

dark dirge
#

you can test in devtools -> Templates

iron locust
#

oh! that's so helpful, I had no idea, thanks again

dark dirge
#

works fine for me if I provide a default for "float". I have some states that are "unknown"

#

{{ states.sensor|selectattr('attributes.device_class', 'defined')|selectattr('attributes.device_class', 'eq', 'battery')|map(attribute='state')|map('float', 0)|select('<', 60)|list|count>0 }}

iron locust
#

float got invalid input 'unavailable'

dark dirge
#

yes, like I said

iron locust
#

that works, thanks

dark dirge
#

you should probably use a default of 100 instead of 0 for that to avoid it always being true because of some unknown/unavailable states

#

or whatever. your call

#

or filter those out

iron locust
#

Yah, that would fix another issue I've been having so I'll do that

mystic timber
#

hi
I have a view that suppose to show up my two cameras, I wanna make a view to mobile that will show them in aspect ratio of a mobile
(that you can see both horizontal).
that's the card:
http://pastie.org/p/2eFPT4Q61YFrNIqp2YUfMC
how can I set up the correct ratio aspect so I can see both of them pretty good on a mobile? thanks

royal tangle
#

Heya, I'm pretty new to HA, just wondering if there's any way to move cards around other then the default? (for example changing sizes / dragging and dropping them anywhere on the page or aliening with a different grid) thanks so much

vast crane
#

Card size is mostly dictated by the card itself, or if it is inside a stack it will shrink as necessary.

#

You can move cards around by clicking the up/down arrows, but it's a bit mysterious how the dashboard will lay them out when you have multiple colums. Basically the way to think about it is each card is numbered from 1..N, and then however many columns are available the dashboard will arrange them into the different columns, based on the available heights, but you can't directly pick which column it goes into.

iron locust
royal tangle
dark dirge
royal tangle
iron locust
#

Sorry, to display a list of them on my markdown card

dark dirge
#

Remove the |count>0 from what I gave you

vast crane
iron locust
#

I'm sure I'm missing something, but this throw "float object' has no attribute 'entity_id'

{% for state in states.sensor|selectattr('attributes.device_class', 'defined')|selectattr('attributes.device_class', 'eq', 'battery')|map(attribute='state')|map('float', 0)|select('<', 60)|list %}
  {{ state_attr(state.entity_id, 'friendly_name') }} = {{ state.state }} 
{% endfor %}
dark dirge
#

Right, that won't work

#

Your state there is just a number

iron locust
#

This works, but I'm trying to adapt to the your map method which seems a lot more robust:

  {{ state_attr(state.entity_id, 'friendly_name') }} = {{ state.state }} 
{% endfor %}
dark dirge
#

Yeah, you're back to string math

final forge
#

ok i made a pretty ok 3d floorplan in the picture elements card is it anyway to press to get to another view? or swipe? (but then im guessing volume sliders wont work). How to incorporate another view than just the 3d view of my apartment? πŸ™‚ (any guide availalbe)?

#

(the picture elements card is set to like fullscreen)

plain torrent
#

@tribal galleon - thank you Ill give that a shot.

iron locust
#

ok, let me spend some more time in Templating docs because my brain is fried

dark dirge
#
{% set ns=namespace(entities=[]) %}
{% for entity in states.sensor|selectattr('attributes.device_class', 'defined')|selectattr('attributes.device_class', 'eq', 'battery') %}
  {%- if entity.state|float(100) < 60 -%}
    {% set ns.entities = ns.entities + [entity.entity_id ~ ': ' ~ entity.state] %}
  {%- endif -%}
{% endfor %}
{{ ns.entities|join(', ') }}
#

adjust the format to be whatever you want

#
sensor.aarlo_battery_level_back_door: 0, sensor.aarlo_battery_level_family_room: 47, sensor.aarlo_battery_level_front_door: 0, sensor.aarlo_battery_level_front_path: 11, sensor.fr_wallmote_battery_level: 50.0, sensor.ipad_m1_battery_level: 1, sensor.sky_sk_00001311_battery: 55, sensor.water_leak_xs_sensor_battery_level: 35.0
iron locust
#

That's it! Thanks for your patience. I did a bit of tweaking and came up with:

  {%- if entity.state | float(100) < 60 -%}
    {{ state_attr(entity.entity_id, 'friendly_name') ~ ": " ~ entity.state  ~ "\n"}}
{%- endif -%}
{% endfor %} 
fresh nest
#

Is there a way to use a device with a very old browser with H.A. ?
I have an old Symbian phone lying around and thought about using it as a small control panel.
Google doesn't help me much. thx

vast crane
fresh nest
#

Yes. I could have described my tries. The browser is too old for modern html. And there are no updates anymore.
I could make a simple html page, yes.
My old html site from before I switched to HA is still running on my NAS. But I hoped for a way to get HA running on it.

mystic timber
dark skiff
#

How do I change the temperature units to celsius for only my 3d printer rest sensors? Not sure if it should / can be done settings somewhere or in front-end.

#

Edit: to be clear they're set as celsius in the rest sensor yaml. But it displays F because those are my default units (but I want it to be default F except for this)

unique scroll
#

help plz.
i got 100+ device_tracker entities w/o unique id's so they can't be handled thru the frontend.

how would one go about to remove them ?

broken crow
normal hearth
#

Hi. Can anyone guide me thought about how to scrape data from Remidt.no, This is a disposal company where I enter my address and they will show me the next pick up. I want this as a info on my Home Assistant tablet. I have gotten this far. But how to I move this data from the site to a Home Assistant sensor?

dark skiff
broken crow
vast crane
#

I guess it's not really supported (mixing C and F in frontend), but perhaps if you create a template and don't tell it that it is a temperature, frontend will just show the number instead of trying to be helpful and convert it. Actually I'm not sure when it does the C to F conversion. I have some C sensors and the entities card displays them as C, even though my system is set to F. What does developer tools say for the entity, and where is it being displayed as F?

foggy tendon
#

I have this card:
- type: entities
entities:
- type: cast
name: Media
dashboard: lovelace-tablet
view: media-tablet
entity_id: media_player.nest_hub
hide_if_unavailable: false
It doesn't work and ask me to use https....
I am using nabu casa as cloud...
Where am i wrong?

tribal galleon
#

@vast crane I was able to take a sensor in F, create a value template for it, and show the new sensor's value in C even though I am default to F. It's weird that @dark skiff already has a value in C, but HA is forcing it to be shown in F. Maybe trying a different card. Here, I used a sensor cards.

sensor:
  - platform: template
    sensors:
      sensor_f2c:
        friendly_name: 'F to C'
        unit_of_measurement: "Β°C"
        value_template: "{{ (((states('sensor.bathroom_door_temperature') | float) - 32) * 5.0/9.0) | round(1)}}"
dark skiff
#

Thanks. I'll look into it more later today and get back

small lichen
#

Is there a way to set a mini graph card's name to a sensor value?

drifting canyon
#

What would be causing my "person" location to not show up on my map card but my wife's "person" location shows up fine?

vast crane
vast crane
#

Does your person have latitude and longitude attributes when viewed from devtools? Must be exactly latitude: and longitude:, in 2 attributes.

drifting canyon
#

I can see that it is there in the companion app under sensors

#

I see it under sensor.pixel_6_geocoded_location which is the entity tied to my person

vast crane
#

geocoded_location isn't what you want I think, you must have the location sensor disabled or something in the app.

sterile token
#

Hello good people! I have an issue post update that is driving me round the bend.

Currently I have lights defined in a grid card but if the type is set to "light" they don't display where they are on or off (as in the icon colour changes), but if I change it to button it displays perfectly. I cannot for the life of me figure out what I need to do here and search results turn up nothing related. Help? Please?

vast crane
indigo valley
#

Hi, if I want to add a new entry on the left menu in HA, providing some custom content (a editable table in the conent area), what would be the keywords to search for in the developer docs?

final forge
#

is there anyway to download these beautiful cards and any tutorial on how to implement them?

vapid field
#

Hello, I have the following ESPHome code and works fine with my PWM to 0-10V module. The only problem is that 0v starts at around 30% so I would want the range on the Lovelace card code or ESPHome code to 'cut' that 30% off the range so 0% is actually 30% PWM.

The code im using is basic and have tried messing around and the closest I got was changing the below to a speed Fan and having LOW - MED - HIGH - OFF card which worked but I need more range.

output:

  • platform: esp8266_pwm
    pin: D5
    frequency: 2000 Hz
    id: pwm_output

Example usage in a light

light:

  • platform: monochromatic
    output: pwm_output
    name: "LED Dimmer"
cyan bobcat
#

Speaking of that frontend release, anyone any idea when that is going to be released?

tribal galleon
maiden drum
#

is anyone having trouble with Tuya integration?

final forge
#

could anyone help me how to get buttons on a picture elements floorplan? just want some scenes like "gaming mode" or "cosy time" and such. those are not toggle buttons so i do not know how to make those buttons?

cyan bobcat
final forge
#

also how to get the floorplan picture elements card bigger but not being full sized panel (so i can also have buttons)?

faint field
#

Sorry if this isn't the correct place to ask. I have been trying to figure out how to change my (2) garage door open colors back to yellow - which used to be the default. Now it is purple. I have not been able to find the correct device-class for it. I have tried several things, but right now it is - state-cover-garage-open_cover-color: '#FBCD41' # Yellow and still showing purple when open.

vast crane
#

One of the examples uses:

# Example configuration.yaml entry
frontend:
  themes:
    my_theme:
      state-cover-garage_door-open-color: "#ff0000"

Did you try that?

faint field
#

Not sure if I tried that exact one. I originally wasn't sure if they have to be unique for each garage door and follow the entity names that I have set. I will give that a try - since it sounds like that will update both of them vs needing entries for each.

vast crane
#

I don't see any indication that you can do per-entity theming, at least not without something like card-mod.

#

Though I admit now that example is a bit suspect because the cover doc page lists "garage" as the device_class, not "garage_door", so I'm not sure which is wrong.

faint field
vast crane
#

state-cover-garage-open-color would be my best guess

faint field
#

ok, will try that. I wish there was some sort of master list of all theme options for all the device_class examples, etc.

vast crane
#

https://www.home-assistant.io/integrations/frontend/#state-color

    state-{domain}-{device_class}-{state}-color
    state-{domain}-{state}-color
    state-{domain}-(active|inactive)-color
    state-(active|inactive)-color

These are all the valid options, so yes you can omit the device_class if you want, but then it applies more broadly.

sterile token
sterile token
chilly drift
#

Hi there! I am using the custom:button-card to control lights. I was used to call a script to run two scripts; one turning lights on and one turning lights off. Now I was trying to use the state of an entity within the custom:button-card script itself like this, but it only acts on the entity_id: not running the script according to curent state. Both scripts work as expected when running them manually.

Is it possible at all to call a tap_action from an entity state like this?

#
state:
  - value: 'on'
    tap_action:
      action: call-service
      service: script.lys_grunnbelysning_on 
cyan bobcat
#

Why would you do that when there is a light card, with sliders for dimmers?

chilly drift
#

So my question here is why the custom:button-card state does not trigger the script as expected?

cyan bobcat
#

Oh sorry tought it was also about the color issue xD Sorry i dont know th e answer to your question

dark dirge
#

Do you see in the docs that that's valid syntax?

chilly drift
dark dirge
#

I would have put the state logic under the top-level tap_action

#

I don't know

chilly drift
#

Testing is always fun, though πŸ™‚

dark dirge
#

I wouldn't have guessed that

chilly drift
#

tap_action works fine in the top level, but I was hoping I would be able to use it like this too πŸ™‚

chilly drift
dark dirge
#

Or just put it in the script.

chilly drift
#

Yepp

grunnbelysning_on_off:
  alias: "[House] - Grunnbelysning"
  mode: single
  sequence:
    - if: 
      - "{{ is_state('light.lys_stue_gangsone', 'off') }}"
      then:
        - service: script.lys_grunnbelysning_on
      else:
        - service: script.lys_grunnbelysning_off
#

... but I was hoping to not go the way of adding another script πŸ™‚

sterile token
vast crane
#

There was no frontend bump in .4, so there wouldn't be any fixes there. And the fix is not even in master yet. Probably need to wait for 2023.3

sterile token
#

@vast crane - will keep an eye out, thanks!

raven stream
#

My "light" cards used to be yellow for on and the yellow would dim with the light... now they're showing white (still dimming to shades of gray). Not sure what I did to lose the yellow colors. Anyone have any ideas? Off still shows blue.

sterile token
vast crane
#

It's back to yellow for me in the latest dev version πŸ‘

raven stream
raw sapphire
#

So - it turns out I am having a lot of luck asking ChatGPT to help me create custom cards

polar kelp
#

Not-entirey-random PSA: Buying me a coffee does not guarantee that I will get to your issue sooner or even at all.

zealous musk
#

Can anyone help me address a file properly? I've tried everything I can think of. I'm replacing the image in the picture-elements card with my own file. I've addressed HA via SAMBA, put a file in www and just can't work out how to properly link to it in the code. Here's my attempt.

picture: http://homeassistant.local:8123/local/config/www/houseplan.png

I've read the http page and tried using IP, homeassistant.local and more. This is probably super obvious to you guys...

deep forge
#

How can i use an entity such as sensor.##########temperature in my weather card for outdoor temperature

blissful storm
#

I feel I am being really thick here, but can someone explain why I can't see the option to adjust the per-entity decimal places, while on 2023.2.X?

#

Is it only possible for some entities where the integration supports it, and most simply don't yet?

#

In the screenshots available with the update, the option was to be visible when opening the entity edit page, but in my case it's simply not there on any of my 400-500+ entities.

blissful storm
#

Please @ me with a response!

blissful storm
#

Any ideas??

slow sundial
#

man.. someone on Lokalise insists in making a translation that doesn't make sense, even after I explained why it doesn't make sense. It's the 3rd time he changes back to what he wants

sullen wyvern
#

Hi all, is there a way how to implement following actions to picture element card? tap_action = more-info of entity 1, hold_action = more-info of entity 2

polar radish
#

I wonder if there is a way of ordering entities in a given card based on the values of the entities? I have many battery operated zigbee devices and need to occasionally look at a card that lists the devices and their remaining battery life. I would like to order the content of the card to let's say show the weakest battery at the top so I can see at a glance which battery needs replacing next. Currently I have to look at the listed battery percentage figures and make a decision based on the value displayed which, when you have 20 or 30 devices, gets kinda old .....

manic marsh
#

Morning, Im trying to get Slider Button Cards installed, I cant find Front End anywhere

vapid field
#

Hi, I'm still not seeing some frontend cards I added through HACS last week. Already rebooted/recached. Any ideas?

vapid field
vast crane
polar radish
manic marsh
dry wind
hallow mango
#

I'm using custom:multiple-entity-row for some input_booleans in an entities card with extra fluff... how can I change the "active" icon color for each row?

hallow mango
dark dirge
blissful storm
#

Understood, I must have messed it.

hallow mango
#
type: entities
entities:
  - type: custom:multiple-entity-row
    entity: input_boolean.my_boolean
    state_color: true
    card_mod:
      style: |
        :host {
        --paper-item-icon-color:
          {% if is_state('input_boolean.my_boolean', 'on') %}
            red;
          {% else %}
            var(--state-icon-color);
          {% endif %}
        }
charred nebula
#

hey all, I am wondering if anyone has ever created a on/off thermostat card that sets a max temp min temp that will turn on and off the thermostat, without having to use thermostat, as I have two AC and I want to control each one individually with different ranges of min and max

#

I was thinking a simple on off switch a min and max and a type (heat cool etc)

#

does anyone klnow if any one has made one ?

polar radish
hallow mango
#

np

#

that card is crazy useful

charred nebula
#

I dont have 1 themorstat controlling the house, I have AC units all individual

#

I just want to be able to control a room at a time, as in summer bedroom wont be used until eve

#

but main room will

#

now I need to work out the best way to run a script

#

whilst heater 1 = on and temp < heater1max turn on AC and make sure its heatertype

hallow mango
#

i don't have any smart thermostats set up at all, so idk how much help i can realistically offer lol

charred nebula
#

well they are not thermostats they are midea ac units that are controlled via thermostat

hallow mango
#

or how can i figure that out?

hallow mango
#

that color has been messed up in my theme for some time (i think it actually uses --state-icon-active-color), but i've never been able to figure out what to change it to 😬

#

the color i do see in the frontend is #ffc107, but i can't see that in any of the variables in the chrome inspector either πŸ€”

#

or when searching the frontend github

#

not when running default theme either... what am i missing here?

wooden stream
#

Friends, I need some help again: {% if is_state('counter.fish_feed', '20') %}
How do I make this only "activate" when the counter (it's a helper I created with a counter) reaches 20?

#

That way isn't activating.

#

I tried to use another that had a "On" there

dark dirge
#

Did you test in devtools -> Templates?

fiery ledge
#

Really odd and a first : having Stookwijzer sensor in my Dutch ha config being translated to English…

#

Even though the dev tools states is actually showing Dutch too, (which doesn’t happen that often on core integrations …)?

#

Would that still be a Frontend issue, or some integration detail I wonder

hallow mango
#

i think i got it!

type: entities
entities:
  - type: custom:multiple-entity-row
    entity: input_boolean.my_boolean
    state_color: true
    toggle: true
    card_mod:
      style: |
        :host {
          --rgb-state-input-boolean-color: var(--rgb-blue-color);
        }
modest frost
#

How do I either not include, or remove the unit of measurement in a state-label?

I'm overlaying the current temperature over a picture of my Daikin thermostat and I would like to drop the ΒΊC:

modest frost
#

That's my existing code and I figure there's gotta be a way to drop the unit_of_measurement since when I pull up that sensor in Developer Tools, States, only the number is listed as current state.

final forge
#

where shoud ui-lovlace.yaml be located?

dark dirge
#

Are you managing Lovelace in YAML mode?

vast crane
modest frost
final forge
#

"resources:
url: /hacsfiles/sidebar-card/sidebar-card.js
type: module" this somewhere.

dark dirge
#

Right, so you're following instructions not intended for you

#

That's what I suspected

final forge
dark dirge
#

Those are ancient instructions

final forge
#

oh damn. RObC how to get newer instructions?

dark dirge
#

configuration -> Dashboards

#

No idea about that card

#

Good luck with that

final forge
#

anyway i found a lovelace.yaml file is it ok to put that code there?

#

is one of my dashboards i presume

#

aha nevermind

dark dirge
final forge
dark dirge
#

No, you follow the instructions I gave earlier

#

For the resource. If you're talking about the card YAML itself, you may be right

final forge
dark dirge
#

Go there, add resource

final forge
#

aha, yeah i got a error saying resources should be added in the dashboards conifig panel, thats what your saying. sorry and thanx. will test. edit: worked πŸ™‚

golden mistBOT
manic marsh
#

what do I need to intall to get buttons like these?

manic marsh
#

@tacit cave are these yours?

tacit cave
#

that's a very old configuration of mine

manic marsh
#

what do I need to get them like that?

#

Love them

tacit cave
#

You'd have to find where I posted the buttons, I no longer have them

#

they use custom button card and alot of code

manic marsh
#

i have so code you posted, but not sure how to get it to work

tacit cave
#

just replace the entity_id

manic marsh
#

didnt have any in it

golden mistBOT
#

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

tacit cave
#

that's custom button card, just add the entity field

manic marsh
#

just keeps loading, not sure if im missing an intergration or something

tacit cave
#

it requires custom button card

manic marsh
#

Have it

tacit cave
#

Then it should just work after adding the entity

manic marsh
#

Just add entity: ****** in second row?

tacit cave
#

it doesn't matter where you add it as long as its in-line w/ the other main fields

#
type: custom:....
entity: ...
allother_fields:
  this:
  means:
  in:
  line:
  notice_they_have_the_same_indentation_level:
#

@manic marsh ddi you get it working?

manic marsh
#

Not yet, had to pick the kid up and head home

manic marsh
tacit cave
#

Do you understand yaml and the indentation requirements?

manic marsh
#

not really, just starting out

#

is what i got

tacit cave
#

So whatever post you found the code on, make sure when you copy it, the indentation is unchanged. Then add entity to it at the same indent as type

manic marsh
#

just checked now that you mentioned that and it did change on copy

tribal galleon
#

I would suggest, once you get a button set up the way you want, turn that code into a custom button template so you can easily replicate the code across all the buttons you want it to show up on. It will make your overall code much easier to read and modify. Check out: https://github.com/custom-cards/button-card#configuration-templates

manic marsh
#

got the label and icon fixed

#

trying to figure out the button glow now

tribal galleon
#

In this example, I have four formatted custom button cards but each one only takes 4 lines but the bulk of the formatting is in the Raw editor . Full formatting code in the screenshot. ```yaml

  • type: custom:button-card
    template: motion_detector_animated
    entity: binary_sensor.living_room_motion_detector_on_off
    name: Living Room
tribal galleon
tribal galleon
manic marsh
formal plinth
#

Trying to get this Mushroom Template Card to show my Roborock S7 MaxV's state as secondary information, but unsure as to how to do it. The state is defined as an attribute of the roborock vacuum's entity

formal plinth
tribal galleon
#

just the card.

formal plinth
tribal galleon
#

@formal plinth try something like secondary: "[[[ return entity.attributes.color_mode]]]" where color_mode equals the attribute you're trying to show. (This is an example from a light.)

formal plinth
#

secondary: "[[[ return vacuum.roborock_s7_maxv.attributes.state ]]]" just prints out the exact line in the scondary

tribal galleon
#

try removing the .attributes section. Should be able to get the state from vacuum.roborock_s7_maxv.state

formal plinth
#

sadly, no dice

#

Do I need to create a sensor for that attribute?

tribal galleon
#

did you try secondary: '[[[ return entity.state ]]]'?

formal plinth
#

unfortunately no go as well

tribal galleon
#

what card are you using?

formal plinth
#

mushroom template. was just about to ask if it was the card type that was the issue

#

i managed it

#

{{state_attr('vacuum.roborock_s7_maxv', 'state')}}

#

Thanks for the help, mate! Really appreciate it!

tribal galleon
#

it's weird how somethings work a certain way in one card but different in another sometimes.

formal plinth
#

indeed. total headspin

#

another thing that slightly irritates me is that it returns "docked" instead of "Docked"

#

Any ideas if that can be changed at all?

tribal galleon
#

@formal plinth could incorporate some sort-of IF state. such as IF state="docked" RETURN "Docked". Maybe some sort of CSS to handle capitalization.

formal plinth
#

Ooh good shout. I'll have to check what the various states are. Thanks again!

timid moss
#

I've started using custom:layout-card for my dashboard, but I'm having some issues with it displaying on Fully Kiosk Browser.
This is what's in the the view settings:

grid-template-columns: 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr
grid-template-rows: 1fr 1fr 1fr 1fr
gap: 50px 50px
grid-template-areas: |
  "MasterBedroom MasterBedroom MasterBathroom MasterBathroom Bedroom Bedroom"
  "LivingRoom LivingRoom Kitchen Kitchen Bathroom Bathroom"
  "SideRoom SideRoom NewRoom NewRoom Basement Basement"
  ". Front Front Back Back ."

My desktop shows all 4 rows, but FKB is only showing the top 3

#

Also hello πŸ™‚

tribal galleon
formal plinth
tribal galleon
#

I stole that from button glow that I was working on earlier. Note, my example uses lamp in the YAML.

daring night
#

requesting help on best card/method to use to solve the following.
I would like to show an image (xx.jpg still) on a card as thumbnail or smaller size, then click to view larger image.

I currently have a small grid of images (3x2 using vertical / horizontal cards & picture cards) hosted on web server working fine, shows a smaller scaled set of images - I want to be able to click the card then view a larger version. Is that possible, cant for the life of me find any references/examples to copy.
thanks in advance for any suggestions.

tribal galleon
daring night
manic marsh
#

@tacit cave you around?

tribal galleon
formal plinth
#

Aww man. A quick try on the Companion App shows that styles: isn't supported by Mushroom Template Card.

#

Bummer.

golden mistBOT
#

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

#

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

formal plinth
#

Ah I now understand why button-card syntax are different. It uses Javascript, not Jinjja for the coding yes?

dark dirge
#

Which button card?

formal plinth
#

@tribal galleon was giving me the syntax which works to capitalize words for custom:button-card, but since I was using Mushroom Template Card, I had to use a slightly different syntax

#

| capitalize

dark dirge
#

Yes, custom button card uses JS

formal plinth
#

Yeah, figured that's why it wasn't working.

#

Are the custom button cards much better to use? Easy to implement over an existing config?

dark dirge
#

Better is relative. My whole UI is based on custom button card

formal plinth
#

Hmm I've built mine using mostly the standard ones with a bit of card mod. Custom button card is way more customisable though yeah?

#

Just wondering how I can make my dashboards more... Interestingm

sudden lotus
#

is there a better way than a picture elements card to do something like this?

#

i specifically find the card annoying to setup because it has no visual editor but also the position of the elements is relative to screen size so it gets messed up on my phone

tacit cave
manic marsh
#

so I got he buttons working with the glow, we made it a template in the rawr config. But for some reason making a button with the template wont let me changes the glow color

tacit cave
#

otherwise it pulls from the light color if i recall correctly

manic marsh
#

drop shadow?

tacit cave
#

yes

#

post your configuration for the card

golden mistBOT
#

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

tacit cave
#

somewhere in the configuration is the word drop shadow or shadow or something like that

polar kelp
#

box-shadow?

tacit cave
#

yeah that

#
  • box-shadow: inset 0px 0px 10px 3px green
#

IIRC, word colors don't work

manic marsh
#

yea, but when i use the template name to add a card i cant change the color

#

they do

tacit cave
#

ok

polar kelp
tacit cave
golden mistBOT
#

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

tacit cave
#

if I remember correctly, there's a way to pass variables into that

manic marsh
#

this is the template

tacit cave
#

read this mark

#

you have to make variables, and then use them

manic marsh
#

and id make them in the template?

tacit cave
#

e.g.

button_card_templates:
  header_example_template:
    variables:
      shadow_color: green
....
      - value: 'on'
        styles:
          card:
            - '--paper-card-background-color': rgba(40, 40, 40)
            - box-shadow: "[[[ return 'inset 0px 0px 10px 3px ' + variables.shadow_color ]]]"
tacit cave
#

then when you make the card using the template

#
- type: custom:button-card
  template: header_example_template
  entity: sensor.test
  variables:
    shadow_color: red
#

sorry, I had to edit the example because my quoting was wrong, ensure you have outside quotes as " and inside quotes as '

#

As a side note, I'm very surprised I remember ANY of that

#

that was like 4 years ago

manic marsh
#

probably take me a bit to figure out the variable for the box shadow

tacit cave
#

the code I wrote should be copy/paste

manic marsh
#

top code?

tacit cave
#

yes

tacit cave
manic marsh
#

do i swap the header_example_template:

tacit cave
#

ooooooh you have 2 templates

#

hold on

manic marsh
#

no should just be the one

tacit cave
#

you have 2

#

header_example_template and glow_button_template

#

anyways, the dpaste is updated where glow_button_template has the variable

#

so using the card would be

#
- type: custom:button-card
  template: glow_button_template 
  entity: sensor.test
  variables:
    shadow_color: red
lime field
#

Can anyone please help me with custom cards?
When I try to "ADD CARD" {Manual} then type the following yaml,
type: 'custom:apexcharts-card'
it gives me this error:
"Custom element doesn't exist: apexcharts-card.
type: custom:apexcharts-card"

  • running HA in a docker container.
  • created www subdirectory.
  • js module is shown as loaded resources (modules).
  • tried both the lovelace yaml configuration setup and the default UI configuration and the errors are identical in both.

I really appreciate any help, thanks!

tribal galleon
#

I just loaded the card via HACS and it worked for me.

lime field
#

I cleared the browser cache and that did not help. I also tried a different browser to no avail. I don't think I have access to HACS since I'm running the HA docker container. Maybe I can get HACS running and try that?

tribal galleon
lime field
#

I'm reading that, thanks! Will try running HACS in a container. AFA my custom card error, maybe it has something to do with the fact that I'm running HA Core in a container and the directory www under config isn't what I need to be using to store the js file?

tribal galleon
#

that logic seems sound. I remember looking into running a Core installation and it just seemed like a lot of trouble to use in the long run.

fiery ledge
#

so this is in fact new to me: can we use a layout-card setting to take 1 single card (a sankey-chart card) over 2 columns, when using 2 columns on a view, with type: custom:horizontal-layout layout: max_cols: 2?

lime field
hexed apex
#

Hi all! Not really sure where to look, so forgive me if this is obvious and I am searching with the wrong terms. I am progressing towards having mounted wall panels in my home and trying to present data in a family approved way. I was curious if there is a way to have a tab in my dashboard that will display latest activity? So if I have motion on my doorbell camera, or the washing machine state changes or vehicle charger state change.... you get the idea. Possibly use the WallPanel HACS integration so that when there are no active indicators it goes back to screen save mode?

tribal galleon
# hexed apex Hi all! Not really sure where to look, so forgive me if this is obvious and I am...

Not sure if it is relevant to your design but how about some animated icons? Maybe you have an automation that watches the washing machine. If it is running, it shows a running state. If it has stopped but not been opened, a flashing icon will show on the tablet. If the washing machine has been opened, then the flashing will stop. Here's my motion detector indicators for reference. (The red is flashing because there is motion in the living room; the others are clear.) Consider adding Alexa/Google/Siri announcement as part of the automation.

hexed apex
#

Thats a good option thanks!

#

Regarding the Alexa announcement, I am considering that. Also phone notifications are of course a thing. I just want the screen to give me pertinent information without me looking for it. I figure if the screen state changes then someone may glance at it quickly without it being intrusive

#

Thanks for the reply @tribal galleon

tribal galleon
#

Yup. That's why I figured if the washing machine's icon is flashing it would get someone's attention that it needs to be looked at.

#

I do the same with battery states once it gets below 10%.

hexed apex
#

I assume that snip is from your setup. I wonder if there is a card that can display a different icon depending on which thing is in an alert state. I dont want to waste screen realestate on "Off" alerts. (Like dash indicators in older cars)

tribal galleon
#

you can get cards to show different icons, colors, whatever based on different criteria; it is just a matter of figuring out how to format it appropriately. Screenshot is from a custom-button template that I use for the battery states. In this case, I look at the battery_levels for the device, determine the percentage, and choose a color. This template does pull from another template for the general formatting of the card shown in the second screenshot. (Copy/paste code available upon request.)

hexed apex
#

πŸ‘πŸ» awesome thanks will spend some time trying to absorb this!

tribal galleon
#

It can get frustrating when trying to get it to work sometimes but very satisfying once it does.

#

and some cards don't take the exact same syntax so it is a matter of figuring out what will make that card happy in order to work, but the concepts are generally the same

hexed apex
#

very true. Just doing small changes over time has finally gotten me to a point where I am ready to allow people in my house to utilize it

sour night
#

Hi guys! There is a way to eliminate (HEAT) to be shown in lovelace from an climate entity that only works on heat?

vast crane
# sour night

Not with the default cards, but there are probably some other custom cards that can display entities in different formats.

silent bloom
#

Is there an easy/intended way to use a custom uploaded font?

tribal galleon
# sour night

Try something like this, but like @vast crane mentioned, this may not work with all cards. ```yaml

  • type: custom:button-card
    entity: light.living_room1
    name: '[[[ if (entity.state === "on") return "Yup"]]]'
    show_icon: false```In your case, you'll probably be wanting to match Off (Heat) to return Off
sour night
#

yes

#

I will try this idea, thank you

tribal galleon
#

@sour night Can even take it a step further: ```yaml

  • type: custom:button-card
    entity: light.living_room1
    name: >-
    [[[ if (entity.state === "on") return "Yup"; if (entity.state === "off")
    return "Nope"; else return "Dunno"]]]
    show_icon: false```
tribal galleon
silent bloom
#

I mean for everything and not just a few individual cards. It would be tedious to have to add that to every card since I have at least a hundred.

tribal galleon
#

Actually, now that I think about it, you might be able to modify/create a theme.

hexed apex
#

Is there an easy way to duplicate a configured dashboard? Make a copy?

silent bloom
hexed apex
#

duh. Thanks. I should have thought of that.

#

suggestion To have a way to do that in the Dashboards window.

silent bloom
#

Agreed. Definitely wouldn't try the raw config way from a mobile device.

silent bloom
sterile crane
#

Has anyone had this issue?

Clicking "back" after going into subsequent popups does nothing unless you click "back" multiple times. If you don't click into anything, it just works with the one "back" click.

tribal galleon
#

I've noticed it before. Just seems to happen...

vapid field
#

hello world.frontend

does anyone know how i can use a entity value as threshold for apex chart coloring threshold?
below slider value=blue&&above=red iE

manic marsh
#

How do I fix this, dashboard I’m trying to use on a tablet

static grove
manic marsh
#

there anything that gives more control on dashboard layout?

indigo valley
hardy cove
lament siren
#

Does anyone know how to make subviews start at the top of the screen? When I scroll down a page and tap on a navigation card, the subview opens at the same place on the new window. I'd prefer all windows to open at the top.

cinder mango
#

Do you girls/guys know if translation for season and moon phases are supposed to work? Seem they are on english only... Sun is at least working πŸ™‚ Maybe it's just to Swedish it does not work

serene ridge
#

Does anyone happen to know how HA can show my current solar panel export? I currently only have a total export entity, not current export. I do have an current power usage though. Wondering if I can use HA to add a card or something similar to show my current export per second by calculating the power usage and negative usage (aka solar power).

fiery ledge
#

create a template sensor and show that in the frontend, and it wont be per second, but per state change at most

serene ridge
#

I just figured out I should create a template for it, ya. But why isn't it per second though? The current power usage is live.

sharp tundra
#

I have a humidity sensor and would like to keep more history. It seems to only keep like maybe 2 weeks of data that I can filter from the frontend at least. Im using an unRAID server and looked at standing up a separate database for sensor data but I want it accessible in the front end of HA with the regular date selectors on this sensor. Is that possible? I see integrations for data but I can't tell if the front end can access it

fierce iris
fiery ledge
serene ridge
#

πŸ‘ Thanks! Appreciate it.

manic marsh
#

Is there something that lets you move/control cards better?

fiery badge
#

is the fix for frontend/15319 going to be merged in 2023.2, or do I have to wait to 2023.3? (black light symbol in the UI)

tacit cave
#

so, no fix planned

#

at this point

#

wait, looked at wrong pr

#

it looks like its a 2023.2 milestone so I would assume it's going to get built into 2023.2

fiery badge
#

the fix (15379) was merged into main on the 7th... there's been at least two releases since.

vast crane
#

I would just assume it will come in .3. Doesn't seem like they intend to release it with any urgency.

fiery badge
#

shame, because it's a HUGE WAF problem 😦

warm seal
#

what typically causes a switch entity not to be displayed as a toggle but as 2 lightning icons?

tacit cave
#

it seems like you ignored my responses after the 1st one

fiery badge
#

my point was that if it's targetting 2023.2, it seems to be being very late to the patch release party, since two releases have happened since the merge.

tacit cave
#

It could be purposely left out. Usually things aren't patched immediately

warm seal
#

it doesn't have a device class, let me try that first

#

rob, optimistic would it to display like this?

tacit cave
#

Optmistic would display as a toggle

vast crane
#

I'm not suggesting you should add a class, I just wondered if maybe some class displays like this. Sounds like maybe it's not that.

tacit cave
#

the 2 lightning bolts appear when the switch itself does not report a state

warm seal
#

no class, and optimistic is enabled

tacit cave
#

clear your cache and refresh the page

warm seal
#

i might have messed up the state_topic, lemme check

dark dirge
#

Turn off optimistic mode

tacit cave
dark dirge
#

Or...

tacit cave
warm seal
#

tx guys. mqtt can be a pain to do manually πŸ™‚

tacit cave
# dark dirge Or...

so optimistic w/ MQTT doesn't create a normal switch even though it's making assumed states? That seems opposite of all other optimistic modes in HA

dark dirge
#

I think I'm thinking of assumed_state

warm seal
dark dirge
warm seal
#

tx

fiery ledge
warm seal
#

haha yeah I did search πŸ™‚ turns out I need to have optimistic mode disabled. and use seperate state_on and state_off

fiery ledge
#

yeah, we could ' have told you so' but we should also be able to show you why and how.... still looking for that page

dark dirge
#

Yes, it's in the docs somewhere, but I couldn't find it either

fiery ledge
#

i have 1 spot, a group, not a switch showing that and confess I never checked if assumed_state can be set there too...

trail adder
#

I want to make sure if I'm missing something.. Is there any way to do simple stuff like calculations, rounding, .. in the frontend? It seems a bit much having to create duplicate entities for any type of rounding you want to do for a specific visualisation.

tacit cave
#

assumed state doesn't work for everything

fiery ledge
#

no, I just tried... btw, I dont get why I see those icons in the first place

tacit cave
#

the integration needs to have code built for that to work

#

that group most likely doesn't have on/off entities, which is why it doesn't show up as a toggle

fiery ledge
#

its a dynamically created group of input_booleans

tacit cave
#

then it should

fiery ledge
#
      - service: group.set
        data:
          object_id: activate_media_players_available
          name: Activate Media players available
          entities: >
           {{expand('media_player.broadcast')
              |rejectattr('state','in',['unknown','unavailable'])
              |map(attribute='entity_id')
              |join(',')|replace('media_player','input_boolean')}}
tacit cave
#

but if it's emtpy on startup, then that would explain why

fiery ledge
#

its really odd, because the group indeed has 'unknown' state, even though all booleans are known. it is functional... so, why dont I see on/off, even after state change of the underlying entities triggering the group.set service

tacit cave
#

because it most likely isn't listening to new entities after a group.set

#

the old group isn't great

#

and it has alot of issues

#

this is why we now have areas and groups for domains

#

all around better functionality vs the old school groups

#

the only thing I use old school groups for is a dynamic list of entities to expand in templates so that my templates aren't rate limited.

fallow oak
#

Hey everyone! General question... How do you set up dashboards for desktop/mobile usage? Is there a super secret trick that makes the same design work great on both? Do you hva split dashbaords for desktop/mobile? If so, is there way to make sure each platform loads the correct dashboard as default?

#

I am building motivation to create a proper dashboard for once, but struggling with this "problem"...

fiery ledge
glossy pivot
#

Hi, I’ve got an dashboard and set that as default for my profile. However every restart inhale to redo this setting again. Not a problem for me. But it annoys my wife which causes here to not use the iOS app to do things she wants to do, cause it’s not working

#

Is there a way to make it permanent?

#

Ah wait maybe switxh a few dashboards around

vapid field
#

How can I change in "history" a sensor that doesn't exist and that is blocking the visualization?? A reset not resolve that; somewhere is saved the last sensor requested.

vast crane
final forge
#

Anyone able to help with the sidebar card? Cant change background color or make it transfer me to another view upon click :/

manic marsh
#

anyone use the wake_on_lan?

#

trying to get a remote working and keep getting failed to call service wake_on_lan/send_magic_packet. Service not found. I added the wake_on_lan: to the config

vast crane
#

I use it. Oddly I don't have wake_on_lan in my config. The only place I have it is a template switch:

switch: 
  - platform: wake_on_lan
    name: "TimPC Power"
    mac: 00:25:22:f5:24:de
    host: 192.168.1.20
    turn_off: 
      - service: button.press
        entity_id: button.tim_pc_sleep
#

And I do get wake_on_lan.send_magic_packet in my services list. Not sure why it's not working for you if you're following the documentation.

manic marsh
#

trying to get it to work for LG tv

manic marsh
#

not getting the failed to send anymore, its just not working

astral orchid
#

Is there any way to improve the graph on the energy page? Like for example dragging to zoom in on feature data

#

For example, I can zoom in on those peaks by looking at the time but when on a larger time span it becomes a pain to narrow down the graph

final forge
#

I downloaded and i think i sucessully added the layouts card. i dont have the ad grid settings in my edit dashboard? HELP plz. i think i had it some days ago but the option is gone. :/ from what i can see it also in the resources.

#

also i have double inputs on the layout card? still no option to edit . 😭

feral lagoon
#

I'm trying to get my yaml to change the stroke on an element assigned in my SVG file. The entity assigned is the garage door sensor (shelly door/window2). When it is not active it changes it's state to "off". I have my yaml set up to return a stroke color based on "open", "closed", and "off". The only one that ends up showing is "off". Does my yaml file need adjusting?? It can be found here: https://pastebin.com/qPw6xKF7

sterile violet
#

When I click on the switch to turn on or off a ZHA light group of bulbs from my dashboard it’s often not responding or quite slow to respond. This wasn’t the case a few days / weeks ago. Not specific to latest version. HA 2023.2.5 supervisor 2023.01.1. OS 9.5. Frontend latest 20230202.0. I did restart at the hardware (raspberry pi4) level not just HA services.

late pagoda
formal plinth
#

Hey there, everyone! Is there a way to have the background of a dashboard be changed on a button press?

atomic glacier
#

@formal plinth ponder Yes, can also be done via automations or scripts.

#

Button on bottom changes the background

formal plinth
#

@atomic glaciergot a sample script i could follow, perchance?

atomic glacier
#

@formal plinth example automation for tablet during morning hours: https://github.com/Dino-Tech/Home-Assistant-Main/blob/6fed8b819b9be1c871d31facd9629702df4dd2df/automations.yaml#L194-L205
which picks a random theme color script and then the script selects a random different background here: https://github.com/Dino-Tech/Home-Assistant-Main/blob/6fed8b819b9be1c871d31facd9629702df4dd2df/scripts.yaml#L388-L402 by using an input_select options from here: https://github.com/Dino-Tech/Home-Assistant-Main/blob/6fed8b819b9be1c871d31facd9629702df4dd2df/includes/input_select.yaml#L148-L167
this same method can be used with the button. Feel free to DM me if you have questions...this is probably a bit confusing for what you have asked secret_squirrel

polar radish
#

Is there any way to configure HA to NOT automatically call for upgrades of all ESPHome devices when ESPHome itself is getting an update (ie the way it used to be before 2023.2 hit)? The thing drives me nuts as it takes forever to upgrade all the individual devices. Before, I would upgrade ESPHome but not all the individual devices. Yes, the devices were shown as having an update available (on the ESPHome window) but I was able to ignore that for months at a time before doing the upgrade. Now I have the main page telling me that 34 devices need updating simply because ESPHome required an update. It takes well over an hour of work to update every device and in one case it broke a device enough to throw it off the network - I will have to extract the device from it's home (not an easy job), wire it up manually and re-program it all because someone decided that it was more convenient for HA to complain that each individual device needs updating.

#

Just to expand on this, it takes 3 clicks to 'skip' an update and with 34 devices that is a literal shitload of clicks every time ESPhome updates which itself is probably a minimum of 5 times per month! VERY annoying!

nova lion
#

im trying to get an old ipad 2 to act as a dashboard for home assistant; i’ve managed to get the app installed but i can’t log in because it won’t load the webpage. i’ve seen there’s a legacy auth thing but the website says it’ll disable all other methods if i enable it; is there a way i can log in without doing that?

slow kernel
#

Why is the time in 2 different formats?
In the picture glance it's right, but in the custom button card it's wrong.
How can I change this?

vast crane
#

Because custom cards can render whatever they want, there's no guarantee to be consistent.

rotund bolt
#

Is there some kind of option or plugin that makes the hold_action activate without lifting the finger again? Feels kind of slow how it is right now :/

hallow mango
# hallow mango i think i got it! ```yaml type: entities entities: - type: custom:multiple-ent...

i'm trying to figure out how to set the active icon color for custom:multiple-entity-row rows in an entities card. the main entity for each row is an input_boolean, and setting the inactive color is easy (set --paper-item-icon-color, this still works), but i can't figure out how to set the active color 😬

the quoted message did work... but i just updated to 2023.2.5, and now it doesn't πŸ˜“ looking at this https://www.home-assistant.io/integrations/frontend/#state-color (referenced from the release notes), it looks like i should be able to use --state-input_boolean-active-color, but that doesn't work either πŸ€”

fresh flume
#

Anyone else have noticed that the new Tile Card turns lights off immediately whereas any other button/service call makes it fade away normally? I have Philips Hue lights.

fiery ledge
hallow mango
fiery ledge
#

Must have a look, info to use that card anymore

#

If you post the yaml I’ll copy it to my test page πŸ˜‰

polar radish
fiery ledge
fresh flume
fiery ledge
#

you could post it as such in the frontend repo, and Paul will probably chime in

hallow mango
late pagoda
#

A database should probably refer to an object by an id, the name would simply be an associated name for that id.
If you're operating on the database externally, you probably want to pay attention to the unit's id, rather than it's "name" in the database

#

However, I do notice a lot of the configuration yaml stuff uses devices "names" rather than ids, which seem to get screwed up when you rename things.

grizzled rock
#

And it moves all the history data for that entity to the new entity id.

late pagoda
#

I don't think users should generally be able to change the id of a thing, but I'm not totally familiar here.

grizzled rock
#

I'm clearly using the wrong terminology. πŸ™‚

#

I am changing the entity_id

late pagoda
#

I don't know that I am using any correct terminology. πŸ˜›

grizzled rock
#

I'll repost the question more precisely.

#

Quick pair of questions: 1) am I understanding right that when you change the Entity ID of an entity in the UI, it updates the history in the internal database to match the new Entity ID? and 2) if so, is there any way to turn off that functionality, at least for an individual renaming? I can definitely understand why you'd want to keep the history, but sometimes I don'tβ€”like when I'm moving a switch to a different room for a new purpose. Thanks!

dark dirge
#

Just purge the history if it matters. Usually it doesn't

golden mistBOT
umbral harness
#

Can’t he stick his dick in the database if he knows what he’s doing?

dark dirge
#

Why would you?

grizzled rock
#

Is there an easy way to purge the history?

dark dirge
#

Yes, above

grizzled rock
#

That would be a fine workaround.

umbral harness
#

He linked to the docs above

grizzled rock
#

πŸ‘

#

I actually have SQLite Web installed and long ago did it by hand through the addon, but I'm hoping things have gotten easier. Reading the docs now. Thanks!

dense lynx
#

Is there a way to fiddle as little as possible with dashboards and UIs in general? I would hope for something that generates a nice UI based on all that information I give hass: zones, areas, devices, entities etc etc. Is there something like that?

vast crane
#

The default autogenerated dashboard is sort of like that.

dense lynx
#

Yeah but it's terrible πŸ˜„

vast crane
#

Ok, well then the answer is no I guess πŸ™‚

dense lynx
#

Dang ... and it would be so easy to code since pretty much every house has a similar structure πŸ˜„

#

@vast crane You were probably about to suggest I may as well code it and contribute to the project and you're right. I am just afraid of the learning curve I might have to go through

worthy tapir
#

For media control, like my AVR and android tv box, I find I need to use multiple cards for multiple diff integrations in order to see and control everything. For example the Chromecast card/integration best shows the name of the media that’s playing, but I like the Denon AVR entity to control volume. Can anyone recommend the best way to make one card that gives me buttons and data from multiple entities?

#

Ie the now playing text gets pulled from the Chromecast entity, the volume buttons from the avr’s entity, and so on?

vapid field
#

does anyone know how i can use a entity value as threshold for apex chart coloring threshold?
below slider value=green&&above=red
like:
is now:

      - value: 14
        color: green
      - value: 14.1
        color: red

and want:

      - value: number.wattpilot_max_price
        color: green
      - value: number.wattpilot_max_price + 0.1
        color: red
grizzled rock
vapid field
#

i have no idea how i use a template (yet) for apex cards, the displayed values are templates thou - and i am rinse-repat reading your github but fail to grasp what im seeing πŸ™‚

#

so instead of using "type: custom:apexcharts-card" you made "custom:config-template-card" that will create an apex chart but with update-able properties ?

reef geyser
#

wondering if anyone has any luck with an old ipad(iOS 9.3.5) as a dashboard? I tried using tileboard, but I got stuck at the home assistant log in. Thanks

umbral harness
#

the only sane way to have a nice dashboard tablet setup is using an android tablet in kiosk mode or similar with fully kiosk browser app

#

and i say this as someone who likes iOS

reef geyser
umbral harness
#

send it down the road lol

golden mistBOT
#

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

modest frost
#

Why are those two state-icons different colours? Config in the file above.

atomic glacier
haughty geode
#

Has anyone ever run into a situation where the Logbook contains duplicate entries of events? I have 2-4 copies of almost every event in HA. Here is an example image:

#

I checked the traces of this dummy script and automation that I wrote and they were only triggered 1x each, even though parallel mode is on. So I think this is some kind of weird display bug in the logbook. I am using PGSQL and InfluxDB (which I tried disabling) and the issue persists. Ty in advance if anyone has seen this or has any thoughts. I tried a system reboot

outer prism
#

In the mushroom themes github it says that mushrooms theme is part of home assistant by default now and you can uninstall it. I did so and am not seeing the built in theme, any idea why?

full kayak
#

is there anyway to use the ui editor if i use yaml mode? I want to use some of the mushroom cards but it seems that the only way to get all of the yaml configuration options is through the ui editor but i can't access this if i use yaml mode.

quasi agate
#

Hello!

Does anyone know the correct card/addon to use for a stacked bar graph, but it should show the current values rather than the historical value over time.
Im trying to build a simple card that shows the output of my inverter, with essential and non essential loads summed, but shown in their own colors?

final forge
#

Ok. So if i load a backup 2 weeks ago i have layouts card working. But not now? I dont see the code when editing my dashboard. Written on ha forum but no answer. Plz what can i doo? uninstallerd reinstalled. now it works. thx

formal plinth
#

does anyone know why I cannot access my calendar events when casting to Google Nest Hub?

#

Login attempt or request with invalid authentication from (my public IP)

loud glen
umbral harness
livid storm
#

Hello beautiful people! Question for you geniuses. What does HA call the little green icon seen here? Is it possible to add this to other cards?

#

Was wondering if it was possible to add to a mushroom light card to show some addtl info

formal plinth
livid storm
livid storm
#

so close... lol

livid storm
#

booya!

vapid field
#

Hey i have a question
How would I change the size of the card so that I can have multiple of these small buttons next to each other

atomic glacier
vapid field
#

@atomic glacier THANK YOU!!

fiery ledge
loud glen
steady echo
#

Working on a health dashboard

any suggestions on how to improve the look?

short willow
#

Folks, is there any way of creating a view of Name (icon) <temp> (icon) <hum> (icon) battery where temp and battery are custom:battery-state-entities? I have a bunch of these and figured it'd look quite clean to have each one in a nice table. I've tried glances, tiles, grid, horizontal stack, all to no avail

prime topaz
#

Heya! Similar to how auto-entities lets me populate a dynamic list of entities for a card, is there any way to have a view which creates a mushroom-light-card for every light which is on?

#

ie, it only creates a light card dynamically based on the light being on or not?

manic marsh
#

Anyone able to get the Traeger smoker integration

wanton lynx
#

Is there a way to show a card only if a user-browser combination hasn't turned off a switch?

I'm trying to make a "welcome/usage guide" for guests that they see when they first log in, but that they can dismiss to only show up in a tab if they "check a box" i.e. turn on a switch, but I'm not sure how to make a per-device toggle.

Any ideas?

wanton lynx
loud glen
#

I thought it was very expensive. But perhaps there are many flavors for different prices.

wanton lynx
#

I think $100 is the cheapest I found with os support past next year

loud glen
#

And it is fast enough to run ha?

#

I’m mainly used to iPad performance πŸ˜‰

wanton lynx
#

Oh yeah way more than fast enough, I have it in kiosk mode and it feels like a waste

loud glen
#

And which model is it exactly?

#

I spent past weekend looking for a suitable tablet just for this.

wanton lynx
#

But definitely use that debloater tool

loud glen
#

I know absolutely nothing about android but I always tried to stay away from anything Samsung produces. But I may make an exception for this haha.

#

Well don’t they make displays for appleβ€¦πŸ€”

#

But thanks for the tip!

fiery ledge
wanton lynx
umbral harness
#

There are many posts on r/homeassistant if you search wall/tablet/etc which all mostly use an android tablet or kiosk with android os built in

wanton lynx
#

Home Assistant app is on fdroid too fyi! I didn't want to sign into Google on this public-ish tablet for the play store

torpid harbor
#

I have figured out how to change the status of a Toggle helper by a double-tap on the card, so that's step 1 complete.
Step 2 is to change the card's icon (I'm using the built in base Light Card) so that I can visually identify which state it's in, and I haven't been able to figure out how to do that yet.
I've searched here (change card icon - only came up with a couple of questions about changing the icon color) and I've looked at the online docs for Light Card and Double-Tap Action and I'm not seeing it.

  • Would I need to write a script that A) sets the toggle and B) changes the icon? (might be handy, I could reuse the code by passing in the light card that called it.)
  • Is there a better Light card that has this type of feature built in?
  • Something else that I haven't yet a clue about?
#

Of course, if setting a Toggle for something like this isn't the greatest idea, I'm happy to get input on that, too.

formal plinth
#

Keep getting this error when casting Calendar on any Dashboard to Google Nest Hub. Anyone have any ideas why? Home Assistant is running on Docker on a Synology 923+. Calendars work when accessing Home Assistant on a PC, and on Companion App, but not when casting (using DashCast) to my Google Nest Hub. Please advise. Thank you in advance!

(Blurred out parts are my Public IP address)

gritty loom
#

im trying to customiz type 'custom:bignumber-card' and there is no visual editor for it. i want to add tap_action and hold_action when i add those sections of yaml, i dont get errors on the code but the also dont work. is it even posiible to add these actions? ill add my yaml to thread

fierce galleon
#

when I click "SOW CODE EDITOR" it just changes to "SHOW VISUAL EDITOR" , SO I cant see the code. anyone else see this or know how to fix this?

loud glen
wanton lynx
loud glen
loud glen
#

Anyone here also experience that the gauge card sometimes doesn't show the value until a refresh of the page? Seen it in several browsers and in the iOS app as well

#

after reload the percentages are shown

vapid field
#

Hello, I'm trying to apply a style to a vertical stack using card-mod, but I can't figure it out.

I want to create a sidebar, but just applying styles to the individual cards seems redundant and also calls for margin handling etc. Is there a better way to do this?

https://i.imgur.com/a9lJb8l.png

#

Maybe wrap it in some other card?

fierce galleon
#

hen I click "SOW CODE EDITOR" it just changes to "SHOW VISUAL EDITOR" , SO I cant see the code. anyone else see this or know how to fix this?

vast crane
#

Where in the frontend is this?

fierce galleon
#

on any card. 😦 , I click on edit dashboard, then click on edit.. and if i click on any card and then show code editor , i get nothing (blank) , and i can only click on show visual editor again.

fierce galleon
#

code-server is being accessed in an insecure context. Web views, the clipboard, and other functionality may not work as expected.

#

I get this code in my video studio server... dont know if its related?

sterile smelt
#

anyone know how I can show the sidebar calendar dashboard as a view option in the overview section?

vivid trout
#

shared on community forum with link to instructions on the github repo

sterile smelt
#

?

vast crane
dark dirge
vast crane
#

Another ticket was opened for the same thing for OSX beta.

fierce galleon
#

Hi Tim. I’m on the beta…. Ggrrrr , will check with another platform tomorrow

dark dirge
#

Interesting. I'm always on a pre-release OS X and I haven't seen it there

vast crane
#

#15513

fierce galleon
#

I just spun up chrome. And it works. So more like a safari thing…

dark dirge
#

ah, right you are

#

I use Chrome for most stuff on the desktop, so didn't think to check with Safari

fierce galleon
#

Well at least I know and other might be able to work around it till Beta sort it out. Logged it with Apple. (Y)

#

ty Tim and Rob

waxen sphinx
#

hi there, I am trying to have my dashboard managed through YAML files but I am having issues loading the frontend modules. The path to the module is <home-assistant>/www/community/bootstrap-grid-card/bootstrap-grid-card.js and I am loading it as: lovelace: ... resources: ... - url: /local/bootstrap-grid-card.js type: module but I keep getting this Custom element doesn't exists error whenever I try to open the dashboard, what I am missing here?

soft valve
#

Anyone knows the anwser to this one.
when using the card-mod the card-mod-root-yaml does not accept var() or at least it's not catching and the card-mod-root can't get the #contentContainer, does anyone know if you can either use var() in card-mod-root-yaml, or how to his the #contentContainer

golden mistBOT
soft valve
#

the problem then comes the app-toolbar paper-tab which i wanna give a background-color, but that of course needs to accept both light and dark mode, the problem is its seems card-mod-root-yaml does not work with var() and with card-mod-root i can't remove the padding from #contentContainer

modern barn
#

Is this a front-end question? I want to add a date-range picker to the top of a card, so I can view the entities info for that date-range. Is that even possible?

vast crane
#

what is "info for a date-range"? like a history chart? or logbook entries?

outer abyss
#

I have an issue of elements "overflowing" the cards and not resizing ideally. Short of "hacking" it into place using card-mod is there another way I should be handling this issue? I have never done any css but if I click enough I can get the right element name and then tinkering with styles to get it how I want it. It overflows on edge and on the android app and browser so I don't think its a browser issue. I hope this makes sense, I found HA and fell in love but have no programming experience. This is actually my first interaction but have been lurking for a month or so. Looking forward to finding somewhere to contribute

vast crane
#

What kind of elements? If it is core (non-custom) cards, you can file an issue on the frontend github repo.

atomic glacier
outer abyss
vast crane
#

For custom cards I guess all you can do is report it to the author of the card.
Personally I like to stick to the default cards instead of messing with customs, but that's just my preference.

outer abyss
modern barn
#

I'm currently using Lovelace mini graph because I can customize it's aggregate data for delta to show me the total usage in the period by subtracting the end by the beginning

modern barn
#

If any frontend devs are interested in undertaking this as a paid job, to create a custom card with a date-range selector, please let me know!

#

Otherwise, any support or pushes in the right direction would be great

fiery ledge
#

let me know if you need the resource, I can drop it here if you want (I've also added some settings so it behaves even better for night icons πŸ˜‰ )

karmic tendon
gentle widget
#

Hi there. I have a weather station exposing temperature, humidity, illuminance and wind speed. I can create a statistics card with the first 3, and statistics diagramm with the first. But wind speed does not show up. Is this not supported (yet) or is there an issue with my integration (HmIP Cloud)

calm plover
#

Hi, everytime I add a layout card, it adds some unwanted Pading/Margin:

#

How can I remove this?

#

I've tried adding margin: 0px and padding: 0px under layout and view_layout and no change

fiery ledge
vast crane
gentle widget
karmic tendon
fiery ledge
#

ofc ... πŸ˜‰ but where to put the weater.xxx entity? It is mentioned in the text, but nowhere in the config options?

fiery ledge
#

getting there though....

harsh pond
#

I'm playing around with creating a new card in Home Assistant. I've created the custom card stub and registered the resource. However, when I've made changes to the card javascript I'm not seeing those changes in HA

short pond
#

Is it possible to define a specific color of the On / Off state for Icons on the dashboard?

I have a few "RGB" Bulbs, that when On currently show the color that the bulb is set to. I really want these to just use the same On/Off default colors as the non-RGB bulbs. How would I go about doing this?

spice panther
#

hey folks, been searching for the past 30minutes without luck, I want to change the size of the gauge card, make it bigger and can't figure it out... Tried the custom layout-card plugin... doesn't seem to fit the bill...

Any suggestions how I can change the size of the gauge card?

vast crane
#

You want it to be wider than a standard card width? How would you expect all the other cards on your dashboard to behave, given that everything is by default the same width?

#

You can change from Masonry to Panel view type, in which case you get one gigantic card, and you could subdivide that down with a grid or stacks, but then you'll be more responsible for the overall layout and you won't get Masonry's auto flexing behavior.

umbral harness
spice panther
#

I want to enlarge it... layout fall were it may... I just need the card to be larger, be able to control the size

vast crane
#

Oh interesting, you're right. I assumed it would scale up with the card size, but it doesn't seem to do so. Suggest filing an issue against frontend. I'm not sure what else you could do in the meantime.

#

Although I'm not exactly sure how it should behave. Would the font scale up linearly also? Might look somewhat ridiculous at some point...

sullen wyvern
#

Hi all, is there a way how to implement following actions to picture element card? tap_action = more-info of entity 1, hold_action = more-info of entity 2

olive plinth
#

I am trying to expose a single lovelace card to another dashboard I run on the same machine. Is there any way to expose a single card as a standalone page? Preferably one not behind authorization?

If not is there any way to get the python script integration to save to the local www directory? I could write a small script to output a static HTML file containing the data as well

vapid field
# waxen sphinx hi there, I am trying to have my dashboard managed through YAML files but I am h...

Hi, I'm having the same issue. I belive it is since I started using minimalist UI, which calls for adding

    mode: storage
    ...```
to the config. 

I tried adding the cards like resources:
```lovelace:
    mode: storage
    ...
    resources:
      - url: xxx
        type: module```

But this didn't help. Can anyone shine a light on this? The documentation for lovelace seems replaced with a very basic overview of ui dashboards.
short jetty
#

I have a picture-entity card that has a feed from my Zoneminder system. When I click on it a little preview box pops up with the live feed in it. If I right-click on this "image" and select 'open image in new tab' I get a new tab with my live feed taking up the whole window.

#

The bunch_of_gibberish part appears to be different every time I click. So how do I get this part so I can use it in an action?

outer abyss
# fiery ledge this weather-card is a very old card by Bram, and your chances are best to edit ...

@karmic tendon replied just after you and suggested his platinum-weather-card as an alternative and it appears to fix my issues with the weather card. Let me ask you though as you obviously have some styling skills. Without trying to learn css from the ground up is there an area you would suggest I focus on to adjust the cards I have issues with. Am I looking to adjust alignment of every independent item or is it more of a matter of adjusting the way elements are laid out. Thank you for the guidance!

karmic tendon
calm plover
#

Hi everyone. The layout card always adds some padding (when compared with the native horizontal/vertical stacks). Does anyone know how to remove this?

modern barn
#

Does anyone want to make $100 to create a custom card in my dashboard? This is beyond my skill and understanding. I want a card with a date-range picker at the top to show the entity data within that date range in the card.

I know this isn't the place to offer work, but I can't seem to find ANYTHING that helps at all

calm plover
digital swallow
modern barn
#

I've been trying to use something that can date-range a lovelace card. I'm tracking data usage, so I really only need a single number - the amount of data used within a date-range

#

and I heard apex can do it, but everything I've seen is just "set up how many days in the past to view data" so it's always "from now backwards" rather than like, 4 weeks - 1 week ago, but not the last week

normal valve
latent berry
#

hey guys ... I have multiple restful commands defined to switch inputs on my hdmi matrix/switcher ...

#

what kind of card do I need to have one row (button?) per input that I can click to execute the restful command?

#

vertical stack with buttons is close to what i want, but i'd rather just have seperate rows inside a single frame if that makes sense?

eternal solar
#

Is it possible to use an input_text field as the Message when I do a call service on TTS through Google Translate?

#

I’ve tried a template like the webpage describes:
{{states(β€˜input_text.field_name’)}} but Google just repeats β€œStates input text field name”

vast crane
#

missing quotes maybe?

eternal solar
#

I tried β€œβ€ around it and then swapping the β€˜ with the β€œ

hybrid jay
#

Not sure this is the correct area, but I was trying to move from a VM HAOS install to a NUC and after booting up the NUC and onboarding Home Assistant I did a restore backup from the VM. Everything (devices automation, etc...) shows up, but none of the icons in any of my cards show color changes, such as turning on a light the icon stays gray but shows a state of on. Everything is basically black and white, no color anywhere. But all the colors show up on my Cast devices. I tried a couple different browsers and cleared caches and so on, but no change. Any ideas?

umbral harness
hybrid jay
#

Several times

#

It displays fine on the IOS app and Cast devices but not on any browser I have tried

lyric prairie
hybrid jay
#

I just use the backend default setting

#

Should I use something else?

modern barn
lyric prairie
gray current
#

can someone help me ? i need to create a service to up my volume from HA.

#

my input pass through broadlink e i had already mapped all base64 code for my remote control

#

i have only this one for power on/off

shell island
#

Hi guys! How do you keep track of temperature devices and such going offline? It might happen from time to time and I would love to know what is happening.

golden mistBOT
#

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

dark dirge
#

you can't just have a !include sitting by itself there

#

and you can't use !include directives at all if you're using Lovelace in "storage" mode

left aurora
#

I'm in YAML mode for this dashboard.

#

Whats the best way to make what I'm trying to do work?

dark dirge
#

I don't think you can use a !include to say "some list items from this other file go here". You can use a YAML anchor, but that doesn't let you split that content out into another file

#

I'm not sure there's a way to do what you're trying to do

left aurora
#

Hmmm... OK. I'll play around a bit more. If I get rid of the cards in the main file, it works... So, it does merge everything. Is there a way (script or something) that can perform the merge and show the final yaml? WOuld be easy to see if I understood how the merging does it.

hybrid jay
#

I think I sorted it out. After a reboot, I logged out then back in and it seems to be working. The icons change colors again. Really weird. Thanks for taking time to help out.

exotic nebula
#

I have a weird issue with cast integration
I can cast Lovelace to my nest hub and x2 nest hub maxs
But some of the button dialogs wont open when pressed, i.e. any button card with more-info displayed on press or hold, or temperate sensor cards (the calendar card and the native media player card shows dialog though, which is even weirder)
This was working just last night, i don't think I did anything to mess it up but I rolled back to a known working backup anyway and its still wont work.
All the cards work correctly when displayed in a web browser or in the companion app... just not through cast on the google displays.
anyone else noticed this or is it just me?
i have triple checked everything and im sure its nothing i did.

harsh pond
#

I'm having some issues with the grid layout in layout-card -- is this a good place to get support?

#

basically, i'm trying to figure out how to make the contents of a subdivision in my grid to align itself with the bottom of a viewport

hearty rock
#

Hi! I have HTML5 notifications enabled and setup, they do work correctly with a Chrome browser, but on Edge they stopped working for a while, and they just won't work. I call the service notifiy for the device using the name I setup, but the notification won't come through. I don't get anything in the error log, they do work in Chrome however. Has anyone experienced issues with the Edge browser and notifications? I use Edge daily so notifications would be realy appriciated if they work. Would love to hear from anyone!

drowsy igloo
#

Hi. I have a number entity. In an Entity card, it appears as 1231.25. Is there a way to show it without the part after point?

pearl marsh
karmic tendon
drowsy igloo
#

nice, thanks

exotic nebula
# pearl marsh Not sure if it's related, but I noticed very recently (not update related, I don...

I dont have that issue, but that could be because I am using the custom button card for just about everything, and my camera cards are rtsp feeds with the webrtc card. so maybe that's why my cards are showing. the timing and sudden change without any updates make me think it might be related.
I'll try adding some temp sensor cards and see if they show up. I'll let you know if I come across anything interesting.

pearl marsh
vast crane
tidal vale
#

I have this dashboard but on my tablet it just looks like this sometimes (first pic). Sometimes its fine and sometimes its not, its very weird

past folio
#

is this a good place to ask a question about fully kiosk?

vapid field
#

Hi can anyone help me with Apex-Chart coloring based on a value of a sensor/input - for now i have to edit the apex-chart code by hand, which is a bit boring. i did read about some javascript based but i dont understand what i need to do - was called custom-template something

exotic nebula
# pearl marsh Looks like what I described is similar to this: https://github.com/home-assistan...

thanks so much dude, im sure its the same issue.
i just tried adding mushroom cards, and gauge cards and they wont show on the hubs.
im 98% sure this is the same issue.
i think google chromecasts had an update, everytime google breaks something it takes ages to figure out what happened.
i wish google would alert us when it updates, so we have some idea of what caused things to break.
this happened to me last time when the androidTV integration broke.

tulip pagoda
#

is there a way to check where lovelace actually is getting the cards and templates (path)... Having a struggle with setting it up.... Finally got it set up but when trying to add a plugin where i thought it was supposed to be nothing...missing element....

severe isle
#

hello, what is the essayist way to show a list of url's to external pages that opens in an new tap?

daring python
#

Hi guy

#

I try to using mushroom chip for my frontend entity

#

But I don't know why text is not vertical center

#

like icon . And icon don't have color

daring python
#

Seem like bug when try using chip with horizontal and vertical stack

daring python
#

How to change button color?

karmic tendon
#

try using the custom button card, an example here:

golden mistBOT
fleet agate
#

Hello, I tried to use state-switch with mushroom-chips-card inside a 4 column grid but they leave space in-between if state switch is triggered. Can I make them tight together?

#

I also tried to use state-switch with entities within mushroom-chips-card in 1 column but that doesnt work

#

I want user-specific compact navigation buttons to appear for dashboard

gray current
#

hi guys, i have a broadlink that sends via IR input to a soundbar. The problem is that even though it is physically turned on I don't see the buttons available. I have tried changing the status via devtools but after a few seconds it goes back to off. All this is inside a media_player. My goal would be to track a state inside HA so that I have access to the buttons to turn the volume up.

#

This is what I see after changing the status via the developer tools, so if I click on the dots I see the volume buttons but after a few seconds it goes back to grey

#

Please help me find a solution to this problem I have been stuck on this problem for a while

#

At least give me a way forward

tribal galleon
#

@gray current how are you integrating the soundbar into HA? I'm assuming it is not smart. Do you just have an input_boolean helper that you've made to "simulate" the on/off?

#

I'm think that a media_player-type card is not going to play nice with your setup but you'll probably be able to design something that will perform the same functionality though.

gray current
tribal galleon
#

Side note: my broadlink minis are arriving tomorrow so this is an interesting topic.

tribal galleon
#

Do you have a smart plug capable of monitoring power usage? power_sensor (Optional): entity_id for a sensor that monitors whether your device is actually On or Off. This may be a power monitor sensor. (Accepts only on/off states)

gray current
#

But I don't understand why after a while the status automatically becomes OFF

#

makes no sense. I want to decide the state, even if it won't give me a real thing

#

I need volume buttons at all costs

tribal galleon
#

Off the top of my head, you could layout a couple custom:button-cards with the appropriate icons for the functions. on/off state to show/hide as appropriate.

gray current
gray current
tribal galleon
#

I was looking around the docs and forum to see if anyone has mentioned having problems but have not come across anything like what you're describing.

#

@gray current Is the soundbar actually turning off or is HA just reporting/thinking it is off?

gray current
gray current
#

What should I use to turn on the air conditioning when the temperature is lower than N ? Automation ?

delicate pond
#

hi everyone, im trying to install a custom blind card by tungmeister, i have followed instructions but it doesnt show up when i go to add card, please can anyone help? also same problem when trying to install the custom curtain card by georgezhao2010.

tulip pagoda
#

Trying to get Lovelace UI working with mminimalist UI... However seem to keep getting a bunch of jacascript errors on client side... I dont know if the templates are loaded or not... Can anyone please point me in a direction where i can see whats happening or not.... Posting client side logs

golden mistBOT
#

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

tulip pagoda
#

Cannot read properties of undefined (reading 'attributes') in 'return entity.attributes.icon'
and
Uncaught (in promise) TypeError: e.setConfig is not a function

Seem to be the problem what ever that is...

golden mistBOT
#

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

fleet rapids
#

Very new to coding in yaml. I was able to get my minimalist dashboard pretty much how I want it except when using the minimalist light card popup option, It all works until I select a color. Once I pick a color, I can no longer change it back to white temperatures within that popup. Anyone have any idea how to fix this?

tulip pagoda
#

May be a stupid question anyhow.... In Lovelace UI i get button-card template missing for 'xxxx'
In YAML mode its easy i get that i tell Lovelace where the templates are... I cant understand where i tell Lovelace in UI mode where all templates are...?

drowsy igloo
#

hi. I find lovelace so difficult to deal with, cards are jumping all around when resizing etc.
Is there an alternative, which will keep stuff where I put it?

ivory pagoda
#

i just started a 2 GB sd card that I found in a rasspberry pi 1. I logged into via ssh and saw: "last login: 2018" πŸ˜„ hostname was hassbian so it must be a test installation from 5 years ago. insane where i come from and where HA is now. just in case someone wants to compare the frontend to today i posted a screenshot. its version 0.56.2 πŸ˜„

hybrid jay
#

For those having issues with incomplete dashboards on cast devices, I upgraded to 2023.3.0b3 today and my dashboards are back to normal on all of my cast devices.

#

Only downside, it broke my opensprinkler integration.

digital lynx
#

Why is the tab related removed for unavailable entities? I used this to get to the device to ping it (zwave) when it is unavailable. These core updates making home assistant less and less user friendly

outer abyss
warm bolt
#

Is there a way to change the overview dashboard? ... Or at least change the system default dashboard. I like having a storage mode one to play with stuff in the ui, but I have mostly everything else in yaml. I'd like to be able to edit overview in yaml. Anyone?

whole hull
#

Im confused lol

karmic tendon
#
type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        entity: sensor.ecowatt_level_today
        name: Aujourdhui
        aspect_ratio: 4/3
        show_icon: true
        show_state: true
        size: 100%
        styles:
          card:type: ''
      - type: custom:meteofrance-weather-card2
...
hollow helm
#

Hello everyone :)
I have a small question about light and dark mode ! I didn't find anything related to this on the web so here we are :)
I have a banner on top of my page with a picture card of my living room.
I took a night and day picture of my living room and i would like to change the path of the picture card in function of light or dark mode.
I know already how to pick up dark mode state with browser_mod but i don't know how to code this as i have each device with their own light/dark mode enabled :/
Thank you for the help i appreciate a lot :)
Don't hesite to ping me

faint trail
#

guys - when I have a card and I call service using an action, is there a wildcard that will select entity of the card as a target of the service call?
(image in thread)

vocal cargo
#

Heyho! I got a problem with lovelace cards via HACS. I installed HACS, downloaded 4 lovelace cards and added the resouces to the config. The cards were loaded properly but they doesnt show up in the card selector (UI). Tried restarting and clear browser cache. Any ideas?

brittle peak
#

Hi guys, I have an weird issue. Yesterday I've updated my HA from 22.11.4 to 23.2.5. In the meantime Meteoalarm has raised a yellow alarm for my region, but my HA shows the color as red? Is this a part of some new color scheme or what? Has anybody seen or experienced something similar? Thanks!

warm bolt
#

If using yaml mode should resources go under the Lovelace: section in the main config, or in the ui-lovelace/individual dashboard yaml files? Or is either acceptable?

vast crane
brittle peak
# vast crane What is this being displayed? A custom card or an entity card? What is a "meteoa...

Hi, thanks for jumping in! This is what MeteoAlarm is https://www.home-assistant.io/integrations/meteoalarm/, and in picture is my current situation. So with Severity being Moderate, color should be yellow. And before the yesterday's HA update to the latest version, it was working correctly (at least on the last one which was a couple of weeks ago). It's hard to say a lot more or do some comparison testing as it's generally active once per month max. I have however seen (and remember reading about) some color changes and unifying(?) in History tab, so maybe this is also somehow related to it? Or it might be just a bug. Thanks!

#

And this is the lovelace integration. So nothing fancy or complicated.

vast crane
#

I know all binary_sensors used to be yellow when on, and I think the colors are a little more nuanced now, I'm guessing that you have a binary with device_class: problem, and anytime that is "on", it will have the red color. I believe it's themable with state-binary_sensor-problem-on-color, but that will be the color for anytimes there is any active alert. I don't think it ever knew any difference about a "yellow" warning, or what the severity is. I think just used to always be yellow when there was an alert, and now it's changed to red by default.

https://www.home-assistant.io/integrations/frontend/#state-color

fiery ledge
#

Binaries have never followed the Meteoalarm color codes… they are binary and only use 2 states for on/off. either you had the Meteoalarm card installed or maybe a card-mod / custom-ui icon_color template ?

brittle peak
#

I might be completely wrong on this, as in the last year or so I've only received yellow warnings, but I think that a lot of months ago there was a red warning and the color actually was red. But, according to @fiery ledge that binaries only have 2 colors (which by being binary makes perfect sense) I am apparently wrong. Oh well, you live and you learn. Thanks guys for the assist!

fiery ledge
#

You can use the colors and set the card to change accordingly .

#

I have those buttons and can share if you want

brittle peak
#

Thanks!!

fiery ledge
#

and the button-card templates can be found in my gist in the bio

#

there' a tiny typo there, check the first template variables.text_color, it fails a closing quote.... 'darkorange'.

brittle peak
#

If I'm not mistaken this is for the visual elements, can this color be changed directly on the sensor level in config.yaml?

fiery ledge
#

Yes, but then you need custom card custom-ui

#

It’s not supported in core, and under constant threat of being deprecated because core HA changes…. Trying to keep it functional for years now but no promises …

vague arrow
#

I'm trying to access homeassistant from my old iPad. The login scrreen never comes up. I've tried Chrome, Safari and Opera browser .. same result. Do you know if there is a work-around ?

tardy basin
#

can it be https problem ? if so try http.. atleast its what happen to me

tulip pagoda
#

Could somone help me in right direction... Wanting to get this with auto-entities....

#
entities:
  - entity: binary_sensor.espresense_developer_corner
    type: custom:multiple-entity-row
    name: Developer Corner
    state_color: true
    secondary_info:
      attribute:
        - ip
    show_state: false
    entities:
      - attribute: rssi
        name: Rssi
      - attribute: uptime
        name: Uptime ```
dense saffron
#

for layout-card what are the cards that are OK when is layout-card is used

#

because on git repo is not specified

gusty pivot
#

my google-fu is failing me... Is there a way to toggle an area's light with a custom-button card? or do I have to make a template or a light group to be able to do that?

fiery ledge
#

you can toggle anything with custom:button-card... what is an area's light ?

gusty pivot
#

sorry I mis typed before I'm trying to make a button that toggles ALL of area's lights..

fiery ledge
#

you mean like the area card?

gusty pivot
#

ya.

#

just not sure what that card calls. like if it's a service or something

fiery ledge
#

could be yes, or a template calling all lights in the area. Its up to you, and what you already have laying around πŸ˜‰

fiery ledge
#

Id suggest wrting a script and use this neat trick```
toggle_lights_area:
alias: Toggle lights area
mode: restart
icon: mdi:autorenew
sequence:
service: light.toggle
data:
entity_id: >
{{area_entities('library')}}

{{expand(area_entities('library'))|selectattr('domain','eq','light')

|map(attribute='entity_id')|list}}```

#

notice the commented jinja template? you dont need that πŸ˜‰ you can just call the toggle service on the area_entities, and it will only use the lights..

gusty pivot
#

Interesting. thanks

fiery ledge
#

button would be: - type: custom:button-card name: Toggle lights tap_action: action: call-service service: script.toggle_lights_area

gusty pivot
#

the commented out stuff... that's making a map of any light's ids?

fiery ledge
#

in that area

gusty pivot
#

ya

#

cool

#

now just to figure out why my templates aren't working haha.

fiery ledge
#

it doesnt yet reject unavailables, so if you have these, you should add that

gusty pivot
#

(custom button templates)

#

probably just something stupid though. documentation will get me there

vapid field
#

is there a way to hand over entitie values instead of fix values for parameters ?

IS:

      - value: 10
        color: red```
WANT:
```color_threshold:
      - value: number.max_price
        color: red```
#

like some escape character/sequence

tulip pagoda
#

Why do i just get a blank popup with title with this:

  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      title: Test Popup
      card:
        type: entities
        entities:
          - sensor.adde_lovein_activity ```
#

I must be missing something

fiery ledge
severe isle
#

hello Im using

type: entities
title: External admin links
entities:
  - type: weblink
    name: UniFi Network Application internal
    url: https://192.168.X.X:8443/
    new_tab: true
    icon: mdi:wifi```

but I get:
Visual editor is not supported for this configuration:
Key 'entities.0.new_tab' is not expected or not supported by the visual editor.

but its in the doc https://www.home-assistant.io/dashboards/entities/
vast crane
#

It's not necessarily a bad thing, it just means the UI editor doesn't understand that. You can still use it, you just have to fallback to yaml.

#

The UI/visual editor is sometimes limited to a subset of the full yaml syntax for simplicity.

severe isle
#

ok

#

thanks

unborn badger
#

hey guys, i combined the mini graph card with stack in card, however i get the weird borders around the enitiy states, how can i fix that? i use the mushroom theme

#

fixed it by myself Change to vertical-stack-in-card to remove border lines

echo rover
#

Need some advice. I have installed HACS and the Alarmo integration (which works great) on a new HA machine. Where I'm struggling is specifically with finding/installing the Alarmo Custom card. But only the Alarmo standard card is present not the custom card. What am I doing wrong?

normal pond
#

hey all, is there a website I can download community created lovelace themes from so I dont have to make one myself? most people have a much better eye for design that I do

fiery ledge
#

Yes, did you check the Community ? Theme topic…

normal pond
#

Yeah found it just now

#

thanks πŸ™‚

small spindle
#

hello, i am looking to format the date but im having difficulties

echo rover
#

Question on Alarmo Custom Card. My dashboard currently shows the standard HA card for Alarmo. How do I replace it with the Alarmo Custom Card?

haughty vine
small spindle
#

any1 knows why it doesnt use the entire width ?

#

in the 1st tab eveything is great

vast crane
#

Width of the entire screen? That's just how the masonry layout works. You may want to change the view type to panel (1-card). Your first tab looks like it might have that.

small spindle
#

ok

#

yes it did the job

#

ty vm

wind coyote
#

Can anyone maybe tell me why in the world when I tap a button on my phone to call a browser_mod popup from a script, it opens the popup on my PC and not on my phone? The script itself has absolutely no reference to my PC.

kindred dirge
#

What's the best way to set the default color theme for all users to dark?

#

Or is there any way to remove the possibility for all users to switch to a light theme?

gloomy iris
#

Could someone help me out with the syntax please?

#

Trying to check if a string is in an input_text

#
          yaxis_id: |-
            ${ 
              if ('Valve' in states['input_text.text_wildcards_2'].state)
                { 'second' }
              else
                { 'first' }
              }```
dark dirge
#

kinda seems like you're mixing Javascript and Jinja

gloomy iris
#

Also tried

          yaxis_id: |-
            ${ 
              if (states['input_text.text_wildcards_3'].state contains 'Valve')
                { 'second' }
              else
                { 'first' }
              }```
dark dirge
#

seems random

#

states['input_text.text_wildcards_3'].state.includes('Valve')

#

but I have no idea what that's part of, so it's mostly context free

gloomy iris
#

That worked! I tried string.includes before but I most have used it wrong. :/

dark dirge
#

I do wish that Javascript was more like Python for that stuff, but then I guess it would just be Python

gloomy iris
#

I wished there was only one language in HA ^^

languid night
#

Hello Everyone, I hope I'm in the right channel for this question. I'm working on a dashboard that has a map card. On the map card I'm trying to get a couple of zones like home, work and others. But only home is shown even though I've added the entities for the other zones.
I think I'm missing something, does anyone have any tips what I can check to get this working?

vast crane
#

Other zones I add show up in the map card, it looks like a drop-pin with an orange circle around it. Though they aren't focused by default, so I have to zoom out to see them.

#

Maybe check devtools and make sure the zone entities have latitude: and longitude: attributes? Not sure if it's possible for a zone to not have those, but those are what is required for an entity to be mappable.

languid night
#

I have added the zones via a yaml config file that works because I can switch the size of the home zone and that is shown on the dashboard. All zones have a latitude and setting in the config file.

vast crane
#

not sure then. you could take a snippet of one of the zones from developer tools including the attributes, I could see if anything looks off.

languid night
#

Can I just copy paste it?

random cradle
#

Sorta basic question, but why is it that masonry view crams all my cards into a small area in middle of available screen rather than filling the screen with them?

#

I'm trying to create a dashboard for a wall mounted tablet and panel/sidebar makes them too big bit masonry utilizes like 20% of the available screen space

#

Oh I think its because I was using nesting vertical/horizontal stacks

#

I was hoping it would expand to utilize the screen space, guess not!

vast crane
#

Well that's what Panel mode is for. Masonry uses fixed width cards to try to arrange into three columns.

random cradle
#

Panel mode makes the buttons so big you are forced to scroll down on tablet though

vast crane
random cradle
#

Is there a basic framework for best practice in creating a layout for a wall mounted tablet you could suggest? I'm afraid im gonna spend days on this then realize I should have done it totally differently lol

languid night
languid night
vast crane
#

You have up to date version?

languid night
#

yes, Home Assistant 2023.2.5, Supervisor 2023.01.1, Operating System 9.5, Frontend 20230202.0 - latest

vast crane
#

I think it should be zone.work, not zone.Work, not sure if case sensitive or not.

languid night
#

In the config file it's Work with a capital

vast crane
#

I think all entities are lowercase, Work is the friendly name. the entity_id is zone.work

#

check your developer tools table