#frontend-archived

1 messages · Page 205 of 1

graceful ether
#

Hello, i was wondering if they were a way to avoid scaling issue with a picture element ?

#

arf, can't share screenshoot

wild stone
#

I am trying to set up a foscam camera card and I am having some issues. I can get it to work fine but when trying to swithc from auto to live view it will go from a static image(auto) to a blank grey card(live)

austere glacier
#

Can anyone tell me why, since the last update, I have different colors for my active buttons?

#

Some are orange and some still old yellow, as it was before

teal vector
#

Hello, I want to apply the style from the core Button to a custom button card. Can someone tell me where to find the css values to apply? Thx

left aspen
#

Hello everybody.
A simple help, what do I have to enter in "data" and "target"?
I have notify.save_to_file configured in yaml, but I want to test here if it works and I don't know what to fill in?
Thanks

dark dirge
#

message: under data: is presumably what you want to write to the file. I don't think target: has any meaning for that kind of notifier

sterile cove
#

if you want home assistant to be accessible from outside the LAN you'd just connect all devices to the domain you want it to, right? if that makes sense

dark dirge
#

all devices?

#

you either set up SSL in HA and forward a port to HA via your router, or you set up NGINX or similar (a reverse proxy), port forward to it and have it route to your HA instance

#

any devices you have integrated with HA have no need to be accessible directly from outside your LAN

sterile cove
#

Just HA srry by devices I mean the end home assistant apps on phones

dark dirge
#

your phones will need some way to communicate back to your instance if you want to access HA away from home and/or send location/sensor updates

#

so you do one of the two things I mentioned (which could also include a third option - Nabu Casa) to create that path back to your instance

sterile cove
#

Kk, ty

muted lintel
#

Is it possible to call a service or something from a persistent notification? Like, can I give a add a link to take a specific action or fire some kind of event?

simple grotto
#

Hi, every page on HA works fine for me but when I go to Developer > Services I get:
Error while loading page service.

#

It only happens on my laptop - it works on my other computers so I am not sure whats causing this on my laptop only and ONLY this page

tired bluff
tired bluff
coral thicket
#

I have a generic camera with a SVG URL as "still_image_url". It works, but unfortunately the SVG has a lot of stuff on the top which I would love to crop away. I found "Camera Proxy", but anyone got that working with just "still_image_url"? Seems to me that it requires a stream url or maybe that just can't crop SVG files? The cropped camera is always showing the same svg as my generic camera. Any other means of cropping SVG file without creating my own proxy/addon?

Edit: Oh.. the preview is always showing the original entity, but the entity_picture path is cropped..., but only for jpg, not svg's -_-

distant briar
#

I'm getting a shedload of the following messages in my logs, I'm not sure why

Icon mdi:do-not-disturb-off was renamed to mdi:minus-circle-off, please change your config, it will be removed in version 2021.12.

I'm not using that, I'm guessing it might be related to an android phone's DND function? (don't really use that at the moment) but it would be running the latest HA app either way.
any ideas?

distant briar
#

hmm it appears that i have a lot of devices which have a dnd icon on them. is there a way of updating them all en masse to use this new icon?!

ornate grotto
#

Hi there, I'm looking for a card like the entities one, but with a kind of exclusive feature. Like, only one switch in the card can be on at a time. If you turn one on, the others automatically turn off.

#

I could do it with a blueprint and automation i guess, but the main issue is that it will turn off after the new one turned on, i would like to turn others off before new one turns on

sinful dome
#

Hi there! 👋

Not sure if this has been asked before but am i able to change the logo of the application and put my own picture instead to make it more personalized?

distant briar
#

which logo?

distant briar
sinful dome
#

Yea the log in screen and the dashboard (top left)

distant briar
#

i dont see anything on the dashboard top left on mine

#

weird

#

its's also in HACS

buoyant parrot
#

Problem with Timezones: on iOS device the browser show graphs in UTC, while a different desktop PC browser shows correct timezone. This seems to have happened after updating either the iOS_app or HA_core... (incidentally first noticed on HA_app). Anyone else having this problem?

near yoke
#

If somebody wants to give feedback on my User-Interfaces, that would be great

keen lava
#

Anybody got any idea why this custom card won't load?

dim harness
#

hi, is is already possible to create groups without modifying yaml file manually? e.g., grouping lights together

dark dirge
lime anchor
#

Hi All - not sure if best to post here, but I have some strange issues with the UI not updating the status of devices. Most of my devices are Zigbee throught ZHA but I do have some direct integrations with WIZ LIGHTS, MYQ, LUTRON, etc.

#

not even sure where to start

dim harness
simple grotto
#

Hi, I have an entity with the unit measurement as '°C' but in the entity UI graph it shows '°C' - how can I change it?

#
      sensorx_real_feel:
        friendly_name: "SensorX Real Feel"
        value_template: >-
            {% set temp = states('sensor.living_room_thermometer_temperature')|float %}
            {% set humidity = states('sensor.living_room_thermometer_humidity')|float %}
            {{(0.567 * temp + 0.393 * (humidity/ 100 * 6.105 * e ** (17.27 * temp / (237.7 + temp ) )) + 3.94) | round(1) }}
        unit_of_measurement: '°C'
#

because of this I can't link it to other sensors using '°C' in a graph in UI

inner bloom
#

When I click on a media player, I get a popup with full controls. How can I make a card out of just that? Bit of a shame that it doesn't seem possible.

hallow mango
dark dirge
#

Actually, it should if it was the one a lot using a python script to write the YAML and calling group.reload

#

If it was some other technique 🤷‍♂️

#

Oh, you’re talking about group.set. I keep forgetting about that

#

That’s a good point. You can call that via an automation triggered on homeassistant.start

#

But not for a light.group

errant plover
vapid field
#

Hello all 👋,

I have opened https://github.com/home-assistant/android/issues/1762 the other day and we settled the issue on making sure all requests from the app would have a consistent User Agent. @frosty pelican did a great work and everything seems to work in his branch, except for the /service_worker.js call. And, you can read the history on the Android ticket, this is a bug on Chrome's WebView and there's no workaround.

Since this is not a bug of the frontend per se, as everything seems to work, I want to ensure that we can safely merge the PR on the Android Companion app and those using the mentioned firewall config won't have any problems.

So, if the service worker does not load, will there any expected issues for the user? What's your recommendation, is it safe to merge @frosty pelican's PR and use the mentioned firewall setting?

Can you please keep the conversation on the mentioned Android issue, to ensure your opinion is kept there for context?

Thanks!

scarlet dove
#

Guys, how can I change my template sensor icon colour if condition change? I found the way how to change icon itself if condition change. I used in configuration.yaml icon_template command.

vivid trout
unique prism
#

I just updated from 2021.9.5 to 2021.10.4 and now I can not access any of my lovelace dashboards, nor the settings dashboard. I get a JS error in the console

