#frontend-archived

1 messages · Page 8 of 1

upbeat zodiac
#

i think it might have something to do with the fact that I have these cards inside a custom swipe card, i pulled out just the button yaml and created a stand alone card and it works on both pc and mobile

#

Might just be a glitch in the matrix

blazing wren
#

Or the slider might be buggy

upbeat zodiac
#

Yeah it definitely has something to do with the swiper card

tacit saffron
#

Having an annoying issue wondering if anyone knows what may be a solution. My main dashboard consists of may mushroom template cards that I use to be able to color the icons, have badges in certain circumstances, and multiple data presented. Anyway, often times, the icons are blank until I exit the dashboard and go back in. Happens on mobile and desktop

blazing wren
#

What kind of icons are these? If it's a custom icon set then it may not be loading correctly

tacit saffron
tacit saffron
blazing wren
#

PHU might be causing the problem

tacit saffron
#

hmm Ill reinstall phu maybe

upbeat zodiac
#

On another note does anyone know how to remove the borders around a card?

#

I want to remove the lines on the kitchen lights card

blazing wren
#

You mean the title?

upbeat zodiac
#

no, like the lines around each button, kitchen overhead, kitchen sink etc..

blazing wren
#

Well that's CSS, it depends on the card and your theme

upbeat zodiac
#

Oh im not at the CSS level of creating buttons yet

meager vortex
#

I got a script that turns on the water heater for 30 minutes and sends a notification to my phone when it's done.
Is there a way to turn the script activation button into a 30 minute countdown while it's running?

snow wolf
rose lintel
#

Can anyone help with aligning the content of this iframe to be centralised, this is the only way I can get the content centred, which does not change based on window size?

type: iframe
url: >-
  https://www.fctables.com/teams/norwich-190914/iframe/?type=team-next-match&lang_id=2&country=67&template=10&stage=32712&team=190914&timezone=Europe/London&time=24&width=350&height=200&font=Verdana&fs=12&lh=22&bg=FFFFFF&fc=333333&logo=1&tlink=0&scfs=15&scfc=333333&scb=1&sclg=1&teamls=40&sh=1&hfb=1&hbc=ffffff&hfc=000000
aspect_ratio: 3/1
card_mod:
  style: |
    div#root iframe  
     {
      transform: translateX(15%);
     }
meager leaf
#

Hey, someone did a multiple dashboards with ui-minimalist ? When doing that I have : n.setConfig is not a function. Like the config cannot be set into the apexchart component. Please let me know if someone has an idea 🙌 @polar kelp ?

fathom schooner
#

can the minimalist UI theme be used as desktop UI

#

?

meager leaf
#

@fathom schooner yes 🙂

fathom schooner
meager leaf
#

Use : minimalist-desktop theme 🙂

charred nebula
#

hey all, merry xmas,
Having a horizontal card with 2 columns but want one column 25% and the other 75% any easy weay to do this

meager leaf
jagged cove
#

Hi There - is there a way to have contextual confirmation text on a button Entity? At the moment im using the following to confirm the action, but would love it to say “Turn On Away Mode?” Or “Turn Off Away Mode?” Depending on the entity status 🙂

tap_action:
action: toggle
confirmation:
text: Toggle Away Mode?

lucid bronze
golden mistBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

thorny echo
#

When adjusting lights from the dashboard via the More Info view, is there a way to make it so that changes have a 1 or 2 second fade-in as opposed to doing it right then?

rose lintel
hidden yoke
#

I'm trying to output a train sensor attribute in a markdown card but I don't know how to use the right syntax so I can only show departure times.
This is the current output from the attribute.
[{"departure": "13m 56s", "delay": null}, {"departure": "20m 56s", "delay": null}, {"departure": "28m 56s", "delay": null}, {"departure": "35m 56s", "delay": null}, {"departure": "43m 56s", "delay": null}, {"departure": "52m 56s", "delay": null}, {"departure": "1h 2m 56s", "delay": null}, {"departure": "1h 12m 56s", "delay": null}, {"departure": "1h 23m 56s", "delay": null}]
I just want to display the first 2 departure times.

dark dirge
#

like this?

{% set data = [{"departure": "13m 56s", "delay": null}, {"departure": "20m 56s", "delay": null}, {"departure": "28m 56s", "delay": null}, {"departure": "35m 56s", "delay": null}, {"departure": "43m 56s", "delay": null}, {"departure": "52m 56s", "delay": null}, {"departure": "1h 2m 56s", "delay": null}, {"departure": "1h 12m 56s", "delay": null}, {"departure": "1h 23m 56s", "delay": null}] %}
{{ data[:2]|map(attribute='departure')|list|join(', ') }}
#

-> 13m 56s, 20m 56s

hidden yoke
#

Would I be able to substitute my sensor attribute into this?
{{states.sensor.mbta_coolidge_corner_to_park_street.attributes.upcoming_departures}}

dark dirge
#

the whole first line is just your data

#

so, yes

#

{{ state_attr('sensor.mbta_coolidge_corner_to_park_street', 'upcoming_departures')[:2]|map(attribute='departure')|list|join(', ') }}

hidden yoke
#

That doesn't seem to output anything unfortunately.

dark dirge
#

ok

#

if the first bit that I gave you above works, then you can debug yours further

hidden yoke
#

The first bit worked but didn't seem to like when I combined them.

dark dirge
#

time to debug

hidden yoke
#

Would departure be an attribute in the output of the attribute upcoming_departures?

#

Trying a combination of commands in the template.
Currently getting 'str object' has no attribute 'departure'

blazing wren
#

Which integration is this?

#

Because that will dictate what information is available

dark dirge
#

I'm suspicious

hidden yoke
#

I have an obscure integration called mbta predictions.

#

It has a card that will display the info but it doesn't scale well.

severe cypress
#

jeez the ui is so bad for configuring a device
it cuts off half the text
how is it so bad

blazing wren
hidden yoke
#

I can get the closest train times through standard entity card but nothing beyond that.

blazing wren
#

Define "enlarging" for me

hidden yoke
#

I'm editing the font size with card mod to make it readable from a distance. It ends up bunched together. The vertical lines spill off the card.

blazing wren
#

Well that's more of a styling issue. If you want readable from a distance, consider using a theme based around larger text for that dashboard/view

hidden yoke
#

Didn't think any themes were built around that.

blazing wren
#

I can guarantee someone out there will have made one, at minimum for accessibility

dark dirge
blazing wren
#

But as well as increasing the font size, also increate the line height and tweak the padding/margins for the card and for the rows. Consider using it in a panel view instead of one card in a masonry dashboard

hidden yoke
#

A perfectly cromulent definition.

#

I am using panel view.

blazing wren
#
{% for train in state_attr('sensor.mbta_jfk_umass_to_alewife', 'upcoming_departures') | from_json %}
  {{ train.departure }}
{% endfor %}
hidden yoke
#

What it currently looks like. Forgive the photo but I only have discord on mobile.

blazing wren
#

This works by the way

#

I installed the integration and configured it using the defaults in the docs.

hidden yoke
#

That in the markdown card?

blazing wren
#

I did it in dev tools, but I suspect it will work in the markdown card too

#

Bonus mode: {{ train.departure }}{{ train.delay | iif("(delayed "~train.delay~" )", "") }}

#

Granted none of the options in the examples from GitHub seem to have a delay, so I have no idea what it looks like, but it seemed like a good thing to include.

hidden yoke
#

That works. I've never seen a delay in the card either. Usually says null.

blazing wren
#

Well, either you have exceptionally lucky trains, or the integration is failing to get the data

#

Though having spent 2 minutes looking at the code for the integration, I bet you can DIY with the RESTful integration: https://api-v3.mbta.com

golden mistBOT
hidden yoke
#

I've been poking at other transit cards/ integrations trying to see if they would work but they seem to be tailored to their individual transit systems.

#

What would I need to add to limit to 2?

blazing wren
#

As in you just want the first two predictions returned?

hidden yoke
#

Yes.

blazing wren
#

You can add a limit parameter to the integration 🙂

#

(At least according to the docs)

#

(state_attr('sensor.mbta_jfk_umass_to_alewife', 'upcoming_departures') | from_json)[:2], but this works too

hidden yoke
#

Just edited the configuration before I saw that. Sorry for bothering so much. My knowledge is overall patchy and just trying to figure out things as I go.

blazing wren
#

And if I ever visit Massachusetts I now have some transport stuff set up in HA 😂

hidden yoke
#

My goal is to intermittently display the train times on my nest hubs so I have a passive idea of when I should leave for the train.

blazing wren
hidden yoke
#

Thanks. I found a way to cast using a blueprint so I think I'll be fine. A lot of my setup is put together using duct tape.

blazing wren
#

Duct tape is a good starting point, you'll figure it out

meager leaf
vast crane
severe cypress
#

really not a fan of how many buttons you have to click just to get to devices tab

#

can i remove the energy and map tabs, maybe add a shortcut to devices page?

dark dirge
#

yes

midnight island
hidden yoke
#

Is there a trick to fill the full card width in a markdown card? I have a table set up with right justification but there's a huge gap on the right side still.

thorn birch
#

Maybe also worth sharing in here since it’s sort of front end related: Issues with number of decimal places on a Helper Number #energy-archived message

karmic tendon
golden mistBOT
#

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

forest abyss
#

is there an way to turn on that you first have to put in a code to get in your lovelace dashboard/page? I have an ipad on the wall with hassio on it but my kids can also control it and i don't want them to control everything like the curtains! 😆

karmic tendon
forest abyss
#

thanks!

solid latch
#

is it possible to change the color temperature of a light with tile card?

#

and for some reason I can set the color temperature to a ridiculously high number. My light does not support RGB as well, but the tab is there for some reason.

vast crane
solid latch
#

all my other lights are not from Chinese brands, except that one that has the issue

#

I am guessing they cheap out on the firmware and it reports that it supports color while it doesn't. and maybe it reported the wrong max color temperature number as well.

#

Is there any way to fix it on my side though

vast crane
#

I would look at the developer tools attributes, I think that should have some details about what it supports. Does it have anything like this?

min_color_temp_kelvin: 2000
max_color_temp_kelvin: 9009
solid latch
#

yes, but I think it has the wrong number

#

and it definitely does not support xy color

#

is there any way to override this?

vast crane
#

What you maybe could do is create a template light, and then with an automation mirror that template to this light.

#

The template light could be defined with the correct properties, should make the UI behave better.

#

Is the bulb through zigbee, a custom integration, ?

torpid harbor
#

Any idea why my garage door turns purple now when the door is open. A couple of weeks ago, it was yellow. I'm just using a standard Button Card:

#
show_name: true
show_icon: true
type: button
tap_action:
  action: toggle
entity: cover.garage_door
show_state: true
#

It stands out from all the yellow light bulbs, but I'm curious why it would have changed.

vast crane
#

