#frontend-archived

1 messages · Page 199 of 1

errant plover
#

No, you only have tap and hold actions available.

quaint snow
#

so i guess if I wanted to say, toggle two switches I should just make a group then for that particular action

errant plover
quaint snow
#

thanks mate

marsh wadi
#

@errant plover - its just as complicated as learning HA 🙂 Cannot find a direct example

radiant magnet
#

Hello! Is it possible to set whether an icon is lit up or not depending on the state of the entity?

karmic tiger
#

Please take the time to search to see if other people have asked similar questions. In this case, it was literally still on screen.

errant plover
radiant magnet
#

How do integrations do it by themselves? I've created an AmbientLighting pyscript module that tracks 'on' and 'off' as its state, wondering if it's possible for Lovelace to infer the highlighted state directly from the entity

#

For instance if I add an automation to a glance card then it'll be highlighted when it's on and not when it's off

errant plover
radiant magnet
#

Beautiful! Everything else is an attribute

errant plover
#

Use sort method state, not name.

tranquil kite
radiant magnet
#

On the plus side, my ambient lighting is working great. It can estimate how much lux is being provided by the lights in the room, estimate the ambient lighting, and set the light brightness to the required level

errant plover
#

It should work for any entity with a binary state. Not sure about binary attributes. Stand by will do a test...

karmic tiger
#

I don't think attributes are considered binary or otherwise. It's just the state of anything where the domain is binary sensor that cares.

radiant magnet
#

So it has to be able to know if the state is binary. pyscript entities could have any state

#

I think, probably, my best bet is to create a switch entity with the pyscript module that ties in to the state of the pyscript entity

karmic tiger
#

card-mod might be better here then, since you can provide templates to check.

radiant magnet
#

I'd rather have something that has as few dependencies as possible

marsh wadi
radiant magnet
#

pyscript can't create switches 😦

near iron
#

There seems to be a bug where list items for device nor entity are selectable for scenes 😦 I posted in iOS but was told this is the better place to mention it.

heavy warren
#

If I want to convert my unifi controllers RX/TX output from KiB/s to MB/s can I do the conversion directly in the card or do I need to write a template first?

copper yoke
#