Uncaught (in promise) ChunkLoadError: Loading chunk 12545 failed.
(error: http://XXX:8123/frontend_latest/484f044e.js)

When I try to open the file directly, FF says "content encoding error -> file is using an unknown compression". Anybody any idea?

vivid trout
#

does anyone have experience with the custom sidebar card?

ivory quarry
static cloud
#

How is it possible to have a lovelace page display on a Roku TV.

sand flame
#

Ive been looking and cant seem to find my answer. For 'button-card', as I'm making templates, how can I make an 'or' statement when defining a template for states. Example:

button_card_templates:
ios-square:
- value: 'off' OR 'closed'
styles:
card:
- background-color: green

grave vortex
#

Hello all, i want to add a webpage card for my home router, 192.168.0.1 but the page remains blank. What to do?

spare loom
#

Hello, does anyone know of a way to directly view a sensor's attributes in lovelace?

junior gulch
#

Is there a way to specify On and Off icon variants for an entity (edited)
I know how to change the icon but it remains the same for both On and Off
cause some entities do change icons for on and off, my entity does that with a square

#

I use Entities Card to display my entity

dark dirge
#

With a custom card that supports that, or with card_mod

junior gulch
#

So with stock cards, that's no possible? ok

dark dirge
#

It is not

junior gulch
#

Oh, I can apparently change the device class to the one with the icons that i like

dark dirge
#

Yes, the device_class can affect the icon and displayed state text, but it doesn’t let you arbitrarily change it

junior gulch
#

I found a list of classes for a binary sensor, but not for switches. Is this documented anywhere?

junior gulch
#

Stuff like Humidifiers etc don't fall under switches? for some reason I thought all entities with a toggle are switches

dark dirge
#

The determining factor is the domain of the entity, not what the device physically is

woven pine
#

Small question regarding dashboard: I would like a global default dashboard that is not automatically maintained by lovelace, and a secondary one with all entities automatically added.

Is there a way to achieve this?

rich eagle
woven pine
#

It did revert to the main being automatic and the secondary being the one I did by hand for some reason, but after a second try it went well

#

I was editing on two devices at once so shenaningans might have happened

clever plover
#

I'd like to display the date and time a motionsensor was triggered for the last time. Is this possible? If yes, how, please. I tried entity and bargraph lovelace card but none of these can show the last action. The Row entity card has the option to show secondary information: last updated or last changed but this information gives the history like '31 minutes ago'

woven pine
#

Another question: I have an entity (AC) that has an attribute (current temperature).
Which card should I use to plot its value over the last 24h?

#

It's not a sensor so I cannot use the Sensor card:

  • Should it be a sensor and the integration I use got it wrong?
vivid trout
#

so still confused by HA css and web css, for a menu item to be active on a website etc I would just use :active or .active or even class code depending on use, I tried to sort out active menu item for the sidebar addon with li.active (as it suggest) but it does not work, the closest I have got is :active but this only works when you click on it then it disappeared anyone got any idea ?

pine slate
#

Hi, I am trying to assign my device to area on the UI, there should be a gear icon after clicking into the device but for me, I don't have one for any of my devices, any idea why this is? Running Hassio through VM .qcow2 file.
https://i.imgur.com/aaogwzP.png

#

Nevermind...i found it...it's no longer a gear icon but it's the pen...mindblown

woven pine
#

Is there a way to force Lovelace to always show dark mode? It does not pick up that my OS uses dark mode (Ubuntu 20.04, Chrome)

woven pine
#

Thanks a lot for the snarky remark that does not help in any way

vivid trout
#

there is a theme that is optimized for iphone screens I think

woven pine
#

There is a default dark theme that works and is in the default build. I just want to know how to activate it.

rich eagle
rich eagle
rich eagle
woven pine
rich eagle
vivid trout
#

spacgaier, do you know much about css with home assistant, I am trying web css but its not working as intended lol he he

#

i set something to active and it highlights but only when I click on it and does not stay highlighted

#

tried li.active, li:active (second one gets menu to do what I want but only if I click on it) normal behavior would be highlighting the active page lol so confused here

bitter bolt
#

how would I go about making a conditional statement on a button to have it only display during certain months? that way I don't have to completely erase my cards for my air conditioners when I store them away for the winter months.

native idol
#

Hi, is here somebody that is good with making dashboard and i can contact in private?

#

I got some questions about it 🙂

outer gulch
#

i have a media player that interfaces with mpd.. i have added several different playlists to the mpd.. so these are available through the source inside the media player.. is it possible to create a card where i can just simply have a select box with the different sources and then a play button next to it?

#

instead of having to open the media player with the three dots and then select the playlist?

mild veldt
ornate marlin
#

I have a weird issue: having 2 sensor type items below eachother, after opening an item (graph or anything) those 2 sensor cards show exactly the same line, when going to another tab and back the “refresh” correctly again

#

The top sensor card takes the line of the bottom one

#

This is on the iOS client

errant plover
#

Go into "App Configuration" in the left hand menu. Then "Debugging" right down the bottom of the list. Then "Reset frontend cache". Go back to your dashboard and pull down to refresh. #ios_and_mac-archived if the issue persists.

ornate marlin
#

Tried but persists, moving over

#

Thanks

ornate marlin
#

@errant plover after a comment of @wet schooner I tried it in safari, where it happens as well

terse parrot
#

Is there anywhere inside the HA ui where I can see the attributes of a light, such as min_mireds and max_mireds?

junior gulch
#

@terse parrot if it's a static attribute, customisations

terse parrot
worn jay
#

I couldn't find reference in docs, but the little battery icons associated with ZigBee device battery levels no longer show 'partial' levels based on the percentage.....STD Lovelace entities card. And I see an (new?) Option in the card to 'colour icons based upon state'.... But they all show as 'full batteries'. How do I get the partial battery icons back ?

#

Should say they disappeared in 10.1 I think.

calm star
#

I'm trying to create an Entities card that filters by and Input Select (dropdown). I have the input select created and the selection updated an entity. Is there a way to have that dynamically update the filter on an Entities Filter card? I've tried auto-entities but I can't seem to find how to reference the state of another entity as the filter criteria. I posted on the forum with more detail https://community.home-assistant.io/t/travel-times-dynamically-selected-entity-filter/347220

mild veldt
worn jay
#

Thankx hadn't seen that...

vapid field
#

Is there a bypass to use webpage card with a http webpage when my HA is https?

frail chasm
#

Hi people, I wonder if anyone has noticed how if you create a Person and then want to make them a User, you cannot easily do so from Users. Is this just a UI issue or is there a deep reason why People and Users are not more closely connected?

raw sundial
#

Hi, I am a noob user of the home assistant but I already have some integrations working. I have made few tabs in my HA such as lights and switches. My question is, how can I group the lights? For instance I have about 6 hue lights in my room and I would like to group them under the name Office for example. And group 2 lights in the group Kitchen.

errant plover
tacit cave
errant plover
#

I'm a user but not a person.

raw sundial
#

also @errant plover how can i add visual studio or portioner to the side bar like under media browser on the left side?

#

I installed it just now

errant plover
raw sundial
#

thank you

pale jewel
#

in lovelace-buttons where in the heck is this Then at the top of the raw edit mode paste these button templates:

errant plover
#

It's the second menu item.

pale jewel
#

what is that under then i dont have an edit

errant plover
pale jewel
#

o shesh no i feel dumb as hell... im lookin at the frontend hacs.. "button-card, other integrations.
Ty for the point..

plush fulcrum
#

Hey, I have my local weather radar as a camera (I have .gif file that I show as a camera). Sadly my tablet is too slow if I have the camera in picture-glance all the time. I also have a png of the latest radar frame. is there a way to show the PNG image, and after clicking it, it would open the camera instead? How would I approach this? Thanks a lot for replies ❤️

thorn ridge
#

hey guys,

I would like to replicate a flashing button like the example (link) however, i have no idea how to create that entity which says whether the alarm got triggered (red) or not (green).
https://bit.ly/2YTi2MH

dark dirge
#

The entity exposed by your alarm should be enough. Just adjust the states to match

thorn ridge
#

hmmmm

#

wait i think i know what you mean. That would be (for instance) my front door sensor

dark dirge
#

A front door sensor isn’t your alarm

#

the state of the entity alarm_control_panel.area_001 changes to triggered when the alarm is triggered, in my case

thorn ridge
#

hmm

dark dirge
#

as with everything, it all starts with knowing what you want to do in response to what

thorn ridge
#

i know exactly what i want, its just that i don't know how to code it

dark dirge
#

so what entity do you want to use and what state do you expect it to change to when you want the button card to change?

#

you just need to plug those into the config that you posted

#

i have no idea how to create that entity which says whether the alarm got triggered (red) or not (green).

#

that information has to come from somewhere

thorn ridge
#

Ok first i need something to trigger. Ideally at night my alarm is armed_night, if the frontdoor opens has to get triggered.
So, right now i have this as a test:

https://pastebin.com/jvVYP0jD

#

it says 'disarmed' as state but thats for testing purposes atm

dark dirge
#

shouldn't you trigger off what your alarm system says, rather than an arbitrary sensor and what you think it will do?

#

you already have this condition:

#
  - condition: state
    entity_id: alarm_control_panel.home_alarm
    state: disarmed
#

which implies that you already have an entity for your alarm system

#

just use that in the card

#

I don't know anything about your alarm system, but it looks like maybe you don't have one that's monitoring your entry sensors and are just manually triggering it?

#

usually an alarm system does its own thing and you just want to pay attention to what it says - not write an automation that tells it what to do based on the state of your sensors

thorn ridge
#

no i got it!

#

🙂

#

thanks

mellow ledge
#

I have not been able to find a way of showing descriptive texts for entities in e.g. the button card. It would be nice to show it when hovering over an entity, otherwise it is good enough when clicking on an entity. Thanks.

maiden iris
#

it seems like everytime I add a custom card from HACS, i get something like this Custom element doesn't exist: auto-entities.

card:
  type: glance
filter:
  include:
    - entity_id: sensor.afvalwijzer_gft
    - entity_id: sensor.afvalwijzer_papier
    - entity_id: sensor.afvalwijzer_pmd
    - entity_id: sensor.afvalwijzer_restafval
sort:
  attribute: days_until_collection_date
  method: attribute
  numeric: true```
#

It is installed from HACS

#

Also restarted home assistant

#

ah, I need to reload my browser too 🙁

#

It always seems like a backend issue though, not a frontend issue

fathom vault
#

thankyou, will check it out

severe escarp
#

im trying to understand a problem with brightness handling in the light card.

#

a lot of the time when the brightness is set, the brightness shown in the ui jumps down

#

eg, i could set it to 75%, the light goes to 75%, and then the ui updates and shows it at 53% or something

#

it looks like the backend works on a scale of 0 to 255

#

i see 75% come over teh websocket as 192

#

so something on the frontend is doing maths badly when it scales that to a percentage for the slider

#

this also only seems to happen when the light is in a color mode

#

adjusting the brightness when the light is doing color_temp seems fine

frail bridge
#

Anyone know how to add justify-content: flex-start !important; to a custom:horizontal-layout?

flat steeple
#

Accessing local websites via remote control nabu casa URL ( i want to load an iframe webview ) for example? how to do ?

frail chasm
thorn ridge
#

hey guys,

is it possible to have custom:slider-entity-row take steps of 0.5 (degrees)?

tacit cave
faint vortex
old sinew
#

what is the trick to getting my lovelace cards in the right order. They display 3 columns wide and no matter how i mess with the up/down arrows I can't get them in the order i want. Its like some kind of auto positioning takes over and vetos my choices.

faint vortex
#

So you have it like this for example?

#

wait 1sec uploading image

#

And you'd want like I have the Hall card in the middle, you'd want that on the left/right?

#

If yes, it's best to use a Grid card and have all your cards in it

#

or multiple grids

#

you can choose the amount of columns

old sinew
#

@faint vortex thank you. I'll give that a try.

#

ooo, looks like vertical stack might also do the trick

faint vortex
#

grid is vertical+horizontal stack together

old sinew
#

aaaahhhhhh the up down arrows only work logically if you're viewing on a screen that fits one card wide

#

as soon as you view on desktop it will try to arrange things and ignore your order

#

unless you force it with stacks. fair enough. makes sense

clever plover
outer gulch
#

i have the weather integration from met.no running.. i want to use the current state of the weather (currently "Rainy") and i want to show an icon of, well, rainy instead.. how can i do this?

#

i've used picture-elements for this earlier

#

and the type: state-icon

#

oh.. actually.. it's there.. state-icon works against weather.home.. can i change the color of the icon?

#

or rather.. it seems like the state-icon is just a cloud.. the current state is rainy, not cloudy

sick lichen
#

Hi all, I am search now a long time, but did not find any solution.
perhaps there is someone and can help me.
How can I change the display of the mqtt temperature sensor when I click on it? Actually when I click on it it will be displayed like as a binary sensor and not like a temperature sensor with a history graph

My sensor`s configuration

  • platform: mqtt
    state_topic: relaisheizung/t2_vorl_fussb
    name: "Heizung Temperatur 2 Vorlauf Fussbodenheizung"
    device_class: temperature

unit_of_measurement: "°C"

Sensor is working, and I have is successfull displayed in my lovelace card as a numeric display, but when I click on it, it will not be shown with a history graph of temperature

rich eagle
# clever plover yes, so date and time when last action was triggered

One way could be to create a template entity for that information. Something along those lines: https://community.home-assistant.io/t/template-sensor-with-last-change-open-door/170932

However, rather than hardcoding the timestamp rendering format in the entity, I would probably just have this new entity contain the raw timestamp value and use then an an attribute row to output it: https://www.home-assistant.io/lovelace/entities/#format

midnight saddle
#

Hey, what is the easiest way to create a button on my dashboard that says something like this:
"Change water for cat:
4 days since change (1 day overdue)" or something similar? When I have then done it I want to be able to reset this counter

frail chasm
# tacit cave You can. Under person. There’s a checkbox that says “allow person to log in”

I created my children as people who are tracked via asuswrt detecting their phones, and as users who have the smartphone app on the same phones. The thing that is not quite intuitive is that the concepts "user" and "person" are similar and yet not interchangeable, and cannot be linked if created in the wrong sequence. It's not the end of the world but it certainly is not obvious, especially as one sets up these basics as part of onboarding and therefore during the first engagement with the product when most error prone. It would be nicer if one could refer to an existing user from the person screen, as part of the "allow to login", as well as create a new user.

dark dirge
tacit cave
tacit cave
frail chasm
#

I did try :)
And as you can see in your screengrab, the function you are highlighting leads to "create user" but not to "associate existing user".