What version? The colors have been churning a lot throughout December.

torpid harbor
#

Home Assistant 2022.12.8
Frontend 20221213.1 - latest

solid latch
torpid harbor
#

thanks, @vast crane and @midnight island. That seems to be it.
As noted, don't particularly care all that much, one way or the other, was just curious why.

midnight island
#

They basically standardized the colors because they were all over the place before. Now purple means open and grey means closed. My shades are also purple/grey

vast crane
torpid harbor
midnight island
#

Yeah I think solving that weirdness was part of the goal. There were other states that didn't make much sense. iirc presence was red/green in the state history

vast crane
#

If this value is wrong for this bulb model, ZHA can override it with a quirk.

strange bough
#

hey guys any idea how i can make the mushroom light card default to the color slider instead of the brightness one ?

#

is there any state variable i can set with card mod or something like that ?

blazing wren
#

Default as in always use? Per card it's show_color_control: true

strange bough
blazing wren
#

You can't change the order of the controls for your lights. No.

strange bough
#

sad 😦

vast crane
#

File an issue or a PR if you want to see a change. If you've found the relevant line of code, you're already halfway there 👍

strange bough
dark dirge
#

Fortunately, there's a whole site for that

strange bough
#

thank you will take a look ❤️

lucid bronze
#

how do I do this think got a wrong indentation or something entity: light.baby_room secondary_info: '{{ states.sensor.hue_motion_sensor_1_temperature.state }}°C'

blazing wren
#

Secondary info should be an attribute name in most cases. Not a template.

#

Also, states. will error at startup, use states('sensor.hue_motion_sensor')

lucid bronze
#

can it be an attribute of a diffrenty entity?

#

E.g Light but want secondary to be temperture of device in that room

#

I assume I have do add this into my config to put the attribute into the entity then I can display it like ```light:

  • platform: template
    lights:
    living_room:
    friendly_name: Living Room Light
    value_template: "{{ is_state('light.living_room', 'on') }}"
    turn_on:
    service: light.turn_on
    entity_id: light.living_room
    turn_off:
    service: light.turn_off
    entity_id: light.living_room
    secondary_info:
    sensor.hue_motion_sensor_1_temperature:
    attribute: temperature
    unit_of_measurement: '°F'
blazing wren
#

That won't work. Secondary info can't be another device unless you're using a custom card/similar. Thomas Loven has one for entity rows I believe.

lucid bronze
#

Thanks got it Secondary Info is off entity only

#

Taa 🙂

stone crown
#

Hey guys,
does someone know if it is possible to add a Graph to a group ?
i would like to add the temp sensor as graph to my climate group, so i can see the difference better, is that possible ?

main meteor
#

How to use the URL in the View to show the energy dashboard? Since im hiding the sidebar

meager leaf
blazing wren
blazing wren
stone crown
#

Thats the normal group card.

The issue with my card management is, that the should temp comes from another sensor and not from the E1

meager leaf
blazing wren
#

So add your own chart and put them together in a stack 😉

meager leaf
blazing wren
#

I don't use that at all

meager leaf
#

A way to debug perhaps ? 🙂

blazing wren
#

As I've never used that card or seen a problem like that, no

#

This is why I suggested opening an issue on that repo

#

The people who use it and develop are those best suited to help you debug

meager leaf
#

Oh shit, thanks for your replies I will do that 🙂

timber saffron
#

Does anybody know why the mushroom chip template is not showing 0 (zero) and it does show every other value (the sensor gives also zero in the developer tools)

type: custom:mushroom-chips-card
chips:

  • type: template
    content: >-
    {{ states('sensor.woonkamer_total_covers_closed') }}
golden umbra
#

Can someone help me with a lovelace dashboard I want to cast on a nest-hub? I used the card-mod, but it the changes in the css are not casted on to the hub.

golden umbra
main meteor
#

Can the url part in a view be used to show the energy dashboard?

opal geyser
#

someone used the cardPower on nspanel / lovelace_ui allready with home assistant?

rough coyote
#

When i have a dropdownlist list i can't tell there are more items to scroll down. There is no visual indication.
is it a browser thing? Or is it in HA?

waxen sphinx
#

hi there, I'm newbie to HA and I am struggling to get some "basic" stuff working. Right now I am trying to install this theme https://github.com/basnijholt/lovelace-ios-themes and have it working but I am stuck in the automation section from the README since I do not know where to add those inputs, can I get some help?

#

I also don't know where to enable the newly installed theme 🤔

rough stream
#

Hi, in the docs I see this message: https://ui-lovelace-minimalist.github.io/UI/setup/custom_cards/

Since the release of v1.1.0 support has been build in to select custom/community cards that are available in the main branch on our Github Repository in the custom_cards folder. This Removes the need for copying over files from the Github Repo and put them in the /config/ui_lovelace_minimlist/custom_cards folder.
How can I reference them in a yaml file without copying?

karmic tendon
vapid field
#

Hello all !
I've looked around for an answer but maybe I'm missing the obvious here.. : can we use the long-term stats in lovelace (apart from the stats graph?) like the whole time energy from a shelly PM device ? (that resets everyday)

#

I've seen I can use stuff from the recorder (history?) but it only keeps a fews days worth of data..

karmic tendon
vapid field
#

I catually do not want graph, in that case, the sensor is coming from the shelly integration, energy in kWh, that gets reset everyday (by the device), so the only way to keep the total is via the long-term data, which I get, as bars for the daily consumption graph... but all I want is how much kWh from the beginning, seems simple though impossible to get 🙂

karmic tendon
vapid field
#

alright I'll endup doing that then 😅
I have influx and grafana but though I ditch all those now long-term stat has been around for a while
maybe I can have a look at the source of the stat graph, see how it gets its data ?

karmic tendon
#

it depends a bit on what you want, ploty helped me a bit(!) but not with all graphs...let-alone the data itself, hence new sensors (not bad, jst tons of them)

vapid field
#

yep

#

actually, after looking at the source of statistic-graph, I thought, ok I just need one number, so let's look at the source of the entity card

#

and I "stumbled" on the statistic card... which displays only one stat...which is what I'm looking for, so it was there all along ^^

#

sorry for the bother !

#

it has to be a separate card though, cannot be one number withing the entities card for example

#
type: statistic
entity: sensor.energy_consumption
period:
  fixed_period:
stat_type: change
karmic tendon
heavy warren
#

I am using vertical stack to use multiple cards but want them to appear to be a single card, is there a way with card-mod that I can remove the gaps between cards?

#

I already tried adding padding-top, padding-bottom, margin-top & margin-bottom to the style for ha-card

#

scratch that, I forgot to put them in :host

worn solstice
heavy warren
supple bear
#

Is anyone aware of a ui slider that when linked to things like the brightness of a light, applies the value continuously as the slider is held/dragged rather than applying when the slider is released. I watched a few people in our house use a mounted HA tablet over the holidays and i notice many found it a little clunky with the default sliders which only apply on release, leading to the user performing hold, drag, release, hold, drag, release, until they reach the desired value.

median nova
#

@supple bear I just noticed the same behaviour yesterday when I slid a slider whose value changes are monitored by an AppDaemon app - as I moved the slider I received about 10 TTS Announcements (as the AppDaemon app processed the changes) before I even released the mouse button

supple bear
#

Oh nice. Whats the name of it. Ill use it for lights / some volume sliders i have set up. Cheers!

#

As much as i dont like to use google homes ui, this continuous slider was something i liked when i do use it.

median nova
#

What I'm saying is that the native slider already seems to exhibit this behaviour - is appears to send updates to the backend before mouse/touch release

supple bear
#

Oh, hmm ill check why its not working for me. Perhaps its the slider in certain views that doesnt do it. I just tested clicking the name of a light on my dashboard and on the page where it shows the name, brightness, colorwheel. The slider here for example doesnt update a lights brightness until finger release, right? Im testing on the android app btw.

#

Same for me for the new tile slider when used for light brightness. Only updates on finger release.

#

The tile for example still says '100%' under the light name as i have it dragged to about 50 but not released yet. It seems neighter the light or % text updates until release. Is it android specific i wonder.

wise spindle
#

Hey Guys, I am a total noob at home assistant but gettig there, i am trying to create a custom sensor but keep getting the following error.
Invalid config for [sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 15).

#

My sensor.yaml only contains a single entry.
`template:

  • sensor:
    • name: "BYD Battery Watt Hours"
      unit_of_measurement: "Wh"
      platform: "state"
      device_class: "energy"
      state_class: "measurement"
      state: >-
      {{ (states('sensor.byd_battery_box_premium_hv_current_dc') | float) * (states('sensor.byd_battery_box_premium_hv_voltage_dc') | float) }}`
dark dirge
#

What is 'platform' doing there?

#

It doesn't belong there

wise spindle
#

omg sorry

#

I removed platform but still throws the same error

dark dirge
#

Seems doubtful

#

Oh, you can't put template: into sensor.yaml

#

That goes in configuration.yaml

wise spindle
#

ah okay

dark dirge
#

The whole thing doesn't belong in sensors.YAML

#

Move it all to configuration.yaml

wise spindle
#

perfect that worked, thanks

vivid trout
#

just wondering if anyone knows a why of doubling up a drop filter

#

I tried the normal styles:
icon:
- filter:
- drop-shadow(0px 0px 6px rgb(128,0,0) drop-shadow(0px 0px 6px rgb(128,0,0) but it does not seem to work no more

vivid trout
#

colors work fine drop-shadow(0px 0px 6px red) drop-shadow(0px 0px 6px red) to make color more bold but not anything else

fiery ledge
#

long time since I visited my media_player view, to find out my auto-entities card config with filter: include: - domain: media_player state: /playing|paused|'on'/ options: type: custom:hui-media-control-card does not show any card and renders emtpy (and even kicks in the new else: parameter (thank you Thomas!), where commenting the options: section shows correctly

#

changing the filter to: - domain: media_player.* makes no difference, so it must be the type: custom:hui-media-control-card ?

vapid field
#

Hi
How to integrate ptz on frigate card?

gusty salmon
#

Hey! In the "add helpers" menu in the configuration I don't have a "group" option. I can add "toggle" and "text" and other helpers, what do I need to do to add a group via the UI?

midnight island
#

Is your HA out of date? Group helpers were added back in April

gusty salmon
#

Indeed it is, I thought I'd updated the Docker container, apparently not. Thanks!

midnight island
#

With that big of a version jump, you have a higher likelihood of running into breaking changes. Ideally you should check all of the release notes from whatever version you're on up to the current one

jade sable
#

Google has decided that my home assistant frontend is a deceptive malware site and broken mobile web access and android app access. Has anyone else faced this?

dire pewter
#

Seems like Energy dashboard cannot be set as default dashboard, do you know if that is a design decision or it just haven’t been implemented?

gusty salmon
charred topaz
#

Ha ha

past minnow
#

Is there consensus on displaying dashboards on amazon show devices? I've seen various issues with certain versions, etc.

scarlet hazel
#

Hello. I’ve been banging my head against the wall a little trying to get a UI navigation tap to do two separate things. I’d like it to trigger a script, and then navigate to a different page after tapping on the item. I've searched a few places, but still haven't found the correct path to follow in achieving this goal. This code below doesn’t work (because you can't have two actions it seems), but it shows my intent:

    ...some UI card...
    tap_action:
      - action: navigate
        navigation_path: /lovelace/0
      - action: call-service
         service: script.do_a_thing

Can I either get something like this to work, or can I make a script change the dashboard page?

midnight island
#

Tiles can have 2 actions, for tapping on the tile or tapping on the icon

dark dirge
scarlet hazel
#

Great. Thank you both.

pulsar skiff
#

How can I start a script, when I press enter on a input_text field?

dark dirge
#

With a state trigger?

pulsar skiff
#

ok, thanks

marble raft
#

hey y'all, I'm trying to add the custom button card from https://github.com/custom-cards/button-card via HACS but can't seem to find it. It says it's not maintained anymore but still listed as HACS supported. Am I missing something or is this card dead?

dark dirge
#

It's there and working fine

marble raft
#

Oh I already have it installed haha wow nevermind

marble raft
#

Anyone familiar with custom button-card that can help me with state colors? Documentation/older forum posts show examples like:

  • border: solid 1px var(--button-card-light-color-no-temperature)

but this doesn't work in my case. The only thing that works for me is hardcoding a color like 'solid 1px red' and then it shows red when the state is 'on' as expected. I'm using a YAML template if that makes a difference

marble raft
#

Hmmm this actually appears to be a pretty deeply embedded issue related to the recent change to color states in 2022.12 - I can't seem to figure out how to get the current entities color/hue to use with custom button cards to control state color. Anybody have a workaround to this issue?

grave wave
#

does someone know a colorpicker card for the HA dashboard which does not open a popup for changing the color? I want the colorpicker without having to open the card beforehand

marble raft
marble raft
#

I'm trying to troubleshoot/fix the button-card colors after 2022.12, I've downloaded the source and am trying to step through the code to see where it's failing. I'm newer to HA from a dev perspective though, can someone tell me how/if I can check the current value of attributes for an entity in HA UI? Specifically I'm looking at the rgb_color attribute of lights right now

golden mistBOT
#

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

rough stream
#

Even have the same issue for card_light, just doesn't appear while anything else does

#

nvm does now

past minnow
outer charm
#

Hello, I've been trying to open home assistant from my Mercedes's mbux browser. When I try to log in through the system it always gives an incorrect login error, even though i'm using the correct credentials.

granite vortex
#

Anyone know how to change the background color of a gauge card?

#

I want the card background to turn a color, red or example, if the entity value goes below a certain number...

#

Or even i would be ok to just change the text color

lavish cradle
#

hey guys, im not sure if this is the right place for this but i am trying to use my rooted vaccum valetudo map in home assistant, but im not sure how to do ive gone through every guide but non is giving me the right outcome of using my valetudo map in home assistant. any help is appreciated .ty

midnight island
golden mistBOT
#

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

dark dirge
#

From the docs:

Limitations
It is not possible to use templates for actions. But calling a script is a good alternative.

shut solar
wraith eagle
#

HASL Departure Lovelace Card

lunar pawn
#

Hi ho! I have a weird issue, and it might just because I don't understand how things work in HA. Anyway, i'm configuring this card: https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_scenes/?h=scene

But if I define anything less than the 7 entities then I see a bunch of console errors. Is there something I'm missing? Is there a way to define an empty entity or something? Or is it an issue with the template itself?

unkempt kernel
#

UI bug, cant send/delete remote commands by UI due to checkbox missing

#

yaml works

vast crane
#

I would have thought the checkbox missing just implies that Command is mandatory. I think checkbox would imply that it was an optional parameter for that service call? What's on the right side of the screen?

unkempt kernel
#

youre right but oh gawd... if you change commands, it leaves the command text filled but wont work unless you delete and retype the command.

vivid trout
scarlet grove
#

Does anyone know if its possible to combine a line graph and bars in a** mini graph card**?
I am looking to have the price(grey) as a graph line in the background and the power (red) used as bars in front.

amber crest
#

apexcharts would be a good choice to do that

timid beacon
#

Does anyone else get flakiness with the state-switch card? Meaning it should be displaying something, but it doesn't.

I have a certain card display when I'm home, but even when the person entity is reporting me home sometimes the card won't display. I've seen it have issues with other cards too

past notch
#

Hello I am new to Home Assistant and I managed get it installed but I am having having trouble locating my dashboard. Where do I find it?

blazing wren
#

http://homeassistant.local:8123

#

Or the IP of the machine and port 8123

dark dirge
#

I was going to say that you're probably looking at it right now 🙂

past notch
#

ah thanks alright

timid beacon
#

Like right now I'm looking at HA on full-kiosk on my TV and this card isn't displaying, but on my laptop it is...

#

Same issue seems to be present with auto-entities

golden sky
#

Is there a domain for light groups? I’m using auto-entities to show entities in the light domain, and trying to figure out how to exclude light groups. Excluding the group domain doesn’t work.

dark dirge
#

light. is the domain for light groups. They look just like a normal light, but with an entitity_id attribute that contains a list of the members

#

you could include the light domain and exclude the entity_id: attribute based on this:

attributes: Map of attribute: value pairs to match.

#

I guess. Or you could write a template that just outputs the ones you want

golden sky
#

Let me try that first. Templates scare me lol

dark dirge
#

how on earth do you expect to transition to a higher plane of existence without embracing templates?

#

{{ states.light|rejectattr('attributes.entity_id', 'defined')|map(attribute='entity_id')|list }}

winter blade
#

Using mushroom cards, does someone know if it's possible to change the color of the media player card?

winged frost
#

Could someone suggest a nice way to display a news feed in a card?

golden sky
#

Worked like a charm. Thanks @dark dirge

winged frost
#

Could someone suggest a nice way to display a news feed in a card?

blazing wren
#

Please don't keep posting the same message, your message is still on screen and if someone hasn't replied it's because they don't have a suggestion for you.

#

Did you try exploring HACS and the many cards linked in the forums?

scarlet grove
pallid jacinth
#

Good day, I was wondering if anyone might know where I could post a question about the stank in card and css size editing? I'm trying something and I haven't been able to do it for a month now 😟

#

*stack-in-card, sorry

jaunty frost
#

Anyone know a card similar to mushroom entity card that allows me to show more than 2 informations? I would like to show state, last changed, and name in a single card (for my motion sensor) if possible. Now I can only show 2 of the 3 as primary and secondary information

past notch
#

after installing card-mod, it does not update to fit the theme which supports it. It just stays default. HACS also does not add the cards that I installed. Any ideas why?

blazing wren
#

Did you clear your cache?

golden sky
#

Come to think of it I’m not sure if either tile or button card can show just two secondary states and skip the icon and primary info. You’ll need to confirm.

timber flint
#

Hello. What is the easiest way to do not show the outer grey lines?

sweet lintel
#

Badges appear to be broken if the person is at another map location. Prior to the beta when Carole was at work it would show "Work" under the picture. Now it only shows "Home" when at home and "Away" when not at work. I hope this makes sense.

jagged siren
#

Hi all, does anyone know how to configure navigation pages for minimalist esh_welcome card? I cannot navigate out from homepage ...I followed the video from Lewis from Everything SmartHome but explanation on nav is not provided and I am quite nb

jaunty frost
#

Thanks will test that @golden sky

vast crane
past notch
midnight island
#

Ctrl+F5 on the page will refresh and clear the cache

past notch
#

thanks!

#

still have the same issue after doing it

cinder stag
#

Hi Linanck. I have exactly the same issue and despite posting 2 requests for help on the Home Assistant forum for the Mitsubishi Melcloud Integration have had no response. Here's what I posted: https://community.home-assistant.io/t/mitsubishi-melcloud-integration-with-home-assistant/26275/500 In particular I want to be able to access the controls for the horizontal as well as the vertical vanes (Vertical Vanes seems to be equivalent to Swing Mode). Were you able to make any progress since your post here in November?

compact hamlet
#

Anyone reason why the edit in yaml for dashboards would stop working?

#

I can't see the input box.

dark dirge
#

What machine/browser are you using?

blissful finch
crisp cairn
#

Hi all. I'd like to use card_mod to change the temperature color to red if the sensor is offline. I'm having a really hard time getting the syntax right.

#
entities:
  - entity: sensor.water_room_temp
  - entity: sensor.pool_room_temp
  - entity: sensor.bears_den_temp
card_mod:
  style: |-
    hui-generic-entity-row:
          $: |
            .text-content:not(.info) {
              color:
                iif(is_state('sensor.water_room_offline', '1'), 'red', 'blue') }}
               ;
            }```
