#frontend-archived
1 messages · Page 205 of 1
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)
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
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
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
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
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
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
Just HA srry by devices I mean the end home assistant apps on phones
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
Kk, ty
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?
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
Clear your browser cache
Hi. I just cannot figure out how to add individual devices to the energy dashboard. The docs say absolutely nothing about that: https://www.home-assistant.io/docs/energy/individual-devices/. In my case I am talking about manually configured MQTT energy consumption sensors.
Okay, sorry. I just saw that there is a new #energy-archived channel. I am going to ask there, as it seems to be the appropriate location.
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 -_-
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?
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?!
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
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?
which logo?
the logo on the login screen?
Yea the log in screen and the dashboard (top left)
i dont see anything on the dashboard top left on mine
weird
its's also in HACS
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?
Someone else posted the same problem here: https://community.home-assistant.io/t/time-zone-in-mobile-app-is-incorrect/346473
Anybody got any idea why this custom card won't load?
hi, is is already possible to create groups without modifying yaml file manually? e.g., grouping lights together
No, groups and light.groups can only be added via YAML
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
okay, thanks, not a biggie. I almost managed to configure everything over the UI, the frontend has gotten so much better over the past year or two, so that makes me happy 🙂
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
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.
there was a post this week about modifying them via service calls though. doesn't stick through a reboot though 🙄
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
Much better control customisation with this custom card, https://github.com/kalkih/mini-media-player
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!
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.
not a expert but its based on state (so on/off or open/close etc) depending on what sort of sensor it is.
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?
does anyone have experience with the custom sidebar card?
I it possible to increase the window size for grouped integration's in the integrations section?
https://imgur.com/a/1mGbsjG
How is it possible to have a lovelace page display on a Roku TV.
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
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?
Hello, does anyone know of a way to directly view a sensor's attributes in lovelace?
The entities card supports attributes. https://www.home-assistant.io/lovelace/entities/#attribute
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
With a custom card that supports that, or with card_mod
So with stock cards, that's no possible? ok
It is not
Oh, I can apparently change the device class to the one with the icons that i like
Yes, the device_class can affect the icon and displayed state text, but it doesn’t let you arbitrarily change it
I found a list of classes for a binary sensor, but not for switches. Is this documented anywhere?
They seem rather redundant.
Stuff like Humidifiers etc don't fall under switches? for some reason I thought all entities with a toggle are switches
The determining factor is the domain of the entity, not what the device physically is
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?
Every new dashboard you create is by default an automatic one. So you can just take over control of the main one and adjust as you like and create a second one and leave it in automatic mode.
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
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'
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?
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 ?
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...
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)
get a dark theme?
Lovelace has a default dark theme that properly activates on my phone (Android, Firefox) and my Macbook Air
Thanks a lot for the snarky remark that does not help in any way
there is a theme that is optimized for iphone screens I think
There is a default dark theme that works and is in the default build. I just want to know how to activate it.
So you are looking for an absolute time information, compared to the relative "X minutes ago)?
You can create a template sensor entity based on that attribute and then use the sensor card
In your user profile there are radio buttons to select auto/light/dark
Perfect, I didn't even know that page existed 😅 Thanks a lot
In case others wonder, it is this page I am refering to: https://my.home-assistant.io/redirect/profile/
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
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.
Hi, is here somebody that is good with making dashboard and i can contact in private?
I got some questions about it 🙂
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?
Template sensor or just an input Boolean that you manually switch as the condition
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
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.
@errant plover after a comment of @wet schooner I tried it in safari, where it happens as well
Is there anywhere inside the HA ui where I can see the attributes of a light, such as min_mireds and max_mireds?
@terse parrot if it's a static attribute, customisations
And in the Developer Tools. At least that's where I finally found it. 🙂
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.
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
There's a fix already merger and should be in the next release
Thankx hadn't seen that...
Is there a bypass to use webpage card with a http webpage when my HA is https?
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?
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.
That depends on what you mean by 'group'. If you want to put all the kitchen lights in one entities card you have to take control of Lovelace and give up the automated layout https://www.home-assistant.io/lovelace/. If on the other hand you mean you want one entity to control all the kitchen lights then use a light group, https://www.home-assistant.io/integrations/light.group/
They aren't connected because not all people are users, but all users are people. If you want a user, create the user and it will create the person.
I'm a user but not a person.
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
Ask in #add-ons-archived
thank you
in lovelace-buttons where in the heck is this Then at the top of the raw edit mode paste these button templates:
Click the three dot icon in the top right of the window and put Lovelace in edit mode. Then click the three dots again.
It's the second menu item.
what is that under then i dont have an edit
o shesh no i feel dumb as hell... im lookin at the frontend hacs.. "button-card, other integrations.
Ty for the point..
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 ❤️
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
The entity exposed by your alarm should be enough. Just adjust the states to match
hmmmm
wait i think i know what you mean. That would be (for instance) my front door sensor
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
hmm
as with everything, it all starts with knowing what you want to do in response to what
i know exactly what i want, its just that i don't know how to code it
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
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:
it says 'disarmed' as state but thats for testing purposes atm
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
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.
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
thankyou, will check it out
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
Anyone know how to add justify-content: flex-start !important; to a custom:horizontal-layout?
Accessing local websites via remote control nabu casa URL ( i want to load an iframe webview ) for example? how to do ?
I think that it would be nicer if you didn't have to do this in the "right" order. If I have some persons and some users already defined, I would expect to be able to link them somehow.
hey guys,
is it possible to have custom:slider-entity-row take steps of 0.5 (degrees)?
You can. Under person. There’s a checkbox that says “allow person to log in”
what's your clock? love it
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.
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
@faint vortex thank you. I'll give that a try.
ooo, looks like vertical stack might also do the trick
grid is vertical+horizontal stack together
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
yes, so date and time when last action was triggered
Found https://community.home-assistant.io/t/how-to-show-last-motion-movement-list/306342/6 but it doesn't work. I responded in the thread
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
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
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
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
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.
Did you even try what I wrote?
A custom button card and an input_datetime to track the water changes
I’m guessing you didn’t. Simply go into your person and check the login option. You can do what you’re asking.
And please for the love of god, don’t reply with some long drawn out reason why it should be easier again. I didn’t create it, I’m simply telling you how to use it.
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".
Then delete the user
We’ve spent more time talking about this than it would take for you to fix it
Literally
Sure. I work in IT Services and I am just chatting about user experience. 🙂
OK: thats helpful, thank you.
I agree it would be nice to be able to link them after the fact but I can't really tell what I'm missing by not having half my users linked like this
Feature Request raised https://community.home-assistant.io/t/link-an-existing-user-to-an-existing-person/347874
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.
Neither 10.5 nor 10.6 contained a frontend update. The last one that did was 10.3.
Try to clear your browser cache and verify in private browsing mode.
Did all of this on every device. I Must have made the change after the front end was updated
To the test view
will the badge and battery icon frontend PR 's be merged before 2021.11 ?
I had a code error on one view that caused all other views not to load. Should I create a GitHub issue for this?
why, you had an error. If it was indentation, it's going to cause everything below it to fail. That's normal and can't be caught.
@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?
depending on where the error is and how you have it set up, yes. If the error is in the first view, it will affect all others. Especially if the error isn't caught. And that's more likely to happen with custom cards.
or if it's a single yaml file
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
Ok. Dashboard has 5 tabs
right, so if an error occurs on dashboard 1, the rest will fail to load
depending on the severity of the error
So an error on dashboard 1, tab three stops all 5?
What is strange is that I did not change the code. I updated to .6 and got this error
something was added or removed to catch something you had miss-configured
lovelace doesn't have much config validation built into it
Most likely. The more that is changed the more I find out what I am doing wrong
so when it tightens, bad configs get thrown out
Again a good thing.
If you use the UI to edit, you'll see the strictest settings
if you use yaml mode, you won't see anything
usually
The bad code had to do with a marked down card which I am learning.
I am in yaml mode.
ah
I can try the UI to edit on another dashboard
ok, so you can make your own HTML on those cards, and errors in that can break everything too
Still trying to get the card to show all the updates that are available. Following two different forums.
which is?
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-
Not understanding your question?
Command line sensor
ah ok, what does it output
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
can you post all of the attributes from developer tools -> states page
It looks like all the information is there?
This is the link for the sensor: ```https://community.home-assistant.io/t/update-notifications-core-hacs-supervisor-and-addons/182295
so the addons appear to work
what about the sensor.hacs and it's developer tools -> states page?
repositories: []
unit_of_measurement: pending update(s)
friendly_name: hacs
icon: hacs:hacs
ok
so the error is in the crap on the bottom
do you care about the crap on the bottom?
No
content: |
<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-icon> HACS updates available: {{ states('sensor.hacs') | default }}
> {% for repo in state_attr('sensor.hacs', 'repositories') %}
> {{ repo.display_name }} {{ repo["installed_version"] }} -> {{ repo["available_version"] }}
> {% endfor %}
At least I don't think I do
I do as I update all the betas
then just add for supervisor
| | Current | | Latest |
|--- |:---: |:---: |:---: |
| **Supervisor** | {{ state_attr('sensor.supervisor_updates', 'current_version') }} | | {{ state_attr('sensor.supervisor_updates', 'newest_version') }} |
Thanks again for all your help. I'll try it later as I need to leave and let you know.
Card now displaying correctly. Only error now is the count. It says 16 updates are needed.
Is there a way to hide the active text on a badge ?
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?
Never tried it, but I think you could use a number input and a script. The script can be triggered by a button in Lovelace and could have inside it as first action a wait (that takes the value from your number input) and afterwards your switch action.
Thank you, that sounds reasonable!
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.
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
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
A quick Google search turned up these ones. Never tried them myself though:
https://github.com/ljmerza/light-entity-card
https://github.com/custom-cards/light-entity-row
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.
anyone here still using Custom header?
no reason to
I am, and up to now it was flawless still. However, 2021.11 changes that. Not severely, but somehow it blocks the 3dots
yes, it is still unparalleled for user configurabilty
well, there's not much you can do
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..
https://imgur.com/gallery/ztFftT2 final layout for office, no colors showing and just enough info for me and displaying on my 15.9 touch under two main monitors.
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 😛
at least Ill try to make the best of this https://next.home-assistant.io/lovelace/views/#visible but would anyone be able to understand that? what does
views as a whole or per-user
mean? also https://next.home-assistant.io/lovelace/views/#options-for-visible is quite puzzling. Can we set conditions? how?
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
yep
pretty sure thats what it means
in any case, I started a discussion for extra options: https://github.com/home-assistant/frontend/discussions/10334
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?
Did you restart home assistant after creating the www folder?
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?
That happens when Home Assistant does not get the expected feedback for the device state. How was your light added to home assistant?
not a expert but I think images in the media folder need linking with /media/local/(then folder they are in)/(image name) I think you have to put that local part in after media, strange really
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
Well I made a fresh install a couple of days ago.
The devices that present this issue is my Tuya devices and they are added with the new tuya integration.
Also my "Magic Home" led strips acts like this but for some reason they can not be turned on. Well if I turn them on from HA they just glow very weak red. They are added with the flux_led.
My wled and all my nodemcus are working flawless.
I had this problem before the fresh install aswell
Can i turn on and manage two lights at once with a single ' - type: light' in the interface?
Like this, with no custom card. https://i.imgur.com/nO4hPR0.png (If that makes sense)
So control OfficeL1 and OfficeL2 together with the 1 'type: light'
Epic, thanks @tawny vault gonna try that
Aww.. its so cuuutteeeee https://i.imgur.com/J8Tmvmd.png 😛
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?
custom button card
or make a script and use the regular button card with a tap action that calls the script as a service
a script for a button?
yes
how does that work?
aah a HA script and call that
yes
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
@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.
entity IDs yes have to be lowercase. But you should definitely be able to adjust the name you see in lovelace
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?
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.
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?
I'll give this a go today
I did, but then I read the documentation and for HAOS, there is a media folder, don't need www
Reading the documentation is always a good idea.
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..
There's a simple solution for forwarding persistent notifications here, https://community.home-assistant.io/t/how-to-push-any-persistent-notifications-to-ha-app/226808/4
will look into that, thank you!
This didn't work either 😦
Anyone know of a way to calibrate light colors?
My light's "white" is more of a pink
On the frontend, that is. Not on the light
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).
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
It looks to be stuck on "initializing" when trying to access it...
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?
mdi: isn't a reference to an icon created by fapro though..
you don't, you add it to lovelace, also 95% sure that's wrong
you should be adding your background through the theme anyways
i found it deep in one of the .storage files. it was still set on the entity, even though it wasnt used in any of my config files any longer
manually edited that to "icon": null , and now the error has gone
right but the key mdi means it's using an mdi icon, which is not provided by fapro
so your statement about using fapro was not the problem
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)
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
btw. If I open the icon cellphone-iphone.svg in my fapro folder in a text editor, I see this: id="mdi-cellphone-iphone" 😉
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
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>
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
guess the main lesson learned was that the .storage files do hold old data under certain conditions
it's always done that. It's the configuration for an integration
it's like your yaml files but managed by the UI integrations
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…
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
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.
because whatever integration is creating it is adding it...
@fiery ledge see this
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..
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
Yes you where right. All i had to do was add lovelace-background and url. It work. Thank you
getting back to this, if I set visible: !secret admin on a view (and ofc have that secret listing the (my) user_id) would this view only be visible to the admin? Asking because I am testing this, and all icon tabs are still in view on non admin accounts.
fearing it is cache on those devices, but just want to be sure
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.
Anyone seen where entities on a card render find on desktop, but not on mobile app?
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
if you're on IOS, there's multiple issues with iOS 15
no, whenever HA creates silly z-wave entities, I delete those on the fly, and they are still gone after restart. But I will try to be tidier on the matter
then you're getting lucky
no this android
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 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.
can't share links to images either lol
just not from there
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.
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
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?
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
it's already a reported issue
OK, thanks.
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.
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.
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
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!
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
No, you make one input select with the seven days as options.
anyone around using the visible option on views? cant get it to work, either the 'boolean' way or the 'object' way
supposed to be only visible to the listed user (with the hex code) , my views remain visible to all, see https://community.home-assistant.io/t/wth-i-disable-tab-visibility-to-a-user-but-it-still-is-visible/225285/15?u=mariusthvdb
Hey Ho
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.
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.
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
it's in the frontend docs
yes
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
@past flare posted a code wall, it is moved here --> https://hastebin.com/imesigilaf
it depends on the card you're u sing
the calculation is simple
place the cards in columns that appear on the page
(i gotta go but i'll review your responses when i'm back home later. thanks!)
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
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
@vapid field #449717345808547842
@tacit cave ok sorry
Perhaps a weird question, just can't find it.. working on https://community.home-assistant.io/t/a-different-take-on-designing-a-lovelace-ui/162594/
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
}```
Thanks @lucid pumice I think the second link will help me enormously
ye 👍
Nobody how know a solution?
you're missing a unit_of_measurement
@vagrant nest posted a code wall, it is moved here --> https://hastebin.com/qozibihomu
For people that are searching this, the solution is in: https://community.home-assistant.io/t/auto-entities-automatically-fill-cards-with-entities/147801/255 . My markup was wrong
@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
you didn't set the view to be panel mode
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!
hey Petro, has the menubar icon disappeared from the header in 2021.11 dev?
not for me but I'm using dev20211016
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.
did that multiple times, hard and soft. and unloaded the KM addin. its gone..... see also https://github.com/maykar/kiosk-mode/issues/75
and if you want multiple days selected from that select list?
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.
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?
is this the right place to ask a question about button-card?
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?
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! 🙂
You could do a search and replace in your config files? Backup before of course!
Dashboard yes. Apps would be in #android-archived or #ios_and_mac-archived.
If you mean the visual ripple effect rendering, then no. There is no way to configure that.
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
At least not in vanilla HA. There might some possible magic with card-mod or other custom solutions.
haha yeah. the really magical solutions are beyond my understanding
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?
Only users marked as "Administrator" can do the things you listed. So regular users/guests will not see those options.
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
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.
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
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?
Ah nice, I will try this out as soon as my hardware is installed.
Also is there a way to find extensions? Like a Plugin store?
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
an integration, not an addon
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.
should add that to the bot's message
how do i apply a certain theme from HAC after installing?
@karmic ember bottom left click on your profile
I added this but the frontend themes still dont show up
frontend:
themes: !include_dir_merge_named themes
did you restart HA?
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?
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.
hello. I want to add this theme into my HA https://github.com/matt8707/hass-config
but unfortunately there is no installation guide..can you please tell me what I sahll copy and which folders?
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
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
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?
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?
Set device_class: door for the entity. You will have to use Customize to do this if the device is not defined in yaml. https://www.home-assistant.io/docs/configuration/customizing-devices/
doesn't that define one icon and change color based on state?
won't change the icon to and opened door?
good info, thanks. So customization means I can change the icons... maybe
Not arbitrarily, but you can choose a device_class that has predefined icons that change based on state
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'
is the javascript actually available on that path ? in your browser url ?
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.
I've found https://github.com/home-assistant/frontend/blob/05711b46364a8f5a53a5370e70d44a8537c1e100/src/resources/styles.ts#L3-L49 which it looks like I can just convert to YAML.
Is it possible to make a button require a confirmation prompt to turn off?
Or a switch I guess.
button-card has support for confirmations: https://github.com/custom-cards/button-card#confirmation
You may be able to use a template to only show the confirmation when turning off.
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.
Yeah it looks like you can't use templates to disable the confirmation, just did some testing.
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.
Are more people having trouble with google chrome and entity cards in which the entities cannot be dragged any more to rearrange them
A template sensor is probably the simplest option if you're looking to use badges.
Do you mean creating separate template sensors for each room, or can I set up one template sensor that can be used for multiple room entities? (I'm not quite sure I understand how "template" applies here)
You'd have to make a template sensor for each entity you want to expose an attribute of. Something like this:
template:
- sensor:
- name: 'Attribute of Sensor #1'
state: '{{ states.sensor.sensor_1.attributes.the_attribute }}'
- name: 'Attribute of Sensor #2'
state: '{{ states.sensor.sensor_2.attributes.the_attribute }}'
And then you'd use those on your badges.
Ok - thanks. I will do that.
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.
I see that changing for some other entities - red for on. How does that work?
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 ?
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
videos within the last 6months to a year should be OK. Depends what you are trying to do. The best place is the documentation
Color is based on domain - it's blue for binary sensors and updater and red for everything else.
It looks like you may be able to use card-mod (https://github.com/thomasloven/lovelace-card-mod) to change this though by overriding --ha-label-badge-color.
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.
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.
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?
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?
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!
Template sensor
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?
It’s kinda in the middle if you have a bunch of refresh tokens:
Yup, found it, thanks. Should be easier to find if it was moved to the top bar.
Hi, how can convert a custom theme (that I created in adobe illustrator) to a yams code, to ad the theme to my dashboard ö
?
you have to create themes by hand
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 ?
that doesn't exist
you can only adjust the theme settings via yaml, there is no converter from other file types
Hi all, trying to implement tap_action on a picture-elements card
@past minnow posted a code wall, it is moved here --> https://hastebin.com/ezeboramix
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
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
No in focus is different
i meant the other meaning of clear, lol
the picture elements will have focus
was just kidding around
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
yep, makes total sense, sorry for my bad humor 🙂
all good
worked perfect, thanks again
guess i have to read then 🙂
ill give it a go
it's like learning to ride a bike. Once you learn then you'll never forget 😄
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.
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 😛
since it's in YAML mode for every custom card you use you have to add it as a resource
not so sure /comminity_plugin/ is the right path anymore either
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:
- whats' the difference between type: js and type: module
- 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.
@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
- pretty much everything is js now
- 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
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)
Not bad 😄
Only thing i dislike is that title card, it's so space hoggy. I need to find an alternative to it at some point
mine's a bit more colourful https://imgur.com/RNPcTML
Thats also custom:mini-graph-card?
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)
No ccount for taste.
Pity you can't combine text and icons in the top menu though (For the same view)
colours in graphs are useful though especially thresholds
Text always take so much space
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 🙂
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
What's a swap option?
meant to say swipe 😴
swipe the bar you mean?
i thought so. but that don't werk on my phone
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? 🙂
wow thought i lost a view after temporarily saving with a non existing icon. But it was just invisible
wouldn't it be great if there was a searchable dropdown 👀
Thanks!
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>
Oh actually it's a lot less clever than i remember i just display url: https://pictogrammers.github.io/@mdi/font/5.6.55
So i have no control over what the javascript does :/ Unless i copy the repo
just you wait 🤫
Maybe spend time on making shift-delete in the editor do a 'cut' for this old man.
@tame burrow posted a code wall, it is moved here --> https://hastebin.com/qemikuniki
the limit is 15 lines
are those cards even recent?
it could be cos they are not updated in a while
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.
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.
Ok and all the code of the theme.yaml ist the whole code or only a part
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..
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?
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:
- Add to
configuration.yaml
sensor: - platform: moon - Copy images folder and file
moon.jsto my/homeassistant/www/moon-phases. I try also to/homeassistant/www/community/moon-phases/ - Add new resource in my
Configuration>Dashboards>Resourceslike:/local/moon-phases/moon.jsbut 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.
If I try to add that repository via HACS, I get the message "Repostitory structure for v1.0.0 is not compliant". That could mean that the repo is non-compliant with HACS, but it could also mean that the repository is non-compliant with your version of Home Assistant. Do you see anything in the logs?
You'll probably get better responses if you post this in #integrations-archived
They only go in config/www/moon-phases so if your config folder is homeassistant, then drop them into /homeassistant/www/moon-phases. Then add the resource /local/moon-phases/moon.js as a module. Lastly, do not do anything that hacs requires. All the community crap and hacfiles crap that you're doing is only for hacs.
No, this is frontend
it's a custom card
after you do all that, you might have to clear your cache and reload the page before the frontend sees it
I do taht but still don't see any card
and I don't see any entity like moon
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
Yes, I see some custom cards: custom Sun Card or Custom Vacuum Card
Ok, they made special arrangements to make it visible
When I add this manually:
type: 'custom:moon-phases'
entities:
- sensor.moon
I see empty space on the right
I cant paste picture here
make the custom card, click ok and refresh the page
lastly, did you restart after adding your moon sensor?
Yes, I refresh, clear cashe and restart HA
Then it should be working if you followed those directions
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
I have no idea what you even mean "paste pictures"
that's not a thing
you can only add paths to images
OK, some time ago I can paste pictures to Discord from my local folder.
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```
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.
When I add this to some other card with working sensor everytjhing is gone!! :/
- type: custom:moon-phases
entities:
- sensor.moon
Do you understand what I'm saying?
because it seems like you aren't reading what I'm writing.
I have only that in configuration.yaml:
#==================================
# MOON
#==================================
sensor:
- platform: moon
and this
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"
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?
Yes, I install it from HACS and also install Emby Latest Media but also don't see them
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
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; }
so can You tell me how to add that card?
https://github.com/custom-cards/upcoming-media-card
because I don't understand installation
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
OK, thanks. I will abondon that 🙂
any card that hasn't seen a history in 9 months probably won't work
I install Emby Latest Media and do everything like in installatiion guide but don't see anything, no card, no entity
but the issues page seems like it might work
I read there but no support answer
so maybe it don't work
thanks for Your time
and help
that's an integration
and it should be instaleld through hacs
and it looks like it's maintained, so it should work
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
@sacred rampart posted a code wall, it is moved here --> https://hastebin.com/nibihedije
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?
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
Sweet, works. I was already looking over hacs for something custom.
Thank you
connection lost. reconnecting is shown all the time
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.
No
What are some other ways to do that then?
you mean to expose a device from HA to Google home and control it from Google?
that is what the Google assistant integration is for: https://www.home-assistant.io/integrations/google_assistant/
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
either way, that's either for #integrations-archived or #cloud-archived
Sorry, I misread, thought you were talking about the other way around; Things in Google Home being exposed to HA
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
do you happen to be using auto entities in that card?
nope
ok just wondering
Custom button card not rendering bottom border and border radius
Just for testing purposes try removing size: 20%
Does the bottom border appear then?
Nope
FYI: I can reproduce this. I'm just not having any luck at fixing it as I suck at CSS.
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.
Didn't make any difference!
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
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.
I think I solved it by using customize and supported features = 1.
Does anyone have suggestions for a material design theme with rounded corners? kind of like https://github.com/JuanMTech/google_light_theme but less gloomy looking
the google one would be cool if everything wasn't so grey
or this is better to ask in the hacs server
If in doubt you can of course always start with a theme that is almost the way you like it and tweak it yourself.
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
how can I have one dashboard that requires pincode for disarming house and another dashboard that doesn't require pincode?
remove header bar and use sidebar instead if you wish
oh is there frontend extension for that?
its in hacs custom sidebar card https://i.imgur.com/vMkdmcj.jpeg
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?
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
slider-button-card in hacs (not official) is ok I use it
ok - looks like these types of customizations are added with separate JS files (in the /config/www dir) - thanks knuck
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).
do you have hacs installed?
i don't think so ...
wait - not sure what u mean by HACS
ahh - home assistant community store
no - don't have that installed
if you can install this you can search and install some user plugins a lot easier than going though the manual install route
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?
yep thats it depending on your install type os/container etc
dedicated pi4 ... the www dir is in my /root/config/ dir
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 😛
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
got it! google was not helpful for me over the past few days --- really appreciate the help!
@dark dirge is very knowledgeable he has helped me more than a few times
holup - hacs lets you write and run python_scripts?
Are you talking about pyscript?
just looking at https://www.home-assistant.io/integrations/python_script
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
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.
Can happen during the initial setup, since it triggers a lot of requests
sounds like this is common - lots of discussion here: https://community.home-assistant.io/t/github-rate-limit-error-hacs/229709/145
I never not seen it happen on first install
yeah it's also on the official documentation https://hacs.xyz/docs/faq/initial_startup
lots of suggestions to delete directories and/or add a github token etc... consesus seems to be to just leave it (at the bottom)
yeap leave it for an hour and come back
whats the location for the yaml file for my lovelace ui config?
are you using YAML mode?
i'm trying to import from a previous backup manually by overwriting in ftp.
there's only a YAML file if you're using Lovelace in YAML mode, hence the question
i guess i'm not then?
I guess not
i just usually use the gui card editor.
then not
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.
in .storage, with the rest of that stuff
Can someone remind me where the HACS debug log file is located?
/root/config/home-assistant.log ... google ftw
that's the main Home Assistant log
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
Could someone point me into the right direction regarding debugging my history page. It just does not load any data, other pages work fine.
@prime dagger check logs
Look in your logs, most likely it's working but you have to wait. Especially if you're running on something like a raspi and you have a large history
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
Possible to hide log and history tabs for non admin?
A seperate dashboard for the Russian user perhaps.
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
Yep. You can assign a custom name to all the entities using Lovelace.
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?
Nope.
and any reason why having the same values and device_class both sensors show inverted colors ?
Stupid question is there an entity to check to see if someone is logged on to HASS.
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
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
Nothing in my logs, everything else is blazing fast, including the logbook.
Yep, that’s how it works. Databases are slow
Be patient and it will appear
Seems like it's only on one client, errors in the browser console.
Thanks for the help anyways
then clear your cache and reload the page
Yeah did that, and unloaded custom resources, no change
is it a supported browser?
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 🤷♂️
Is it possible to shrink an entire card?
I am also using the vertical and horizontal cards
Is there any way to make a card specific to a user?
https://github.com/iantrich/config-template-card here @mellow python this might help
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
switch-card is probably a better choice
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.
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
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
In the default calendar card, how can I make the times display as 24h instead of 12h?
Oh boy. I'm lost already.
Maybe I am too tired tonight.
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?
The format should automatically follow your user profile settings for date/time formatting
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...)
FIXED_DOMAIN_ICONS in src/common/const.ts
thanks! so it is correct I see the flash... https://github.com/home-assistant/frontend/blob/4624c3d75bb01525958a18fa386e9165590c34ae/src/common/const.ts#L107 . given the fact that is also used for power, and it doesnt relate to switch at all, would you agree a change to toggle-switch would be more obvious? of course allowing the class to set the -off icon too
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.
thanks, and consider it done: https://github.com/home-assistant/frontend/discussions/10467
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. :/
That it looks when I have antistorm sensor at the end of configuration.yaml:
https://paste.pics/d13a1bb9fe63de929d80f931708c9b34
and that when I paste antistorm sensors code on top of that file:
https://paste.pics/1d794cb4561e314b3b32888eb8b3278c
anyone know if the following will be in next release? This issue is becoming very annoying as it breaks my automations.
https://github.com/home-assistant/frontend/issues/6664
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
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
Is there anyway to limit Lovelace Masonry dashboards to two columns other than putting all cards in two vertical stacks?
How do I change that?
Your user profile. Click the circle icon at the bottom of the left hand side menu.
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.
just discovered the switch device_class: outlet https://www.home-assistant.io/integrations/switch/#device-class but using that doesnt set an icon at all? so why use it in the first place, if the icon is identical to the non classed switch, namely mdi:flash
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?
2nd question, is there a way to change the icon of a card based on the wattage going thru an outlet?
for the second question custom button card can do that
how would i go about doing that?
of the many 'no response' items/issues, this is the one surprising me most: https://github.com/home-assistant/frontend/issues/10366 is no one having issues there, or is simply no one using the visible option on views at all?
I have in the past
was working then haven't checked recently as it was set for other users in the house lol
yes, i tried to do that too, but it simply keeps showing all tabs to anyone...
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?
in storage mode I also don't see the users if I look at raw config of lovelace
I do yes
could it be this is a non-yaml mode feature only? (cant imagine..)
I'm no expert when it comes to frontend stuff
why are you asking about multiple dashboards?
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
Is there a bug in custom:simple-thermostat that doesn't let you lower the temp on a setpoint?
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
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)
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
I don't see any option for date/time formatting
It's the third item in my profile.
Was that added this year? I've fallen a bit behind on updates.
Yes it was added in 2021.6
that'd be pretty dang cool, let me know if you find one lol
I don't have that issue... I use different users for me, my wife, and our wall tablet, with different views visible (mainly I have views that only are visible to me), and it works fine