tacit cave
#

Then delete the user

#

We’ve spent more time talking about this than it would take for you to fix it

#

Literally

frail chasm
#

Sure. I work in IT Services and I am just chatting about user experience. 🙂

tacit cave
#

Wrong place

#

Make a feature request

#

You’re in the support channels

frail chasm
#

OK: thats helpful, thank you.

tacit cave
keen lava
heavy pasture
#

Just updated to 10.6 and when it came up it found an error in one of my views. Not an issue by itself, but it stopped all the other views from loading. I then reinstalled 10.5 and the error is still there so the change must have been in an earlier release. Never had one view effecting another. I have always had a test view that I used to try new code. This never effected my other views.

rich eagle
heavy pasture
#

Did all of this on every device. I Must have made the change after the front end was updated

#

To the test view

fiery ledge
#

will the badge and battery icon frontend PR 's be merged before 2021.11 ?

heavy pasture
#

I had a code error on one view that caused all other views not to load. Should I create a GitHub issue for this?

tacit cave
heavy pasture
#

@tacit cave I have 5 tabs. Before if one tab failed it would not load. Now all 5 do not load. This is a change from 2010.10.2

#

Now you are saying that bad code on one tab effects all?

tacit cave
#

or if it's a single yaml file

heavy pasture
#

Not sure what you mean first view. My first view has 5 tabs. It is in tab number three. An error in one tab never effected other tabs before. I have a test tab that I try tabs on

#

It is 5 sperate yaml files

tacit cave
#

tabs are views

#

what your'e calling a view is the dashboard

heavy pasture
#

Ok. Dashboard has 5 tabs

tacit cave
#

right, so if an error occurs on dashboard 1, the rest will fail to load

#

depending on the severity of the error

heavy pasture
#

So an error on dashboard 1, tab three stops all 5?

tacit cave
#

Yes

#

been like this since day 1

heavy pasture
#

What is strange is that I did not change the code. I updated to .6 and got this error

tacit cave
#

something was added or removed to catch something you had miss-configured

#

lovelace doesn't have much config validation built into it

heavy pasture
#

Most likely. The more that is changed the more I find out what I am doing wrong

tacit cave
#

so when it tightens, bad configs get thrown out

heavy pasture
#

Again a good thing.

tacit cave
#

If you use the UI to edit, you'll see the strictest settings

#

if you use yaml mode, you won't see anything

#

usually

heavy pasture
#

The bad code had to do with a marked down card which I am learning.

#

I am in yaml mode.

tacit cave
#

ah

heavy pasture
#

I can try the UI to edit on another dashboard

tacit cave
#

ok, so you can make your own HTML on those cards, and errors in that can break everything too

heavy pasture
#

Still trying to get the card to show all the updates that are available. Following two different forums.

tacit cave
#

which is?

heavy pasture
#

?

#

I.e Hacs has an update and what card

#

You have been answering in both

tacit cave
#

ah

#

links?

heavy pasture
#
https://community.home-assistant.io/t/help-needed-with-template-error-in-markdown-card/298415/11
#

This card now displays with no errors but does not show anything for me

#

Most likely a template error or an alert error.

#

Template variable error: 'None' has no attribute 'attributes' when rendering '<ha-icon icon="mdi:home-assistant"></ha-icon>   Add-ons needing update:    {{ states('sensor.supervisor_updates') | default }} > {% for addon in state_attr('sensor.supervisor_updates', 'addons') %} >   {{ addon.name }}  {{ addon.version }} -> {{ addon.version_latest }} > {% endfor %} <ha-icon icon="hacs:hacs"></ha-

tacit cave
#

yah

#

so where is that sensor.supervisor_updates coming from?

heavy pasture
#

Not understanding your question?

tacit cave
#

I don't have that sensor

#

where does it come from

#

what integration

heavy pasture
#

Command line sensor

tacit cave
#

ah ok, what does it output

heavy pasture
#

sensor:

Sensor to track available updates for supervisor & addons

  • platform: command_line
    name: Supervisor updates
    command: 'curl http://supervisor/supervisor/info -H "Authorization: Bearer $(printenv SUPERVISOR_TOKEN)" | jq ''{"newest_version":.data.version_latest,"current_version":.data.version,"addons":[.data.addons[] | select(.version != .installed)]}'''
    value_template: "{{ value_json.addons | length }}"
    json_attributes:
    • newest_version
    • current_version
    • addons
tacit cave
#

can you post all of the attributes from developer tools -> states page

heavy pasture
#

It looks like all the information is there?

tacit cave
#

so the addons appear to work

#

what about the sensor.hacs and it's developer tools -> states page?

heavy pasture
#

repositories: []
unit_of_measurement: pending update(s)
friendly_name: hacs
icon: hacs:hacs

tacit cave
#

ok

#

so the error is in the crap on the bottom

#

do you care about the crap on the bottom?

heavy pasture
#

No

tacit cave
#
      content: |
        <ha-icon icon="mdi:home-assistant"></ha-icon>&nbsp;&nbsp;&nbsp;Add-ons needing update: &nbsp;&nbsp; {{ states('sensor.supervisor_updates') | default }}
        > {% for addon in state_attr('sensor.supervisor_updates', 'addons') %}
        >   &nbsp;&nbsp;{{ addon.name }}&nbsp; {{ addon.version }} -> {{ addon.version_latest }}
        > {% endfor %}
        
        <ha-icon icon="hacs:hacs"></ha-icon>&nbsp;&nbsp;&nbsp;HACS updates available: &nbsp;&nbsp; {{ states('sensor.hacs') | default }}
        > {% for repo in state_attr('sensor.hacs', 'repositories') %}
        >   &nbsp;&nbsp;{{ repo.display_name }} {{ repo["installed_version"] }} -> {{ repo["available_version"] }}
        > {% endfor %}
heavy pasture
#

At least I don't think I do

tacit cave
#

that should be al lthat you care about

#

unless you want to see the supervisor info

heavy pasture
#

I do as I update all the betas

tacit cave
#

then just add for supervisor

        |          |    Current | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Latest |
        |--- |:---: |:---: |:---: |
        | **Supervisor**&nbsp;&nbsp;&nbsp; | {{ state_attr('sensor.supervisor_updates', 'current_version') }} | | {{ state_attr('sensor.supervisor_updates', 'newest_version') }} |
heavy pasture
#

Thanks again for all your help. I'll try it later as I need to leave and let you know.

heavy pasture
#

Card now displaying correctly. Only error now is the count. It says 16 updates are needed.

grim compass
#

Is there a way to hide the active text on a badge ?

vapid field
#

I would like to have a card in Lovelace where I can set a timer which turns on a switch after the time I set. For example: the switch "Car heater" and under it I can choose a time by clicking arrows to make it turn on after 30 minutes. Does anyone know how to do that or where I should start looking?

rich eagle
vapid field
icy cradle
#

You could use an automation for that

#

For example I have a dropdown box to modify the motion sensors timeout time. Each time the motion sensor is triggered, the automation script runs and checks to see what the value of the dropdown box is set to.

woven pine
#

Is there a light entity card that displays brightness and color temperature from the get-go?

#

The Light card only shows brightness, and I need some weird long presses to get to color temperature when it's in an horizontal stack

noble moon
#

All my picture-Entities cards have started to fail to draw. I use several that pull images from weather sites like radar and forecast images, as well as images from local cams. It has been working for weeks, just stopped yesterday and now just displays the 'broken link' image.
Rebooting everything including the host hasnt solved it.
Ping from within host proves connectivity
Pasting URL in same Chrome browser proves image is available

charred berry
#