#

That is where I'm at right now. Rob helped with the template line

#

the offline sensor gives me a 1 if it's offline and a 0 if it's online

golden mistBOT
#

@crisp cairn To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

compact hamlet
#

It happened when I add a new tab and go into YAML mode.

golden mistBOT
#

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

crisp cairn
#

I'm not sure which one is closer

dark dirge
#

anyway, it's a completely different platform and may be unrelated

dark dirge
#

it hasn't gotten righter 🙂

#

here's a similar example from the docs:

        card_mod:
          style: |
            ha-card {
              background:
                {% if is_state('light.bed_light', 'on') %}
                  teal
                {% else %}
                  purple
                {% endif %}
                ;
            }
#

what I suggested is just a condensed version of that, but with the same effect

crisp cairn
#

So sorry Rob. That works, thank you! However it's just the temperature itself I would like to change.

#

Got it working. Thank you for your patience with me @dark dirge. Very much appreciated!

wispy urchin
#

Hello

#

I do not know if this is the right place for this, but there are translation errors in french and I would like to help correcting them

#

My problem is that I could not find neither where the code is nor how to send a patch

wispy urchin
vast crane
wispy urchin
#

No, I did not. Having to start a trial to contribute made me think I was doing something wrong. What if I want to contribute once again in one or two months ?

#

But i will try if that is the only way

#

Then I will hurry up 😄

vast crane
#

Huh, yeah you're right that's not intuitive :\ I saw something to the effect that Lokalize is free for open source projects, maybe the signup link is assuming you're going to host your own project. Anyway I assume you'll never be asked to pay to contribute to translations...

wispy urchin
#

thanks for your help by the way 🙂

ebon rover
#

is it not possible to set themes for dockerized HomeAssitant?

#

I've tried the manual route, but I cannot for the life of me get this thing to show up in the UI.

opal jay
#

Does anyone know to remove those borders.. I’m using theme minimalistic mobile

lyric prairie
opal jay
#

doesnt work :S

#