why does my HA keeps adding a card with an entity on my dashboard every time i restart the server. (Its a Sonoff Switch(EWelink smart home plugin)

vocal laurel
#

hey , which channel do i ask? my home assistant just stopped working for no reason and wont startup again

wooden carbon
wooden carbon
wooden carbon
worthy tapir
#

@vocal laurel hey have you checked the logs yet? Do you have a supervisor tab on the sidebar to the left of the screen?

spare loom
#

Hello, does anyone know how I can make a card that will show me what automations are currently running?

split granite
spare loom
#

I tried that, it shows me which automations are active or not, I want to know what automations are currently actually doing something and not just in standby

split granite
#

You could move all the actions to scripts

spare loom
#

I'm afraid I'll break something, if I try that

#

Different question. Is there a way to show the attributes of an entity, directly on Lovelace?

#

I'm using the meteoalarm integration and that only shows the useful information under the attributes section. I'd like to be able to see that information directly in the dashboard

sudden stone
#

Hello everyone, I combined the ESPHOME and SGP40 VOC sensors to connect to HASSIO. But the historical image of VOC is the same as the switch, it is not a line graph. Is there a way to modify it.

errant plover
#

The same as what switch? If you mean a boolean graph like this, then you have to give your VOC sensor a unit_of_measurement in ESPHome.

#

Also it has not been called Hassio for 19 months. Please stop calling it that. It confuses newcomers. It is Home Assistant OS, or HasOS for short.

sudden stone
#

Yes, VOC is the image of your picture by default. I want to change it to a line graph.Need to add a unit_of_measurement? Let me try.And... OK, HasOS marked.thank you very much.

proven sphinx
#

Hi guys - having an issue with my card data going down multiple rows - sorry I don't know how to share an image..!

#

but what im seeing is the icons on top of the entity name on left and then on right the entity value is lower

kind shellBOT
#

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

Image posting is blocked in most channels to discourage people from sharing text as images.

proven sphinx
#

Ah, found it! custom declutter card js had failed me

#

sometimes it loads fine on Ctrl+F5 and then it breaks again

#

tried full cache clear

karmic tiger
#

Same issue on other browsers and/or devices?

proven sphinx
#

Yes, tried Chrome, Edge + Android app

karmic tiger
#

Then I'd suggest checking the issues on the custom card's GitHub page. If there's not already one, raise one.

proven sphinx
#

Most my cards are standard entity cards

karmic tiger
#

So it's not the declutter card?

proven sphinx
#

No sorry for the confusion there, i removed the declutter and refreshed and thought that had fixed it but it hadnt. The issue is from what i can see, standard entity cards

karmic tiger
#

What other custom cards or frontend integrations do you have installed?

kind shellBOT
karmic tiger
#

That's... a lot of things that could be interfering.

#

Are they all up to date? If so, try removing one at a time until the problem goes away. I'd start with stuff like card mod or layout card that interfere with other cards.

proven sphinx
#

Thanks, I'll give that a go 🙂

fiery ledge
#

this seems to be suboptimal ``` - type: gauge
entity: sensor.watermeter_wifi_rssi

unit: dB

min: -20
max: -95
severity:
  green: -67
  yellow: -70
  red: -95``` and the gauge is always fully colored, no matter the state of the sensor. What should I change? (I have a bad reception at that spot, so need real low levels.
karmic tiger
#

Fully coloured in what colour?

fiery ledge
#

the color corresponding to the severity. Ive switched the min/max values, and that seems better, but not sure with the negative values what the optimal config would be

karmic tiger
#

and the gauge is always fully colored,

#

In what colour?

fiery ledge
#

like this:``` - type: gauge
entity: sensor.watermeter_wifi_rssi

unit: dB

min: -95
max: -20
severity:
  green: -67
  yellow: -70
  red: -95```
karmic tiger
#

Yes, I know what the config should look like.

fiery ledge
#

as said, in the first config, the gauge would completely turn to the severity color, instead of showing only a relative portion of the gauge in that color

karmic tiger
#

Are you seeing it in red, yellow or green?

fiery ledge
#

yes

karmic tiger
#

Right. Have fun.

fiery ledge
#

pardon me? have I said something wrong to annoy you?

covert axle
#

Hi! I want to intergrate a scoreboard on my screen for billiards, I've tried a webpage but thath doesn't work very well. Is it possible to install a android app or something and intergrate this into home assistant?

fiery ledge
#

I see the full gauge turn green when lower than the severity setting, same for yellow and red.

karmic tiger
covert axle
karmic tiger
#

is it possible to set it full screen
Sure... just open it in a new tab.

#

Embedding something within Lovelace (the HA UI) only makes sense if you want the embedded thing to be a part of your UI. If you want that thing to be fullscreen, there's no point embedding it.

covert axle
polar kelp
#

@fiery ledge You're running the beta, right? Do you know if this is a problem in 21.7?

broken marsh
#

Is there a recent change that sets date to the format 2021 M07 26 16:00 or have I done something weird? 🙂

karmic tiger
#

The latter

broken marsh
#

For instance in the logbook. It's like that in both Chrome and app

polar kelp
#

Marius: The expected behavior of the bar of the gauge is to be a solid color. But try adding needle: true to the configuration if you're on beta.

#

Expected:

#

Beta feature:

fiery ledge
polar kelp
#

The name or the value?

karmic tiger
#

If these are issues you're seeing in the beta, take this to #beta (where it belongs).

broken marsh
#

Can I change the date format 2021 M07 26 16:00? I only see a time setting for 24hr or pm/am.

karmic tiger
#

If I had to guess, I'd say it's your machine's/browser's locale settings causing that.

broken marsh
#

HAOS through VM in Windows 10. So then it's not the Windows 10 settings, right?

karmic tiger
#

It'll be the settings of whatever machine/browser you're viewing it on, not running it on.

broken marsh
#

But even in the Android app it says 2021 M08 1 when I click on a lock sensor and look at the history

#

Then underneath it says Locked 18:11:25

polar kelp
#

That's a realy weird date format too... never heard of anything like it.

broken marsh
#

I think it's been like this for a month

#

Maybe more

polar kelp
#

Is that bokmål?

karmic tiger
#

Bless you

broken marsh
#

Changes to 1 August 2021, 19:00 if I change language to English (GB)

karmic tiger
#

What was it set to before?

broken marsh
#

Norsk Bokmål

karmic tiger
#

In HA?

broken marsh
#

Yep

#

It's like that for Norsk Bokmål and Norsk Nynorsk

karmic tiger
#

But you guys use a normal date format, right?

broken marsh
#

Yeah. 🙂 Bottom right corner in windows I have 21:44 01.08.2021

karmic tiger
#

Remind me where I set the language, I'll try the same thing.

broken marsh
#

Practical joke from one of my countrymen perhaps

polar kelp
#

Looks to me like someone somehow messed up the formating string from like yyyy MMM dd to yyyy Mmm dd...

broken marsh
#

In profile settings

polar kelp
#

What's your HA version? I can't reproduce on 21.7.4

karmic tiger
#

Looks ok on 2021.6.6

broken marsh
#

Same. 2021.7.4

karmic tiger
broken marsh
#

Since it's also in the Android app it doesn't seem like a browser issue to me

karmic tiger
#

You've proven it's not by changing your user prefs.

broken marsh
karmic tiger
#

I think thomas is right. There's probably a mistake somewhere in the date template being used somewhere. Where that mistake is, I have no idea.

#

Just use a normal language for now, like English or Spanish.

lone anvil
#

Has anyone in here used a button to track an event like taking a dog out?

#

I'm looking for ideas on different ways to do this.

karmic tiger
#

Depending on what you're trying to track and what you want to do with that information, you'll probably want scripts/automations.

lone anvil
#

My dog is old and she needs to go out every hour. But GF and I are exhausted/sleep deprived and can't remember the last time we took her out. So I just want a button at the door we can tap when we come back in that records a time i can display on the front end.

broken marsh
#

Bluetooth tag on the dog 🙂

lone anvil
#

She's tiny.

#

Used to be 5lbs, down to 4.1lbs.

karmic tiger
#

I'd start with something simple like:

  • input datetime (to hold the time), add this to your dashboard
  • button, press this to record a walk
  • script (run from the button) to set the input datetime to the current time
lone anvil
#

Then I need a reader and a bunch of other stuff.

karmic tiger
#

Not related to HA but if you're letting the dog out hourly to pee, have you considered a litter box for it instead? They're not just for cats 😄

lone anvil
#

That gives me something to google. Thanks.

#

Well, she's 17 and aside from mobility issues she has extreme difficulty seeing now.

#

That's not an entirely bad idea though.

karmic tiger
#

Anything that means you get a good night's sleep is worth trying.

#

At 17, I take it teaching the dog to open the door for itself is out of the question.

lone anvil
#

Well, because she is deaf, and mostly blind, she barks at full volume if she needs anything.

#

So sleep is out of the question.

#

You can't believe how loud she is. I checked my apple watch using the dB meter and it says long term exposure will cause me to go deaf..

#

She used to use the dog door, but she has a hard time figuring out where she is now. If you've ever seen a Roomba navigate a room, that's what she does. She walks in progressively bigger circles until she finds the water.

#

The input datetime is probably want I want. I can probably ping that from node-red and be on my way.

lone anvil
#

If I'm trying to create a button, how do I get the current date time in the front end?

#

I tried this based on the help page:

#
  • type: button
    name: Reset Time
    icon: mdi:calendar
    entity: input_datetime.paisleypotty
    tap_action:
    action: call-service
    service: input_datetime.set_datetime
    service_data:
    datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
    target:
    entity_id: input_datetime.paisleypotty
    icon_height: 40px
#

But no go.

karmic tiger
#

You can't use templates like that in the frontend. Jinja is used by the backend. This is where you'd use the script I mentioned (so that the logic is handled on the backend). Help with scripts can be found in #automations-archived but you have the right idea.

lone anvil
#

So use a script and call the script.

#

That worked a treat, thank you.

karmic tiger
#

An added bonus of doing it in multiple steps with the script is that you could have something else call that same script in the future (some automation based on sensors or whatever).

#

Same end result - time gets updated in your UI.

lone anvil
#

Is there a way to display the seconds on that datetime object?

#

Only seems to want to show date, h:m

#

In the Lovelace UI.

karmic tiger
#

I'm not sure. I'll leave that one to someone else

brittle gust
karmic tiger
#

Looks like maybe a custom button-card with a graph card embedded within

brittle gust
#

looking for something a little better than the sensor card to show power usage historicals preferably as a line graph with some other info sprinkled around

#

basically that ^ 😛

barren ruin
#

Yoyo folks, is anyone here using custom component called color-lite-card? it's for floor plan mainly in picture element card

#

i can't have it working as error pops up custom component doesn't exist. I've added the .js file to /www/js/ and in resources url is /local/js/color-lite-card.js and type module

fiery ledge
#

have a theme (Darkblue) which turns the 'red' (noticed because it is used in a gauge card) in to the primary color of the theme. seems to be done by this in the theme:label-badge-red: var(--accent-color)

#

is a hard coded colorname in a config still translated back to that?

#

none of the other colors do that btw

proud osprey
#

Hi there, I am a fairly novice user, so forgive me if I've just not found quite the right solution...

I have four heating zones controlled by climate entities. My provider doesn't have a 'boost' function so I created a script that I pick up in the Node Red integration to create this functionality.

In my yaml for the script I defined three variables, one for the entity, one for the temp and one for the duration. I created default values and made them required. This works great in the Developer tools page - I get nice sliders for the numerical variables and dropdowns for the entity variable.

What I can't find, is how to actually present this to a normal user. I want to put a card in Lovelace where the user can pick the values like in the Developer Tools and click 'Run Now'.

The closest I have found to do this is to create four helpers, one for each variable and an extra input_select with the friendly name of each thermostat for the user to pick and then an automation to update the input text every time a different value is picked. I then have to have a 'wrapper' script that I call that looks up these values and then calls the 'real' script passing these variables. This feels very cumbersome and, unlike the built in method in Developer Tools, won't expand if I added more climate zones.

Am I just missing a trick here?

keen zealot
#

Is there a way to check a bunch of devices and add them to an area? I've been having to assign area by clickign into each device individually

dark dirge
#

Areas are pretty simple at this point, and not terribly useful. I think what you're doing is the only way

ember vessel
#

Humm i installed the beta... but not energy option in sidebar

dark dirge
#

if you don't have default_config: in configuration.yaml, then you need to add energy:

keen zealot
dark dirge
#

in an entities card, you can either add them manually or use something like auto-entities. The latter can pull all entities from a group (more useful than an area), an area, or based on a bunch of other criteria

last heron
#

media player card question. if i pause/stop music after about 5 minutes to card stops working and i have to go reselect the source before it will come back up. is there a way to have it keep the source?

#

pretty much it goes idle and i cant do anything until i reselect the source speakers...

#

is there a way to keep the media player card from going idle?

dawn viper
#

Hey guys! I'm working on a 3D Floorplan for my Lovelace dashboard and because I'm using a counter that's either 0 or 1 to track the state of a lamp that sends no "status" back to Home Assistant whether it's turned on or off, I wanted to modify the function in the CSS code which toggles the displayed image (checks light state -> shows picture of light on (or off)). But how can I implement my counter into this:

opacity: >-
${states['light.lamp1'].state === 'on' ?
(states['light.lamp1'].attributes.brightness / 255)
: '0'}

PS: light.lamp1 is just another light which I'm using this code for (WLED lamp) and I wondered if it would be possible to modify this snippet of code
I've had something like counter.mycounter.state == 1 in my mind but this won't work

#

I don't need the brightness attribute, just the "on/off" part

errant egret
#

Hi Guys,
Newbie here
I have an issue if anyone can help me.
setup: eWelink Smart Home integration with 3 Sonoff wifi switches

Whenever HA is restarted , i can see a ewilink card in my main dashboard readded automatically, so I keep removing it manually.
This happens in any way i restart my HA ( manual or via automation)

Is there any way i can stop this from happening ! if someone have seen this and solved it before please help me here

broken marsh
#

Is it possible to subtract from default_config? If I want to use default_config but remove a couple I don't need. Listing everything I want would prevent new stuff (like energy) magically appearing after an update. 🙂

errant plover
polar kelp
dawn viper
dawn viper
polar kelp
#

And the value template

#

Nb. This goes in the Backend configuration i.e. configuration.yaml

dawn viper
#

One entity (as seen in the imgur screenshot) for "pressing" the on button with the optocoupler and one for pressing "off"

lavish elbow
#

Hello! Is it possible to remove some items, like Logs, Map from the frontend sidebar for non-administrator users?

#

i mean, maybe disable it for per user?

dawn viper
polar kelp
#

Isn’t that your counter?

broken marsh
#

Can I make the date picker start on Monday instead of Sunday (as the first day of the week)?

polar kelp
#

I think that’s based on your browsers localization settings. Or you could try setting your language to English UK instead of English, maybe?

broken marsh
#

Doesn't seem to make a difference

dawn viper
#

Can I use something like this: {{ state_attr('counter.mycounter')|int > 0 }}

polar kelp
#

Should work

fresh sinew
#

HI

#

sorry if I'm in the Wrong Channel but, is any way to start the frontend from a fresh install of hassio OS???

dawn viper
polar kelp
#

try wandleuchten: instead of Wandleuchten:

dawn viper
#

oh! such a simple fix! Thank you 🙂

#

When clicking a light card in lovelace with the new entity, I get this error: Fehler beim Aufrufen des Diensts light/turn_on. Unable to find service switch.wandleuchte_on
EDIT: this version with a specified target seems to work.

#

`light:

  • platform: template
    lights:
    wandleuchten:
    friendly_name: "Wandleuchten"
    value_template: "{{ state_attr('counter.wand_counter')|int > 0 }}"
    turn_on:
    service: switch.toggle
    target:
    entity_id: switch.wandleuchte_on
    turn_off:
    service: switch.toggle
    target:
    entity_id: switch.wandleuchte_off
    `
dawn viper
#

@polar kelp But the on off switch in the light card in lovelace turns itself off after a second

karmic tiger
#

It'll turn back off in the UI if the value of {{ state_attr('counter.wand_counter')|int > 0 }} is false.

sleek notch
#

Hi Guys,

Sorry for asking stupid questions, but I'm getting completely lost in this. I've been using Home Assistant now for a couple of years, and want to make it the main GUI for all domotica I have in my house (almost everything is connected, I have over 30 apps for controlling my home... 😉 ).

So it's the first time I really start tinkering with LoveLace instead of just dumping whatever button / histogram I need and leave it there.

For my Energy consumption I would like to create, what I think is a basic overview, just displaying some sensor info and doing some basic caculations with sensor values of which the results need to be displayed.

But I can't find a simple way of doing this, without starting to learn and write Javascript?

karmic tiger
#

Energy sensors, you say? I think you should listen out for the next release.

karmic tiger
#

What is the value of that template?

#

I'm not interested in watching a recording.

sleek notch
#

@karmic tiger That is exactly what I was looking for

dawn viper
karmic tiger
#

First of all, stop tagging me on every damned response.

#

Secondly... templates evaluate their inputs into a value. Go check the value (in Dev Tools > Templates)

dawn viper
#

It's discords answer function, sorry.... 🤷‍♂️

karmic tiger
#

And it can be turned off...

#

It's okay, I'll turn it off remotely for you, one sec...

dawn viper
#

I created an automation which increases the counter to 1 and then toggles the switch entity (on). The other automation resets the counter to 0 and toggles the switch-off entity

kind shellBOT
polar kelp
sleek notch
#

Apparently not trivial for rest sensors

sleek notch
#

Maybe not the right place to ask, but is there any way to get a Rest sensor in the energy tab?

astral ice
#

Odd question: How do I set space between columns?

#

I'm already using lovelace-layout-card and I have:

width: 300
min_col: 4
max_col: 4

polar kelp
#

There's no option for that, actually.

astral ice
polar kelp
#

card-mod

#

or possibly a grid layout

#

Or maybe that was an option in the previous version of layout-card. I don't remember...

spare loom
#

Hello everyone. Can anyone please tell me if there is a way to show the attributes of an entity, directly on Lovelace?
I'm using the meteoalarm integration and that only shows the useful information under the attributes section. I'd like to be able to see that information directly in the dashboard.

polar kelp
dawn viper
#

When I just need the "on/off" part of this snippet, what do I have to remove?
opacity: >- ${states['light.wandleuchten'].state === 'on' ? (states['light.wandleuchten'].attributes.brightness / 255) : '0'}

polar kelp
#

Replace all of (states... .brightness / 255) with '1'

#

A ? B : C means If A then B else C.

dawn viper
#

hmm I tried that and it only works when refreshing my floorplan page

polar kelp
#

What card are you using?

dawn viper
#

picture elements I think

polar kelp
#

And for the templates javascript parsing?

dawn viper
#

It's somewhat integrated in a custom:config-template-card

polar kelp
#

The core cards have no support for that kind of logic (except the markdown card), so there must be something else if this works at all.

dawn viper
#

The weird thing is that every other lights work in the intended way, only this new implemented one does not

#

-> I can change the light colour on my main dashboard and the 3D Floorplan dashboard syncs perfectly without refreshing. When I try this with the new light, it won't work

polar kelp
#

And by dashboard, you mean like a light bulb icon?

#

Because those sync with the color and brightness automatically. Images do not.

dawn viper
#

My current setup:
-Main dashboard: Light cards to control my ARGB lights and the "dumb" wall panels aka. "wandleuchten"
-Floorplan dashboard: displays a background image of the room, no lights active and will overlay images with different lights active when I turn them on over at the Main dashboard (and they turn on in reallife)

  1. I turn on one WLED ARGB light strip
  2. When I look at the floorplan, the corresponding area is lit up as it should
  3. I turn on my wall panels
  4. Back on the floorplan view, they're not showing up bright and white as they should
  5. pressing F5 and boom, they're there
polar kelp
#

I think I know what's happening, but it's probably not what you think. Could you share your entire configuration for the picture-elements card? I can also be wrong.

dawn viper
#

Yeah sure give me a sec

polar kelp
#

Ok. First of all: type: custom:config-template-card. That's the "something else" I mentioned.

#

That changes everything.

dawn viper
#

please ignore the filter: ${1} in line 89, I just wanted to try out if this would change the behaviour (I removed the filter option for the last entry because there's no colour that could change)

polar kelp
#

The editor does weird things to quotes sometimes. Try changing yaml opacity: '${states[''light.wandleuchten''].state === ''on'' ? ''1'' : ''0''}' to ```yaml
opacity: '${states["light.wandleuchten"].state === "on" ? "1" : "0"}'

#

Also try "1.0" instead of "1"

dawn viper
#

tried your first idea, didn't solve it

#

Neither the first nor the second one did it 😦

polar kelp
#

But if you remove that line the image shows up, right?

#

Aha Wait

dawn viper
#

correct, it's there

polar kelp
#

You also need to update the entities list of the config-template-card.

dawn viper
#

oh my god

#

you're right 😆

polar kelp
#

It's always the simple things in the end.

dawn viper
#

Now it works like a charm!!!

#

Thank you for your time and the great help! I would've gone crazy searching the error 😵‍💫 😊

#

you have no "buy me a coffee" or tipjar, right?

polar kelp
#

I do, but don’t worry about it. I do this for fun

dawn viper
#

I really appreciate this!

lofty anvil
#

Anyone know why supervisor is turning off my lights randomly?

bold fjord
#

Hi everyone: Quick question. What is the best way to hide cards by user/username? I have a fairly long list of cards some of which I'd like to hide from specific users for a better...WAF rating (we are currently using 2 different views which are about 80% identical, but I'd rather have one and stop the redundancy). Using the "Restriction Card" feels like overkill to achieve this, plus it does not really hide the cards properly (i.e. leaves empty spaces).

dark dirge
wintry gull
#

Hello. I have a question about browser mod. I’m trying to use popup_cards but it doesn’t change the more info popup. Can it be used on a group.xxxxxx entity?

wintry gull
#

Any idea?

civic trout
#

is there no way to create a group for devices in lovelace? I don't mean a card but an actual group of say lights and switches like you can in group.yaml?

karmic tiger
#

No, groups are YAML only at the moment.

civic trout
#

ok, koo...thanks!

candid mural
#

hmm after the newest update i cant see the new energy settings

karmic tiger
#

Go to Configuration > Info. What version of HA does it say you have?

polar kelp
#

While you're there. Also do a search for "default_config"

candid mural
candid mural
polar kelp
#

I think you need that or energy: in your configuration

candid mural
#

i will set energy in my config

candid mural
shadow sentinel
#

Hi, it seems there is a little bug with the german translation in version 2021.8.0. The german caption of the energy entry in the configuration menu is wrong.
[%key:ui::panel::config::energy::caption%]

graceful tangle
#

Hi! Using ESPHome V1.20.3 on Hassio, I have 3 DS1820s sensors. On Hassio, 2 sensors work great. Sensor named "sensor.pool_temp_out" don't. I rename my sensor and did'nt help... My config of ESPHome is https://pastebin.com/sKkbMDcu and I double check with ESPHome support and everything look good. Look like a issues with history. https://imgur.com/oAm3jaW I did not exclude any device of recorder on my config.

vapid field
#

~~Hi, I can't select the sensor.grid_power from my SMA solarpanel inverter in the new energy dashboard, Any thoughts?~~Nevermind I use sensor.total_yield now, it just takes some time to pick up the right values.

heavy warren
#

I am not sure this is the right channel, but I am using a condition card and am wondering I can set state is and state is not to have my weather panel say stuff like "It is currently sunny" but what I want to do is have it say stuff like "It is a beautiful sunny day, the temp is currently 78 with a high of 90 and no chance of rain for the next hour". I presume I will need a complex conditional card to achieve this but I don't see how I can have it say the temperatures I tried things like {{ sensor.weather_temperature }}, can anyone point me to the right direction/guide to help me out?

dark dirge
#

You can use a markdown card to display whatever text you want, including using templates

#

You might be able to use card_mod to modify the existing weather card, but it’s not my area of expertise

carmine fern
#

What happened to the gap-card addon? Suddenly it's archived.

polar kelp
#

It’s included in layout-card now

carmine fern
#

Oh cool, thanks.

lethal harbor
#

Does anyone know how I could adjust a thermostat to show it's decimal value in lovelace? I'm wondering if stuff discovered via MQTT can be adjusted through the config yaml file - also having an issue where the sliders on the card don't work to adjust the set point

winter wasp
#

anyone using the mini-media-player card on 2021.8? it's no longer showing up for me
Edit: ignore me, my fault

heavy warren
dark dirge
#

sure

heavy warren
#

sweet

marsh delta
#

Is it possible to add a button for check config in the lovelace and see ok or error (or similar) ?

karmic tiger
#

How would the error show if you're just pressing a button?

#

Even if you had a way to check the config (which would be a question for #integrations-archived and probably not the obvious solution of just calling the check config service), you'd still need a way to output the response.

#

If you're in the UI already, it's only a couple of clicks to run the check in the usual place.

dark dirge
#

I posted about this not that long ago...

#

there's also the homeassistant.check_config service, but it's a less rigorous check

warped yew
karmic tiger
#

The custom button card and lots of tweaking.

#

Fortunately, you can just rip off the styles from monitorr, so that's half the work done for you.

heavy warren
#

ok I created a template for what I want and its working but I am not understanding how to use it on a card?

karmic tiger
warped yew
karmic tiger
#

Then your starting point is to have #integrations-archived that can tell that information. Once you have that, displaying it is easy.

heavy warren
#

ok so I am at the moment wanting it to display "forecast was last updated xx minutes ago" instead of the unix timestamp

warped yew
karmic tiger
#

Yes. And speaking of pinging, please don't ping me on every response. If you're using the reply feature, toggle the ping off.

warped yew
#

sorry, didn't know that was a thing. new to discord

karmic tiger
heavy warren
#

I created a template that does the conversion

#

so what I need to move it to a yaml?

karmic tiger
heavy warren
#

Ahh thanks so an integration is the missing ingredient thanks

warped yew
#

realized i can use the docker plugin for "sort of" the same thing. Just not sure how to change the image since the button-card does not take an image but an icon

whole heron
#

testing out the new statistics-graph, what kind of entities are supported?

#

when adding an entity for current power draw I get "No Statistics found"

#

are only history-stats sensors supported? 🤔

karmic tiger
#

If your sensor doesn’t work with statistics, check this.

whole heron
#

hm maybe I didn't get it... Just thought I add some sensors and get the graph... but after looking at the source it needs device_class energy and state_class measurement

#

my bad

rugged tide
#

would it be possible to use the new sidebar view to have buttons on the right panel that select which entity/entities is/are being displayed in the statistics graph on the left? (see today's 2021.8 release for context)

warped yew
#

Is there a way to use a horizontal-stack that creates a second row when the stack becomes bigger than the screen?

rugged tide
warped yew
#

And is there a way to use button-card but with an image instead of an icon?

karmic tiger
#

The built-in one or the custom one?

warped yew
#

i meant the built in one. the custom one seems pretty advanced

karmic tiger
#

The built-in one can barely be customised at all. It's probably not what you're after.

warped yew
#

yeah looking into the picture entity but i don't like the look fo the footer

karmic tiger
#

That's the trade-off. Either it's easy to configure or it's highly customisable. Hard to have both.

warped yew
#

yeah i guess i need to deep dive into the custom one. Just not sure how to start. Want something that looks pretty much exactly as the default one but with an image instead of the an icon

rugged tide
#

it all starts with installing HACS 😄

#

then it's usually very easy to add custom cards etc.

karmic tiger
#

Installing custom:button-card is simple, yes... building a beautiful dashboard, not so much.

warped yew
feral bridge
#

Is there a way to have a blank "space" or filler for alignment/formatting purposes? I would like to move Front Patio Door one below so it's in alignment with back patio door. https://i.imgur.com/K2P77C8.png

rugged tide
#

buy an extra lock? 😋

#

(sorry)

feral bridge
#

😄

karmic tiger
#

Constructive answers only, please.

karmic tiger
feral bridge
#

Dang that is involved.

karmic tiger
#

Not really. It's just demonstrating how a horizontal stack of 6 cards where 4 are blank.

feral bridge
#

But installing custom addins to get to this

karmic tiger
#

You might also be able to use layout card.

#

But to be honest, you won't get far if you're against using custom cards and integrations. Despite all the great work from the many contributors, HA can't do everything. Sometimes you have to use a custom solution.

feral bridge
#

Totally not against it, but I need to balance aesthetic desire versus how deep a rabbit hole just to achieve that 🙂

thorn ridge
#

Hey guys, im blind on this one; i want to implement a button-card with a template. I've added the template in my frontlace raw config (on top). But i still get the message; Button-card template 'standard' is missing!

kind shellBOT
#

Please use https://paste.ubuntu.com/ to share code or logs. Please don't use Pastebin, since it can randomly add spaces to the main view.

heavy warren
#

Ok so I got my sensor working but now I can't change the font size when I use it as an entity

#

the ha_card under entity with card mod 3 works for every sensor on an entity card except for my template entity, I presume I need to use some other method of changing the font size

warped yew
#

Man i suck at styling. Really trying to create a horizontal-stack but one that will fold in on itself and create a second row if the screen is to small. Any ideas?

river helm
#

What is a proper way to add different buttons to a dashboard to execute different commands?

karmic tiger
warped yew
#

no if i have four things and the screen gets to small it should be
1 2 3
4

karmic tiger
#

Gotcha. Not sure that's going to be easy. Lovelace fills columns, not rows.

shut notch
#

What is my best bet for making a graph similar to the history graph for my "climate.thermostat" entity? showing, current temp, "cooling", and target temp? I'd like to be able to overlay a few other bits of data on it, like outside temp.

karmic tiger
karmic tiger
shut notch
#

I have looked at that, but haven't found a way to put the target temp and cooling status on it?

karmic tiger
#

Then I think you also need to do away with the horizontal stack and just use the horizontal layout from that card.

shut notch
warped yew
#

yeah i mean if i just lay the cards out one by one and then choose the horizontal layout for the entire view that works. But i want it in a "stack" and not the entire view.

karmic tiger
shut notch
#

ah, ok

#

was hoping it would be something like climate.thermostat.<attribute> but ok. Thanks!

heavy warren
#

so ha-card { color: rgb(196,110,29; } still works but font-size: 8px; does not -.-

karmic tiger
warped yew
#

i'll try

#

nope, still puts them below each other

#

actually got it to work i think (using panel mode) but if i make the cards inside smaller than 300px i get weird spacing

river helm
#

Is there a way to have one card span over an entire width or specify width of the card?
For example I'm trying to make first element (web page) span across the entire width to show graphs and then have 6 buttons underneath. Any suggestions where in the docs to start looking?

dark dirge
#

I think you'd need to start by enabling "panel mode", which gives you the full screen width to play with. Then you can create your own layout

shut notch
analog island
#

hello friends. is there anyway to view multiple items on the history page?

novel finch
vocal laurel
#

ok seriously, what is the organisation of the lovelace ui? is there any order and the up and down seems to be random

#

ive spent 30 mins just trying to line them up 🙂

winter hollow
vocal laurel
#

how can you organise the lovelance ui? what do the up and down arrow buttons mean?

#

its the dumbest thing i have ever seen

bitter bolt
#

is there a way to turn off/on many automations via a single toggle card?

i want to do this without having all the other automations listed underneath that switch.

dark dirge
#

create a group?

river helm
#

So I have a newbie question.
Is there a way to style the dashboard so that first element takes entire width and then have buttons fit in the row below?
Here is what I have right now and in red is rough sketch of what I'm trying to make -> https://i.imgur.com/Fua9ZaC.png

jolly sapphire
#

Hmm, as of recently whenever I access my home assistant configuration address, https://192.168.xx.xx:8123, it appropriately redirects me to the /lovelace URI, but then that says Unable to connect to Home Assistant. I'm definitely on the right network. Restarting the Raspberry Pi didn't help.

Any idea what I could do to debug? Do I have to hook up my raspberry pi to a monitor/keyboard/mouse to investigate locally?
I assume frontend is working fine but the home assistant server on the same raspberry pi isn't working correctly, is that accurate?

dark dirge
#

What did you do recently?

jolly sapphire
#

A while back I changed my router setup a tad, including what the raspberry pi was hooked up to. But I am pretty certain I could access it after that without issue.

Up until recently the home assistant was functioning fine, just wasn't accessible due to the unable to connect error in the raspberry pi. I can confirm that despite this error, the switch I configured (flux) was still changing my lights.

I restarted my raspberry pi to try to fix the unable to connect ui error, and now the lights aren't changing, i.e. switch seems to be off. I think that may just be because the switch is off by default on boot though.

dark dirge
#

Did you update HA? What browser are you using?

jolly sapphire
#

Oh good call on the browser, can't believe I forgot to try that. Trying on another browser fixed the issue - I can login and see the web UI now. Thanks. Clearing site data on my original browser fixed the issue too.

#

I had updated HA back in mid-March of this year.

#

But I was able to login to the UI at some point after that. Seems like some sort of site data / cookie issue caused the "unable to connect" error, as opposed to maybe it asking me to login again which may have been more preferable for my scenario.
Current versions are 5.12 for the OS and core-2021.4.6 for HA core. Updating to the latest now that I can.

novel finch
tender bronze
#

How would I do something like

(sensor.value==NaN) ? 0 :  sensor.value

For the value on a chart

#

(more specifically, I'm using the mini-graph-chart and the value it's showing is the last value before it became NaN

prisma quarry
#

Looking for some help / advice on an emergency button / physical switch. I am playign around with a few MQTT connected loads at present but will be moving across to Shellys for lights. I organise my MQTT topics by indoor/outdoor, room#, light type, light# etc with the thought that I would use MQTT wildcards to switch all indoor lights on / off. Can I do this with an 'mqtt button' (don't know if I can ever create one of these) or do I have to use HA light groups?

broken marsh
#

I use a markdown card to list latest bank transactions and I do a substring of the transaction text to prevent one transaction breaking into the next line. But on different dpi settings on different PCs it will still break into the next line. Is there a way to make sure one transaction is kept to one line? I use a for loop to iterate over last 5 transactions.

tender bronze
broken marsh
#

But won't it still break in the middle of a word?

tender bronze
#

It shouldn't, but I'm not exactly sure what you are trying to achieve. I assume it's breaking because the line is too long, but the only way to make any line fit would be to scale the font size and I don't think markdown can do that dynamically

broken marsh
#

Do I need to use regex_replace to replace spaces with non-breaking spaces?

warped yew
#

Where can i find ui-lovelace.yaml if i use docker? I want to create a template for custom-button-card

karmic tiger
#

It'll be the same place it would be even if you're not using Docker. Everything you have to configure for HA lives inside the same config folder.

warped yew
#

i have a weird issue. I'm trying to make a template for my custom-button-card so i can reuse parts of it for other cards. If i add the styles and such directly onto the card it works but if i add it as a template using the "raw configuration editor" only parts use

#

figured parts of it out. seems like i can't template the label, only the style

analog summit
#

Is it possible to add the values of two entities/sensors?

lethal harbor
#

so wanted to ask again, is there an easy way to adjust the generic thermostat card to show the decimal value?

viral osprey
#

Is there an easy way to change the "Home Assistant" text in the sidebar? I have multiple (four) test HA instances and would like to make it easier to distinguish between them. Alternatively, any other suggestions apart from color scheme to easily distinguish

edgy sigil
#

hey there, does anyone know how to connect the wall panel app to home assistant? i put in the ip and port, which works on pc browser, however i only get a white screen on the app. tia.

karmic tiger
#

What happens if you use a browser on the tablet?

edgy sigil
#

it takes me to the login page

#

and i can login

karmic tiger
#

Then either you're doing something wrong or the app is broken. You'd have to contact the developer.

edgy sigil
#

ok

#

wait i think i got it, kinda

#

if i put http:// before the ip it starts to load now

#

it just doesnt give me the option to login

#

ok so

#

it says home assistant with the logo

#

and initialising under it

#

but then it gives an url error

karmic tiger
#

Please write in full sentences and stop flooding the chat.

kind shellBOT
#

Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.

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

For sharing code or logs use https://paste.ubuntu.com/.

edgy sigil
#

sorry

karmic tiger
edgy sigil
#

im waiting for it to give the error again, i think it was url not complete,

#

it says "URL is empty"

karmic tiger
#

Sounds like that error came from the app. That's not a standard HTTP error.

#

Honestly... you should get help from the person that made that app. It's not produced by HA.

edgy sigil
#

do you know of a discord for them?

karmic tiger
#

No... but I linked you to their support page 🤦‍♂️

edgy sigil
#

it seems to just be going in a loading loop now.

karmic tiger
#

So ask them for support...

#

👋

edgy sigil
#

its something with home assistant, due to the login. it initialises, but then hass doesnt respond

karmic tiger
#

It works in your other browsers, thus is not something to do with HA.

#

If I had to guess, that app isn't handling WebSockets correctly. But I don't know, because I'm not the developer of that app.

clever plover
#

Using the 'afvalbeheer' integration. This integration has an entity which gives the collected waste for the day after; for example pmd, gft, paper, and so on. I only want to display on my lovelace a card with a specific picture. I made some conditional cards and the 'show/hide' functionality works based on the enitity, but... if for example only 1 type of waste is collected the other hided cards also using some space on the page, even they are not visible. The result on the lovelace page is that other cards (weather, mediaplayer, ...) are not at full size anymore. Are there eventually other posibilities to achieve this?

formal tide
#

lots of errors when editing a entity list in ui, known issue?

dark dirge
#

what's with the info: keys?

#

do you mean secondary_info ?

honest sluice
#

is this the right channel to talk about the new energy dashboard?

#

i have a custom sensor for energy sent to the grid since the sense integration doesnt provide one

dark dirge
edgy sigil
#

does anyyone have any reccomendations for a panel app other than home assistants own? that one always crashes and i cant get wall panel to work. (android btw)

karmic tiger
#

Fully Kiosk seems the most popular.

edgy sigil
#

ta, ill take a look

#

i also believe i found the issue with the other app, the tablet is on android version 6.something, as it works on my phone, but not the tablet

river helm
#

So I have a newbie question.
Is there a way to style the dashboard so that first element takes entire width and then have buttons fit in the row below?
Here is what I have right now and in red is rough sketch of what I'm trying to make -> https://i.imgur.com/Fua9ZaC.png

edgy sigil
#

i think its the same issue, as it says to update webview version current version .44

karmic tiger
#

A lot of people like to use old tablets for this. The downside is they're sometimes too old.

karmic tiger
edgy sigil
#

YAY, indeed it does

river helm
river helm
#

@karmic tiger I got it to work, or at least it looks much nicer now.
Is there a way to force everything to fit into view?
Right now ifram takes entire screen and then buttons are below (you have to scroll).

karmic tiger
#

Please don't tag me 🙂 You'll need to get creative with things like the custom layout card to force things into the grid you want.

proud turtle
#

Hi all, I got a problem with my HA (installend on a Rpi4 on SSD) It's a bit of time i can't see history of my devices, if I go to log it is stucked on 22/07/2021. I tried to delete the db file and restart HA, but it doesn't work. Anyone got the same problem? Or i can do something to see what can be the problem?

river helm
#

@proud turtle not an HA expert here but did you change anything before this happened?
Maybe HA can't start or is getting stuck somewhere. Try to ssh into Pi and check logs or manually run HA to see if and where it's hanging/halting.

warped yew
#

Is there anyway i can make cards smaller than their actual "container"? I have a bunch of cards in a layout-card that i want to make smaller than default. But whenever i do (using custom-button-card) i get a bunch of weird spacing instead. also the all other cards get smaller as well

proud turtle
warped yew
#

anyone know of a nice way to display sonarrs calendar in HA?

ivory dust
#

Is there a way to have a card that is just always a live feed of a ring doorbell/camera?

#

I’m also looking for a card that is basically exactly the same as the default dimmable light card, but the ring is an RGB slider instead of brightness for an rgb bulb

river helm
#

I verified that shell_command.water_specific_plant works properly but I changed the panel and lost previous buttons 😦

dark dirge
#

I'm not following what the exact problem is

river helm
#

I had buttons for calling shell_command.water_specific_plant and they worked fine. Then I changed the layout and accidentally lost the code I had.
I tried recreating them just in a different layout but for some reason now they don't work.
Any ideas why when button is clicked or long pressed, nothing happens... :\

dark dirge
#

review your HA logs

river helm
#

Ok, sorry about that. I put in the wrong IP :sigh:

dark dirge
#

I doubt it matters, but you have an extra space before your ":" in several places

river helm
#

I was putting an IP of my watering system instead of N-8-N instance 🙂

#

Thanks @dark dirge !

#

Also, is there a way to force panel mode dashboard to not have scroll bars?
I have above mentioned YAML dashboard that includes a iframe and for some reason iframe is taking entire screen regardless of what/how I configure it

#

I assume there is no such thing, just playing with "aspect ratio" until it fits on device I'm going to be showing it on?

warped mirage
candid mural
#

Can I disable Energy Usage and Sources under the new energy tab?

hearty marsh
#

Not sure if anyone can help but i had to put a new sd card in my pi 4 - backed up from snapshot now im getting stuck on Unable to connect to Home Assistant screen through my duckdns, - any suggestions?

karmic tiger
#

You should probably start in the relevant installation channel depending on how you installed.

kind shellBOT
#

Not sure which install you're using? If you have system_health enabled you can check Configuration -> Info -> Installation Type, or see the following.

  • If you bought the Home Assistant Blue, flashed an image, or booted a VM with an image you're using #330990055533576204

  • If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714

  • If you're running docker commands or use a Docker manager and have no add-ons or Supervisor then you have #449717345808547842

  • Finally, if you use pip to install or upgrade you have #551864459891703809

Having difficulty chosing an install method? See this summary for guidance.

edgy sigil
slim kettle
#

are the colors of thhe sources and the bars in the graphs of the new energy dashboard themeable? If yes, how are they named? The blue and dark blues doesnt have a high contrast in dark mode

edgy sigil
#

ello, I would like to create a button which, when pressed turns on the projector, and 2 smart plugs, and can turn off them too. How do i create the button,

dark dirge
#

I think you’ve already gotten guidance on that

#

Make a script, call it from the button

livid peak
#

How does one switch from using the built in editor to ui-lovelace.yml? I have it in my config directory and have a couple of views configured, but they're not showing up. Do I need to do a full restart?

heavy warren
#

is this where I would ask questions about styling my dashboard with card mod 3?

heavy warren
#

un-related to that, is there a way that I can display my template sensor.forecast_time on a markdown card instead of an entity?

dark dirge
#

a template sensor is an entity

#

and yes, you can display any content or entity by constructing a template

heavy warren
#

I understand that, its just my ocd says it looks weird on an entity card

dark dirge
#

oh, you meant "instead of an entity card"

heavy warren
#

right

#

oh sorry I didn't realzie I hadn't specified entity card

dark dirge
#

np. so

#

and yes, you can display any content or entity by constructing a template

heavy warren
#

is it ok if I post a pic to show you what I am trying to do?

kind shellBOT
#

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

Image posting is blocked in most channels to discourage people from sharing text as images.

dark dirge
#

but like I said, you can construct a template to display whatever you want in a markdown card

heavy warren
#

Ok I’m looking at the templating guide to figure that out

dark dirge
#

{{ states('sensor.forecast_time') }}

heavy warren
#

Oh haha I had tried everything but that facedesks

#

Instead of writing a really complex script I am temporarily using conditional cards to convert the daily weather to friendly formats

#

I will worry about scripting it all later

heavy warren
#

The templating works like python 3 right?

karmic tiger
#

If by that you're after if it uses Jinja, yes. The links in the topic and pins of #templates-archived should help there.

edgy sigil
#

how can i use alexa to turn on a button that calls for a script to run

dark dirge
edgy sigil
#

yes

#

i thought it would be a frontend since it something on the dashboard

dark dirge
#

Nope

#

Alexa doesn’t interact with the Frontend at all

karmic tiger
#

Alexa lives in 'the cloud'

edgy sigil
#

how do i make alexa interact with my script then?

karmic tiger
edgy sigil
#

ta pet

karmic tiger
#

Nee bosh

dark dirge
gaunt musk
#

Hi guys, I have a switchbot to start my coffee machine and I want to animate my lovelace by flashing icon state during start of coffee machine so I want to animate my button just 5s after a click on it, is it possible ?

obsidian bear
#

good morning everyone 🙂 Do any of you use a honeycomb menu? I'm absolutely stuck here. I can open the menu, but no matter what I try, there are no icons there ?!?

iron locust
#

A while ago I made this out of grid cards, buttons, etc. I had accidentally deleted it, and now I've got some time to try to recreate it, but I have no idea what buttons I used to have the custom shade icons on the top row. The icons are in my config/www folder, but I don't know how to assign them to a button card. Did I possibly use a different type of card? https://i.imgur.com/uy8T6yA.png

marsh wadi
#

hi everyone. How do I do a card with multiple buttons in one row so that they toggle when presses?

#

similar to a glance card (this is what I use at the moment) but with toggle action on each icon

iron locust
#

oh duh, I was using picture cards and assigning a tap action to make them behave like the button cards below them

warped yew
#

i'm trying to figure out a condition to use for knowing if an entity is working or not but not sure how to do that. any ideas?
EDIT: Figured it out, i check for entity.state == "unavailable". Everything else is "ok"

gaunt musk
#

Hi guys, I have a switchbot to start my coffee machine and I want to animate my lovelace by flashing icon state during start of coffee machine so I want to animate my button just 5s after a click on it, is it possible ?

topaz ocean
#

Hello, been using HA for a few years now, i decided a few weeks to declutter my lovelace file by splitting and then using !includes to link to each tab, i've had a few issues that i've resolved, but i've hit a strange issue that i can't quite understand... i've been building some remote contol tabs to control devices and the first tab / control works fine, but when i start to program the 2nd tab even after just a few short lines of code and 1 button, it displays like the first tab with all the buttons etc from the first tab.

#

any thoughts? maybe something missing to correctly terminate the first included tab?

burnt palm
#

Hey there, is someone here using "Minimalist UI" that can be found on the forum ?
I can't get Scene working, I don't understand why 😢

lethal harbor
#

so wanted to check again, is there a way to make the thermostat card show the decimal value that mqtt contains?

obsidian spindle
#

Did someone manage to provide icons to gps tracked objects on the map in lovelace? I cannot find any hint in the documentation to set an icon per entity.

obsidian spindle
sly pulsar
#

Anyone have an idea why this is not working in a custom: button-card?

#
  action: toggle
  service: input_boolean.toggle
  service_data:
    entity_id: input_boolean.theme_switch```
karmic tiger
#

Define 'not working'

sly pulsar
#

Well it says : Can't call service sun/turn_off Service not found

dark dirge
#

Toggle doesn’t call a service

#

call-service does

karmic tiger
#

sun/turn_off
You can't turn off the sun.

sly pulsar
#

This one works fine in a button card but not in a custom: button-card.

karmic tiger
#

Remove the action.

sly pulsar
#
  action: toggle
entity: input_boolean.theme_switch```
karmic tiger
#

Action to perform (more-info, toggle, call-service, navigate, url, none)

#

You want to call a service, not toggle.

#

Toggle will toggle the entity the card represents... in your case, the sun.

sly pulsar
#

Just removed that but now it have no error but it does nothing.

karmic tiger
#

action: call-service

sly pulsar
#

Yep that works!

#

Thanks allot Mono. 🙂

#

Can you explain why action: toggle works for the entity: input_boolean.theme_switch in a button card but not in a custom: button-card.

karmic tiger
#

Your custom button card isn't representing the input_boolean.

eager cypress
#

I have a smart meter that HA gets the meter reading from through the power company api once an hour. I have that data pull setup through nodered and it publishes to mqtt which feeds a utility meter integration for once an hour which then feeds a sensor. If I use that hourly utility meter for the Home Energy Management will more sensors be created or will it just show a graph?

dark dirge
#

It just does a calculation and displays the data

near zodiac
#

Trying to make my first custom card and I’m stuck. I can’t import the custom-card-helpers module. I did npm i custom-card-helpers and it’s in node_modules, but I get a 404 error in the console if I try to import it. Any ideas?

dark dirge
near zodiac
#

Ok

iron locust
#

how can I backup my front end if I'm not in YAML mode?

dark dirge
#

Back up your config dir, including all hidden files/dirs

iron locust
#

thanks

dark dirge
#

It’s in .storage, with lots of other stuff

edgy sigil
#

hello, is it possible to get lovelace to auto refresh/update when something changes on the panel?

livid peak
#

After changing ui-lovelace.yaml you're not supposed to have to reset to see changes, right?

#

Does the same hold true if you change files that are being !includeed into ui-lovelace.yaml?

dark dirge
dark dirge
vapid field
#

Hi! I've a super stupid question, hope somebody can help me (I'm totally new to HA, been running for about one hour)

#

I've added my router with Integrations, then went to Overview, added all the entities in an "entities" card, and so far so good

#

my only problem is the values, they're in B or B/s, I'd like them in MB or GB (/s)

#

I can't figure out where to change that

vapid field
proven oar
#

no afaik but you can create a new sensor derived from the actual one and add that in your card

vapid field
#

oh, thanks, will try

devout hatch
#

hello

#

I want to turn off my lights when they are dimmed to 10%

#

is there any hack to do this with slider-entitiy-row custom card

#

or I need to make it dirty with some automations? 🙂

#

because my led driver is turned off when I dimm up to 10%..

karmic tiger
#

Minus the 'dirty' part. It's absolutely normal to use automations for that stuff.

devout hatch
#

ok

ivory dust
#

is there a way to have video from a Ring camera playing a live feed on the dashboard?

simple scroll
#

Hi,
Webpage Card
I hoped it was possible:

type: iframe
url: https://www.radioswissjazz.ch/it
aspect_ratio: 50%

..but "www.radioswissjazz.ch refused to connect".
I have the google nest and mini-player configurated. Wanted to see what's up on RadioSwissJazz in real time.

proven oar
#

your browser refuses to load it

simple scroll
proven oar
#

dont think you can disable the checking

karmic tiger
#

Even if you could, you wouldn't want to. It keeps you safe.

simple scroll
#

The page loads i Chrome without any problem..

#

So this approach I have to forget.

#

So it is not possible to iframe https:// Am I correct?

warped yew
#

Is there a way I could have two Lovelace views combined into one? Sometimes I sit at an ultrawide and it would be nice if could combine views without having to redo them.

karmic tiger
dark dirge
#

no. you can open a separate browser window

karmic tiger
#

Also, be patient. Your question was still on screen.

proud turtle
#

He, it's like my HA doesn't connect to internet to sync data and time, it say it is 2021-07-25, 05:40 go to about 14:20 and it go back. And with this i can't see the history cause it doesn't register at correct time. How can I fix it? It is connected to internet, i can access to it from external connection and update works

karmic tiger
#

Depends how you installed HA. Pick the right channel from this:

kind shellBOT
#

Not sure which install you're using? If you have system_health enabled you can check Configuration -> Info -> Installation Type, or see the following.

  • If you bought the Home Assistant Blue, flashed an image, or booted a VM with an image you're using #330990055533576204

  • If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714

  • If you're running docker commands or use a Docker manager and have no add-ons or Supervisor then you have #449717345808547842

  • Finally, if you use pip to install or upgrade you have #551864459891703809

Having difficulty chosing an install method? See this summary for guidance.

warped yew
#

Is there any way to style a horizontal/vertical stack? Trying to surround a group of cards with a background color.

dark dirge
#

Look into card_mod

warped yew
#

yeah i did but it explicitly says that horizontal and vertical stacks can't be styled. Was wondering if there was another way

karmic tiger
digital quail
#

is there a way to move the entitys freely in the lovelace dashboard

karmic tiger
#

Freely? You can press up and down to rearrange them, or you can use stacks / layout cards.

#

You can't just drag and drop, since that doesn't really work with responsive layouts.

digital quail
#

okay ty

wintry gull
#

Hello. Anyone know of nice vertical slider bars or arc that work with light entities. Want to put it on a picture entity. Thanks.

kind sand
#

Anyone have issues with RGBWW esphome lights on 2021.8.4 ?

gaunt marten
#

Updated for the first time today in a few months. Now my humidity sensor cards have no detail. Changing detail does nothing. Pressure, temperature looks fine. Anyone else have the same issue?

wintry gull
#

Can some help me with a css for card mod. I’m trying to make the arc on the light card bigger.

tropic skiff
#

Hi all, Im trying to turn my TV into a HA dashboard to easily view whats happening around my home etc. However, Im running into problems for getting my lovelace background to show on the TV

I have this: background: center / cover no-repeat fixed url('https://live.staticflickr.com/3798/11051378005_50b62511bb_b.jpg') in my view YAML, and it is working in the browser but for the life of me I cant figure out why it isnt displaying on my TV as well

(I can get pictures to show on the TV through the use of the picture card but for some reason no bloody background)

modern vector
#

hi, how can I hide the button named "Unused entities" in the drop down menu in the upper right corner of the lovelace-ui?

#

I'm using yaml mode

polar kelp
#

The one that only shows up in edit mode?

proven oar
#

so i'm trying to build a nice looking remote for tv and stuff to show on my dashboard and am not sure how to tackle the layout of the buttons ... i started with a horizontal and vertical stack combined to get some kind of a grid to position the buttons in, how would i create an empty cell in the grid? right now i just added a custom button card resized to 1px but there must be a better way?
or is there even a better way other than combining the 2 stacks?

polar kelp
#

Or wait... maybe it's shown in yaml mode too for some reason... 🤔

#

I don't think it can be hidden then.

modern vector
polar kelp
proven oar
#

the layout card looks nice, i will try it, thank you

polar kelp
modern vector
deep hedge
#

I've noticed that after removing items from the sidebar in Lovelace on Firefox on Windows, that they return upon restart. I assume this is because I am using private browsing (which I have on all the time) and no cookies? If this is the case, is there not a way to make changes stick (other than having to change the way I work)?

polar kelp
#

It's a per-browser setting, so no. They cannot stick between private browsing sessions.

deep hedge
#

Bummer. Kind of ironic given HA's focus on privacy.

polar kelp
#

What you can do is remove default_config from your configuration and only add the pieces you actually want. But that means you don't get new cool stuff automagically.

deep hedge
#

I like automagic too much for that!

#

It's mainly Media Browser and Energy I don't need. It would be cool to be able to have default_config as well as a config entry of specific items to EXCLUDE from it. Best of both worlds.

#

Kind of like what we have for History.

tropic skiff
polar kelp
#

Cast?

#

That does not support backgrounds.

#

Cast is not entirely lovelace.

tropic skiff
#

is there anyway to set up sopme sort of image as a background?

#

because the black display is somewhat boring

#

Also I’m loving those custom cards you made for Lovelace

#

Also also sorry if I’m asking dumb questions I only just got started with this

polar kelp
#

That's certainly not a dumb question. The differences between cast and not cast are... odd and unexpected.

tropic skiff
#

Yeah I haven’t been able to find anything abt it at all which hasn’t helped

crimson fable
#

How do I use that new sidebar layout?
Google isn't very helpful with that

#

oooh it's a dropdown when editing a page inside a dashboard

#

I expected some yaml

crimson fable
#

another question:
https://www.home-assistant.io/lovelace/statistics-graph/

I don't get the statistics feature. It does make some sense in the first screenshot (given that the sampling interval is quite high), however the bar graph below doesn't seem to provide any relevant information compared to just plotting the sensor value as a graph.

I expected the card to just show the increase by hour.
Am I missing something?

polar kelp
#

A line graph should only be used to plot time-continuous data. In the second figure there's one data point for each one hour period and nothing in between. If it was a line, you'd assume that at 14:30 the energy consumption was 4,739 kWh, which is both a false and a meaningless statement.

crimson fable
#

huh, I see

thanks

warped yew
#

Can i add links to the sidebar if i run HA in docker?

warped yew
#

Thx. I found that too and it seems to "work". Just have to figure out how to add custom headers adding api-keys so that i can bypass my auth. If that's possible.

#

Does it have to be an iframe or can it be a link so that it opens in a new tab?

feral rivet
#

Hey guys what happened to the dark mode settings under profile?

mystic vigil
#

I'm looking to hook up a raspberry pi to a touch screen. Does anyone know of any builds or guides for where to start?

#

I was thinking the only real thing I need to do is get an OS on the Pi, to open the Lovelace Dashboard, and then somehow lock it down so swipes/touches can't accidentally exit the application.

whole heron
mystic vigil
#

Thanks 🙂

#

You could be right-on.

stone chasm
#

Is there are reason for that /config/www are 'exposed' and you dont need to authroize to view the files?

karmic tiger
#

Yes, so you can get to it.

#

If you don't want things exposed, don't put them there.

ionic lodge
#

I set up home assistant on the tablet that I want to put on the wall, but for some reason, when I use HA from the app, I see no cards in my lovelace views. I also cant see the views icons.

When I enter HA from Chrome on the same tablet, everything works

karmic tiger
#

What version of Android is on it, and what version of WebView is installed?

ionic lodge
#

Samsung tab A7
Android 10
WebView 81.0.4044.138

karmic tiger
#

Seems recent enough it should work. Not sure what to suggest other than clearing the app's cache. Someone over in #android-archived might know.

ionic lodge
#

I found the problem and the solution. I did something really stupid 😅

#

Even embaressed to tell

deep hedge
#

Is it just me, or is the column sort functionality on the Configuration | Entities page busted. Perhaps they are using a sort other than aphanumeric? 😧

warped yew
#

is there a way i can add headers to the iframe Panel?

karmic tiger
#

Nope

#

If someone doesn't want their site embedded, you're not getting around it.

warped yew
#

it's more that i'm trying to go around my oauth (since i'll already be logged in) but can't bypass the google page. I've been able to do it in the LunaSea ios app by adding an api-key (created by me) in the header but can't seem to recreate it here

karmic tiger
#

You could always open it in a new tab/window 🤷‍♂️

warped yew
#

not from the sidebar

#

can i?

karmic tiger
#

Embedding small snippets of things sometimes makes sense (but not really). Embedding whole sites to avoid using a browser like a sane person is... odd.

warped yew
#

that would definitely be good enough

#

is there a way to add outbound links to the sidebar?

nimble rose
#

Hey everybody, I am not sure whether to ask this here or in automations, but I am looking for a way to show the time until an automation triggers, is that possible?

shell torrent
#

I suppose you mean automations that trigger on a specific time or an interval? Then you could use the last_triggered and calculate next trigger, assuming you know the interval, but it seems like a bit strange. Maybe use a timer as a trigger, then you could just show the timer?
What's your use case?

nimble rose
#

I have a pet reptile that has lights that turn on at a specific time in the morning and off in the evening. I would like to know for how long the lights will be on. The reason I haven't used a timer is that I adjust the on/off hours depending on the season, I preferably wouldn't like to change two variables instead of one. (I'm still looking for a way to dynamically change the on/off hours depending on a min/max time but that's for another time)

unique meadow
#

My Google Home app keeps telling me it can't reach Nabu when I try to link it. Anyone else?

shell torrent
#

Ok, maybe put the on-time in a input_text, off-time in another, use those for the automation and a template sensor för the calculation "off time minus now"?

#

Then you can change the on-time and off-time separately and the rest will require no hands-on

#

input_datetime probaly though

karmic tiger
nimble rose
#

@shell torrent cheers, I will try that!

@karmic tiger I hoped this was an exception because it is at set time intervals.

karmic tiger
#

If you know the next set time, you don't need to know when an automation may or may not trigger. Just work out how long remains until the next set time.

#

My point is that automations are event based. The automation has no property that allows you to make predictions. They're reactive by their very nature.

nimble rose
#

Ah okay. I understand that automations are reactive, but seeing that my automation is at a set time, if I understand correctly I can implement boneheadsfraggle's idea in this case right?

karmic tiger
#

Yes. Also:

You'll have to use information you can actually predict

#

I wasn't disagreeing with his suggestion. I was just clarifying why inspecting the automation is the wrong way to think about it.

nimble rose
#

Ah great 🙂 I'm just reading up on how to use templates (or rather input_datetime in templates) so I will update when I have it working, thanks!

polar kelp
#

You could use a timer entity. When you turn the lights off, calculate the time to next turn on and set it to that, then trigger your next turn on and recalculation when it runs out.

#

You'd also want to recalculate the timer once Home Assistant starts to handle power loss and stuff.

karmic tiger
#

Timer's a great idea. It's literally going to represent the countdown smart

#

I knew there was a reason we kept you around.

polar kelp
nimble rose
#

Okay sounds good! This is my first time working with timers, but I am guessing I need a template to calculate the time to next turn and use that in the automation? It is crucial for the pet's well being that the light comes on in the morning so I don't want to mess this up 🙂

shell torrent
#

My first suggestionwas a timer, but after seeing your case, I'd still suggest on- and off-time.

#

But both will work fine

polar kelp
#

That feels more stable

nimble rose
shell torrent
#

yes, and they are still there after a restart and totally independent on manual interaction

#

the automation says turn off at x o clock, it will.

#

always

nimble rose
#

That feels like the way to go for me then

shell torrent
#

You can also combine an on-time with an adjustable duration (input_number for example). Like turn on at "on-time" and turn off at "on-time + duration". That's what I use for my car heater. But all three variants will work, just different paths. When you have chosen, it's time to move to #automations-archived 🙂

nimble rose
#

That sounds even better to me because I could then also implement my endgame plan where the lights are on for a longer period if it is further in the season (for instance 2 minutes added each day for a total of about 2 hours in a time-span of 2 months). But I realize this is already off-topic, so I will read up on templates as I don't even know how to work with the value of a input_datetime yet. I will pick this up tomorrow when I get home. Thanks so much for all your advice!

wind bronze
#

The majority of my entities within HA are coming via MQTT (switches and lighting, in the context of this question), and all works well. If I reboot HA then the power state of those devices is lost. If I have a light on, and I reboot HA, when I get into Lovelace, the light is showing as "off" instead of remaining "on".

I thought I'd need to use retain: true in my entity configuration (YAML), but that didn't seem to do the trick. Am I at least following the right train of thought, or am I missing something obvious?

#

It's not the end of the world as if I tap on the entity it'll appear "on", but would be nice if it matched. I'm not rebooting a ton or anything, more just trying to better understand things.

polar kelp
#

Home assistant publishes a message to homeassistant/status on boot. Listen for that and resend your discovery and status messages when received. Also #not-here probably #diy-archived

wind bronze
#

Thanks! Wasn't sure what the best channel would be, thought that as it was a Lovelace display thing it might be here, but that makes sense, cheers!

polar kelp
#

Check in /developer-tools/state. If lovelace shows the same state as that, it's not a lovelace problem.

deep hedge
frozen scroll
#

Hi all, I'm trying to figure out how to control/display additional properties of a custom integration, i've read the documentation i can find but i cant figure out how to do it without creating a bunch of helpers linked to automations. The integration controls a multi-zone amplifier and can turn zones on and off, change volume and select an input using the UI for a media player, however i also want access to the bass/treble/balance options, i've exposed them as a custom service and i can control them using a service call, but how do I show a UI for it?

polar kelp
#

Are you developing the custom integration?

frozen scroll
#

@polar kelp Yes

#

it already works and does the basics, i just want to add some additional features, its actually a monoprice multi-zone amp (theres already an integration, but it wont work for my purposes) and mine has a couple of additional features, the code is not very pretty 😉

polar kelp
midnight nexus
#

I've been using HA for several years. First in a venv, then in docker and recently for a few months in a Proxmox VM with supervisor. I'm wondering if there is an non .yaml integration for Amcrest and/or D-link cameras?

dark dirge
#

it would be in the docs if there were

frozen scroll
#

awesome, i think that will work! I hadn't thought of doing it that way! Thanks so much!

signal prairie
#

I had to change routers today and can no longer access home assistant. Setup the exact same subnet, HA shows up with the same previous DHCP address, which was then reserved. Port forwarding is in place just as before. Can’t even get a response from ping 😦
Any ideas would be greatly appreciated!

tropic skiff
#

another question sorry, is there a way I could use custom cards/layouts from HACS on a home assistant cast? or is that not available either?

signal prairie
dark dirge
#

No, pick your install method channel

livid peak
#

Any idea how I would show/hide a card based on weather conditions? For instance, I have a thermostat that is only connected to a heater, and I'd like to hide it if the ambient temperature outside is greater than 68 degrees.

#

I was thinking the conditional card, but it seems as though you can only use specific states and not expressions

sonic burrow
#

Hey guys iam using Picture element cards with a 3d model of my room to show visual if lamps in the room are on or off and then show a spezific picture.

state_image:
"on": /local/living_room_on.jpg
"off": /local/living_room_off.jpg

Is it Possible to show pictures with other current states? Like "Color" "Brightness" or "Effects" or it only work with on and off? Ty

polar kelp
#

Like state_template: "{% if state_attr('light.my_light', 'brightness') | int >= 100 %} bright {% elif is_state('light.my_light', 'on') %} not_bright {% else %} off {% endif %}" and then yaml state_image: 'bright': /local/living_room_bright.jpg 'not_bright': /local/living_room_dim.jpg

sonic burrow
#

That looks great ty, will try that. Could you give me an example how it would look with different colors with "rgb_color"

polar kelp
#

That's a bit trickier, but you can get at the color values with {{state_attr('light.my_light', 'rgb_color')[0]}} 0,1,2 for R,G,B respectively.

sonic burrow
#

OK hope I get it to work, thx a lot

warped yew
#

i've created a folder /img/services/ where i've put a bunch of images to use in lovelace but i can't seem to access them. should the path be /img/services/service.png or someting else?

dark dirge
#

Elements used in Lovelace need to be under /config/www

warped yew
#

they are

#

/config/www/img/services/service.png

dark dirge
#

Then /local/img/services/service.png

warped yew
#

awesome that worked! i was missing /local/

warped yew
#

is there a way to figure out if the ui is in light or dark mode? Trying to have different images depending on if it's using light-mode or dark

polar kelp
#

No, but you gave me the idea for the next feature of card-mod.

warped yew
#

haha nice. I'm trying to achieve it with using the sun state for now

tropic skiff
#

tbf id probs trust thomas with his response more he seems incredibly smart at this sorta stuff

warped yew
#

I think i have it working using sun state. I figured lovelace probably uses that as well to switch between light and dark so it "should" work. Will know more once the sun has set 🙂

plucky ember
#

I am having an issue with the statistics-card and associated measurements for temperature, humidity, and pressure from the weather component; posted details in the dev-energy channel (#devs_energy-archived message); any help appreciated.

warped yew
sonic burrow
#

@polar kelp Hi i tryed it now for some Time i got this here Working

template:

  • sensor:
    • name: "canv"

      state: >
      "{% if state_attr('light.canvas_fa77', 'brightness') |int >= 80 %} bright {% elif is_state('light.canvas_fa77', 'on') %} not_bright {% else %} off {% endif %}"

And over 80 % it turns to bright otherwise not_bright, when itz off itz off.

Is it Possible to make it that between 75-80% itz not_bright and 81-85% itz bright and so on?

Also with colors i dont get it to work at all but it would be the same first state 255,0,0 state red 0,255,0 state green ...
I cant figure out how.

polar kelp
kindred anchor
#

is there any way to hide certain panels from the left hand navigation without removing default_config: ?

polar kelp
#

Only on a per-browser basis

sonic burrow
#
  - sensor:
      - name: "light"
       
        state: >
            "{% if {{state_attr('light.my_light', 'rgb_color')[255,0,0]}} %} bright {% elif {{ state_attr('light.my_light', 'rgb_color')[0,255,0]}} %} test {% elif is_state('light.canvas_fa77', 'on') %} not_bright {% else %} off {% endif %}"```
#

someone got an idea what iam doing wrong here?

dark dirge
#

you're not formatting it propoerly 🙂

kind shellBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example

Don't forget you can edit your post rather than repeatedly posting the same thing.

For over 15 lines you must use a code share site such as https://paste.ubuntu.com/.

dark dirge
#

but if it's just like that, you need to add ">" after state: to start a multi-line template

#

and then get rid of the surrounding quotes. Or cram it all on one line and include the quotes

#

it's pretty hard to read as-is

sonic burrow
#

it is like that above now and says : TemplateSyntaxError: expected token ':', got '}'

karmic tiger
#

You still have the quotes.

#

> or quotes, pick one.

dark dirge
#

and if you're going to use a multi-line template, you may want to space it out so that it's actually readable

polar kelp
#
  • {{ state_attr('light.my_light', 'rgb_color')[255,0,0] }} does not work. 255,0,0 is not a valid index to a list of three entries.
  • {% if {{ is bad syntax. There's no {{ inside {%.
  • #templates-archived
kindred anchor
#

does anyone use panel iframe with custom subdomains?
I'm doing the following:

  frigate:
    title: "Frigate"
    url: "https://nvr.mydomain.com"
    icon: mdi:eye

but the hass app will not redirect to the right page. It takes me to the root domain page (swag default page). Yet accessing hass via a browser it all redirects fine

#

nvmd, organizr auth issue

karmic tiger
#

What redirect?

kindred anchor
#

left hand panel button

#

not exactly a redirect

warped yew
#

is there anyway to trick panel_iframe to open in a new window?

white glade
#

hey does some know why "panel: true" is not working in my horizontal-stack? is saying: key "panel" is not expected or not supported by visual editor

#

`type: horizontal-stack
panel: true
cards:

  • type: light
    entity: light.tradfri_bulb
  • type: light
    entity: light.wled
  • type: light
    entity: light.yeelight_stripe_0x0000000007fe7896
  • type: button
    tap_action:
    action: toggle
    entity: switch.tradfri_outlet`
polar kelp
#

panel is a setting of the view not of individual cards.

white glade
#

but how do i get the horizontal stack to full width

polar kelp
white glade
#

i dont have that. i only have a toggle for all

plucky ember
#

Having an issue with Lovelace statistics-graph card; not tracking temperature, humidity, and pressure correctly which is being collected from the weather component which creates appropriate measurement state-class sensors.

distant briar
#

Is there a way of making two scripts look and act like an (on/off) switch? (ie i have a script to turn on some lights via IR and one to turn them off again)

karmic tiger
#

Haven't we been here before? That's a template switch.

distant briar
#

not with me we haven't

#

ok i'll investigate a template switch (y)

#

thanks

karmic tiger
#

Ah, you're right. It was someone else earlier today 😂

warped yew
#

is there a card or something to show what lights are on? If i feed it a list of all my lights it would only display the ones that are turned on.

karmic tiger
warped yew
#

wouldn't that display all lights and statuses? i only want to show the ones that are turned on atm

karmic tiger
#

That wasn't clear. It sounded like you were saying that's what already happens.

warped yew
#

Doesn't that require one conditional card per light?

karmic tiger
#

Nope...

#

conditions list REQUIRED
List of entity IDs and matching states.

#

Hmm, I'm getting my cards mixed up still. That's only going to show when all entities meet the condition 😢 Entity Filter is the one I'm thinking of

#

Got there in the end.

warped yew
#

But it says that conditions are treated as AND and not OR. So all contusions need to be fulfilled (I.e all lights need to be on)

karmic tiger
#

I do this to only show open doors:

    show_header_toggle: false
    title: Open
  entities:
    - binary_sensor.front_door_contact
    - binary_sensor.porch_door_contact
    - binary_sensor.kitchen_door_contact
  state_filter:
    - 'on'
  type: entity-filter```
#

No doors open right now but you'll get the idea. Both cards have the same entities.

#

The 'open' card is hidden when there are none open 🎉

warped yew
#

Awesome. That's exactly what I'm after.

karmic tiger
#

Mix of conditional card to hide empty stuff, entity filter to show only matching stuff, and a markdown card to have a permanent header. Then wrap with a stack to keep it all together.

warped yew
#

Why would you have one for open and one for closed? Doesn't one imply the other?

#

How does it look in the end?

karmic tiger
#

Lemme open a door 😂

#

It's not necessary to have both sections. I just like both lists.

#

If I ever come up with a fancy floorplan, I'll just have indicators on that instead.

warped yew
#

Alright. Thx. Gonna play around with that tomorrow.

copper sandal
#

Is it possible to do a find and replace in lovelace?

copper sandal
#

Just found that it is got to edit the lovelace file and restart HA afterwards

tacit gate
#

Morning.
I have 2 light entity cards.
However, the icon changes based on the color of the lamp.
Is there a way to prevent this?
https://i.imgur.com/f0tb1rx.png

lucid pumice
#

recently updated to core-2021.8.4 and seems that reloading resources in lovelace stopped working? sounds familiar?

civic stream
#

Where can I find the energy dashboard?

#

Do I need to activate it somehow?

distant briar
#

is there anywhere i can go to look at examples of how people have set up their dashboards and suchlike? I've not put much effort in yet and its getting to be one big page of random stuff. I'd like some inspiration on how best to make it look from a usability perspective

lucid pumice
distant briar
#

ah cool. looks good. i'll have a look through those. some fancy looking cards on some of them

civic stream
#

Can't find the energy dashboard or info about where it is anywhere 🙄

lucid pumice
civic stream
#

The link at the top just gives me a 404 for my HA server, and the cards just say "Loading" if I try to add them manually.

#

It's as if the energy thing isn't installed, even though I'm at the latest version of HA.

raw egret
#

@civic stream are you not running default_config in your configuration.yaml?

#

if you're not you need to add energy manually

civic stream
#

That indeed appears to be the case

#

How do I load it manually?

#

Just put energy: in the config?

raw egret
#

I think you just add energy:

civic stream
#

@raw egret That fixed it, thanks!

dark dirge
mossy harness
#

So, I'm trying to view the past 48 hours of my Thermostat metric history, because I've been doing maintenance on my evaporator coils. Right now I can only see the past 24 hours in a histogram chart. How can I see more?

#

You know what I just found a way.

#

Created a new card with history on the same page, and set the time to 48 hours. 😄

sonic burrow
#

i have a question i got this work now how i want ```template:

  • sensor:

    • name: "canv"

      state: >
      "{% if state_attr('light.canvas_fa77', 'brightness') | int >= 220 %} bright
      {% elif state_attr('light.canvas_fa77', 'brightness') | int >= 200 %} bright2
      {% elif is_state('light.canvas_fa77', 'on') %} on
      {% else %} off
      {% endif %}"``` how can i use this entity in Picture Elements Card ? When i use the Sensor.canv it dont Work anymore with changing Pictures

karmic tiger
#

How are you trying to use it?

#

.share the code for the card

kind shellBOT
#

Please use https://paste.ubuntu.com/ to share code or logs. Please don't use Pastebin, since it can randomly add spaces to the main view.

civic stream
sonic burrow
# karmic tiger How are you trying to use it?

The first one is how it works So the Light shows if itz on or off. The second one is how i wanne use it with the template that it shows different Brightness Picture Depends on the Brightness but as soon i ad the sensor.canv it fails to show the picture at all

karmic tiger
#

What is the current value of your sensor in Dev Tools > State?

sonic burrow
#

current state "off"

karmic tiger
#

Ok. All I can think of is that you haven't got quotes around all of your values. The examples in the docs do.

tacit gate
#

Hello,
I have 2 light entity cards.
However, the icon changes based on the color of the lamp.
Is there a way to prevent this?
https://i.imgur.com/f0tb1rx.png

karmic tiger
#

That doesn't look like entity cards. Are you using custom cards?

sonic burrow
kind shellBOT
#

@sonic burrow When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.

karmic tiger
#

D'oh... Light Entity. No, no built-in way to stop the state colours.

#

You could look at using card-mod or similar.

sonic burrow
#

Is it Possible that it dont work cause the sensor.canv dont got an unique id?

karmic tiger
tacit gate
#

ty

prime plinth
#

Hi friends! I have a question. I have 5 temperature sensors on my lovelace page. And when I look at these graphs from my phone, sometimes they become the same, before the page is refreshed on the phone. All 5 sensors start to have the same graph, after reloading the page everything falls into place, but how to get rid of this? Is there such a problem.

sonic burrow
polar kelp
#

Nope. Seems like it should work to me

#

Unless there's hidden whitespace in the state somewhere...

#

Try "-{{ states('sensor.canv') }}-" in dev-templates and check that there's no space between the dashes and the value

sonic burrow
#

this works, it doesnt matter which sensor i use, when i put it in Picture Elements Card it instantly got an Error. Are Sensor may not work like for Example Lights in Picture Elements Card?

#

and that seems right too?

distant briar
#

hi, what would be the way of displaying a specific state attribute of an entity in a card?
for example if i put one of my heaters in a card as an entity it shows a bunch of info i don't want. I only want it to show the 'current_temp' attribute

#

i figure its something to do with 'state objects'?

strange blaze
#

Is there a way to turn the legend off on the Statistics Graph Card

errant plover
#

No though it has been requested.

brittle remnant
#

Hey everyone, where is a list of all the switch types in lovelace? I currently need a toggle switch (up or down but not both at once)

dark dirge
#

that's how a switch entity will be represented in Lovelace

#

or it's side-by-side - is that the concern?

brittle remnant
#

I'd really like a rocker switch with centre off... 🙂

dark dirge
#

There may be a custom card that I don't know about. Or a more/less clever solution might be a clickable picture

brittle remnant
#

no double throw switch? nah must be 🙂

heavy cove
#

Hello.. I can't seem to get the tab for setting up the home energy monitering to show up under 'tabs'... is there something special i need to do first?

polar kelp
heavy cove
brittle remnant
#

Hi, I've got the ipad app running on a wall mounted ipad - it needs to be "up" all the time but it blanks out the controls after a while - like some kind of screensaver, except the rest of the HA screen is there, the lovelace controls vanish

#

what's going on?

wanton raven
#

Hi all.
I had a problem after I installed custom select-list-card from HACS (and have now uninstalled it) but I had applied it to an input_select in the lovelace card which appears to have conflicted with an automation I was working on. Now I cannot add a new input_select (pull-down helper) as the option is showing as unavailable.
https://imgur.com/SnP1QyC
Is my best (only?) option to restore a backup or is there another option. I assume this is a core conflict I have created.
Supervised install on RPi4.
This in the logs:
"Unable to set up dependencies of default_config. Setup failed for dependencies: input_select"

amber wadi
#

Hey everyone, I have a quick question an I thought I would ask here before submitting an issue to the repo. I am using the bar-card and trying to create some basic system monitor stats, all the examples I see the bar card has a squared look to it like https://i.imgur.com/aYhI2ET.png but when I use that same exact code, I am getting a rounded look, like so: https://i.imgur.com/ZuUX8lH.png I am guessing this has to do with the theme I have selected?

errant plover
#

Yes. Look at your card corners.

amber wadi
#

Yep, found it, thanks!!

mighty burrow
#

Is it possible to add the temperature reading from a thermostat to Lovelace so it shows up like the other temperature sensors?

#

I can add the thermostat to Lovelace but that shows the temperature as a minor sub element

pearl ivy
#

Hi, how do I add entities to areas?

hasty sandal
#

Regarding the secondary_info: is it possible to have this display any information you wish such as an IP, at this time it's not letting me do so

karmic tiger
#

Show additional info. Values: entity-id, last-changed, last-updated, last-triggered (only for automations and scripts), position or tilt-position (only for supported covers), brightness (only for lights).

#

If in doubt, read the docs.

mild veldt
#

@hasty sandal there are a few custom-cards that allow it

#

secondaryinfo-entity-row and canary come to mind

hasty sandal
#

I'll try those out, at this time I have a bit more around this so hopefully it all works in harmony

#
  - name: Master Switch Ceiling
    entity: switch.powerstrip_03_switch_04
  - type: conditional
    conditions:
      - entity: switch.powerstrip_03_switch_04
        state: 'on'
    row:
      name: Ceiling Controls
      entity: light.wled_ceiling_lights_segment_0
      secondary_info: "192.186.0.0"```
#

that's what it currently is, with the last line being what I'd like to do

mild veldt
#

ok

hasty sandal
#

OMG, Canary works straight away, thank you @mild veldt

final void
#

Is there a way to determine whether dark mode is enabled? With card-mod or something else?

karmic tiger
#

How are you enabling dark mode?

final void
#

On the browser, just manually through the Profile page. On my iPhone it is enabled Automatically.

karmic tiger
#

I don't believe there's a way to detect that at the moment then.

final void
karmic tiger
#

If you were doing it based on sunset or something, you could just check when the sun is down 🤷‍♂️

polar kelp
fast sedge
#

Is it possible to hide the Energy button on the front end?

karmic tiger
#

Do you want to disable the entire feature?

fast sedge
#

I would like to disable Energy. But also hiding some of them without disabling would be nice too. Like Logbook would be nice to just hide without removing.

karmic tiger
#

#energy-archived can tell you how to disable the feature. If you just want to hide things, you can edit the sidebar. Long press on the title.

fast sedge
#

That is not an obvious feature.

#

Thanks for the heads up

karmic tiger
#

Yeah, I didn't know about it until very recently either. Well hidden 😄

fast sedge
#

Ahhh side bar decluttered. Thanks!

dark dirge
#

there's also an "edit" button in your profile

#

does the same thing

lucid pumice
#

I've got my lovelace split up into different files and since the aug update I can not reload when there are changes. Having to restart to see them :/

dark dirge
#

it's always been the case that changes in !included files don't show up unless you at least touch ui-lovelace.yaml

lucid pumice
#

that's not true as till the aug update I had no issues and never had to touch ui-lovelace.yaml

dark dirge
#

that's not my experience

#

but 🤷

#

some of my included files were last modified in Oct 2020 and one in Jan 2020. was definitely true then

lucid pumice
#

ok, so added white space to ui-lovelace and still nothing.

dark dirge
#

then you have some other issue

#

like you've broken the format

lucid pumice
#

no errors in console, no errors in the logs.

dark dirge
#

clear cache?

lucid pumice
#

not true as it is updated after a restart with no errors

dark dirge
#

you're welcome to continue to debug this

lucid pumice
#

yes, even though that was not needed before. usually just a shift+F5

karmic tiger
#

If you think it's a bug, report it.

kind shellBOT
dark dirge
#

I would recommend that you do some sanity tests first

lucid pumice
#

such as? I've been messing with this since the update came out

#

worked perfectly fine. updated. does not work. seems like a clear cut case 😄

dark dirge
#

delete all content in the file, see what happens

lucid pumice
#

which file

dark dirge
#

whatever4

#

sanity tests

#

ui-lovelace.yaml, whatever you included

#

add bad formatting, make sure it breaks

#

what you're describing isn't normal, so something is wrong

lucid pumice
#

I'm using the vs code addon so formatting is mostly fixed / highlighted as a problem

#

hmmm, right. I think i found the problem. If I click "refresh" it works perfectly.

#

so looks like the "reload resources" was moved to "refresh" and a non-functional button remains

dark dirge
#

"reload resources" is a completely different thing

dire geode
#

I've added the Valetudo card and the map does not load it only displays a small yellow bar as if to display a warning but without any text.

#

Has anyone seen this before and knows how to fix this?

#

Never mind ... it was just a typo

faint vortex
#

Hey, is there any way to configure buttons for an entity on an Entities card similar to how a Curtain entity's buttons show?

So for example here, is there any way(custom components are fine too) to add two more buttons to Living Room TV the same way Curtain has 3 and configure them to do service calls? https://i.imgur.com/rY4EISm.png

#

E.g maybe a button to change to a specific source or have it turn some led strip around the TV on or whatnot

#

The entities card is perfect for my use case, would just need a way to add buttons on an entity that displays there without having to make a huge grid and size it down to small cards

errant plover
faint vortex
#

Not those particular ones, wanted to make different buttons that call different services, will look into the button-card

errant plover
faint vortex
#

Ah this fits my needs perfectly, thank you so much!

cold shoal
#

Has anybody managed to get Mermaid working with the Markdown (or any other) card? Is it even possible? It would be really nice to draw dynamic diagrams

distant briar
#

whats the deal with the 'map'? for some reason i'm only seeing my home zone on it any more. i've previously seen me, my wife, my keys/wallet etc (tile entities) but i come to check thsi past few days there is nothing there.

polar kelp
#

The others only show up when not home.

distant briar
#

ah right i see. makes sense. thanks

thorn ridge
mild veldt
#

That’s a pretty old card, I’d suggest just using an entities card with rows of type attribute for the ones you want

quick otter
#

@thorn ridge check out custom:auto-entities card

#

Oh wait you need attributes...