Hello everyone, I cannot figure out what is wrong with my home assistant instance. When I want to add a new card to my dashboard the list of available cards is empty. I can still add them via code editor, and then switch back to the visual editor. But does anyone of you have an idea why the list of cards might be empty?
When I set it up several months ago the list was filled and with some update (I don't know which one anymore) the list suddenly was empty.

fiery ledge
#

anyone here still using Custom header?

tacit cave
#

no reason to

fiery ledge
#

I am, and up to now it was flawless still. However, 2021.11 changes that. Not severely, but somehow it blocks the 3dots

fiery ledge
tacit cave
#

well, there's not much you can do

fiery ledge
#

Bram showed me the mwc-icon-button was changed to ha-icon-button, and I changed that n the resource

#

unfortunately that didnt help. was hoping anyone around would know more than me to fix it back..

vivid trout
#

thanks to @tacit cave, @dark dirge @split granite and @errant plover as well as a few others for helping me get to this stage 🙂 due to me being a noob with ha, took things on board thanks guys automations were they are and actually doing my own templates too at last lol 😛

fiery ledge
#

views as a whole or per-user

#

I take it we can set:```
visible:
- user: 123...
- user: 456...
- user: 789...

#

and need to do that for each view? Do we need to add the admin on all of those too? or that enabled. by default

tacit cave
#

pretty sure thats what it means

fiery ledge
oak solar
#

Hi, I've migrated over from Docker to HAOS. In my Docker setup I was able to put jpgs in the www folder. With HAOS I've read the documentation and to put images in the media folder, however when I do this I cannot see any files in the frontend nor can I link to them in my cards. Any tips?

errant plover
#

Did you restart home assistant after creating the www folder?

scenic trout
#

Anyone here experienced the behavior when pressing a toggle button to on, the lamp or whatever turns on but the toggle button returns to off state?

To turn the controlled lamp off you have to kind of double click.

Anyone know why this occurs?

errant plover
vivid trout
outer gulch
#

what do i need to do to trigger the "add as app" thingy in the chrome browser?

#

i got that option on my other computer, but not on the one i'm currently using

scenic trout
#

I had this problem before the fresh install aswell

rough coyote
#

Can i turn on and manage two lights at once with a single ' - type: light' in the interface?

#

So control OfficeL1 and OfficeL2 together with the 1 'type: light'

tawny vault
#

@rough coyote you can make a light group

rough coyote
#

Epic, thanks @tawny vault gonna try that

next turret
#

i am looking for a button for my lovelace that will not light up/give any indication of states. In short i need somethign for my switchbots that is just a button press

#

any suggestions?

tacit cave
#

custom button card

#

or make a script and use the regular button card with a tap action that calls the script as a service

next turret
#

a script for a button?

tacit cave
#

yes

next turret
#

how does that work?

tacit cave
#

it just does?

#

just use a script as the entity

#

do you know what a script is?

next turret
#

aah a HA script and call that

tacit cave
#

yes

next turret
#

i need more caffinee before i ask questions appartally

#

becuase that should have been obvious

#

i was thinking of wrting a script inside the button

rough coyote
#

@tawny vault One pitfall is it makes it lowercase despite the name of my entity being camelcased in config.yaml.
Just something to know i guess.. 😛 took me a while. Guess entity names always all lower or some rule.

tawny vault
tame shale
#

can anyone tell me about the climate.yaml and where the setpoint is within that? I have a cold and hot setpoint but there is a current temp thats adjsutable but I don't know what variable that is?

rough coyote
#

Yeah i use name: for that in cards generally. I don't rely on the known name coz for layout in a card i somtimes need to shorten it down so it will fit better on the cards.

fiery ledge
#

getting Icon mdi:cellphone-iphone was renamed to mdi:cellphone, please change your config, it will be removed in version 2021.12. while all references to that icon in my config are using fapro... could it still trip the checker?

oak solar
errant plover
#

Reading the documentation is always a good idea.

stray girder
#

Is there a way to get the frontend notifications pushed to email or mobile push? I don't open the frontend very often, so I'd ideally like to be notified via email or push. Seems super basic, so I'm guessing there's a way, but I'm not finding it..

stray girder
frail bridge
#

Anyone know of a way to calibrate light colors?

#

My light's "white" is more of a pink

frail bridge
vivid trout
# oak solar This didn't work either 😦

so I have a mp3 file in my media folder in a folder called sounds (media browser in left menu in ui) to referance that mp3 I have to put /media/local/sounds/you_cant_be_serious.mp3 otherwise it does not work).. but if your refering too media folder in www I would referance to that /local/media/(filenamehere).

woven pine
#

Weird question, but has anybody here used a PSVita as a HA hub? They're a few buck here and have a serviceable touchscreen

#

Just wondering how well it works permanently plugged in/how convenient it is for such a use case

woven pine
#

It looks to be stuck on "initializing" when trying to access it...

uncut jacinth
#

I want to try to add a background to overview. I saw online that i need to add this to lines:

views:
background: var (--background)

How should I add this to configuration .yaml?

tacit cave
tacit cave
#

you should be adding your background through the theme anyways

fiery ledge
#

manually edited that to "icon": null , and now the error has gone

tacit cave
#

so your statement about using fapro was not the problem

fiery ledge
#

well, I was merely asking, just because I use the fapro for these obsolete icons. I did find it surprising the core.entity_registry still held that icon, even though I never set it in the UI. Maybe it was transferred during the migration of the known_devices.yaml (where it was set before)

tacit cave
#

it's an entity registry

#

it's how the entity was initially registered

#

that configuration doesn't change unless you change it through the integration

fiery ledge
#

btw. If I open the icon cellphone-iphone.svg in my fapro folder in a text editor, I see this: id="mdi-cellphone-iphone" 😉

tacit cave
#

then you'd use fap:mdi-cellphone-iphone 😉

#

unless it was a custom icon, in which you'd use the custom starting indictator

#

all explained in the docs

fiery ledge
#

no, because the file itself is called cellphone-iphone.svg. Using fapro:cellphone-iphoneeverywhere. I downloaded the file from the material website as <svg xmlns="http://www.w3.org/2000/svg" id="mdi-cellphone-iphone" width="24" height="24" viewBox="0 0 24 24"><path d="M16,18H7V4H16M11.5,22A1.5,1.5 0 0,1 10,20.5A1.5,1.5 0 0,1 11.5,19A1.5,1.5 0 0,1 13,20.5A1.5,1.5 0 0,1 11.5,22M15.5,1H7.5A2.5,2.5 0 0,0 5,3.5V20.5A2.5,2.5 0 0,0 7.5,23H15.5A2.5,2.5 0 0,0 18,20.5V3.5A2.5,2.5 0 0,0 15.5,1Z" /></svg>

tacit cave
#

ok, then again how does that relate to mdi:?

#

it doesn't

#

mdi is the keyword that gets you the MDI icons installed by HA

#

fapro: is the keyword that gets you all custom icons

#

the 2 are not interchangeable

fiery ledge
#

guess the main lesson learned was that the .storage files do hold old data under certain conditions

tacit cave
#

it's always done that. It's the configuration for an integration

#

it's like your yaml files but managed by the UI integrations

mystic echo
#

Hey - not sure if "frontend" is the right place for this: is there a way to have "calculated Sensors"? for example i have multiple light sensors and i'd like to have an Average value, a std. diviation and/or min of all of these sensors. Or another example: a temperature difference between temperatur sensors…

tacit cave
#

if you don't update the integration, then it doesn't update the registry

#

if it's custom integration and doesn't update it for you, then it's a bug. Same goes for non-custom integrations

fiery ledge
#

well I am officially shocked now.... checking the entity again under the Nmap integration, the icon has re-appeared to mdi:cellphone-iphone. How on earth is this possible..

#

deleted it there now too, and the lan_connect shows.

tacit cave
#

because whatever integration is creating it is adding it...

fiery ledge
#

yes, I read that. Thing is, in my full text search of my /config (ofc I did that multiple times already) there was only mentioning of the mdi: file in the entity_registry. there's no integration setting an icon for my devices. I will check this again later to see if its re-instated..

tacit cave
#

what's creating the entity

#

Nmap?

#

if yes, then it's an nmap bug

#

do you understand now?

#

well it can't be nmap because that only uses 2 separate icons

#

return "mdi:lan-connect" if self._active else "mdi:lan-disconnect"

#

also, if you edit storage files when home assistant is running, the changes won't stick

#

so maybe that's yourproblem

uncut jacinth
fiery ledge
#

fearing it is cache on those devices, but just want to be sure

fiery ledge
# tacit cave so maybe that's yourproblem

the latter could be possible. Must confess though I have never stopped HA while editing any of the .storage files. Never encountered an issue. Still, there's a first for everything 😉 thanks.

vapid tapir
#

Anyone seen where entities on a card render find on desktop, but not on mobile app?

tacit cave
#

then everything you've changed has never taken affect

#

you can only edit storage files when HA is off, otherwise HA will overwrite it on shutdown

#

depending on the files

tacit cave
fiery ledge
tacit cave
#

then you're getting lucky

vapid tapir
#

no this android

fiery ledge
#

btw, not sure if this is frontend or ios, but on dev 2021.11, I have loads of issues rendering the frontend in the app on some older devices

#

app simply crashes.

vapid tapir
#

on old S4 android phone

#

ah can't paste images here

kind shellBOT
#

@vapid tapir Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.

vapid tapir
#

can't share links to images either lol

dark dirge
#

just not from there

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.

vapid tapir
#

cant figure out why android app says "entity not available", its a simple sensor

#

maybe android channel is better place for this, I wasn't thinking when I posted

deep hedge
#

I've just noticed that all of my battery icons in the UI show 100% even though they aren't. The icon used to change in the UI depending on the actual level without doing anything special. Is this a recent change in a HA release that I missed?

grand sable
#

Hey everyone.
Does any of you know of a way to display the indoor clima information in a similar way to the Netatmo app, or do you guys have an better way to display it?

The Netatmo app display it like this:
http://imgur.com/a/Spr3icm

tacit cave
deep hedge
hearty quartz
#

Does home assistant have an option for a multi select input? I am trying to set up a a feature that I can select days of the week (sunday, monday, ...) to configure an alarm and an easy way to turn the alarm on and off for certain days.

hearty quartz
#

wouldn't I have to make one for each day of the week?

#

im looking for more of something along the lines of, 1 entity which has a value of something like, monday, tuesday, wednesday, friday.

#

Then in my automation configure it as needed.

keen lava
#

ah I didn't quite understand what you were looking for 7 binary entities might be the way to go

#

or input selects if you need more than on off

hearty quartz
#

Yeah, I think the binary entities are the easiest way to go to make front end look nice. would be nice if there was a multi select option.

Because now I have to make 7 entities for the alarm and if I want to have another configuration I would need 7 more entities.

#

Thanks for the input though!

vapid field
#

Is it possible to hide an entity without disabling it? How do I do that?

#

I would also like it to be excluded from the entities exposed to Google assistant

errant plover
fiery ledge
#

anyone around using the visible option on views? cant get it to work, either the 'boolean' way or the 'object' way

somber crest
#

Hey Ho

feral cliff
#

hi. for some reason, my UI tends to stack cards vertically: https://imgur.com/vcTEzj2. sometimes it arranges them nicely, but that's unpredictable

#

do you know where to look to fix this? thank you.

tacit cave
#

There's no way to fix it if you're using a basic view, your only option is to use the grid card inside your view with layout set to true. Or refresh the page with the page fully maximized.

feral cliff
#

i'll look into this grid card, thank you. refreshing with fully maximised doesn't make a difference, unfortunately (i've tried hiding the menus on the left, going full-screen with F11, reducing zoom... nothign changes)

#

do you have a link for the grid card, so i know we're talking about the same thing? thank you

tacit cave
#

it's in the frontend docs

feral cliff
tacit cave
#

yes

feral cliff
#

i think i tried this before, one issue is that as the cards don't necessarily all have the same height, the result wasn't too pleasant visually 😕 but i don't understand why i see so many screenshots of people who don't have that vertical stacking issue with the regular display

kind shellBOT
feral cliff
#

i'll give the grid layout another try

#

thank you.

tacit cave
#

it depends on the card you're u sing

#

the calculation is simple

#

place the cards in columns that appear on the page

feral cliff
#

(i gotta go but i'll review your responses when i'm back home later. thanks!)

tacit cave
#

once the columns are filled with 1 card, it tries to place cards in the next row on each column

#

it will choose the row that has the shortest height to minimize vertical movement

#

if your browser does not calculate the viewing area properly, the rows/column calcs will be incorrect

vapid field
#

take 2 (without code to trigger the bot):

I've been trying to figure this out all day (7 hrs so far):

for some odd reason my home assistant has caught alzheimers - every snigle URL results in a 404 error ??

I've created a secondary config dir in the docker container and configuret it to use port 8124 with a completely clean install so theres now 2 instances on the same container:
curl output here: https://hastebin.com/imesigilaf

tacit cave
vapid field
#

@tacit cave ok sorry

vagrant nest
#

I want to make a panel that displays if one of the entities of a certain kind are on, it will be clickable and then render all of these entities in a single popup

#

something like

#

Oh I can't upload things

#

basically my question is. In the yaml file, can I iterate over a set of entities and use the same card template to render them.. So something like.

          - type: custom:button-card
            entity: entity_in_my_array
            template: sidebar_doors_template
}```
vagrant nest
#

Thanks @lucid pumice I think the second link will help me enormously

lucid pumice
#

ye 👍

tacit cave
kind shellBOT
vagrant nest
feral cliff
#

@tacit cave it looks like my HA, somehow, has decided that the usable horizontal space is just very little: this is what happens when i do a grid and configure 3 cards within it: https://imgur.com/dGo4h7J

tacit cave
feral cliff
#

ha right yes okay now 🙂

#

alright, that's an improvement. i would have preferred to have the regular cards but better organised, but that will nicely do

#

thank you for your help!

fiery ledge
#

hey Petro, has the menubar icon disappeared from the header in 2021.11 dev?

tacit cave
#

not for me but I'm using dev20211016

fiery ledge
#

using 20211022 and just as I had started with Kiosk mode, the hamburger has disappeared. I did see it yesterday, so maybe todays daily changed something? all other options work (hide dots, menubar, side bar) just not the menubutton. How odd.

tacit cave
#

refresh your cache

#

if they made changes it's linked to the old crap

fiery ledge
hearty quartz
magic walrus
#

Hi there, is there a possibility to deeplink to a camera entity in the frontend? Scenario: Send notification about motion including a snapshot of the video. After i click on the notification I want the app to open and show me the live feed of the camera.

nova bloom
#

the log is complaining that "Icon mdi:cellphone-iphone was renamed to mdi:cellphone, please change your config, " is there a fast way to find and change these instances?

stiff galleon
#

is this the right place to ask a question about button-card?

stiff galleon
#

going to assume the silence means yes

#

is there a way to use the ripple effect for only tap_action and not hold_action, etc?

fringe brook
#

Hey! I am currently in the process of making my AirBnB smart and stumbled about Home Assistant. Is this the right place to ask some questions about the Dashboard and App? Thanks in advance! 🙂

rich eagle
rich eagle
stiff galleon
#

aww

#

i wanted it to ripple red for a single tap to provide feedback that that action is not allowed or doesn't do anything

#

but its all good. appreciate the answer

rich eagle
# stiff galleon aww

At least not in vanilla HA. There might some possible magic with card-mod or other custom solutions.

stiff galleon
#

haha yeah. the really magical solutions are beyond my understanding

fringe brook
#

Ok, Thanks! I want to give the guests in my apartment the ability to control heating lights and so on, but want to prevent them from creating automation, tinkering with my settings, or changing the dashboard. I have read that there is a permissions system, but don't know if these specifics are possible. Is this possible?

rich eagle
fringe brook
#

Thanks nice! Is it possible to prevent overriding of temperatures set by a specific automation? I had the reoccurring Problem of people setting the heating to the highest possible setting and opening the windows in winter. You can imagine how my heating bill looked like. I would like to prevent this using some window sensors but am afraid the guests will just override my automation using the Dashboard.

#

Sorry not overriding the automation but overriding the temperature set by the automation

rich eagle
#

I don't think you can currently prevent that per sé, but you can just have your automation run every few minutes and have it set it again to your defined target temperature.

stiff galleon
#

yeah, if its above a max limit, you could just set it to that limit. but your hvac would still run for that short period of time

#

I THINK the dark-thermostat card might let you set a min max for the temperatures

#

yeah it shows a range-min and range-max as configurable options

fringe brook
#

This should work. Thanks a lot! Last question: I will have to write some custom panel as I want to offer some services to my guests. I have seen this is frontend-framework agnostic (except for React). Is there a recommendation of what framework works best? Or some resources except the original documentation that are worth mentioning?

fringe brook
#

Also is there a way to find extensions? Like a Plugin store?

stiff galleon
#

Yeah, it's called HACS

#

HACS itself is an add-on, but it's really a free 'store' of useful community lovelace cards, themes, and integrations

#

Get HACS set up and be prepared to lose your weekend fiddling with neat stuff

dark dirge
#

an integration, not an addon

kind shellBOT
#

Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out. They even have a Discord server for issues with HACS itself.

tawny vault
#

should add that to the bot's message

karmic ember
#

how do i apply a certain theme from HAC after installing?

tawny vault
#

@karmic ember bottom left click on your profile

karmic ember
#

I added this but the frontend themes still dont show up

frontend:
  themes: !include_dir_merge_named themes
dark dirge
#

did you restart HA?

cunning gorge
#

dunno if this is the right channel for this, but I'm having an issue with frequent invalid authentication notifications. Maybe has something to do with the PCs waking up from standby.

#

some kinda refresh token expiring maybe?

pastel phoenix
#

Hi, i don't know if it's right place to ask but is it possible to schedule lovelace tabs ? For example in the morning traffic tab will be seen when I open ha and in the evening buttons or sensors tab.

devout hatch
#

but unfortunately there is no installation guide..can you please tell me what I sahll copy and which folders?

lucid pumice
#

seems like you'd just dump that into your instance. Well, seems like a whole config. could be real difficult to know what is only the theme

oak solar
#

Just seeing if anyone else has encountered my issue, I am running HAOS VM, I've placed jpg files inside my /media folder however in the HA GUI, when I click the Media, it still says no items

scenic current
#

I'm not sure if this is the right place or not so please forgive and redirect.

I just upgraded from 2021.6 to 2021.10 and my reverse proxy is not working anymore. I selfhost and have no problem using 2021.6 but 2021.10 gives me an unable to connect. Is there something that I need to change in my yaml?

#

Yep. I see it now:

Home Assistant will now block HTTP requests when a misconfigured reverse proxy, or misconfigured Home Assistant instance when using a reverse proxy, has been detected.

I added :

use_x_forwarded_for: true
trusted_proxies:
- 192.168.0.25

Where 192.168.0.25 is my proxy machine and still not working outside of LAN access. Is there anything else I need?

warped juniper
#

how can I set it to when a door is open, it shows and open icon vs when a door is closed, it shows a closed door icon?

errant plover
warped juniper
#

doesn't that define one icon and change color based on state?

#

won't change the icon to and opened door?

warped juniper
#

good info, thanks. So customization means I can change the icons... maybe

dark dirge
#

Not arbitrarily, but you can choose a device_class that has predefined icons that change based on state

acoustic pumice
#

God dam... reading so many links .. but still not able to install a simple custom card 😦 How I can do this without HACS ?

What I have try:
Add the File Editor Integration
Startet in the config/ folder, create a www/cards folder under it
Created a file light-entity-row.js in the www/cards/ folder and copy the source of https://github.com/custom-cards/light-entity-row/blob/master/light-entity-row.js into it.
Going to Settings -> Lovelace Dashboard -> Ressources -> Add
path: /local/cards/light-entity-row.js , type: Javascript
Restart Home Assistent. But still not available :/ trying in yaml edit "type: 'custom: light-entity-row'

vagrant nest
#

is the javascript actually available on that path ? in your browser url ?

tawny cipher
#

Is the theme YAML for the dark theme available anywhere in the Home Assistant code? I want to schedule switching between light and dark themes, but it doesn't seem possible without two completely separate themes for light and dark.

placid anvil
#

Is it possible to make a button require a confirmation prompt to turn off?

#

Or a switch I guess.

tawny cipher
placid anvil
#

Awesome, I'll take a look.

#

I have a computer connected to a smart power strip, so just want to avoid accidentally turning it off.

#

Probably fine to have confirmation turning it on. Then I can configure the computer to turn on when it gets power.

tawny cipher
#

Yeah it looks like you can't use templates to disable the confirmation, just did some testing.

sand hull
#

I'm working on my Lovelace dashboard, and I'd like some badges which display an attribute of the entity rather than the state of the entity. What is the simplest way to do this?

#

My entity is the climate for a room, and the status is whether heating is on or off. I want to display the current temperature in the badge instead.

#

entity has current_temperature attribute. I don't know how to make the badge display this instead of On or Off.

digital lynx
#

Are more people having trouble with google chrome and entity cards in which the entities cannot be dragged any more to rearrange them

tawny cipher
sand hull
tawny cipher
#

And then you'd use those on your badges.

sand hull
#

I also have a template sensor entity that displays a different icon depending on whether the heating is on or off. This does not seem to have any impact on the icon displayed in the badge for that entity.

#

Sorry - that is actually working as expected. The badge icon changes with the state. What doesn't change is the color of the circle around the badge. It always stays as blue.

sand hull
#

I see that changing for some other entities - red for on. How does that work?

opal quiver
#

Hi I am new to HA and i absolutely love the potential but the same time i HATE HA. I cant seem to get anything working when it comes to configuration. seems that all old post i find. mention stuff that is no longer valid. i can figure out how to add cards, Icons, and other "addons" Is there a good guide or video out there that is up to date with the newest release ?

vagrant nest
#

should it be possible for the auto-entities card to do the following:

  • first create a filter with exact entities, use this is in auto-entities card 1
  • use the same filter as an exclusion in auto-entities card 2

Without having to recreate the filter/specificing the individuals entities

tawny vault
tawny cipher
sand hull
# opal quiver Hi I am new to HA and i absolutely love the potential but the same time i HATE...

I feel that too. Searching online isn't helpful since so many old posts come up and it is often hard to tell what is and isn't valid any more. The learning curve is steep - for me I had to figure out YAML, the whole architecture of HA, the difference between integrations and add-ons (and now there are blueprints too), devices and entities, automations and scripts, how to access and edit YAML, the list is longer than this. Sometimes it feels like you have to understand it all before you can do something relatively simple. Luckily the community is good, with this Discord, https://community.home-assistant.io/ and https://reddit.com/r/homeassistant being good places to ask questions. But it is hard work nonetheless.

fiery ledge
#

was the hamburger (menubutton) in the menu bar taken out recently? I am trying desperately to get it back, but is seems impossible to find any reference to it.

dark dirge
#

no, only if you did something to remove it

#

like, kiosk mode

fiery ledge
#

yeah, I have/had that, but disabled it entirely. Still no more menubutton. But, I also have 2 other HA instances that done use the kiosk-mode, and dont use any theming at all, and those are not showing a menubutton either! hence my question if Frontend might have been changed.

#

Ofc I mean in the right panel, not the left panel/column with the dashboard names

#

I can only make it show by narrowing the window up to the width the left panel slides in . Wasnt it always available before?

cunning gorge
#

I've still got frequent "Login attempt failed" notifications in my dashboard, rendering the notifications indicator in the sidebar useless. The failed attempts are coming from various PCs on the network that are all logged in with valid credentials and working fine.

#

Not sure if it's exactly frontend related but I thought I'd start here. Any way to just suppress those notifications or automatically remove them when they trigger?

sour plank
#

what's the best method to change the status definition for a sensor? in this case i would like to use something other than "Clear" for the status of a motion sensor 🙂 Thank you!

sour plank
#

will check 🙂

regal latch
#

If i look at https://www.home-assistant.io/docs/authentication/ there is a logout text at the bottom of profile page. However in my current UI (both in web browser and on phone) I don't see that. Has this moved to some other location? How do I change user?

dark dirge
#

It’s kinda in the middle if you have a bunch of refresh tokens:

regal latch
#

Yup, found it, thanks. Should be easier to find if it was moved to the top bar.

obsidian crater
#

Hi, how can convert a custom theme (that I created in adobe illustrator) to a yams code, to ad the theme to my dashboard ö

#

?

obsidian crater
#

yes but i want to desing it in adobe i and then import it into a yaml code, or should i code all the details of my grafik in the yaml editor ?

tacit cave
#

that doesn't exist

#

you can only adjust the theme settings via yaml, there is no converter from other file types

past minnow
#

Hi all, trying to implement tap_action on a picture-elements card

kind shellBOT
past minnow
#

the tap_action on the button works fine, but not when applied to the picture-elements card

#

am i missing something obvious?

#

also tried applying it to an element within the picture-elements card, but no luck there either

tacit cave
#

picture elements tap action is the bottom most object

#

if you have other stuff on top, it won't work

#

place a clear image on top of everything and use the tap action on that

#

transparent image I mean

past minnow
#

not in focus? 😉

#

thank you, will give it a try!

tacit cave
#

No in focus is different

past minnow
#

i meant the other meaning of clear, lol

tacit cave
#

the picture elements will have focus

past minnow
#

was just kidding around

tacit cave
#

ah

#

anyways, chances are, your tap action works you're just tapping on things above your picture elements card. Like something you placed on the picture elements

past minnow
#

yep, makes total sense, sorry for my bad humor 🙂

tacit cave
#

all good

past minnow
#

worked perfect, thanks again

obsidian crater
#

okay, is something like this possible ?

polar kelp
opal quiver
tawny vault
#

it's like learning to ride a bike. Once you learn then you'll never forget 😄

tame burrow
#

HELP, please. I am in the process of recovering a lifelong friend's HASSIO configuration. Her husband passed away earlier this year and he was a home automation tinkerer/hacker for many years. Unfortunately, before he could pass along his knowledge to his son the SSD in the NUC server failed and he was unable to get in. At the time, he was too sick to diagnose of fix the problem. I was able to recover the SSD and get the HASSIO server back up and running, everything is not well.

The problem I working on right now is the Lovelace front end configuration. I have a bunch of custom cards that aren't working (can't be found). I assume he had them working before he passed away and that there is just something off about the configuration. I've spent the past couple of days trying to figure it out, but I'm at a loss.