kinda odd on my phone it displays wrong and on my pc it displays good

opal jay
#

Fixed it with the following code

          style: |
            ha-card {
              --chip-box-shadow: none;
              --chip-background: none;
              --chip-spacing: 0;
            } ```
cedar tapir
cinder stag
# cedar tapir Hello Marcus. Sadly no. Part of my request was also - like you - to be able to a...

Hi Linanck, I think the problem with Home Assistant is that it IS 100% customisable - if you know how and that too much prior knowledge is assumed so the learning curve is very steep! I'll keep plugging away on the MelCloud HA forum until I get somewhere, but in the meantime I've been using the Amazon Alexa Skill from Mitsubishi and it's definitely a step up from the MelCloud app. As you no doubt know, you can create as many scenes as you like in the MelCloud app and those appear in the Alexa app and you can then use Alexa routines to add to the scenes in various ways so if you haven't tried it, I recommend you give it a try. I'll let you know if I find out how to configure Home Assistant to do what we want...

lyric prairie
opal jay
#

yea indeed

golden spindle
#

Hi, in hassos I can integrate add-ons to the main menu on the side. Is this also possible, if I ran HA in Docker and want to integrate e.g. vscode running as a container besides HA?

glossy basalt
#

Is there a way to hide a badge when viewed in the mobile app but not in a normal browser?

mystic timber
#

Hey,
I’m trying to make something that looks like a SWAKES Sensor counter, but I can’t figure it out by myself.
image

I want to count the number of entities within a group that I have and show also how many of them are in the ‘On’ state
For example:
I have group.cameras with 3 entities of my cameras, 2 of them are ‘On’ state and 1 is ‘Off’ state
So I want to show up in my dashboard 3/2 (3 is the total number of entities within the group, and 2 is the number of ‘On’ devices within the group).

How do I do that? I want to count my lights and some devices I have.

Thanks for help

golden spindle
vast crane
blissful finch
#

Is there a name for this notation?

      `[[[
        if (variables.ulm_custom_card_esh_room_light_entity && variables.ulm_custom_card_esh_room_climate_entity) {
          return "'i light' 'n climate' 'l climate'";
        } else if (variables.ulm_custom_card_esh_room_light_entity) {
          return "'i light' 'n n' 'l l'";
        } else if (variables.ulm_custom_card_esh_room_climate_entity) {
          return "'i .' 'n climate' 'l climate'";
        } else {
          return "'i .' 'n n' 'l l'";
        }
      ]]]`

I would like to find a VS code plugin that makes it easier to read since it currently looks like this:

vapid field
#

i created the learning file for my broadcom remote IR, now i got a file in .storage/broadlink_remote_ec0bae6af035_codes with all the codes (Power, Mute, etc). how can i add a nice remote on HASS ?

dawn acorn
vapid field
#

i want something more simple, like (power)+(mute)+(ChannelUP)+(ChannelDown)+(SoundUP)+(SoundDOWN)

#

no need of the 0 to 8

#

tv-card.js:5:0 SyntaxError: Unexpected token '{'. import call expects one or two arguments.#033[0m

#

oh gosh

#

i got that in my err log

vapid field
#

for now, i got this:

#

with this yaml code in ui

#

i d like to have a better ui figure for that

vapid field
#

i'm progressing, now i got this

candid ridge
blazing wren
#

Did you clear your cache after installing it?

candid ridge
candid ridge
#

Had an extra - that shouldnt have been there, thanks anyways!

median musk
#

i'm trying to make my dashboard information more dense and just can't manage to do it. Is there any tips?

#

There is just so much whitespace everywhere

#

Ideally I dont want to scroll

candid ridge
#

well the dashboard i showed above should be a decent start for ideas to make that happen

#

also popup cards like I did here are pretty great

median musk
#

would it be possible to just write HTML? I bet I could get it more compact myself

#

can't believe i'm saying this but i'd rather write HTML than YAML, haha

blazing wren
#

If you want to just write HTML, you can write your own cards, or a web frontend and use the API to fetch data—though fetching the data would need a programming language

median musk
#

like I want to combine temperature and humidity into two a single card "70F / 80%" per sensors takes up less space

candid ridge
#

i use the grid card a lot for layouts

blazing wren
#

Don't forget there's always card-mod

median musk
#

i have no idea what card-mod is, what's that?

#

Is it possible to combine 2 sensors values into a single card?

blazing wren
median musk
#

oh man, the grid UI I made does not scale down at all on my phone

#

lol

#

is there a way to emulate a phones screen on desktop?

#

i guess I can just resize the browser window and see how that works

blazing wren
#

In Firefox and Chrome: Right click somewhere and inspect element, then click on the horizontal rectangle with a vertical rectangle overlapped

midnight island
#

Ctrl + Shift + M on Firefox

median musk
#

oh man, You rock.

cunning girder
#

Hey all, is anybody good with apexcharts card? I have a donut chart and I want it to show a value of a different entity in the middle.

golden mistBOT
#

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

cunning girder
#

I'm trying to get that "return 1" line to show the value of an entity that's not in this chart.

sacred seal
#

Bruh how the hell does ordering work in lovelace, I cannot understand it 😩
Honestly, I'm just clicking arrows until it looks good enough

patent stone
#

I am new to home assitant and i am trying learn ymal . are the keys in yaml configration variable? is there a rule to follow beside of the yaml syntex rules? i am confusing the order and where the keys come from . Can anyone please explaine for me a little about yaml here?

worn solstice
#

Hey guys what is the best weather service to use with the Hourly Weather Card? I tried accuweather and openweathermap but they don't show hourly segments

worn solstice
worn solstice
patent stone
worn solstice
#

Yes, depends on the card you are using, default Lovelace, mushroom, custom cards, etc, they all have a doc that tells you what value it supports

patent stone
#

now it is clear, thank you for the Clarification

pure drift
#

Hello guys. Anyone has a tutorial or info about how to use auth_providers? Like Keycloak or Authentik? Im trying to use on of these but withou succes..

small badge
#

I want to dynamically change the default theme to Dark or Light mode, but I don't know the name for the name key of frontend.set_theme. Can someone give me a hint?

candid ridge
empty owl
#

Hello all,
I have a card that show lights with ON state since a while and I want to update the title, instead of string like "Light On" , I would like to have numerical count into this title.
I tried title: {{ states('sensor.count_lights_on') }} and save the card (type: entity-filter)
Once saved, I see title: '[object Object]': null
There is a way to have what I would like ?

worn void
#

When making a dashboard, I want to use input_text.mailbox to display as an entity line on an entities card, but not have the field editable, just read-only. I'm trying to find a solution in documentation, but perhaps I'm not using the right terminology. Any suggestions?

screenshot: https://imgur.com/a/nrGU2Zm

#

I'm using a vibration/tilt sensor on the mailbox door, and it doesn't have a simple output, so I have an automation to change the state of that input_text helper based on x, y, z angles, then announce it via media player.

#

doing similar things with garage door vibration/tilt sensors, so this would help that as well. Do I need to create a custom entity maybe? Looks like it's possible, but another rabbit hole to go down.. 😆

empty owl
#

@worn void Glance card is okay for kind of read-only

#

or custom:mushroom-entity-card

#

why you want to have an input_text helper before announce to media_player ?

#

Btw, it's exactly what my wife is asking to me about having something into the house mailbox when post is putted somethings. I never thing about vibration but I have one zigbee vibration device here that could be do the job. Just need to put in a waterproof protection somehow

green raft
#

I think it's time for me to completely overhaul my interface for HA. I built each tab around house-wide functions, rather than building tabs for rooms. On reflection after having a basically unchanged interface for a whole year, the most frequent things you will want to do manually with an interface will all be for a specific room. Is there a forum/reddit thread with mobile-first UI inspiration?

empty owl
green raft
#

Definitely looks like a good start, thanks!

limber walrus
#

hey all, does anyone know what the name for the little flame icon is?

#

related: how do I make it bigger?

#

also related: or add it to an icon that doesnt have one?

worn void
worn void
# empty owl why you want to have an input_text helper before announce to media_player ?

just to be able to have a place to display status that isn't just x/y/z values - they don't translate obviously at a glance, especially since the sensor's x/y/z values are based on if you had mounted it on a flat horizontal surface, not a vertical one like a mailbox door or garage door: Sensor-y is real-z, sensor-z is real-y if you mount it on a vertical surface.

So when I set the helper text, that can be read back using Google devices or phone voice agent: "Mailbox is {open/closed}" instead of "Mailbox Y value is 87%" or similar.

I can also use the helper value to differentiate between status changes a bit more easily when building automation logic

karmic tendon
limber walrus
worn void
# empty owl Btw, it's exactly what my wife is asking to me about having something into the h...

I think it depends on your mailbox, most are pretty weatherproof, and the Aqara vibration sensors can tolerate pretty cold weather. I've had mine in there (inside of the door flap) for a few weeks now and it's been between rainy and snowy the entire time, no issues at all, and I put a bit of bathroom caulking over the battery compartment edges + pairing button so moisture can't get in, but the button is still functional. Replacing the battery just requires a few seconds of peeling with your fingernails to pull the caulk right off.

Only problem I've had is the mailman sometimes opens+closes the door so quickly (<1 second) that the sensor doesn't record the angle change. The vibration sensor notes it, but strong gusts of wind can also trip vibration detection. Trying to find a nice way to balance it to reduce false positives.

Should also clarify that I chose the tilt/vibration sensor because we had a truck with a trailer turn around in front of our house and something caught our mailbox and ruined it + bent the post, only know from the tire marks. I have a separate project to get one of those ESP32 camera kits up to take high-res photos of different events in different locations - I plan to have vibration and motion events trigger the camera to take shots.

karmic tendon
limber walrus
karmic tendon
empty owl
#

@worn void Thank you for the notice. I already put the aqara vibration sensor some hours from now 🙂 . I'm also having strong wind. I will not check those attributes about angle but may be use another value about vibration weight (vibrationstrength) reported by deconz

limber walrus
karmic tendon
# limber walrus

whatever I do... donot have this, I do see the icons in them but no clue how this is activated, mushroom is totally new for me too

limber walrus
karmic tendon
#

the doc says that one should not need MR Themease form 2022.11

#

from

#

I am on 2022.12.8 and I did install the cards...but ... nothing of sorts....and now this is bugging me 🤨

cedar tapir
# cinder stag Hi Linanck, I think the problem with Home Assistant is that it IS 100% customisa...

Thanks, will update you also if someday I research again on this topic.
I don't have any smart device at home. I waited to have my own server to host everything, not a big fan of relying on third parties services from personal/home usage. I will build for sure a personal voice assistant later on 🙂
HA being 100% customizable is a good news, but if there is no doc/no help to find the right conf file to modify, well, it's not worth it 😒
Again, some day I will look again into it, when all my AC will have a wifi module

#

I'll try building one first and if it works I will do all my AC's

tired star
karmic tendon
tired star
karmic tendon
#

I would like to have this option too but seems to be mushroom specific ? and MR I donot know (yet)

twin canopy
#

Afternoon all. Not sure Frontend is the right place to start with this one, but here goes! Forget that. iPad had lost wifi.

candid ridge
#

looks like this

#

ill share an updated version when I have it

#

have some issues like simple icons not showing up on phone and such I need to figure out...

#

@worn solstice

worn solstice
worn solstice
#

Awesome, I use the Google theme customized but I am thinking to try this one

candid ridge
#

but card backgrounds etc is done with card-mod

#

to make them transparent

#

i currently put them in every card, but might change it down the line in the theme code itself

worn solstice
#

You can do it in the theme yaml so you don't have to add it for each cards

#

That's what I have done

#

You got it

candid ridge
#

yeah, ill do it later once i know what I want, but currently transparent works, I override it for lights when active and stuff

#

will also change the slider designs to be cleaner, just need to figure out if i wanna split them in two like now or just use the buttom of each row for it

worn solstice
#

It's a never-ending configuration. As soon as I see a new dashboard that I like better I change everything again

candid ridge
#

looks better than my test dashboard 🥲

#

But also wanna play around with multi pages for stuff like device info about computers/phones etc

worn solstice
#

Oh the 3d floor plan is on my list too

#

I got the software to create the house 3d images

candid ridge
#

yeah, but its bugged on my phone, wont display image. so need to figure that out

worn solstice
#

But I have a family And they want to see me every now and then 🤣

candid ridge
#

I'm gonna draw house in blender eventually

#

gonna sell the house in a year or two so wanna have a website setup for a 3d tour of the house haha

#

with address as domain and then all documentation listed there

worn solstice
#

Smart 😄

vapid field
#

Hello everyone,
Probably really easy but I could not find any recent topic how to set this up. I would like to put several temperature and humidity sensors in one card in Lovelace.
The sensor card does not let me add more than one sensor. Is there a way to accomplish this? I remember a long time ago (when I last used HA) there was a history function that could accomplish this. @candid ridge I just saw you have something like that in your frontend 🙂. Maybe you can help me?

Thank you all

candid ridge
#

But do u want to have both temp and humidity on one graph?

vapid field
#

No only different temperatures and different humidities respectively. No need to mix

candid ridge
golden mistBOT
#

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

candid ridge
#

here is the yaml I use

leaden island
#

How do I override the tap_acion that shows more info to take me to a device info page instead?

leaden island
#

There has to be a more elegant way then me stealing the url from another view

golden sky
#

Is there a way to get a combined count of open doors and garage doors? Not sure how to proceed since they're different domains.

pearl marsh
cinder stag
# cedar tapir Speaking of, I want to try to bypass completely Mitsubishi and keep everything l...

Yes, that stuff about building a local solution does look very interesting so please do keep me posted if you get something working. By the way, I noticed that your screen shots from your earlier posts were in French - does this mean that you're located in France? that's where I'm located (although I'm not French). I currently have one Mitsubishi Air/Air units with two more due shortly so it would be nice to end up with a good solution...

brisk canopy
#

Hey!
I have an input_number sensor, i would like to show the value of this sensor in the name on an lovelace card, does anyone know if and how this could be done?
Thanks

karmic tendon
brisk canopy
cedar tapir
karmic tendon
#

it is a huge thread and thus your question may get lost but still..this is where a lot of Apex interested people look at

brisk canopy
karmic tendon
meager vortex
#

Hey, noob question. I have a conditional card that is usually hidden unless some device is turned on.
I want a manual button that reveals the hidden card for, say, 20 seconds.
I made a timer helper of 20s, and made it (!=0) one of the conditions for the hidden card, but now I can't figure out for the life of me how to start said timer.

dark dirge
#

It's an integration with documentation

celest obsidian
#

Anyone have a minute to help me figure out how to get 'Overview' dashboard working again? Right now it's completely empty

#

I got the bright idea of creating a dashboard and starting with an empty dash. Added a single light, saved it and it worked. Removed it from the dash and saved again, then decided I wanted to switch back to the main dash from before I attempted to create one. It no longer exists :/

#

I thought 'Overview' was a system default dash that couldn't be modified or changed, so I'm not sure how I ended up erasing everything on it

#

I currently am using a temporary dash that I added without selecting an empty page. Managed to set it as default for my desktop and my phone, but any other device that tries to connect will get my blank 'overview' page

muted oasis
#

@celest obsidian do you have a saved backup you could go back to?

celest obsidian
#

I don't, unfortunately.

#

Is there a yaml somewhere that has all the current dashboard settings saved in it that I can copy/paste

#

I've been looking through all the config files on my HA setup and see nothing about dashboards yet

#

I did find the raw editing mode

#

Copied my working dash to the original overview dash

#

That seems to have worked, but I don't know if it will continue to add new items to the dash as I add them to my setup

#

I guess time will tell

sullen heron
#

so I'm using auto entities and I have some things show up multiple times. What can I do do remove the duplicates?

#

This all happened after I was trying out changing the "shown as" section

#

there is also another shelly entry way up the list shown ass offline/unavailable

celest obsidian
#

Was trying to use Home Assistant Cast from Nabu Casa to display my HA setup on a Nest Hub 2nd gen. Not going well. THe demo of it works, but when I attempt to connect it to my HA, I get nothing but the HA icon, a heart, and the NabuCasa icon.

mossy otter
#

I am trying to use media_player.select_source to change the source on my spotify/alexa media player. It isn't working at all. However, when I do it from the frontend it does seem to work. Is this calling a different service?

brisk canopy
supple bear
#

Does anyone use the custom banner-card frontend banner https://github.com/nervetattoo/banner-card#css-vars-for-theming

I have found the way to change the heading size, using the banner-card-heading-size css variable. It works on mobile chrome, PC chrome, HA web app but not when the HA Dashboard is cast to a device like a Nest Hub Max. Does anyone know why? Does casting not include the required css elements or something strange like that.

median nova
golden mistBOT
#

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

jaunty frost
#

Is it possible to find my existing dashboard as yaml and then build it frm there or do I have to start from "scratch" in yaml mode?

upper heath
#

hey
I would like to create a page for a user. The user should only be able to look at it, but should not be allowed to press on it.
In addition, only this page should be displayed to the user. I was able to hide all other dashboards, but he still has access to the energy dashboard, shopping list, media, logbook, history and the map. How can I revoke the user's permission?

leaden island
#

Anyone know where documentation is on the navigate tap_action? Trying to tap and go to a device view.

kind cliff
#

@jaunty frostIs it possible to find my existing dashboard as yaml and then build it frm there or do I have to start from "scratch" in yaml mode?
If you click the three dots in upper right or your current dashboard, select edit, then click the three dots in upper right again and select Raw Configuration Editor it will take you to your yaml.
Copy the whole thing, then create a new dashboard, repeat the three-dot process and paste.
I think!

#

@upper heathhe still has access to the energy dashboard, shopping list, media, logbook, history and the map.
Hmmm. I recently setup a tablet with a new dashboard and a new user. While logged in as that user, I selected the user profile at the bottom, then "Change the order and hide items from the sidebar" and was able to "X" everything except the dashboard including those you mentioned. The user will still be able to access the same sequence and re-enable them though. I'm thinking maybe have a look at Fully Kiosk? Hope that helps!

upper heath
#

I have managed to hide the sidebar and lock all unwanted pages, but remains the possibility to click the cards and access the search. In addition, the user can still view the pages again via its settings

kind cliff
#

@upper heath Did you click "D" at the bottom of the sidebar?
Select EDIT in "Change the order and hide items from the sidebar"
then click "X" beside each item to remove them from sidebar.
Once "X"'d they change to "+" and don't show in the sidebar after that...

kind cliff
#

@upper heath
I've not tried to do what you're trying to do, sorry...

lapis tundra
#

I am looking for the setting that logs users off after 5 minutes or so of activity, but I can't find it.
In case I am going about this wrong, here are the details. I use a tablet on a wall with Fully Kiosk Browser. It is an older tablet, and kinda slow. Whenever I walk in front of the tablet, it says at the bottom "reconnecting" After googling the best answer I could find was that HA is logging the user off. So I need to change this to turn it off, or set it to a crazy amount of time.

sullen heron
sullen heron
#

I have another problem though.

I have the "UI Lovelace Minimalist" and "Energy" Tabs stuck on my sidebar and cant find a way to remove them. How would I do that?

midnight island
#

Change the order and hide items from the sidebar

sullen heron
proud pollen
#

I'm currently doing a minimalist dashboard. Under the card type is a template option. Where can I find the fields to put there?

#
      - type: "custom:button-card"
        template:
          - card_room
          - green_no_state
        name: Hallway
        entity: sensor.hallway_temperature
        icon: mdi:door
        tap_action:
          action: navigate
          navigation_path: "lounge"
        variables:
          label_use_temperature: true
          label_use_brightness: false```
amber nacelle
#

I have installed the HACS addon, when I try to add an frontend repository I get the following info:

#

"After the download completes, since you are not using Lovelace in storage mode you need to manually add the resource with these settings"

#

Why do I want to have storage mode enabled or not. And how do I accomplice this?

faint vortex
#

Hey, is there anything I can use to make the font smaller here where it says "Operati.." so the entire text is displayed?

#

It's an entity card

blazing wren
median nova
worthy falcon
#

Does anyone know of a way to display something like this based on a text sensor in Lovelace?

#

I'm trying to emulate a specific display

#

Oled font?

#

I suppose I could use multiple images based on the value of the sensor....

worthy falcon
#

Ok, I found a font that works. How on earth do you load local TTF fonts for use in Lovelace?

glacial nexus
#

So I like the thermostat card aesthetically but it's pretty hard to use with a touchscreen - is there a way to add up and down buttons next to it?

#

or I guess it would be a lot easier if I could narrow the allowable temperature range?

calm plover
#

Hi all. How can I make the UI edited dashboards visible by GitHub so I can version control but still edit them trough the UI?

mystic timber
runic rune
#

Hi! I have a sensor that changes between attributes «Joke» to both «Setup» and «Delivery». How do I make this «If» to only be returned when Joke attribute has a value? What I have now, does not work. This is a custom button card btw. http://pastie.org/p/1LuyjTsmRkkNdjXsBTy1cQ

kind cliff
#

I added the code from default.yaml to raw config editor at the after, indented 2 spaces, saved and now I have:

lyric prairie
mystic timber
# kind cliff

Did you have to restart the whole HA or just empty the cache? just added that on top of everything in Raw Config and error still there (I did empty cache)

lyric prairie
# kind cliff

Minimalist is using dozens of nested templates. So to use a card you will need to add all nested templates from the repo

lyric prairie
# mystic timber I did