Taking the example of auto-entities.js - it looks the js file is located in: www/

However, the configuration.yaml file these entries (and more):
lovelace:
mode: yaml
resources: # !include lovelace/resources.yaml
- url: /community_plugin/bar-card/bar-card.js?
type: module
- url: /community_plugin/button-card/button-card.js
type: module

BUT - no entry for auto-entities.js

For example.
Any help will be greatly appreciated

Ooops - where's my manners, Hello, my name us John.

rough coyote
#

Hi i added a powerplug and added the entities to https://i.imgur.com/ZNI2rMZ.png but now i would like to see a nice bar chart with it for energy today. Can anyone suggest a nice card for that?

#

Trying Statistics Graph Card now.. and now custom:mini-graph-card 😛

tawny vault
#

not so sure /comminity_plugin/ is the right path anymore either

#

llikely to be /local/

tame burrow
# tawny vault llikely to be /local/

Some of the cards work, but more do not. So if the js file is on www/ in the config directory, then the resource defintion would be:

  • url: /local/www/filename.js
    type: module

2 questions:

  1. whats' the difference between type: js and type: module
  2. when I make such a change, do I need to restart something or just reload the web page

Thanks for the tip(s) my friend is going to be so happy when I get this working.

tawny vault
#

@tame burrow local is www

#

how extensive is the lovelace yaml file?

#

it might be worth moving to UI configuration to better understand/use it (this handles resources in the UI more automatically than having to manually add them in your yaml configuraiton

#

and also to install custom cards through HACS. Is that installed? I'm suspecting all the custom cards might have been manually added which means they'll potentially be outdated

#
  1. pretty much everything is js now
#
  1. for those kind of changes you'd need to reload your lovelace (should be a button at the top right I believe - haven't used yaml mode in years)
#

and delete cache and reload usually to make sure it is loaded when it's a new one

rough coyote
#

Okay.. finished: https://i.imgur.com/yvuB8cr.png
If any of you has a museum of the fine arts feel free to put it on display between the Rembrandts and Goya's
(As if it's ever finished)

tawny vault
#

Not bad 😄

rough coyote
#

Only thing i dislike is that title card, it's so space hoggy. I need to find an alternative to it at some point

tawny vault
rough coyote
#

Thats also custom:mini-graph-card?

tawny vault
#

yeah

#

colours are slightly random as I use config from previous graphs and haven't fixed it yet lol (if you couldn't tell haha)

rough coyote
#

Yesh i prefer mellow

#

This Google theme i recently got is pretty mellow

tawny vault
#

yeah whereas mine is mint 😆

rough coyote
#

No ccount for taste.

#

Pity you can't combine text and icons in the top menu though (For the same view)

tawny vault
#

colours in graphs are useful though especially thresholds

#

Text always take so much space

rough coyote
#

Yeah not that into it tbh, i just wanna see how much power some machines use.

#

On my phone i have to scroll.. on PC.. room left. Should be different mode for phone and PC 🙂

tawny vault
#

for phone I like the swap option to move between views

#

especially handy going from first tab to last rather than having to scroll all the way using the bar

#

especially when there's 21 tabs

rough coyote
#

What's a swap option?

tawny vault
#

meant to say swipe 😴

rough coyote
#

swipe the bar you mean?

tawny vault
#

no swipe the screen to move to next tab

#

like you do with photos

rough coyote
#

i thought so. but that don't werk on my phone

tawny vault
rough coyote
#

nice

#

Installing now. Okay that's really adding to the usability a lot

#

HAHAHA i was in my browser on my posted screenshot. And was like.. Where is my menu? Why doesn't it work? What's going on here? 🙂

tawny vault
#

Yeah I find it rather useful

#

first to last tab saves me so much time

rough coyote
#

wow thought i lost a view after temporarily saving with a non existing icon. But it was just invisible

tawny vault
#

wouldn't it be great if there was a searchable dropdown 👀

tame burrow
rough coyote
#

I have a view with all MDI icons though, next best thing

#

Have to edit it sometime so it puts it as mdi:<name> instead of mdi-<name>

#

So i have no control over what the javascript does :/ Unless i copy the repo

tawny vault
#

just you wait 🤫

rough coyote
#

Maybe spend time on making shift-delete in the editor do a 'cut' for this old man.

kind shellBOT
tawny vault
#

the limit is 15 lines

#

are those cards even recent?

#

it could be cos they are not updated in a while

deep hedge
#

I'm trying to use a logbook card in Lovelace, but I'm trying to show something that I send to the Logbook in an Automation via the logbook.log service. However, the entry is NOT an entity, and it appears that the Logbook card only looks for entities. Is that true? Is that something that could be changed to accept user added entries? I've found the Logbook search doesn't allow user entries either.

deep hedge
#

Has anybody else noticed on Windows 10, Firefox, when editing a Lovelace Card, that sometimes what you type is reversed? It has been working fine, but just now, when I typed 'livingroom', I got 'moorgnivil'. Even the Del and Backspace works opposite. Very frustrating and odd. Has happened on several occasions. Usually fixes itself after going out and back in a few times.

obsidian crater
fiery ledge
#

anyone around using card-mod-theme and change the option vertical-dots to a template like we did with: mwc-icon-button[slot="trigger"]::after { width: 200px; margin-left: 0px; margin-right: 0px; content: "{{states('sensor.time')}} - {{states('sensor.temp_current')}}° - "; position: absolute; top: 14px; right: 0px; }

#

can not get it to do that anymore

#

maybe because core HA frontend changed to ha-icon-button, but even using that the mod doesnt work, and the three dots remain in place..

random pike
#

Is there a way to get more detailed logging than the inbuilt logbook where it says 'light turned off'? Is there a way I can find out how it was turned off?

calm plank
#

Hello, I have problem with my HA installation. Some of my custom components works OK and some are not visible. Today I try to install moon-phase card https://github.com/jeremyhamm/home-assistant-moon
I do that installation steps:

  1. Add to configuration.yaml
    sensor: - platform: moon
  2. Copy images folder and file moon.js to my /homeassistant/www/moon-phases. I try also to /homeassistant/www/community/moon-phases/
  3. Add new resource in my Configuration>Dashboards>Resources like: /local/moon-phases/moon.js but this don't work so I add another like my Sun custom ccard that is working: /hacsfiles/moon-phases/moon.js. But that also don't work.
sand hull
sand hull
tacit cave
tacit cave
#

it's a custom card

tacit cave
calm plank
#

and I don't see any entity like moon

tacit cave
#

what do you mean "See any card"

#

custom cards do not appear in the frontend when editing

#

you have to add it as a custom card

calm plank
#

Yes, I see some custom cards: custom Sun Card or Custom Vacuum Card

tacit cave
#

Ok, they made special arrangements to make it visible

calm plank
#

When I add this manually:

type: 'custom:moon-phases'
entities: 
- sensor.moon

I see empty space on the right

#

I cant paste picture here

tacit cave
#

make the custom card, click ok and refresh the page

#

lastly, did you restart after adding your moon sensor?

calm plank
#

Yes, I refresh, clear cashe and restart HA

tacit cave
#

Then it should be working if you followed those directions

calm plank
#

I have that situation with few other cards: Upcoming Media Card, Upcoming Emby...

#

Why i can't paste pictures here? I will show You my configs and server catalogs

tacit cave
#

I have no idea what you even mean "paste pictures"

#

that's not a thing