And you are using a yaml based dashboard which includes all button_card_templates? (Minimalist is not 'fully' compatible with GUI/raw-config editor due to limitations from the HA frontend)

kind cliff
#

I managed to get this far via UI/raw config mode:

mystic timber
#

That's something!

#

But do I have to restart the HA to see that? I did what you said

kind cliff
kind cliff
#

(and the other templates)

lyric prairie
kind cliff
#

So far I've added 583 lines of code under button_card_templates:

mystic timber
#

Can you send me all the templates you've added to top of the raw-config? It's not appearing to me

#

I can still see the error

kind cliff
#

500+ lines of code is too much to paste here. I'll msg you my email...

mystic timber
kind cliff
mystic timber
golden mistBOT
#

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

kind cliff
#

Me too!

mystic timber
#

That's odd.

kind cliff
#

I fear we are treading into the deep, dark unknown!
babruss did say "copy over all templates file***s ***into the raw-config editor. But that will be thousands lines of code."...

tacit cave
#

what's the problem? too much to read

lyric prairie
#

If you check the browser console you can read the error and see what templates are still missing

mystic timber
tacit cave
#

also, keep in mind that the documents on that page say that you need hold_action and you don't have it for any entity.

#

which ultimately could be the problem even though the documents don't have it in the example

lyric prairie
lyric prairie
#

Yeah, but you are still missing yellow_on, blue_on, green_on, red_off, pink_on based on the variables you have set

mystic timber
lyric prairie
#

No you can leave that out

---

It's just a YAML indicator for a new file

mystic timber
lyric prairie
mystic timber
lyric prairie
#

You have to put them all under this line:

button_card_templates:

Just like you did with the other templates

mystic timber
#

ok let's try that out

mystic timber
lyric prairie
#

Nice! All this hassle to make it work is exactly the reasons we don't recommend to use the raw-editor with Minimalist

mystic timber
kind cliff
lyric prairie
#

Because all dimensions are set by a fixed ratio height/width that's available, try putting in a vertical stack. That will make them bigger, as they can use the full screen width

kind cliff
mystic timber
lyric prairie
# kind cliff I also added `yellow_on`, `blue_on`, `green_on`, `red_off`, `pink_on` to mine an...

Depends what your goals and tools are for your dashboard. If you want a-lot of the same cards with only different entities and all different types of fronted plugins from HACS; YAML is definitely the way to go, as you will be able to use YAML anchors and !includes for most repetitive tasks.
If you want the convenience of the GUI with dynamic selectors and just a couple of minimalist cards that you want to manually update once in a while stay in GUI.

mystic timber
#

OK I managed to fix that, now it's in a normal size
The only thing I don't under is how I get rid off the 'off C' thing below the room name, I changed the

label_use_tempature: false

and it is still showing up.

#

OK got it, nevermind 😂

muted saffron
#

Hi to all... there is a place to share UI layouts (Dashboards)? I'm looking for some inspiration to make a refresh in mine...

worthy falcon
cinder stag
worthy falcon
timid mica
#

This issue come every time that login to my instance. The cards exist and it appears normally after i go edit dashboard and hit add card button. then i just simple cancelling and everything appears normally.
I don't really know if its from the card it self or the frontend. Sorry if not in the right channel.

worthy falcon
#

@brisk canopy you might try Plotly. I gave up on Apex charts bc it was way too buggy. I've never looked back. Hyper configurable. Rock solid.

brisk canopy
calm plover
#

Hi all. How can I make the UI edited dashboards visible by GitHub so I can version control but still edit them trough the UI? Is this possible?

tender pine
#

when z2m fails, the middle part of the GUI also fails. And this part has nothing to do with z2m. When z2m is restarted, the middle part also pops up again. any idea why ?

#

as you can see it's a clock and weather forecast

vast crane
wooden stream
#

Quick question, you know if it's possible to make a mushroom-chips-card only show if on or active, otherwise will be hidden?

compact hamlet
#

Is there a way when you add a card, for example entities one, where you could do a regex or a simple today match for all device and populate it?

tender pine
compact hamlet
#

I was able to use auto-entities lovelace plugin to help

wooden stream
#

It's just a small detail but would look lit lol

midnight island
heavy pawn
#

How can I change the color of the icon of a toggle (button)?

sullen oak
#

pretty chuffed with this - we live rural and have 3 water filters - so have designed a front end and some automations to indicate levels and remind me to change them

#

did 10 level designs

golden mistBOT
#

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

clear osprey
#

Hey @timid burrow , I have been working through deploying your Custom Animated Weather Card (fantastic job btw), and I seem to have come across strange behaviour. I have got everything working except for the animated icons with respect to the mostly sunny input from BOM Australia. Using bremor's Bureau of Meterology component, I get the inputs from the website, and the entities for sunny and shower work on the animated display, but for the days that show mostly_sunny, it just shows blank. Do you know what might be going on there?

mystic timber
#

Hi!
I'm trying to create a room card for my mobile dashboard, I have successfully managed (thanks to some of the #frontend-archived chat users) to add the room card and customize it for my needs.
The problem is the card is way too BIG on the mobile I want it to look like in the picture I attached to this message.
The card YAML:
http://pastie.org/p/1UswBxtYFGZFtLBbBhE9Ca
I have tried to play with some of the sizes within the code but I don't see any difference after saving and clearing cache in my browser;
Hope someone can help me with that, thank you!

leaden island
#

Anyone know where documentation is on the navigate tap_action? Trying to tap and go to a device view (or maybe its considered a subview?)

cobalt lichen
#

Hi, i have a template that returns a list. Is it possible to create some kind of cards based on that list? It's a list of entity_ids.

lyric prairie
mystic timber
cobalt lichen
# kind cliff Please post your template...
        {% for entity_id in states.group.thermostats.attributes.entity_id %}
          {% if state_attr(entity_id, 'current_temperature') < state_attr(entity_id, 'temperature') %}
            {{ entity_id }}
          {% endif%}
        {% endfor %}
kind cliff
#

Is that a templated sensor?

mystic timber
#

I think it has something to do with the code I posted few messages ago and not with the vertical/horiziontal card

lyric prairie
#

Just add a second room card in that horizontal stack

mystic timber
#

I did

#

look at the code

lyric prairie
#

In the code there is only one room card inside the horizontal stack

mystic timber
#

OK I forgot to click save appearntly, thank you!
Another question about those cards - the color of the icon should be changed compared to the state of the device which is not happening.

#