#

you can only add paths to images

calm plank
#

OK, some time ago I can paste pictures to Discord from my local folder.

tacit cave
#

you don't have access rights to paste photos here

#

use imgur

calm plank
#

In my Dashboard I make Tab and it's empty, when I open lovelace configuration I have that:

- title: Moon
  path: moon
  icon: hass:weather-snowy-rainy
  badges: []
  cards:
    - type: custom:moon-phases
      entities:
        - sensor.moon```
tacit cave
#

yes, and it should be working

#

the fact that you don't have a card tells me that it's working

#

normally, you'd have an error

#

so either the card itself is broken or you don't have sensor.moon

#

if the card is broken, there's nothing you can do but wait until it's fixed by the developer

#

when I say "It's working", i'm referring to you adding resources and adding the custom card. At this point its either your sensor or the card is broken.

calm plank
#

When I add this to some other card with working sensor everytjhing is gone!! :/

      - type: custom:moon-phases
        entities:
          - sensor.moon
tacit cave
#

Do you understand what I'm saying?

#

because it seems like you aren't reading what I'm writing.

calm plank
#

I have only that in configuration.yaml:

#==================================
# MOON
#==================================
sensor:
  - platform: moon
tacit cave
#

Ok

#

but you still aren't reading what I'm writing

tacit cave
#

So if sensor.moon exists, then the card is broken

#

and there's nothing you can do but report the issue and wait for a fix.

#

do you understand that?

#

if you installed it incorrectly, you'd have a big red card saying "Cant find card xyz"

calm plank
#

OK, I understand. So I will leave this but can You tell me how about Upcoming Media Card, I also struggling with this. Do know it's working?

tacit cave
#

no clue, I've never used it

#

If it's in hacs its most likely working

calm plank
#

Yes, I install it from HACS and also install Emby Latest Media but also don't see them

tacit cave
#

95% of custom cards need to be configured manually

#

don't expect to see them in the UI editor

#

expect the opposite, them not in the UI editor

fiery ledge
#

sharing this card-mod-theme section to hide several option menu items because I haven't found any other references doing that besides hiding the help: /* Hide several option menu items. */ a.menu-link[target="_blank"] { display: none; } mwc-list-item[aria-label="Edit Dashboard"] { display: none; } mwc-list-item[aria-label="Unused entities"] { display: none; }

calm plank
tacit cave
#

I highly doubt that card still works

#

but just read the directions

#

it says to install one of the other cards before you can install this one

#

all the installations are the same

calm plank
#

OK, thanks. I will abondon that 🙂

tacit cave
#

any card that hasn't seen a history in 9 months probably won't work

calm plank
#

I install Emby Latest Media and do everything like in installatiion guide but don't see anything, no card, no entity

tacit cave
#

but the issues page seems like it might work

calm plank
#

I read there but no support answer

#

so maybe it don't work

#

thanks for Your time

#

and help

tacit cave
#

that's an integration

#

and it should be instaleld through hacs

#

and it looks like it's maintained, so it should work

sacred rampart
#

Hello! Nice to meet you guys, I require some help...

So basically, I am trying to get decluttering-cards working on my lovelace.

I keep meeting with this error saying that my template is undefined.

Cannot read properties of undefined (reading 'floorplan_light_colour')

For context, I am following a youtube tutorial: https://www.youtube.com/watch?v=6QbtU9ID47A

However, I cant seem to get decluttering-cards to work.

I have added them in resources folder under lovalace: in configuration.yaml

as well as my individual lovelace yaml

kind shellBOT
weary axle
#

Im struggling last few months with having to refresh the app, I have a feeling it is related to the cloud connection? Especially camera etc is horrible.

Does anyone have any idea what it could be?

rough coyote
#

Is there a way to make a Yes/No confirmation on a button? I have a plug on my PC and i want it to ask me 'Are you sure you wanna turn off this plug' in case i accidently click it

rough coyote
#

Sweet, works. I was already looking over hacs for something custom.
Thank you

weary axle
#

connection lost. reconnecting is shown all the time

plush pawn
#

Hello, quick question about the google assistant integration, can you use this integration to control devices connected to HA on the Google Home app? That would be nice.

mild veldt
#

No

plush pawn
#

What are some other ways to do that then?

hallow mango
#

you mean to expose a device from HA to Google home and control it from Google?

#

though it's much easier to set up and use home assistant cloud with nabu casa

#

reminds me I need to poke in there and tidy up

mild veldt
dark dirge
#

I just updated from v8 to v1.9 and then v1.9.1 of state-switch and the default for (at least) user is no longer working

#

I don't know if order matters (shouldn't, I would think), but my "default" case is the first one, and changing that to a specific name makes it work again

#

even with a user state that I've made the default, nothing is displayed when there's no other match

hallow mango
#

do you happen to be using auto entities in that card?

dark dirge
#

nope

hallow mango
#

ok just wondering

neat plover
errant plover
#

Just for testing purposes try removing size: 20%

#

Does the bottom border appear then?

neat plover
#

Nope

errant plover
#

FYI: I can reproduce this. I'm just not having any luck at fixing it as I suck at CSS.

errant plover
# neat plover Nope

Try this:```
styles:
icon:
- border: solid 3px var(--primary-color)
border-radius: 5px
height: 90%

#

I think the problem is that padding and margins don't apply to the top and bottom of inline elements.

neat plover
harsh anvil
#

hey

#

i’m having some issues filter the data in react native

open seal
#

Good morning!
I have a Climate component, and that device went crazy and reported nan as the current temperature on the corresponding mqtt topic. HA went so crazy on this, that the UI didn't even load. Is there a failsafe solution for this on the HA side?

#

I found a solution to filter it in ESPHome, since the Climate device is an ESP, so in ESPHome filters: - filter_out: nan
but still curious if there is any way to solve this in HA, and save the UI

broken marsh
#

I have a LED controller that I've customized to ["brightness"] as supported color modes. But when I click on it it still suggests 'effects' and I can choose 'colorloop'. How can I remove that? The controller isn't wired to colors at all.

broken marsh
#

I think I solved it by using customize and supported features = 1.

junior gulch
#

the google one would be cool if everything wasn't so grey

#

or this is better to ask in the hacs server

rich eagle
vivid trout
#

try soft ui light if your after white

#

the card mod and style add a glow around the edge, this can be change to what color you prefer

chilly relic
#

how can I have one dashboard that requires pincode for disarming house and another dashboard that doesn't require pincode?

vivid trout
#

remove header bar and use sidebar instead if you wish

junior gulch
#

oh is there frontend extension for that?

vivid trout
narrow surge
#

Hello (new to HA) -- having troubles figuring out how to add a dimmer slider to an office light already in a lovelace card ... do I really need to create a new folder, javascript file, and custom URL to make this work? or is there an easier method?

junior gulch
#

How can I assign custom themes as "dark" and "light" and leave HA to determine which one to use? For the default theme there's "Backend-selected" but I'm not sure how to do it for custom ones

vivid trout
narrow surge
#

ok - looks like these types of customizations are added with separate JS files (in the /config/www dir) - thanks knuck

vivid trout
#

this one will actually show up as a card in lovelace rather than manual when you have it installed

#

(when you add card it should be there).

narrow surge
#

i don't think so ...

#

wait - not sure what u mean by HACS

#

ahh - home assistant community store

narrow surge
#

no - don't have that installed

vivid trout
#

if you can install this you can search and install some user plugins a lot easier than going though the manual install route

narrow surge
#

yup - starting to make sense now

#

i've got SSH extension installed ... would i just run the "wget -O - https://get.... " command from the /root dir?

vivid trout
#

yep thats it depending on your install type os/container etc

narrow surge
#

dedicated pi4 ... the www dir is in my /root/config/ dir

vivid trout
#

my advice is once installed to leave it do its thing and forget about it for a while why it sets up (gets info etc).

#

if you installed os and installed ssh from supervisor just load the ssh and put the command in

#

(p.s not a pro bud, just been on the Home assistant crash course 😛 ) but the community is a helpful one so I will share what I do know 😛

dark dirge
#

the HACS installer script will usually find your config directory and install the right stuff in the right places regardless of where you run it from

narrow surge
#

got it! google was not helpful for me over the past few days --- really appreciate the help!

vivid trout
#

@dark dirge is very knowledgeable he has helped me more than a few times

narrow surge
#

holup - hacs lets you write and run python_scripts?

keen lava
#

Are you talking about pyscript?

narrow surge
#

i have an asus AC3200 wifi router that I can use for presence detection (wifi association list). I have a python script that can query the router (ssh) but had no idea how to get the data into HA

#