(i think it's called color of the icon)

lyric prairie
#

That's because the variables for those colors are only defined in the minimalist themes

mystic timber
#

Like this example. his light is on in the bedroom so the color of the icon bulb is yellow

#

So I need to change my theme in settings to minimalist theme to see that?

lyric prairie
#

That's one way to do it

mystic timber
#

Is it possible to use themes on a specific dashboard and not all of them?

lyric prairie
#

I guess so, but I was never able to make it work consistently

mystic timber
#

What are the other ways to change my theme?

lyric prairie
#

You could add the color variables to your existing theme

mystic timber
#

I already did that

#

in the raw config

lyric prairie
#

That were templates

mystic timber
#

Can I share with you my raw config so you can see?

lyric prairie
#

Color variables are not defined in the raw config, only in a themefile

mystic timber
#

So where do i define the color variables?

lyric prairie
#

just add these lines to your theme your are currently using

      google-red: "#F54436"
      google-green: "#01C852"
      google-yellow: "#FF9101"
      google-blue: "#3D5AFE"
      google-violet: "#661FFF"
      google-grey: "#BBBBBB"
      color-red: "245, 68, 54"
      color-green: "1, 200, 82"
      color-yellow: "255, 145, 1"
      color-blue: "61, 90, 254"
      color-purple: "102, 31, 255"
      color-grey: "187, 187, 187"
      color-pink: "233, 30, 99"
      color-theme: "51,51,51"
mystic timber
lyric prairie
#

Yeah, that's right just put it somewhere with the same indentation as all the other lines, reload themes from the dev-tools and you should be good to go

mystic timber
#

now I got another problem, it's not showing the colors of the off state devices

#

I mean, you can't see the icon of devices that has offline state

lyric prairie
#

I think it's because the color used in minimalist is in gray-scale with low opacity. So it is lost in the contrast of your theme

#

You could set another rgb-color to your liking for color-theme

mystic timber
#

and where do I change the opacity?

mystic timber
#

the higher the number in this line the higher opacity I will set?

cobalt lichen
mystic timber
#

and another question, for example, I have devices that not showing on/off state but I want them to appear in the card as on state
how can I do that?

mystic timber
errant birch
#

anyone able to assist me in setting up an apexchart card please ?
I'm not getting anywhere and i've been at it for a while now ... pls ping if available to help, txs !

sacred rampart
#

https://pastebin.com/vhtmD2u2

I created an apex chart with offset of 1 month, but the dates are wrong, it should show December 22 instead of Jan 23. How should I fix this?

midnight island
#

That's Jan '23 as in 2023 (the start of the month)

sacred rampart
#

I figured it out, Thanks.

raven lodge
#

Hello! I'm looking for some guidance with card_mod customization and DOM navigation for a particular card. Is there proper channel for that sort of thing?

dark dirge
#

this one, or the forum thread for card_mod

carmine field
#

I am trying to figure out how to keep the theme back end selected and have it default to the already existing dark mode.

raven lodge
dark dirge
errant coral
#

Hello, I have a question. Is there a card where you can click a button that shows you the entities of a room? Or can you display cards above each other?

#

I want to show different info (based on the button that was pressed above) in the left bottom corner

errant coral
#

No, a subview is a whole other page

#

I want to stay everything as it is, only change the info on the bottom

vast crane
#

Not sure. maybe conditional card, and clicking a button changes an input_select, and based on input_select the conditional card chooses what card to show. Don't think there's anything automatic, at least without getting custom cards.

errant coral
#

I get it. I have never seen the conditinal card before 😄

raven lodge
hollow perch
#

Anyone reporting this issue?
graph's are showing wrong timeline... new data going into 21xx.
If you click show history, it's correct... and binary sensors are fine.
Some sensors are fine... like DB size, and those from Frigate, other custom integrations... it might be just "core" sensors (because I don't know what else to call them)...

vast crane
#

I haven't seen that one reported on github issues.

mystic timber
regal idol
#

When clicking on a sensor in the dashboard, before the history graph would show the last ~24 hours. Now it suddenly goes back to May last year, even though I installed Home Assistant this month, so there isn't even any data. Because it's so zoomed out the graph is useless too. Any idea what could cause this or what I can do about it?

hollow perch
regal idol
#

Uh yeah exactly, but in the past

foggy flax
#

Is there a way to change the color of this?

#

cause i don't want it blue and yellow but rather red and greeen

lyric prairie
mystic timber
lyric prairie
#

It’s the contrast which can be changed either by trying to change the opacity or to a color that has a better contrast with your theme colors

mystic timber
#

You mean I should change the img_cell?

mystic timber
lyric prairie
#

color-white is not defined in the themefile, so it will result in no value 😅

mystic timber
golden mistBOT
#

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

blissful finch
blissful finch
#

I'm attempting to use this code I got for a washer/dryer status. I'm not interested in the cycles but I do want to have a timer displayed. My washer isn't as smart so I had the idea of using an energy monitoring plug that would trigger a timer to start when it starts to use power. This works great. However, now I'm attempting to display the time remaining on the timer in the card and instead of the time remaining I'm just seeing the "active" text. I believe I need to access one level deeper to get the time remaining but I cannot figure out the syntax for doing that. Could someone point me in the right direction?

golden mistBOT
#

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

open seal
#

Hi! I just updated from 2022 to 2023, and now my custom button card entities are black/white, instead of the original blue/yellow like in the original button card. Is there a way to make custom button card take the colors from the regular button cards?

vernal garnet
#

Hey Community, is there a way to size the image of a picture-entity card?

hidden needle
#

Hi, I just installed my first LED strip. May I ask for a good card to control all their options? It's a RGB+CCT controller

vapid field
stark dagger
#

Hello,
I'm trying to do a "temperature dashboard". I have a list of entities on the left, with a list of sensor built from templates (creating a sensor for the attribute of each climate device). I like the clean look, but can't find a way to open the "climate" settings when I click/tap on it (it shows the history graphic). On the right, I played with the mushroom:climate card. I like the easily accessible settings, but the current temperature is small and the "auto" label always make me think that maybe it's showing the target temperature, not the current one. If you have a way to present the temperature in the house that you like, or if you know how to make this better, I'd be grateful (I also hope I break no rule here)

wraith eagle
#

Don't know if anyone saw this - having a little trouble......

#

Has anyone has any success in getting this Card working with the London TfL HACS integration. I've followed the instructions to the letter - but get errors on my Dashboard.
Undefined is not an object (evaluating 'this.config')
Only on this card - the rest of the dashboard is fine.

#

It's the HASL Departure Lovelace card

wind coyote
#

I'm guessing card-mod could probably fix this?

polar kelp
wind coyote
#

Hrm. Might you have better ideas for this? Right now I'm thinking of making some kind of automation that uses an input_select entity to update these select entities, so that I may use a slider in the card to set the value instead of a dropdown.

blazing wren
#

Did you look at the select card?

wind coyote
#

That (seems to?) only work for input_select entities. These are select entities, configured as such by the integration.

blazing wren
#

It looks relatively easy to modify it to work for select entities too, it might be worth opening an issue 😉

vast crane
tidal remnant
#

hi all - is this the right room for dashboard questions?

#

Thanks!

tepid spear
#

Light card shows on/off state and brightness level around the icon, but for color temperature slider, one needs to click on three dots and then to see it in the info tab.

Is it possible somehow to move this slider out, to be on the card itself below brightness circle slider?

vast crane
tepid spear
#

I'm asking as the user. I checked some custom cards, but the default one is the most appealing to me. I just wanted to see if it possible to move the existing slider out of info tab, so I don't have to click on three dots every time

vast crane
tepid spear
#

Too bad.

#

And is it possible somehow to duplicate the look of default one as a custom card?

vast crane
#

I'm sure it must be possible, but I don't know if it is easy.

leaden island
#

How do I set a tap action to navigate to a device view?

#

As in, setting a tap action that take me here:

dark dirge
kind cliff
dark dirge
#

I just used this: /config/devices/device/379a9ec3969db71234e56217622457da and it brought me directly to the device I wanted

#

yours will obviously be different

leaden island
#

So I have to snag the url for all of them.. no system variable I can be using.

dark dirge
#

no

leaden island
#

Guess I need to find the string at the end of url

dark dirge
#

that's the device_id

#

but you can't use a template to grab that in a card

leaden island
#

Can I set/define device ID in yaml? I don't recall that being an option although I do set object and unique id

dark dirge
#

no

#

it's random

leaden island
#

Ok. So how did you grab it? Guess I need to sniff the link from webui?

dark dirge
#

no, from the location bar in the browser

#

or you can use a template

leaden island
#

Ok. So I can't find it from the app. Need to use the webui

#

Thanks

leaden island
#

Thanks!!

kind cliff
upper heath
#

Helloo
Yesterday i inmplemented remote access to my homeassistant via Domain

Since than, some backrounds of the cards are placed wrongly, how can i fix that?

tepid spear
kind cliff
#

Would be nice to get rid of the divider line but...

tepid spear
#

Yeah, definitely looks the best.

#

True, but it is what it is.

kind cliff
#

After 21 months with HA spending untold hours researching/developing/typing I find I'm never done!

rocky finch
#

hi together. I have a quick question about the developer settings and the Attributes from entities

golden mistBOT
#

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

rocky finch
#

how can i access only the entry "temperature: 5"

#

for a Entity Card oder Glance card

blazing wren
#

You want the attribute, so you need a card that supports that or a template sensor to show it

rocky finch
#

thx

mystic timber
#

hey there
I have successfully added the cards the way I wanted, but I still can't figure out how to change the black / barely invisible icons to white color?
http://pastie.org/p/3mSwspNjHB9GZfrHVFX2nD
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the optical to 1.0 (it was 0.2) but it is still not visible as I wanted it to be)

stark dagger
# stark dagger Hello, I'm trying to do a "temperature dashboard". I have a list of entities on...

Hello there,
I found the solution to my problem, so I thought I would share, in case it can be useful to someone else. I wanted to use the "entities" card to show temperature in each room, and get access to the climate settings when available when clicking on the entity. See below: the "T° entrée" is a climate (different icon), the other ones are sensors only.
edit: I have to repeat this in the dashboard for each climate entity, but at least it works.

- type: entities entities: - entity: climate.entree type: attribute attribute: temperature suffix: °C icon: mdi:home-thermometer-outline - entity: sensor.detecteur_toilette_bas_temperature
Next, finding how to add the Eve home temperature sensors that I have 🙂

runic bolt
#

are there cards that can show an icon (icon got the light color) AND a temp sensor on the top right or left? something like this?

#

lol i should have taken a view in this channel before i tried googling something i did not know how to call it for 2 hours

runic bolt
mystic timber
#

called room card search for that

#

took me atleast 4 days to install this "simple" card

runic bolt
#

uhm yea noticed that... ill pass. i just want the temp on the "button card" ^^;

#

i just remember why i stopped with the interface..

pallid bobcat
#

Morning all. Anyone awake for a quick question? The recent change to entity coloring has me confused and my front end is not looking the way I’d like any longer

pallid bobcat
kind cliff
# pallid bobcat Morning all. Anyone awake for a quick question? The recent change to entity col...

Well I'm probably not really awake anymore since I have not been to bed yet but...
Try having a look at https://github.com/Mariusthvdb/custom-ui
I think 😴 that is what enables me to do this:

in my customize.yaml

sensor.coffee_machine:
  templates:
    icon_color: >
      if (state == 'Off') return 'slategray';
      if (state == 'Brewing') return 'orangered'; 
      if (state == 'Finished' ) return '#a55f4f';
      if (state == 'Done') return '#a55f4f';
      if (state == 'Prepared') return 'lime';
      if (state == 'Ready') return 'lime';
      if (state == 'Not Ready') return '#FFBF00';

I also have this in configuration.yaml:

homeassistant:

  customize: !include customize.yaml

  customize_glob:
    sensor.*_battery:
      templates:
        icon_color: >
          if (state < 30) return 'red';
          if (state < 80) return 'yellow'; return 'green';

    binary_sensor.*_motion:
      templates:
        icon: 'if (state == "on") return "mdi:motion-sensor"; return "mdi:human-male";'
        icon_color: 'if (state == "on") return "yellow"; return "grey";'
    
    binary_sensor.*_occupancy:
      templates:
        icon: 'if (state == "on") return "mdi:motion-sensor"; return "mdi:human-male";'
        icon_color: 'if (state == "on") return "yellow"; return "grey";'
    
    light.pc_monitor:
      templates:
        icon: 'if (state == "on") return "hass:monitor"; return "hass:monitor-off";'
        icon_color: 'if (state == "on") return "blue"; return "grey";'
blazing wren
golden mistBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

opal jay
#

anyone know a way to get those updates in "fast" ? becouse iv got a list of 70 different update entities :p

blazing wren
#

Auto entities

opal jay
#

does it work with conditional aswell?

blazing wren
#

Yes, that's the point of it 😉

mystic timber
#

hey there
I have successfully added the cards the way I wanted, but I still can't figure out how to change the black / barely invisible icons to white color?
http://pastie.org/p/3mSwspNjHB9GZfrHVFX2nD
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the optical to 1.0 (it was 0.2) but it is still not visible as I wanted it to be

opal jay
#

and figured it out 🙂

opal jay
blazing wren
#

Using the group.set service call you can create groups from templates in an automation

opal jay
#

could you give me an example ? :S

opal jay
#

mm cant seem to figure out what template to use to show all entities within domain.update

#

found a blueprint 😄

kind cliff
#

@blazing wren my edits have been to fix typos I notice after the fact or to add additional info that I've remembered and before the channel has "moved on", and has not been to get around "a post size limit". I've spent a lot of time this past week "giving back" my knowledge and for the most part have helped quite a few people. I might be too wordy in my responses but I feel that is better than being terse and unclear. Maybe I should just completely withdraw myself from discord...

blazing wren
kind cliff
#

@blazing wren
I've posted quite a few code pieces that were converted so they are shorter but expandable. I did notice that one was completely open. Thanks for clarifying. I'll be more cognizant of that in future... 😊

blazing wren
#

It's better to just post the code straight to Pastie or similar that relying on the bot, the text file is really hard to read on mobile

kind cliff
#

OK, thanks!

midnight island
#

Also worth noting that on mobile (at least Android), if the message gets converted to a file, you have to download a text file to the phone and read it in another app

blazing wren
#

I can at least tap on "view" in the browser on iOS, but it's just text. So if you added backticks and a language to your code formatting you don't see any of that

calm plover
#

Hi, I'm using a combination of decluttering card and layout card. One of the variables I have for decluttering card is the grid-area so that I can position the templated cards in a grid. However, it seems that the grid layout is ignoring the grid-area. Is this a known issue? Does anyone know how to solve it? solved, don't do this, simply add view-layout's

amber jewel
#

how do i restrict a dashboard to admin only? I tried this and it didn't work heh - theme: Backend-selected require_admin: true title: Testing

#

nvm found it in manage dashboards

dark dirge
#

it looks like you have a bit of a mish-mash

#

ok

calm plover
#

Yo

hazy dragon
#

Why do registry files of home assistant takes time to update and how can we reduce that?

golden mistBOT
#

@hazy dragon Please do not cross post. Read the channel description, post it and wait for folks to respond. Crossposting wastes people's time as they're unaware of the help you're getting elsewhere.

If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.

unique scroll
#

is there a way to define the area to which an entity will belong to and do it as early as at entity creation ?

#

or is it it deemed to UI config only ?

shut ibex
#

hi, i added my lights and switches in z2m and i can control them there but i dont see it in my dashboard.

vocal kiln
#

does anyone have a good way to show the next event happening across a number of different calendars and the time until said event?

unique scroll
#

check the attributes for the calendar in dev tools if you can use something

sly frigate
#

Is there a way I can get statistical data between specific times?
Use case: have a power monitoring plug that I use to measure different devices using the same plug, so I wanted to find out min/max/mean values between fixed time periods. Is there some kind of way to report this? I can use the data graph, but I wanted those 3 values of specific time. Stats dashboard card doesn't seem to allow me to filter between specific times, only relate full dates

sly frigate
#

Aha you can use statistics card with fixed period and you can specify time via it

period:
  fixed_period:
    start: 2023-01-12T19:20:00.000Z
    end: 2023-01-13T20:25:00.000Z
hot summit
#

Why would two very similar sensors (both measuring temperature in the same room), produce two quite different sparkline charts when using the sensor card?

vast crane
#

I find that card somewhat dubious, it's given me bogus graphs in the past.

#

Suggest file an issue on github /frontend/ if it concerns you.

mortal ravine
#

Hello, I have a problem with a cover entity card. The current position of the rollershutter is 0%, which in my case means that that its fully opened.

#

If I change the rollershutter position to 100% it shows the following slider

#

I want the slider to be 0% when the position is 0% and "closed" or 100% if the position is 100%. Am I doing something incorrect? My entity config looks like this

mqtt:
  cover:
    - name: "Livingroom rollershutter"
      command_topic: "home/controls/rollershutter"
      state_topic: "home/values/rollershutter"
      position_topic: "home/values/rollershutter"
      set_position_topic: "home/values/rollershutter"
      payload_open: 0
      payload_close: 100
      payload_stop: "STOP"
      position_open: 0
      position_closed: 100
      value_template: "{{ value }}"
mortal ravine
#

@polar kelp

polar kelp
deep cairn
#

when I set the tap action of a tile, can I set it to perform multiple actions (similar to in an automation)?

polar kelp
#

You can set it to run a script.

deep cairn
#

hrmm... maybe another time. I'll pocket that idea though. 🙂

#

(I've done too much learning already today... time to relax) haha

blazing wren
#

A script is just a series of actions, so don't put it in the "difficult" pile 🙂

#

If you figured out how to make one action happen, you'll figure out scripts pretty quickly

deep cairn
#

not so much difficult... just... not wanting to learn the script part at the moment.

#

I am slowly tackling the various parts of HA. Today I learned how to play spotify on Sonos speakers...

#

and some template sensor stuff

#

maybe tomorrow will be scripts. 🙂

golden mistBOT
#

Open your Home Assistant instance and show your scripts

blazing wren
#

It's all there in the UI, and the #automations-archived channel can help you if you get stuck with them 🙂

deep cairn
#

what I'd like is:

  • each room will have a dashboard
  • on this dashboard will be a few cards (each card is a spotify playlist)
  • clicking on the card, will start a playlist on the speaker in that room (and... also turn on shuffle)
#

When you say scripts... are you referring to the automations?

#

or... are automations and scripts different?

blazing wren
#

Automations are a trigger, optionally condition(s), and then a series of actions

#

Scripts are just the "series of actions" part

deep cairn
#

ok... so... I don't actually have to write script language?

#

maybe... I can learn this today.

#

Thanks! think I got it. 🙂

#

the name "script" makes it sound way more scary than it is.

deep cairn
#

If I want to add an image to my dashboard... how to I get the image to HA?

#

I created /config/www and restarted
but, I can't access the image

polar kelp
#

/config/www/image.jpg translates to /local/image.jpg.

deep cairn
#

yeah... I think I just mistyped my filename. 😅

#

got it, thanks!

#

any way to make the image smaller? seems to size the card to the same size regardless the image size

polar kelp
#

The width of the card is pretty much fixed. Then the hight depends on the aspect ratio of the file.

deep cairn
#

ok, I'll see what I can do. 🙂 thanks

#

I think if I put them in a grid... that'll force them to shrink and look better.

polar kelp
#

In integer steps

blazing wren
deep cairn
#

I got a script working, and am able to run it from my dashboard. I even figured out how to load images for use on dashboard cards. woo!

#

Thanks for the encouragement. 🙂

blazing wren
#

I'm glad you gave it a try!

#

If you're trying something that seems scary, just do a backup first and download it—then you can always just put everything back exactly as it was before you broke it 😄

deep cairn
#

true

dusky jackal
#

when using card-mod to add background image to a card how do you resize the image so it fits?

dusky jackal
#

like this background-size: cover;

ocean tundra
#

Im using vertical and horizontal stack cards but I cannot seem to make them visually seperate from each other. How do I create a border or shadow behind each vertical stack card?

atomic glacier
#

@dusky jackal I think this...

  style: |
    ha-card {
      background: center / cover no-repeat url("/local/images-lovelace/backgroundz/blackSteel40197.jpg");
dusky jackal
mystic timber
#

hey there
I have successfully added the cards the way I wanted, but I still can't figure out how to change the black / barely invisible icons to white color?
http://pastie.org/p/35vNhxZRmeAAO8wqJLpmL0
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the optical to 1.0 (it was 0.2) but it is still not visible as I wanted it to be

timber saffron
#

Is there any trick that when you have edited th fronend with the yaml the code stays how you have formatted it

      title: Lampen aan
      content:
        type: markdown
        content: >-
          - **Woonkamer**  {% set woonkamer = namespace(entities=[]) %}  {%
          if states('light.voorraam_woonkamer_kleine_raam') == 'on' %}
              {% set woonkamer.entities = woonkamer.entities + ['\t- ' + state_attr('light.voorraam_woonkamer_kleine_raam', 'friendly_name')] %}
          {% endif %}  {% if states('light.voorraam_woonkamer_grote_raam')
shut ibex
#

can i ask if anyone has issues with mushroom? i installed it but do not see the custom cards in the dashboard

blazing wren
#

Did you install the theme or the cards? And did you clear your cache (hard refresh) afterwards?

shut ibex
#

yes

#

i cleared cache

#

then reloaded

#

i uninstalled an reinstalled

#

just noticed it said i am not using lovelace in storage mode

blazing wren
#

Make sure you installed the cards, the theme alone doesn't include them.

shut ibex
#

installed the cards

red lark
#

hey, any tips on getting this card

#

to look like this

#

on a dashboard

#

maybe i should just use a chip

blazing wren
#

It's a custom card

red lark
#

Thank you - sorted

tidal plank
#

is there a way to have a max-width for ALL views/dashboards?

red lark
#

what is wring with this? ```card:
type: markdown
content: '{{states(''sensor.low_battery_devices', 'calendar.family'')}}'
title: Low Batteries

#

ohh i don't want the state of the calender

#

hummm

blazing wren
#

You aren't escaping quotes in the middle either

#

content: '{{states(''sensor.low_battery_devices'')}}'

red lark
#

whats it trying to tell me...

midnight island
#

You didn't close out your if statement or your for loop

red lark
#

can you guide me? sorry.

#
          {% if state.attributes.message %}
            Message: {{ state.attributes.message }}
            Start Time: {{ state.attributes.start_time }}
            End Time: {{ state.attributes.end_time }}
            Description: {{ state.attributes.description }}```
midnight island
#
  {% endif %}
{% endfor %}
red lark
#

just at the end?

#

ok get KeyError: now ..

blazing wren
#

Well you're using .attributes which is not recommended.

#

Try state_attr(state, 'end_time'). But also I really recommend not using the name state, it's confusing. Call it event or something appropriate 😉

red lark
#

thank you, i tried a few versions but i think i need t stop now.. il come back to it tomorrow

green raft
#

Anyone know if it's possible to change the factor of a unit's display with Mushroom Chips without needing to create new helper sensors?

#

I.e. W -> kW.

mystic timber
#

yo
hey there
I can't figure out how to change the black icons to white color?
http://pastie.org/p/4G1L27gjdO07qFIyjoNJKj
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the opacity to 1.0 (it was 0.2) but it is still not visible to the user.

green raft
#

Would be the expansion of the --color-theme variable. It's likely that dark grey. Try changing to --color-white as you have in the other part of the config.

mystic timber
green raft
#

Out of curiosity, what's the main card you're using there? It's pretty clean.

mystic timber
#

room card it is called

#

took me like 4 days to build it tho'

green raft
#

This is mine currently. It's fine, but I would like a bit more flexibility.

mystic timber
#

clean and colorful!

#

I would use the same but try to implement the room card buttons so you can do more within this dashboard without going into the room card itself

green raft
#

The room tabs themselves are pretty simplistic, so I don't mind having to navigate in. Not using the built in HA room cards, have built my own.

green raft
#

Anyone know if it's possible to move the nav bar permanently to the bottom of the UI? I know there's a CC for it. Found the kiosk mode CC 🙂

wide oriole
#

How can I display all zone entities on my map?

green raft
#

Are there any custom components that do a good job of handling scenes? Auto-populating drop down lists, or auto-tiling icons and the like? Seems like scenes are still pretty clunky in HA.

crude lotus
#

Anyone knows why this is giving me this error

#

The same tap_action with a normal button works fine.

tidal plank
#

is there a way to have a max-width for ALL views/dashboards?

#

card-mod, layout-card etc is installed, but i can't find a way to put all views a bit more narrow and not full-width 🤔

muted inlet
charred nebula
#

I am trying to get the second row to change the select.mode to another value, is there a way to do this in the YAML

#

so for example someone clicks the cake, it will set selector.mode = "Cake

dark dirge
#

might still be the case for custom cards

slate oriole
charred nebula
#

does anyone know how to break a dropdown selector into icons?

blazing wren
#

As in buttons? You can add buttons to select a particular option from an (input) select.

#

But I suspect you don't want that one.

charred nebula
#

I did it with the custom chips

#

instead of indevicual buttons now just to see if I can make the icon green now

#

🙂

#

This works, but no color on the icons

charred nebula
#

is there anyway to change the chips icon color based on it value

green raft
#

If you use the "Template" chip type, then you can use templating in all the fields I believe.

green raft
#

The Mushroom Conditional stuff is so damn good. Kinda want it as a top level card which would work similar to the state-switch card, but with an actual UI. scratch that, it IS a top level card that Mushroom is just re-implementing for the chips. I'm a dolt, but a happy dolt! -_-

pseudo onyx
#

I know the issue is related to themes, I would like to use default theme "dark" but removing the divider/border. Do you know if is possible to edit "default" theme? If so how? Otherwise what would be recommended solution ?

green raft
#

Download the "Mushroom" theme pack on HACS and change to Mushroom Shadow.