was going down the road of learning how to write a custom integration (i'm at the bottom end of that learning curve) -- but maybe i don't have to

#

oh man - hacs is so much easier to add cards ... that tip has just saved me so .. many ... hours

narrow surge
#

is it normal for HACS to be disabled (ratelimited) while it's setting up?

#

error: GitHub API calls are ratelimited, this will clear in less than 1 hour.

rich eagle
narrow surge
tawny vault
#

I never not seen it happen on first install

narrow surge
#

lots of suggestions to delete directories and/or add a github token etc... consesus seems to be to just leave it (at the bottom)

tawny vault
#

yeap leave it for an hour and come back

bitter bolt
#

whats the location for the yaml file for my lovelace ui config?

dark dirge
#

are you using YAML mode?

bitter bolt
#

i'm trying to import from a previous backup manually by overwriting in ftp.

dark dirge
#

there's only a YAML file if you're using Lovelace in YAML mode, hence the question

bitter bolt
#

i guess i'm not then?

dark dirge
#

I guess not

bitter bolt
#

i just usually use the gui card editor.

dark dirge
#

then not

bitter bolt
#

wait, do you mean there's no file i can manually grab my yaml from for my lovelace cards within my backup? surely it must store that stuff somewhere.

dark dirge
#

in .storage, with the rest of that stuff

narrow surge
#

Can someone remind me where the HACS debug log file is located?

#

/root/config/home-assistant.log ... google ftw

dark dirge
#

that's the main Home Assistant log

junior gulch
#

I set the default dark and light mode themes via the frontend service and now I can't choose the default theming behaviour, why?

#

Before I was able to choose between auto, dark and light

#

The set theme is Backend-determined

prime dagger
#

Could someone point me into the right direction regarding debugging my history page. It just does not load any data, other pages work fine.

junior gulch
#

@prime dagger check logs

tacit cave
junior gulch
#

Is there a way to set a name for an entity that is specific to a particular user

#

the friendly name, not the entity id

#

My user uses English as the language but there's another user for which I want to have names in Russian

kindred vortex
#

Possible to hide log and history tabs for non admin?

errant plover
junior gulch
#

I thought so too but how can I change entity names in a separate one? maybe i'm just not seeing the option

#

oh wait, the pen thing

#

...

#

Thank you

errant plover
#

Yep. You can assign a custom name to all the entities using Lovelace.

willow dove
#

Hi, I have a template binary sensor defined as this:

someone_in_room:
    friendly_name: "Someone in room"
    value_template: "{{ states('binary_sensor.room_occupation') }}"
    device_class: motion                     
    delay_off:
      minutes: 4

Then I have a history-graph that shows both sensors (someone_in_room and room_occupation) but someone_in_room gets inverted colors (red when motion is detected, green when it's not). Is there any way to change that?

errant plover
#

Nope.

willow dove
#

and any reason why having the same values and device_class both sensors show inverted colors ?

mellow python
#

Stupid question is there an entity to check to see if someone is logged on to HASS.

quasi zenith
#

Hello, I wonder which device_class to use for binary alarm Sensors...? I did not really find one, generic sensor shows Green for on which is not really suitable

karmic blade
#

hey guys, is there a way to the an entity's icon from JS? I'm using the custom:button-card and I wanted to do something like states[sensor.mysensor].icon

prime dagger
tacit cave
#

Be patient and it will appear

prime dagger
#

Seems like it's only on one client, errors in the browser console.

#

Thanks for the help anyways

tacit cave
prime dagger
#

Yeah did that, and unloaded custom resources, no change

tacit cave
#

is it a supported browser?

prime dagger
#

Firefox

#

I'll look into it, and if I believe it's a bug I'll report it

#

But doubt it

#

Probably something on my machine that's ruining it

#

api/history/period takes only 1.7 seconds for 4 weeks of data, it's probably just too much to insert into the DOM 🤷‍♂️

haughty meteor
#

Is it possible to shrink an entire card?

#

I am also using the vertical and horizontal cards

mellow python
#

Is there any way to make a card specific to a user?

faint vortex
blissful wolf
#

hey. I had reinstall my HA instance and used a backup. now all my HACS cards are missing, despite the fact that they are installed properly in /config/www/community/<packagename> Ressource URL in Frontend/Dashboard also looks right: /hacsfiles/<packagename> Any ideas what else to check?

#

example for mini-media-player:

type: 'custom:mini-media-player'

Custom element doesn't exist
HACS Install: /config/www/community/mini-media-player
Frontend ressource: /hacsfiles/mini-media-player/mini-media-player-bundle.js?hacstag=1485208381130
Thanks in advance

mild veldt
half haven
#

Newbie alert.

I originally posted in #automation, but was referred here.

Just started with Home Assistant.

It found my Two roku's. I can select them and then a channel, but there is no remote display to select a program etc. Even though I see a remote entry, but when I click on it, it just shows details and history, no remote display.

I've searched but haven't found anything useful.

#

I did find an article about installing HACS (the Home Assistant Community Store) but couldn't find it.

mild veldt
#

Remotes just have a set of service calls, there’s nothing built in to display an interface for them. You can use the grid card and place a bunch of buttons to make those service calls or use my custom card roku-card

half haven
#

Hi Ian. Where is your custom roku-card ?

Why isn't a default remote added when the roku player is added ?

Just curious.

#

I can see there is a lot to learn

dark dirge
dull hazel
#

In the default calendar card, how can I make the times display as 24h instead of 12h?

dark dirge
half haven
#

Oh boy. I'm lost already.
Maybe I am too tired tonight.

near knot
#

Hi. I've just added an ONVIF camera integration. Is it possible to get the video stream to appear in HA? Where do I start, please?

rich eagle
fiery ledge
#

which is the default icon for a switch in HA Lovelace? Believed that to be toggle-switch, but on device_class switch I get the flash icon.

#

in which file are those icons set, cant find it now in the frontend repo

#

btw, why is that device_class no auto set in the various core integrations (investigating my Z-wavejs entities just made me discover that...)

rich eagle
fiery ledge
rich eagle
#

I would be fine with that, since I never really liked the flash icon here either (as the switch does not necessarily relate to power/outlet). We already use mdi-toggle-switch-off-outline for input_boolean but I don't think that this is a problem.

You can raise a FR and let's see what others think.

fiery ledge
calm plank
#

Hello, what is the reason Antistorm sensor make trouble with my Mi Air Purifier card?
I copy on the end of configuration.yaml that code:

binary_sensor:
  - platform: antistorm
    station_id: 408
    monitored_conditions:
      - 'storm_alarm'
      - 'rain_alarm'
      - 'storm_active'
sensor:
  - platform: antistorm
    station_id: 408
    monitored_conditions:
      - 'storm_probability'
      - 'storm_time'
      - 'rain_probability'
      - 'rain_time'
#

after my Purifier sensors

#

when I paste that code before I don't see any entities of that sensor

#

also my gif image don't work when I put my ID code 136. When is default 408 my gif is working.

#

In my Air Purifier card I don't see some icons

#

No I delete some unused sensors and see my gif for antistorm but still don't see some images in my Air purifierd card.
It looks like that in my configuration.yaml:

      mi_air_purifier_3_3h_mode_fan_1:
        friendly_name: "Purifier Fan mode 1"
        value_template: "{{ is_state_attr('fan.mi_air_purifier_3_3h', 'preset_mode', 'Fan') and is_state('number.mi_air_purifier_3_3h_fan_level', '1') and is_state('fan.mi_air_purifier_3_3h', 'on') }}"
      mi_air_purifier_3_3h_mode_fan_2:
        friendly_name: "Purifier Fan mode 2"
        value_template: "{{ is_state_attr('fan.mi_air_purifier_3_3h', 'preset_mode', 'Fan') and is_state('number.mi_air_purifier_3_3h_fan_level', '2') and is_state('fan.mi_air_purifier_3_3h', 'on') }}"
      mi_air_purifier_3_3h_mode_fan_3:
        friendly_name: "Purifier Fan mode 3"
        value_template: "{{ is_state_attr('fan.mi_air_purifier_3_3h', 'preset_mode', 'Fan') and is_state('number.mi_air_purifier_3_3h_fan_level', '3') and is_state('fan.mi_air_purifier_3_3h', 'on') }}"

#===============================
#===ANTISTORM===================
#===============================
binary_sensor:
  - platform: antistorm
    station_id: 136
    monitored_conditions:
      - 'storm_alarm'
      - 'rain_alarm'
      - 'storm_active'
sensor:
  - platform: antistorm
    station_id: 136
    monitored_conditions:
      - 'storm_probability'
      - 'storm_time'
      - 'rain_probability'
      - 'rain_time'
#

can I do something with that? When I move my antistorm sensor on top of Air puriefier I don't see entitie for antistorm sensor. :/

calm plank
prisma wagon
nimble rose
#

Hello, I wish to include a card into a lovelace dashboard.

    - title: Mobile
      path: mobile
      icon: mdi:home-assistant
      visible:
        - user: x
        - user: x
      badges: []
      cards:
        - type: 'custom:neerslag-card'
          title: Neerslag
          entity: sensor.neerslag_buienradar_regen_data
        !include ../components/floorplan.yaml

However, I get this error:
could not find expected ':' in "/config/lovelace/views/mobile.yaml", line 13, column 1

#

This is the beginning of the floorplan.yaml file:

      - type: horizontal-stack
        cards:
          - type: custom:floorplan-card
            config:
              image: /local/floorplan_svg/floorplan_basic.svg
              stylesheet: /local/floorplan_svg/floorplan_basic.css
winged vapor
#

I'm being thick... again... could any one explain why my horizontal stack inside my vertical stack aren't lining up? The four buttons below are shifted with different spacing, I don't see why. https://pastebin.com/y6gqQ7dF

sand hull
#

Is there anyway to limit Lovelace Masonry dashboards to two columns other than putting all cards in two vertical stacks?

errant plover
#

Your user profile. Click the circle icon at the bottom of the left hand side menu.

tame shale
#

hey I am using custom:simple-thermostat and for some reason when I change fan modes it doesn't publish to the mqtt topic. Im not sure what could be wrong but when I listen in my mqtt broker via HA nothing comes up. I can however use the standard thermostat card and that seems to be able to publish properly.

fiery ledge
ivory dust
#

Does anyone know of a custom card that works like the default lights card (with the circle dial for brightness), but is an RGB ring instead?

ivory dust
#

2nd question, is there a way to change the icon of a card based on the wattage going thru an outlet?

tawny vault
#

for the second question custom button card can do that

ivory dust
#

how would i go about doing that?

fiery ledge
tawny vault
#

I have in the past

#

was working then haven't checked recently as it was set for other users in the house lol

fiery ledge
#

yes, i tried to do that too, but it simply keeps showing all tabs to anyone...

tawny vault
#

just checked. Still works

#

it's set via the visibility tab not manually

fiery ledge
#

a well, there's an issue, I use yaml mode.... but still the docs say it should be set with visible: on the view

#

do you have multiple dashboards?

tawny vault
#

in storage mode I also don't see the users if I look at raw config of lovelace

#

I do yes

fiery ledge
#

could it be this is a non-yaml mode feature only? (cant imagine..)

tawny vault
#

I'm no expert when it comes to frontend stuff

#

why are you asking about multiple dashboards?

fiery ledge
#

just checking if that could be an issue ( I have 4 dashboards, of which 2 are admin only)

#

1 is open to anyone, and the 2nd is open except for a couple of views I need to set visible: on

tame shale
#

Is there a bug in custom:simple-thermostat that doesn't let you lower the temp on a setpoint?

tame shale
#

step_size: '1'

#

fixes it

fiery ledge
#

so I found it to be an issue with plugin kiosk-mode.... and a Lovelace bug. the visible works when used as ```visible:

  • user: !secret admin but not asvisible: !secret admin``` which advertised to work too
peak sluice
#

Hey, I've been googling now for (feels like) hours, unable to find a solution. I have a dashboard with a custom sidebar. In the main area I wan't to add tabs for the different rooms. I know that I can add different views, but this also always reload my sidebar. Is there a solution for this usecase? (Hope it's understandable what I want to achieve)

normal mountain
#

Is it possible to color a badge based on the RGB color of the entity (assuming the entity is an RGB bulb)? Im trying to make a badge indicator, and the default behavior for a light badge is to show on/off, not the color

dull hazel
errant plover
dull hazel
errant plover
#

Yes it was added in 2021.6

hallow mango
hallow mango