#frontend-archived
1 messages · Page 3 of 1
that path is not correct
the path is /hacsfiles/lovelace-auto-entities/auto-entities.js
awesome men thans 🥰
If anyone finds this thread later, it was solved because
mode: storage
``` was not specifically set.
if you're using those paths said above, it's not going to work on the next card installed via hacs
hacs by default installs to cards to config/www/community_cards/
might just be config/www/community
either way, you specify the local path or the hacs path. Using www will not work
it will work internally, but as soon as you use it externally, it'll fail
@solemn narwhal @sour harness
i.e. Use these paths:
/hacsfiles/lovelace-auto-entities/auto-entities.js
/local/community/lovelace-auto-entities/auto-entities.js
not
/www/community/lovelace-auto-entities/auto-entities.js
eitehr local or hacsfiles path will work, both are the same. The hacfiles one was made by hacs to make it 'easier'
it's also uncached
Thanks for the detail. We were able to get it resolved over the phone, so a lot was left unsaid in my "solution". After enabling the mode: storage HACS added the resources automatically with the hacsfiles/lovelace-auto-entities/auto-entities.js?hacstag=randominthere
What happened was he installed a fresh instance of HA, but copied a lot of the legacy code over.
i just ried installing a random hacs integration and it works and is added to the resources properly
without lovelace: mode: storage it was not being added before
🤷♂️
Right but you could’ve manually added it
All your manual attempts above failed cause the path was wrong
yeah maybe my url was not right, but i though newest release of hacs didnt need to add url manualy
should be mentioned in the hacs documentation
You do if you use yaml for your frontend
hmm I see.. maybe worth adding that in the hacs docs 🙏
because it drove me nuts for a few days and i read all docs and nowhere did i find this info
It’s a requirement for using yaml dashboards and it’s covered in that documentation
im sure its mentioned somewhere but i dont recall it being mentioned in the hacs doc, maybe worth adding these notes? if i wanna install hacs and follow the instructions by the letter and it doesnt work 😦
just a sugestion
Hacs can’t modify yaml files
It can modify json files
That’s why hacs can’t do it. If you’re using yaml, you have to configure everything in yaml.
I see
Pretty standard across home assistant
yes i get it if you write in yaml ha cant modify it
but still a note in the hacs doc warning about this would be helpfull for a lot of people, again just a sugestion for newbies like me
😅
youre welcome to suggest an edit
keep in mind, hacs is not maintained by HA
at the bottom of the page is a suggest an edit button https://hacs.xyz/docs/categories/plugins
yes, im aware and very gratefull for the help 🥰
right, but you kept saying to me "but still a note in the hacs doc warning about this would be helpfull for a lot of people, again just a sugestion for newbies like me", but I don't (nor do others) have anything to do with that 😉
it's like buying a car from a used car dealership and complaining aobut the manual from the car
you get me?
petro im just saying it would help people, i will submit the sugestion 😉
altough i dont see any suggest and edit button 🤣
just create an issue here -> https://github.com/hacs/documentation
👍
the dev corrals people into the place he want's things done
so, you'll just have to deal with how he does things
Of course, i cant force anything on anyone, i can just give feedback and sugest based on my troubles and propse improvals
we have a saying in my country, translated its kind of: it never rains as we all would like 😉
anyway, need to get back to family, mostlikely will be back for more help, thanks for everything 🙏
Right click in a HA view and select Inspect. Then, find and select the Console tab
It will show all loaded resources, and, any Frontend error
Not sure if this is the right channel but here we go.
I just pulled in the boilerplate card, I am now running the dev container and added it as a resource. But the exposed file from the dist folder is just an export to the actual file. Looks like hot module reloading but home assistant doesn't understand this ofcourse. Can anybody point me in the right direction?
export{xxx as xxxCard}from"./xxx-card-92999855.js";
you want #devs_frontend-archived for that
Thank you @fiery ledge
Is there a card which I can add to the Overview that can turn off everything listed on the card either separately or all at once?
I'm not sure if this is more of a question for front end or integrations. I know there is the almond integration that can process voice when you hit the mic button on the front end. I'm wondering if it's possible to have a tablet running fully kiosk always listening (or at least triggering listening based on motion or other events.) I basically want something where I can walk in the master and say a very short phrase like "privacy please" and have it trigger an action.
The entities card can do this with the show_header_toggle. https://www.home-assistant.io/dashboards/entities/#show_header_toggle
does anyone else use the thermostat card? you used to be able to click the three dots in the upper right corner and get a menu where you could change he temps with an up/down arrow. the slider is hard to use on mobile.
I use this one https://github.com/nervetattoo/simple-thermostat
yea, i saw that one, thank you. i really like the look of the default card. i may need ro create an issue as i dont think they intended to lose that part of the interface.
are you saying you dont see the 3 dots anymore? I have 4 cards in a view, and they all show the dots...and up/down arrows in the next panel when clicking the 3 dots, also on mobile
Hey! I would like to change this energy gauge card to show ones energy autarky in percentage values. I already found the source code of this particular gauge here: https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-grid-neutrality-gauge-card.ts How would I go about editing this card / creating a new custom card?
you'd hop over to #devs_frontend-archived and the good people there will help you out
Thanks, but wouldn't that be considered support?
Here's a way:
- Get the constructor of the card with
const HuiEnergyGridCard = customElements.get("hui-energy-grid-card") - Subclass is
class MyEnergyCard extends HuiEnergyGridCard { - Extend
updated()and make that change the value after each re-render:js updated(changedProperties) { super.updated(changedProperties); const gauge = this.shadowRoot.querySelector("ha-gauge"); gauge.value = whatever; gauge.valueText = "whatever"; }
@@polar kelp do you know if this is a browser mod issue that needs to account for the changes to the more info pop-up or a frontend issue? https://github.com/thomasloven/hass-browser_mod/issues/413
That's always been a bit unstable. Browser_mod can't stop the more-info from popping up, so it tries to close it before it becomes visible. But if it's too fast that doesn't work at all. I'll see what I can do.
Interesting I didn't know that. Seems the more info pop-up became much faster to open with recent prs then lol. Definitely curious as to why it's not an issue with a single fire-dom-event pop-up. However If I nest 2 fire-dom-event popups (I posted a video of what I'm talking about on the issue) I get the issue or if I call from backend a pop-up on a device I get it as well.
That's not even Browser Mod 2, so I can't help you there.
I only give support for the latest version. There's not enough hours in the day to keep up with old ones too.
Not a problem. Someone reported the issue (here) on browser mod 2 as well. Going to migrate to browser mod 2 shortly. But i think it's an issue also on browser mod 2.
Thank you very much, will try that!
It's just off the top of my head, so I haven't tested it or anything. But it should work.
Actually I misread what he said about browser mod 2. He just had an issue with getting browser mod 2 to even pop-up in the integrations page and before moving to browser mod 2 he had the pop-up issue on 1.5.3. so I'm not sure if it still exists on browser mod 2. No one said their version in the issue I'll ask.
You may run into problems with having to preload the card, though. There's a pinned post in #devs_frontend-archived on how to do that.
Just commented asking for everyone to post their version. Could be just 1.5.3 could also be version 2.
@polar kelp someone just commented they are on version 2.
https://github.com/thomasloven/hass-browser_mod/issues/413#issuecomment-1245348503
How I am able to see the three dots in the upper right corner but from inside that menu, no where to adjust temp? Are you saying there is?
yes, this is the thermostat card with the 3 dots:
clicking those takes to the new 'more-info' panel with the up/down arrows
@tame dove I asked the exact same question like 3 days ago, so did you figure out how to get this back?
@fiery ledge how do I try that card?
It is the thermostat card shipped with HA. It can be configured via the UI by searching Thermostat Card for with the following yaml.
type: thermostat
entity: climate.thermostat
I'm using that card and my 3-dots no longer shows the up/down buttons
mine has entity: climate.z_wave_thermostat name: Thermostat type: thermostat
and when I click the 3 buttons in the right I see:
Hello.
So is there any reason why when i make an action outside of the choose action that i can see the re order option but if a make an action inside of the choose option then i cant?
Did it work before? My guess would be that implementation of climate does not support control via the frontend for temperature. Though that seems unlikely if it worked before.
From the screenshot you've sent in #automations-archived there is nothing to reorder inside the choose, as there is only one action
If I add another it will be the same thing.
I checked it myself, and you are right. Check on Github if there is maybe already an issue created for this, otherwise, create one 🙂
how would I search
Thanks.
@solemn narwhal this has worked for a very long time, I run several hass installations the thermostat hardware hasn't changed
I don't see an issue for it yet
it seemed to stop working when I upgraded to 2022.9.2
<2022.9 worked great for maybe 3 years for me
it's a bug in the frontend
Same.
it'll be fixed next release
This is what my card looks like
Next point release or next month?
@fiery ledge is prob running dev which is why his works then. Makes sense. Thanks
No! I stopped doing that , running release only now
if you read the fix, it's a bug with Heat or Cool modes
marius is in idle auto, so it won't affect him
ahhhh interesting!
My target temp is 13, or we won’t be able to afford coming winter. Keeping the heater in idle mode 😉
that's pretty cold
Hi there all. Not sure if this is the right channel but can someone please help with a card to add a event to families Google calendar from the dashboard please. Or point me the the right direction. Thanks
Does anyone have examples of what they're doing to display keg/beer fullness info in lovelace?
does anyone use simple-weather-card? can't get tap action to call a service
looks like a bug with the card
what do you guys use to display the weather, something compact
Noob question:
How can I filter entities that doesn't exist in the "system" (not in entities registry nor in hass.states) using custom:auto-entities ?
(looks like vanilla condition row and entity-filter can handle the job)
nvm
(judging by source code I have to define them only with include: filters otherwise it won't work. AE always adds everything from entities: list and exclude: filters will never work on them)
Was just doing this a few hours ago actually. Right now I just have a simple gauge.
Good morning, I just updated to the latest version 2022.9.3 (DOCKER) and the system tab does not open. It is completely blank. Has it happened to anyone else? It happens with the computer and mobile. Thank you very much.
Ok. Thanks.
Thank you for fixing the automation front end bug. Lol.
not sure which sub-channel this would go, it seems to be related to the core of homeassistant
when i move to another tab away from home assistant for a while, when i come back it seem sto refresh whatever page im on, im running hassio on an esxi vm
is there a way to get it to not do that? some addins like grafana get reset to square one a few steps away instead of just leaving it there
and letting me hit refresh if i want it to be refreshed
Has anyone here ever tried to use card-mod styling on a Mushroom template card? I'm trying to have my icon color change based on state of a sensor and am failing miserably.
I've managed to achieve an icon change color, but I can't seem to have the background of the icons change color like the native color option within Mushroom cards:
So i got apexcharts installed true hacs. But they seem to take a load of resources. Also if i try to add a sensor from my solaredge the browser tab crashes. Anyone else has this with apexcharts?
would be too quick to simply say yes, but yes, Apexchart cards are very heavy for the system (which ofc also depends on your actual hardware)
only use 2 of them and they can truly hang the page at moments. reason enough to be very critical in which entities you record in the DB. The card also throws a lot of errors in inspector, though we are told that doesnt harm and can be ignored....
be sure to minimize card options by reducing eg span, and graph calculations
hi all i have
i have a issue with my ui-lovelase yaml file i am trying to add swiss army knife card and am getting missing views as the screen grab below
any help would be greatly appreciated
first of all, please post text snippets, and not screenshots of text.
`# Swiss Army Knife Templates
The system templates come with the HACS install and can be updated
with a new release. That part is automatic!
sak_sys_templates: Missing Property "views".
!include www/community/swiss-army-knife-card/sak_templates.yaml`
sorry my bad new to discord
not using the Swiss plugin myself, but I suppose this is either a simple Path issue, or something dedicated to the plugin. If the latter, youd best go to their repo to get specifics?
sure, np. let me help you with that. Go to the post of the text snippet, click the pencil, select all and then click <> in the editor
thanks
that's it. ;-=)
now the error says it's missing the 'views'. You'd have to check if thats referring to the core dashboard 'views' we need in the Yaml mode declaration of our views, see https://www.home-assistant.io/dashboards/views/, or a specific setting in the swiss army plugin
I am trying to find a device_class that shows yes/no in the GUI, but I can't find any. It that how it is or am I a bad researcher?
what kind of device is it? Yes/No isn't a bad idea
This time it's a template for "is it daylight", but I often miss it when tinkering with presence. "Is there anyone at home?" or in the Alarm dashboard "Are there any open doors".
I suppose you can apply it to anything where you ask a question rather than requesting a state.
"Updates available" Yes/No
ps that one divece_class that I miss the most 😭
simple, mf yes/no
A feature request maybe then. Core or Frontend?
idk, frontend but probably needs changes on both ends (backend validates dc). I have already voted on it if I recall
Hmm, just wanted to go to System settings menu and it's not there. https://pastiebin.com/6321c23e3f22f
Newest HA, HASSOS etcetc. I always am on recent state
Ah, nvm. Looks like it will be fixed with .4 release.
The release is out (I jump straight to it) You should be able to dl it.
Did a few secs ago. It's fixed indeed
Hello I have my Entities displaying - secondary_info: last-changed so I can see at a glance when lights was last on/changed I would like to make it not change when devices go unaivalable (HA update reboots) i read somewhere ignore_states: unavailable but it doesn't seem to work, is this possible?
is there a way to dismiss all repair messages? I have over 200, rolled back HA to fix until I can address, yet I still have the notifications 😦
Not currently possible the way you describe. There are some workarounds you can read about from this thread :https://community.home-assistant.io/t/what-the-heck-is-with-the-latest-state-change-not-being-kept-after-restart/219480
thanks. ended up deleting the storage file that appears to be just for repairs 🙂 ... so far no ill effects
http://images.duckarmada.com/52zfvb63p1vb hey yall does anyone have an idea why lovelace isnt loading anymore?
after latest core update
something about loading chunjk failed
You find any answers? Would like something similar
Is it possible add an entity value onto a mushroom fan card? I'd like to display the fans runtime.
I haven't. I would even be able to use an android app or it would be cool if fully kiosk could do it but I haven't found anything useful yet. It would be awesome since it could be room aware so you could possibly have simple phrases like "lights out" work like you would hope but who knows.
I'd start in Discussion in Frontend, since it is the representation you want to change? Device_class is about frontend so start there, and see where it would take. Post the link to the discussion here, so we can +1 to that 😉
you'd have to propose it with better examples though, because the ones you named above, all have a correct device_class, stating an even better 'State' than Yes/No'... Guess it would boil down to a 'Generic' class, where all of the existing ones dont satisfy, and you need that Yes/No
refresh cache, if that doesn't work, whatever resource before alarmo seems to be failing.
Well, voice commands would tell you the state. The translations are only for the UI visualization.
basically what i'm saying is, alexa and google home support binary sensors, but they will not say yes or no. You can ask them 'is is it daylight on' and they will say yes or no. But that doesn't really make sense. So what you're looking for isn't really possible.
I explained badly, but MariusHvdB is spot on. What I am asking for is a generic device_class for use in whatever case.
ah ok
there's actually a feature request for that
Why is my template switch like this, how can I have it as a toggle?
I want to toggle a switch when tapping Picture Glance card. There is a bug here https://github.com/home-assistant/frontend/issues/12024). I try to follow the instructions to use YAML editor, but still getting No type provided. Any ideas how this should be written?
service: switch.toggle
data:
entity_id: switch.ezviz_living_room_sleep```
Got it working. instead of changing the action in the dialog, you have to select SHOW CODE EDITOR in the dialog and add the above text to the end.
Hi I need little help, I have condition if (variables.sensor_id_1 != undefined) { but number in end can be from 1 to infinite, and I don't know how to create some wildcard, maybe with regex ^[0-9]+$, but I don't know how to write. Thank you.
because you don't have a value template.
post all your code because what you're asking doesn't really make sense
section_1_list_space_left: >
[[[
if (variables.section_1_list_id_1 != undefined) {
if (states[variables.section_1_list_id_1] != undefined) {
return "";
}}
]]]```
Number after section_1_list_id_ can be from 1 to for example to 20
if you want to test the state for being a number, use parseFloat()
if !isNaN(parseFloat(states[...]))
hi
Any idea why a light entity from tasmota is hiden, and the setting for it is grayed out ?
it isn't a switch to light conversion ...
how can i debug a custom card? i have a custom:roku-card and apparently only some of the buttons work and i dont know why. No error, it just does do anything
I'm having some issues with the map card. I've set one map card to 'Jack's phone (App)' and it shows fine. I have another map card with the person entity Jack but it doesn't show anything when I check last 12 hours. It does show for the last 24 hours though. Ideas? Jack person entity consists of the device trackers 'Jack's phone (App)' and 'Jack's phone (ASUS router)'. App means device_tracker is coming from the mobile app and the other is from the ASUS Router integration.
Hmm... it seems like ASUS Router integration has two entities for my phone for some reason. One which is home and the other away...
Do you mean the standard map with which can be accessed from the sidebar? That one doesn't show persons who are at home
you aren't storing your persons history
but you are storing your device_trackers history
Not really. There I can't see path. I mean the map card.
Good suggestion, but I am. But I think the problem could have been that one device of the person entity was home and the other was away.
I need to figure out why the ASUS Router integration has two entities for my phone. One which starts at MAC 62:07:f2... which is a weird MAC that's not owned by any vendor it seems.
wehn you say "doesn't show anything for the last 12 hours" are you referring to the history state changes or the history existing
I hit edit on the map and select "Hours to show" (or something translated) and select last 12 hours. "hours_to_show: 12"
that still doesn't answer my question.
I mean that the person isn't shown on the map if I set that to 12 hours but if I select 24 hours both person and history of movement is shown
my man, you are all over the place with your words and home assistant lingo
share screenshots because I can't get a straight answer that uses correct terminology
there's a history
@broken marsh 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. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
I'll start with the card then: https://imgur.com/a/FLCfS1N 🙂
Added screenshot of the person
Ok, and you add the person or the single device tracker?
I have two cards. One with single device tracker which works like it should. The other with person.
I'm thinking there may have been a problem with the ASUS Router integration where it didn't update the entity to being not_home.
No…
Yeah, person has been home says HA
So it shows a full history on the history tab on that entity? And it doesn’t say “no state history found”
Yeah, added screenshot now
The person has two device trackers. The one coming from the mobile app has the 'real' history. The one coming from the ASUS Router integration is wrong.
then remove the router one
and it should work
well, no it still won't update your person
it will for future states
your past 12 hours is lost on the person no matter what
because it was using the router entity as the state, which doesn't contain gps coordinates
Yeah, I'm trying to think why I have two device trackers on it in the first place. Maybe I tried using it for automations. But I stopped doing that because the mobile app thought I was home way before I really was.
But I think I have to choose here. I like having the person entities as badges with pictures on them. But to show an accurate state of home/away there I have to use the ASUS Router integration. If I do that I can't have a map card with accurate tracking (from mobile app integartion) that also shows the pictures of the persons, right?
well you can but you'd have to make template sensor that knows when to use asus and when to use your phone. When using asus, you'd supply the template sensors latitude and longitude attributes with your home location, othewise you'd use your phone.
for the map to show history lines, your history needs lat and lon attributes.
that's it
Hah... fun idea. Thanks.
is there are card which adds up the totals of all the entities power consumption showing on the card? Other than in the Energy Panel.
Recently update Home Assistant - I can't seem to figure out how to hide Info Settings Related buttons at the top when I show more info on a Picture entity. They weren't there in old version, and I hate them being there now.
The only way I know is using card-mod and adjust your theme.
However, if you do that, you will most likely hide the tabs in every more-info, not only the picture entity.
You can see an example in the link here: #frontend-archived message
I hide some elements in more-info so the GUI gets a little more "partner and kids-friendly", and can toggle input_booleans if I want to enter "edit mode".
Example: "daily use minimalist" vs original
I am getting this error. Any idea what to check?
Your daily use minimalist is what I'm after. Thanks for the link 🙂
sensor.mailbox_status
binary_sensor:
- platform: template
sensors:
mailbox_status:
friendly_name: Mailbox Status
value_template: >-
{{ as_timestamp(states("input_datetime.mail_arrived")) | timestamp_custom("%H:%M") }}
That last row works ok and gives the time like it should.
Hey y’all, I’m sure there are hundreds of us make this move and asking these questions. So I’m just going to go for it…
I finally made the leap from SmartThings to HA. I love it. Everything feels so much more purposeful, whereas a lot of ST felt tacked on. I’m also knee deep in node-red, and couldn’t be happier as a replacement for WebCoRe. My only complaint is the dashboard and dashboard options.
Like a lot of ST folks, I am coming from ActionTiles for my tablet control panel. It has a simple GUI and clean design. I’ve yet to find anything remotely similar for HA.
I looked into SharpTools, which I was somewhat familiar with from ST, but the HA integration is an Add On. I am running HA Core, so Add Ons are not an option as far as I am aware.
I looked into Tileboard, but it requires way more JavaScript knowledge than I am comfortable with.
I’ve tried custom-layout, but I can’t seem to get it to define the width and height of cards as I’m used to with ActionTiles.
Any ideas or advice? My tablet is heavily used, so this is an important piece of the puzzle. Attached is a photo of my AT home screen.
I think so? I installed some kind of mushroom layout from HACS, but the cards all seem huge, and I’m still not sure how to get they to layout in such a clean way.
Any advice on how to use mushroom cards to accomplish something similar to what I have?
I think if you want a dashboard like the one above then Lovelace is probably not the best route. I personally find your pic above very cluttered and reminds me of what windows 8 tiles tried to do
I haven’t moved to mushroom cards yet sorry.. I’ve seen a few YouTube tutorials on mushroom cards and dwain’s dashboard that people like
It is very much Windows 8/phone inspired.
I’m open to change, it just needs to be friendly for 70+ year olds (grand parents).
Is the tablet running fully kiosk?
i look at this and think it is very easy to read and see what is what compared to pic above
It is running Fully! I'll check out that video. I also just installed Dwain's dashboard. I'd never heard of it.
Thanks!
im following along with this to play with it https://www.youtube.com/watch?v=6hemFbrJuk8
also as an fyi- nabu casa (home assistant parent company) recently hired the dev behind mushroom cards, so i think it's safe to say we should get some new frontend candy soon
https://cdn.discordapp.com/attachments/444529271806099486/1005266211975733360/11E9EC76-F600-4C46-BB13-37FE6EC0E982.jpg i 3d printed a case for a fire tablet but havent made a perfect dash for it yet
it's on "the list"
Anyone know on the themes when it says auto/light/dark what is "automatic" about it? It seems like my dashboard would turn to dark mode around sunset but as far as I can tell it just stays on light mode all day (this is for a wall-mounted tablet running fully
oh, I guess maybe it's based on the tablet being in dark mode?
The ability to add mushroom should be in the Fronted setting. Which is missing in my 2022.9 . Where do I find the setting to add mushroom cards?
Hello All! looking for a quick tip on have a sensor and a switch combine on lovelace to work as one botton with state sensor.
any idea hou to do this?
let me try to explain better:
entity: lock.portao_da_rua_394 can tell if my gate is open or closed
entity: switch.portao_rua_114 can triger it to open or close.
how can I make this into a single entry in a love lace card?
well i will try to explore on my own if i have any update i will report here.
Hey guys so I added goolge calendar to my HA but I dont want my personal calendar to show in the side bar.
My first question: Is it possible to disable it?
Second question/concern: I tried setting the calendar entities as hidden but they still show?
Does auto entities work with custom cards such as mushroom light card?
card:
type: grid
card_param: cards
filter:
include:
- domain: sensor
options:
type: entity```
I tried this from the documentation and it wasnt showing up anything
Oh it works, wow!
That's the problem. There's no Frontend option anywhere in 2022.9.4 .
in HACS?
sigh... what's the point of using mushroom-cards fill_container option, if only the central area (around icon/name) remains reactive to actions?
I’d suggest a helper button toggle, and use node-red for the logic of that toggle. Some like, when the gate is open, set the toggle state to on. When it is close, the toggle state is off. Then a flow that says when you toggle off, close the gate, toggle on opens.
My bad. Didn’t have HACS installed actually. After installing, got it.
@grand dagger I use this for gate and my garage doors...works perfectly for over 3 years
https://www.home-assistant.io/integrations/cover/
then you can add a simple popup card for controls...
@fading lionThis is over 2 years old, but there are endless designs you can create with layout-card and state-switch
https://community.home-assistant.io/t/dinotechs-tablet-designs-video-update-04-27-2020/84271/91?u=dino-tech
HI can anyone here help me to get a sensor value in labels ( in apexchart, donut chart type) something like this
@tacit dew posted a code wall, it is moved here --> https://hastebin.com/puweqipoda
chart_type: radialBar
header:
show: true
show_states: true
the paste bin code gives me this
i need static value(of a specific sensor) to be showed at center(labels) like total which works by default
My above code gives me this:
what exacly do you want to show there and is it related to the sensors in the card
I want it to show the state of a specific sensor
{{states('sensor.test')}} tried this but doesnot work
I tested this and it shows like this but instead of test i need a sensor state value inside
EVAL:() => 'test'```
can you share the code via pastebin?
soz just saw link
so does productivity score just have a state of test then?
No .... i dont know how to pull productivity score sensor state value inside
I need something like this
EVAL:() => 'states.sensor.test.state'```
you need to have a sensor for it, which would be templates
i alredy have a sensor and i want that sensor value to be inside
have you checked the state of sensor under develper tools
because if I put a random sensor in your code into the entity productivity score I get the entitys reported state number
(ignore items in the top, I just put random sensors into the chart
yes thats how formatter works
EVAL:function(w) {
return `${Math.round(w.config.series[0])}`;
}```
by changing values in x say like 1 or 2 it will circle with other available entity state in that series
w.config.series[x]
data:
entity: light.bed_light
browser_id:
- THIS
When I use the unique browser_id, it popups, but when I use THIS it doesnt work
There's hardly ever any reason to use THIS. Where is this?
have you tried using EVAL:function(value) { returnvalue = parseFloat to test
opps my bad formatter: | EVAL:function(value) { returnvalue = parseFloat(value).toFixed(2) + " %"; }
Whats this ? I dont want this
It does get any state of a specific sensor i wanted
can you just add and see what it returns then please (sorry if my replies are late home alone looking after my five year old).
anyone know of an easy way to make something like expandable cards? I was thinking of having a button per room and when you click on it it expands to show the items in that room but I haven't really found a card that suits my needs. I get it's a vague description but anyone done anything like this?
May be condition cards with input boolean ?
Hello, I am having a issue when trying to install dwains dashboard. I get a error that’s says the edit ui is not available when in yaml mode. I tried installing HomeKit 5 before hand but just want to switch to something easier. Thank you for any help
I think dwain like hki use yaml mode
It’s not letting me edit anything, sorry really new to all this
is there a way to prevent input_number control from showing as float numbers? for example - show 1,2,3 instead of 1.0,2.0,3.0 as it does by default
volume_limit:
name: 'Volume Limit'
min: 0
max: 10
step: 1
unit_of_measurement: step```
in lovelace
Following up on this. Any one has an idea on how to solve this problem?
Is there a good way to do conditionals in YAML for cards? I want to display an entity within a card if something is true.
Investigate auto-entities
Or this if it's just one entity https://www.home-assistant.io/dashboards/entities/#conditional
I'm trying to create a glance card with several entities (leak sensors, temp sensors) that have many good pieces of info, there are several I only care about it they are alarming (ex, freeze alarm and temp high alarm aren't normally on and are mutually exclusive) that I want to display a custom icon when the condition occurs.
Hi can anyone explain why when I reboot HA a couple of my MQTT lights show up like this until the first time I use them?
Like this
That happens when Home Assistant doesn't know the current state of the light.
Ideally the light or whatever would listen to homeassistant/status where hass will publish a message on boot and resend its state.
Hi is it possible to make a chart like this? not for energy though( for data of different sensors)
Bottom garage light comes up with the current state but the top outside light doesn't, yaml script looks ok so is it an issues in the code of my esp8266
anyone tried adding a video or GIF to a page? like something in the background that could play like rolling waves or something?
Hiding the entity should make it stop showing on the side bar
For recent versions anyway
Hello, I'm looking for a way to display different dashboards in a carousel. Basically I want each view(https://www.home-assistant.io/dashboards/views/) in the dashboard to display for a short period before moving to the next one. Is there any extensions that make this possible? Based on the screenshot in the docs, I would like overview for 60 seconds, Livingroom, kitchen etc for 15 seconds each. Honestly at this point I'd settle with a non configurable carousel.
I would say create a input button for each view then assign that button to load page url then setup a restart automation to push each button every 60 seconds. (i may be over thinking it though 😛
If you mean dashboard = card with different information", you can also use that approach, but with a conditional card. When a (sensor/input_select/whatever) has this value, show this info on the card. I use conditional cards that way to change what is shown from pool info (summer) to car heater schedule and info (winter). You could easily automate that.
Q: I'm having issues with card layout when casting to Google displays. It seems like I need to switch the layout off then back onto masonry for things to layout properly. Anyone know a work around for this?
Q: how to make graphs with the "Statistics Graph Card" have a 0 line?
(right now my graph has no points below 2k. so it's not showing 0 on the y axis. But that gives a skewed perspective in my opinion)
content: test
card_mod:
style: |
:host {
position: sticky !important;
bottom: 0 !important;
z-index: 999 !important;
}```
I got this style and it manages to keep my cards at the absolute bottom of my screen, even when scrolling.
How do I replicate this but instead, keep it at the top, without scrolling out of it.
This sounds sensible, I'll have to investigate a bit further. I have 3 screens I want to show me information but I don't wan the information to be static and I don't want burn in.
H!! can we change color of background based on image main color? In card-mod?
do yaml config files have to be .yaml or can they be .yml?
Do i have to hide all of them?
Cuz for me they still show up
I'm running core-2022.6.2
Hi, I'am creating simple JS in button-card module, where variable number id_1 can be from 1 to infinite.
return "";
}```
I can create long code, is there way to do some smarter, replace number with some wildcard ? Thanks.
```if (variables.id_1 != undefined && variables.id_2 != undefined && variables.id_3 != undefined && ...) {
return "";
}```
I tried hiding all of them and they still show in calendar
I don't remember the specific version when hiding became supported but it was when yaml was removed I think
Well they have the icon with the crossed eye so they are hidden
But in calendar still shows
Well I created a discussion to add a feature to allow for me to choose hwo I want access to certain HA created dashboards: https://github.com/home-assistant/frontend/discussions/13818
Hey I am trying to change the colour of the button icon when running a sctipt. I have installed card mod and button card ... any idea?
Its very simple. When i click the button, change the colour of the icon. as its a script and not a light/switch i'll have to have custom code.
show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.turn_on_aircon
@fickle valveDon't know if you found an answer yet, but my controls stay on my main screen and my backgrounds change up every 90 seconds. The same automation and scripts can produce the same results for changing views by having them rotate at whatever rate you select. Food for thought. My repo has the mechanics 
@vocal laurelYou can have the state of the icon change color when the script turns on, but will only remain changed while the script is active.
Hello, does anyone know if there is a way to show the integrations page using a Table? I have way too many integrations of the same type (ESPHome, Shelly, WLED, etc) and the card view makes it incredibly hard to manage them visually when setting several of them up at the same time
Anyone know if there's a better way to switch a wall-mounted display from light to dark and back than use auto and turn the screen off and back on? It feels clunky
fully kiosk browser is the awnser presuming its android, you can adjust brightness via the intergration so you can automate it.
Hey guys, I am getting an error on all of my pages:
When I restart my HomeAssistant it sometimes works, but now it does not.
When I use the Android App it works perfectly fine and when I try to access the site in a private browsing windows in Chrome it works fine too. Also when I use edge to access it it works.
I tried clearing all my browsing history and cookies but it doesn't work.
@atomic glacier Surely its a simple thing to do? With my lights the icon changes based on its state, on or off.
how can i get the icon to change if i activate the script?
then when i activate it again the icon changs bck. A simple on or off. Im really really surprised noone has done this.
I looked at custom card, button card but nowhere does it show something this simple.
It should work something like:
tap_action:
action: toggle
entity: script.turn_on_aircon
Additional action: change icon colour.
Its clearly coded already as its works for lights and switches. Probably an if then statement but i dont knwo where the icon colours are coded in the theme or hwo to customise them.
Hey, in the new frontend how do I change the order of an action in an automation?
Before I could easily drag and drop but it seems there's no option for this now
Oh, I actually just found it my bad, it seems it's now in the three dots menu labeled re-order, not on the action itself
@tacit dew posted a code wall, it is moved here --> https://hastebin.com/ihagobipuq
Hi how can I add condition card for each entity?
I have five entity with sensor.app * .
I want to setup one condition for each entity say for example
conditions:
- entity: sensor.app1
state_not: '0'```
then it should show one bar card row( intention is to hide the bars when value of sensors is 0)
code: https://pastebin.com/DHqbdH0b
@tacit dew posted a code wall, it is moved here --> https://hastebin.com/egehipegag
check https://hastebin.com/xoyedezovi.yaml whihc works fine. Whats the issue in your config?
who is that in reply to?
That was for Boo, who posted a bar card config that gave him issues
Did you check the code, or why ask?
this code works: https://pastebin.com/DHqbdH0b
But how do i add separate severity for each bar card( i mean for each sensor)?
I could able to add color for each bar sensor(like below) but how could i setup severity for each sensor(for each bar)
--bar-card-color: rgba(40,168,233,.6)
}```
did you test the code I provided? it uses a severity scale, native to the bar-card and not a card_mod config. You should try and use that native styling where possible
if you need separate (different) stylings for each entity, you'd probably be better of using individual entries
if you must use card-mod, simply throw in a jinja template
try something like: --bar-card-color: {{'rgba(40,168,233,.6)' if states(config.entity) == 'on' else 'grey' }}
you should however rebuild the card for that, to have the type: custom:bar-card under options of the entities. That also requires an extra card-mod to have the entities ditch the border and box-shadow, but thats fairly easy ha-card { box-shadow: none; margin: -16px; }. first try: https://hastebin.com/suxivanabo.yaml though
ofc, the template is just an example of what fits in my current config, adapt to your needs
never mind the actual colors, just as fyi, hope this helps
@vocal laurel You can do what your asking by creating an input_boolean and use that to trigger the script and have the icon color to work that way, but the input_boolean switch will stay on after the script has activated and remain on until you manually turn it off or have an automation that returns the switch to an off position. I have many switches like you are referring to, but at the end of my scripts I have the switch, (input_boolean) return to the "off" position so it is ready for when I need to activate the script again. The one I use the most is the below example. However, no state is shown via icon, but I have no need to know when a script is running. 🙍♂️ ...
- type: entity-button # or entities card or row
entity: input_boolean.browser_theme_green
tap_action:
action: call-service
service: script.browser_theme_green
thanks....for individual entries severity works but if i use with autoentities and group all sensor by sensor.abc* then it apply severity scale colors for all bars.
what i needed for each severity colors for each individual entries and i guess i have to create seperate entries for each bar
uhm, well, that is what I said it would do: this config if mine styles all entities in the same way. And it does that under auto-entities. if you want individual styling, you need to use separate entries
yeah exactly
can you help how to change the font style of primary font in mushroom template card ?
i tried and no luck
--primary-font-family: sans-serif !important;
also tried
font-family: sans-serif !important;
}```
Trying to cast a Lovelace view with the play media service on a Chromecast but it seems like the Chromecast only want to send out 640*480 resolution. Any tricks or hints on how to change this?
Does anyone know if it is possible to have the line color in apexcharts set by a sensor/template?
you might be able to do that using config-template-card, but it might will be even heavier on the system than without that....
sorry, I dont use mushroom. Dont they have their own dedicated server on Discord?
Do they? The dev got hired by nabu casa recently so I’d think he’d be lurking here too lol
I’m hoping for some native updates to follow
yeah, well, I havent seen a single post yet, but I might simply have overlooked that. Suppose you could post in https://community.home-assistant.io/t/mushroom-cards-build-a-beautiful-dashboard-easily if you want dedicated help on Mushroom
personally, I havent felt the need yet, as I think those cards tend to take an awful lot of screen estate for simple entities. Its beautiful alright, but rather space comsuming.
I do like the 'chips'. Nice and tiny little gems they are, not even sure thats mushroom though, Ive had them for some time now, and created templates for them in my button-card-templates
Could someone please help me format one line of Lovelace code to more of a eye-friendly format? https://pastebin.com/vhdbNfRM
Can I get the UI to use the kelvin scale instead of mireds?
@cedar breach maybe... https://pastebin.com/nM2kcStn you would have to check the specific cards for the custom settings though
its ok i created a helper for the input boolean, then I created an automation to execute the scripts, then i assigned a button to the boolean and it switches the icon colour.
I created an input select dropdown but when i click it, it brings up a window, and history and log window. How do i set it to show just the dropdown list items?
That's the way it is if you click the menu to the left. Click the down arrow on the right side and only the options will show.
If you want to hide elements in more-info, you can - but it requires some hacking. See <#frontend-archived message> for examples
yes, i can see the options but i don;t want to see the logbook, history and so on... cant they be turned off?
Nope. Unless you hide them via card-mod as described in the links
We are a few who would like to allow a more "consumer focused", slim, minimalist GUI, for our other (non-admin, non-tech) users but so far the development has more focus on the admin/editor perspective than the end-consumer (in my point of view)
I agree. Its why home assistant isnt as popular as it should be. Its written by programmers for programmers and not the people who actually use it. Considering it took me 3 days to simply change the icon colour, thats a serious problem in documentation and mindset
homeassistant is brilliant, phenomenal, let down by poor documentation
I think the docs are decent, considering how extreme the development pace is. Hard to google tips and tricks though since it changes so fast.
Use simple examples. Step by step. Use normal use case scenarios. Then expand them.
the documentation is the reverse.
But I agree, I think HA is awesome, and I think it will have a hard time expanding the user base until it gets a lot more user (end user) friendly.
The documentation is incorrect and out of date in many instances, formatiing and so on. this takes hours to figure out until someone says oh we changed that
I haven't experienced that, but other things. My "favorite" is the inconsistent use of name vs. friendly_name is while using different integrations. Some support it, some don't.
Even native HA integrations. But again, if we consider it to be in a developing phase, I am nothing but impressed of how well it works.
Hello. Is there any card, native or from HACS, that can be used to display the "Settings" view of a Scheduler helper? I'm using it to define my thermostat planning and would love not to have to go into Settings to update my weekly planning (I have a very unstable professional & private agenda).
I have a weird issue. Installed Apex-charts through hacs and it seems to be working. Only that on the ipad the graph is not updating but on the iphone it is.
It doesn’t matter if i use the ipad app or the ipad browser
I’ve restarted HA, redid the card but still the same issue
all my devices have seperate friendly names 🙂
So has mine, but for some you can use customize.yaml or GUI, for some you can specify friendly_name on the sensor in yaml and for some (like https://www.home-assistant.io/integrations/template/) you can't specify it at all in yaml, you need to assign it a unique_id and then change the friendly name in the GUI.
Just saying it's not consistent (yet)
- type: markdown
content: test
card_mod:
style: |
:host {
position: sticky !important;
bottom: 0 !important;
z-index: 999 !important;
}
I got this style and it manages to keep my cards at the absolute bottom of my screen, even when scrolling.
How do I replicate this but instead, keep it at the top, without scrolling out of it.
I am also trying to get Swipe Card to work with auto-entities. The idea is that every 4 cards, I want it to create a new page.
Anyone has experience with
atomic-calendar-revive
Public?
am i m issing something or can i no longer reorder sequence actions in a script with the new UI?
aaaah there's a new top right menu re-order option
awkward to leave the editing flow to do that 😦
Hi guys, could any of you point me to a guide a some documentation to create a graph like this one but each bar represent the duration of travel between home and a destination, one bar per hour of the day the shortest bar would mean shorter travel time (average for every day at the same hour)... so I could pick the best time to leave to the destination. Lets say it<s from home to work... so I could leave for work at the best time in the day.
like this but in HA and for commute time (willprobably using time_to_work) https://community.influxdata.com/t/average-per-hour/5966/14
Hello everyone!
I've made some updates in my Home Assistant setup last week, including updating a bunch of parts of our main dashboard.
Then we started noticing sometimes the app just shows a blank screen in the dashboard, and a few days later I stopped at Chrome to try to identify what's going on, but didn't have much luck. I don't want to create a generic bug report as "cannot read properties of null at hui-root.ts"...
Since I'm newbie with HA inner workings, maybe someone could help me pinpoint if this may be related to one of the (several) HACS I'm using, for a proper error report?
Thanks!
(not sure if I should post this at #devs_frontend-archived instead?)
Can i change the content of a UI card based on my location?
Yes, for example with a https://www.home-assistant.io/dashboards/conditional/
Great so i can make a public transport info card based on my location
Does anyone know how to change a Home Zone radius?
forget it. I just found documentation saying that i have to recreate the zone in config. This is slightly overkill tbh, if other zones are editable in UI.
can someone help me how to install font in homeassistant?
So for what i tries:
Downloaded font file from google fonts and placed it under /config/www/fonts/font.ttf
and added /local/fonts/fonts/ttf in resources as stylesheet and still cant able to get the font in dashboard?
@tacit dew I changed mine in my themes, like this, (my own themes are 3 years old, but still work...)
primary-font-family: "Righteous"
paper-font-common-base_-_font-family: "var(--primary-font-family)"
paper-font-common-code_-_font-family: "var(--primary-font-family)"
paper-font-body1_-_font-family: "var(--primary-font-family)"
paper-font-subhead_-_font-family: "var(--primary-font-family)"
paper-font-headline_-_font-family: "var(--primary-font-family)"
paper-font-caption_-_font-family: "var(--primary-font-family)"
paper-font-title_-_font-family: "var(--primary-font-family)"
ha-card-header-font-family: "var(--primary-font-family)"
and this in resources
- url: https://fonts.googleapis.com/css?family=Righteous
type: css
I have a problem with my custom-button-card…
I can change the state from “off” to “heat” but not vice versa. So always only in one direction. It's almost impossible to "toggle".
tap_action:
action: call-service
service: climate.set_hvac_mode
service_data:
entity_id: '[[[ return variables.entity ]]]'
hvac_mode: |
[[[
if (states[variables.entity].state == "off"){
return 'heat';
} else if (states[variables.entity].state == "heat"){
return 'off';
}
]]]
hi, does anybody know how to expand this intrgrations "card" as i have plenty of shellys and always have to scroll like crazy
hi all, trying to fix a complication on the apple watch. I got it to display the value of the sensor by {{states("sensor.dmsr_consumption_gas")}}, which outputs just the number of gas used. Can anybody tell me how to get the MDI icon of the gas (mdi:gas) to show on the watchface as well??
I need to do this step. But it is the first time for me. Where can i find the ui-lovelace.yaml file? I dont see this in my file editor
the easiest way is to go to your dashboard.
then select the 3 dots at the top right of your corner. (configure user interface)
select the 3 points again --> manage resources
There you can enter /hacsfiles/button-card/button-card.js.
Alternatively, you can also find it under Settings --> Dashboards --> 3 points --> Resources
I don't usually monitor discord hence the delayed reply. Open a discussion on the ha-floorplan github and we can help you
I am using custom:button-card to make simple links to other pages. Sometimes in mobile, the text does not load. Is there a better way to achieve the same look/functionality that made lode more consistently?
I use the button-card, too.
This Design works great 👍
looks wonderful. do you have loading issues when on your mobile? im on ios and the text sometimes does not load
ok. so maybe just me. no worries. just looking for possibly a better way
When I'm back home soon, I can show you the setup
my setup is very similar. i know how to use the element. was just looking for possible alternatives!
Hey y'all I've tried everything I'm aware of but I still can't figure out this (seemingly) simple problem.
I have MQTT setup to where it can push a message to each of my devices and open apps / run programs / etc. But I can't figure out how to configure a front end card to where I can make the payload variable.
Like a textbox for topic:pcname payload "Text Goes Here"
Anyone know what I'm missing?
Basically im trying to combine these two (last image is what the first looks like)
Is it possible to use an icon instead of the first letter of the sensor name in the map card?
like, to replace this "SG" with some mdi icon
@obsidian bear Would you know?
Is there a way to remove the energy dashboard from the left hand collumn since I don't use it at this time?
You can remove or rearrange anything there by pressing and holding on the Home Assistant title or by selecting 'edit' in your profile
Not sure this is the channel, but I asked in general, and got cricket noises 🙂
Is there a way to provide input_number values to the min and max of a gauge?
Did you find a solution for this already? I’m looking for the same
has anyone else MQTT stopped working randomly?
its saying failed to connect and won't allow me to enter in the IP
i restored to an earlier backup and it fixed it
I am almost certain I came across a card the other day that you could place multiple other cards into (presumably in a grid) and they’d be borderless within the card, so just the content of the multiple cards with only a border around the whole thing. Does anyone know off hand what that would have been? Layout-card with border: 0px or something g like that? There’s a stack-in-card thing I’m finding but last updated in 2020 which seems unlikely.
(Why would grid-template-columns: 33% 33% 33% more or less work but 1fr 1fr 1fr be too wide? Docs say it should be almost equivalent.)
Hm, maybe it was card-mod.
Stack-in-card appears to be quite recently broken — despite not having received updates in forever, there are still people using it at least somewhat successfully according to the GitHub issues until a week or two ago.
(When installed via HACS, anyway. The card just doesn’t show up as something you can use.)
@left sentinel custom:vertical-stack-in-card an old, but very useful option
I'm running HA in docker (on synology), the latest version there is core-2022.4.7. As I understand, there is an issue with gauge in my version where I can't set multiple segments. So I am guessing my next question would be: Does anyone know when the next release tag is coming with a fix for that?
Also, related, but not quite the same:
I can't seem to set values from my input_number s in the gauge, i.e. if I want to regulate the safe area for temperature using an input number, I can't then later connect the value from that input number in my gauge. Or am just not doing things right?
Hi all, wondering if someone could offer some guidance/ideas. I have a couple of different entities, etc... tracking medication for my wife and I.
I'd like to have the home page show my medication when I'm logged in, and my wife's when she's logged in.
Is this sort of conditional display possible?
It is possible. Kind of.
The easy, but limited way: Create separate/identical dashboards, and limit the visibility to respective user.
The much more advanced way: https://community.home-assistant.io/t/get-currently-logged-in-user-in-a-template/423539/5
You could probably also do variants where you use a helper to set off an automation (where you can use trigger.to_state.context.user_id and do something with that. Like set the user_id to change an input_select which in it's turn you use as a condition in a https://www.home-assistant.io/dashboards/conditional/. But what you do will accessible for all users if you allow them in to all entities. So not safe from an information perspective. And as far as I know, this approach will always require the user to take some kind of action (like press a button). I don't know of a way to accomplish what you want by just opening the web page.
And if you find a better way, please feedback. I would really like to know how you did it.
Does someone have a reccomendation for some simple home-kit like light cards? I feel like all i find is eighter to big or doesn't fit...
anyone else having problems with the mini media player? mine always has a big delay changing the cover art to the current song and the progress bar is always way to ahead of time, finishing minutes before the actual song ends..
using a template card
Hmmm ... sounds rather convoluted ... I'll go the safer simpler option with separate dashboards. The wife will love it being specially for her 😀 😀
You can use the state-switch custom card to choose a different card based on the user that's logged in
I use it to configure my dashboard differently based on whether I'm using a desktop browser or mobile
Ah! https://github.com/thomasloven/lovelace-state-switch
I should have guessed Thomas had a solution for that. Thanks!
Hello Group , can someone please tell me where i can find information about a dashboard without login / i would like to have a Info Page for my energy meter , Thank you
Hi. Is there a card which could be used to display textual notifications (ideally with some dismissal mechanism on a per notification basis)? I’d like to be able to send myself the message eg to clean the dishwasher.
I have a sensor whose value comes in via MQTT and I wish to publish the payload on a Markdown Card.
When I type {{sensor.led_direction into the Content section , my sensor shows up in the drop-down list. But when I finish off the statement with }} it doesn't show.
From examples I've seen, I'm not clear how to set it up correctly. My sensor.led_direction sensor payload can be either clockwise or anti-clockwise.
Any advice? Is a Markdown Card the best choice for this?
Figured it out. I should be using {{ states('sensor.led_direction') }}.
My climate entity, when fed straight into a history-graph, gives among others this graph — the same as current temperature, but filled instead of just a line. Is there something you can do witH an entity to replicate that effect or is that something specific to what the graph draws from that climate entity?
Or maybe I need to put some sort of attribute into another entity, instead of making a separate entity.
Hm. I don’t understand which of the states it’s even displaying there. You’d expect this to be based on hvac_mode, but my climate entities just don’t have that attribute…
Better yet hvac_action, but it really doesn’t have that.
Evening.
Is there a way to use pre-built cards in a horizontal stack, using the UI? Or do I just need to copy-paste the yaml?
Furthermore, using this configuration, a tap on the light button shows me "more info" / "edit" on the device. The toggle action works on that light on pre-built cards, so I'm curious what I'm doing wrong.
my keyboard randomly starts typing left to right when I'm editing cards and automations in HA. anyone ever have that happen?
I've experienced that. Not sure what causes it, nor a reliable way to cure it. 😦
I started typing in notepad then went back to HA and it was fixed
hey all, i need some help on an button/selection, i have the local risco integration working a treat thanks to onfreund, i want to be able to select binary sensors to bypass when i arm in certain instances, so i went and created an input dropdown helper, put the binary sensor in as one of the select options, and run the bypass service via a button, with the entity selected as the helper, but it doesnt seem to be bypassing, any guidance appreciated
Hi!
Is there a way to remove input numbers (date/time) to a blank state? so dont get weird numbers for my plant counter?
via developer tools I think you can use the service Input datetime: Set
I also have the right to left typing issue fairly frequently. When I navigate back to the right with my directional arrows it's usually fixed, sometimes I have to do this a couple of times.
@warped yew posted a code wall, it is moved here --> https://hastebin.com/erimatusax
This is a card i have, https://hastebin.com/erimatusax. It shows up fine on the phone (both app and browser) but on the ipad it only shows one of the data sources (both app and browser). Can someone figure out why?
most likely an older version of iOS and iOS historically doesn't update it's older os's to be compatible with newer webpages
I've had that happen to me as well. It's quite weird. I've just accepted it as something that happens. What works for me to cure it is to click outside the text box you're entering things in and then back in the box. Should be back to normal then. I have a feeling it might be related to selecting text in a field from right to left with the intention of replacing/deleting it. I keep forgetting to make a note of what I'm doing at the time.
on mobile right?
i made a custom grid card, and when I move it to the top of a panel it forces all the other cards to be the same width and line up in the center of the panel. when the grid card is at the bottom, all the cards spread out and fill the width of the panel. how do i stop the grid card from changing the default behavior?
where can I find icons like this to be used for labels on my dashboard?
how do I position a background image in a button card? its zooming in on the top right...
Copy and paste every emoji with 👍 no apps required. 😊🥺😉😍😘😚😜😂😝😳😁😣😢😭😰🥰
ahhh just copy an emoji... that simple sry for asking omg
is it possible to hide the name and label of an icon on the dashboard?
Has anyone used the HACS frontend addon WallPanel that can help me with getting it set up on my HA please? I've tried to understand the wiki doc but i'm really not getting my head around it.
Nope, that’s not it. Latest version of app and ios on both devices
is it possible to use custom card without HACS?
and the config directory where the "www" have to be created is "homeassistant" o "homeassistant/config" ?
Thanks
Hi, where can i find the dashboard yaml, so it would be easier edit yaml directly without ui editor
I am looking at the Thermostat Card (https://www.home-assistant.io/dashboards/thermostat/). There is a very nice screenshot showing multiple entities? managed by a single card, however the (limited) documentation doesn't cover that at all. How can I have a single card for heat, cool, and fan?
Hello.
Is there a way to go to URL but use URL from entity and not just hardcode link yourself?
Question on the button card. I'm trying to set up a button that I can click, which will turn 4 of my automations on and off. I've gotten it to work, except I don't know what to put in for the 'Entity' field at the top. It seems like with 'Entity' blank, the 'Show State?" toggle (which I have checked) doesn't actually show anything. For what it's worth, the button works in toggling the automations on and off, but I'd like to have the current state visible at all times on the button card. Any insight?
Or better yet, if the color changing on the icon requires this:
https://github.com/custom-cards/button-card
I'd love to see if anyone has suggestions on what that relevant code would look like!
I'm trying to update my SSL and looks like it is not reading my changes: my config:
http:
ssl_certificate: ssl/fullchain.pem
ssl_key: ssl/privkey.pem
after updating both files I tried restart the host, the front end but it still use the old cert (I'm detecting it based on expiration date)
any recent changes that is ignoring the http settings, or it got moved to UI now ?
Does anyone know how to change to color of the header in the iOS app? I am using mushroom and tried to add app-header-background-color: "fafafa" to the config, but in the app it doesnt look correct. I'm trying to get the entire page the same color. so dark mode, the background and header would be "111111"
changing the theme from backend selected to mushroom gives me a closer result, but still off…
So "app-header-background-color" changes the menu bar, but not the bar at the very top. That's what I need help with
I'm using an Entities card and I have a slider and a switch on it. I'm wondering if it is possible to make the switch show the payload_on/off string next to the toggle? (Like the slider shows the value on the right.)
those are the regular emoji, if you are on Windows you can use Windows key + . for an emoji picker
nice tip, had no idea about this one
the symbols section will be very usefull for work
Yes, but you have to install things manually. If you don't understand the file systems and UI resources, you're going to have a bad time. If you do, no need for HACS.
I'm having a strange problem, when I "edit dashboard" and add new view, it does not display title text that I did put in, it just displays icon, any idea why would be that? If I go back and edit it, title field is also populated, it's just not showing up...
remove the icon assigned to the view and it'll display the Title
that works, but I can't seem to have icon and title at the same time
oh that's by design probably, didn't change anything for a year heh
you'll see the Title if hovering over the icon with the mouse, but don't believe you can show both
I only need to know where's the config root when there's no HACS.
You mean where you place the files? Or how you call out the files in resources?
where to place.
config\www
which maps to local when calling out the resources
in the default installation there's no "www"
np
testing
🙂
it's working
thanks a lot man
The resource was found
@tacit cave 🙌
🙌
what is this icon displaying for a climate entity in heating state?
My calendar is shown in the calendar tab. But not shown in the main page. Someone an idea?
- platform: caldav
username: username
password: ###
url: https://Myhost.h-o-s-t.name/remote.php/dav```
Does anyone have a card they use (or made) for an Inovelli Red Dimmer? I'd like to be able to set/change the notification effect type, color, brightness, etc....
Thanks!
Fixed by removing and re adding the identities
I cast a view to my google home nest hub from HA, however navigation seems not to be working on the google display.
Anything special that I need to do to get this to work? In the documation is says that cast supports navigation between views.
Is there a good template for the custom buttons?
Anyone know if its possible to put the payload text into a toggle element inside a Entities card?
and this if you need to template: https://github.com/gadgetchnnel/lovelace-card-templater
Awesome, thanks!!
hi guys,
i'm trying layout-card (custom) but without luck.
icon: mdi:monitor-dashboard
panel: true
cards:
- type: custom:layout-card
width: 300
max_cols: 3
cards:```
This works, i have all cards in the page, bud width and max_cols seems to be ignored when rendering ui
i have a dashboard designed for 4 columns, but sometimes the page get rendered with only 3. That custom component is the only one i've found to "fix" the layout
ok, i've found the problem.
i MUST specify a layout type, now it works
hello, anyone using the map card? I use the map card, but I have a problem! When I enter the tab where the card is, the map card is hidden, not showing the map. I have to edit the panel and change something in he card (like the position) to it to show again. I'm using chrome on linux!
You can delete your post
No idea if this would fall under frontend, but here goes, I have a relay board, and in interface it's just on/off switch, it's connected via mqtt, but when I switch it on, it displays it on, then goes off for a split second, and back on, the reason for that is that it's hard coded 5 sec publish period form the device, that can't be changed. Any idea how I could somehow introduce some sort of delay in interface so it does not happen?
I found the slider-entity-row card
https://github.com/thomasloven/lovelace-slider-entity-row
I seems really nice but for me the slider it self wont show. Also wont slide so it is not just invisible but not there.
Anyone using browser mod 2 know why the sequence service call is not working?
I followed the docs
https://github.com/thomasloven/hass-browser_mod/blob/master/documentation/services.md#browser_modsequence
Hi there, is there a way to set the value of a datetime helper from Lovelace? Thanks
Change call-service to fire-dom-event
I don't think that works with browser mod 2. I just tried it
After the last update my sensor seems to have changed the unit of measurement, now i have two Graphs. How can i fix this?
probably purging the records
I use a generic thermostat - some of the don't change the icon color when it is heating
Did you set this to true in both cards? https://www.home-assistant.io/dashboards/entities/#state_color
It'll "fix" itself in 24 hours when the old data falls out
I have a problem with jittery UI, it forces reload several times a minute on desktop in chrome browser. Any ideas on how to troubleshoot something like this? Does not seem to affect the Mac App, or the IOS app
Any ideas?
Is there any way I can have a shortcut to the ZHA settings in the menu bar without rendering another instance of the menu bar?
Not sure if this is the place to post this but: My Aqara Opple (zigbee2mqtt) switch with 4 buttons is missing a bunch of trigger options when creating an automation in UI: https://imgur.com/a/Be2f1OX . Not for instance how button 4 has single, hold and release while the button 1, 2, 3 only have single. Why is that?
Likely an issue in zigbee2mqtt... Have you asked in #zigbee-archived ?
I haven't. Thanks.
@polar kelp I'm trying to use sequence commands with browser mod 2 and it's not working.
I followed the docs unless I'm wrong?
https://github.com/thomasloven/hass-browser_mod/blob/master/documentation/services.md#browser_modsequence
hello
it is possible to make a value to a entity ? for example in a button card?
for example like this: `type: custom:button-card
entity: light.tasmota_3
icon: mdi:lightbulb
name: Office Moon
size: 30px
state:
- value: light.tasmota_3 == '255, 0, 0'`
Hey, i'm using lovelace minimalist and sometimes i have an issue where it does not load and throws me "card not found" errors, but after a few seconds i can reload and it works. Is there something that goes "into sleep" that needs to wake up again first for lovelace to work?
on the mobile phone?
no, on my laptop in the webbrowser
seems to happen on the "first load" after not visiting it for a few hours
maybe your laptop lose the connection
hmm, but the rest of the ui is loading
Just started energy tracking, but these numbers don't seem right 
thank you very much - fixed!
is it possible to change this color of the top bar within a theme?
Maybe use the #energy-archived thread?
hi
it is possible to make a value to a entity ? for example in a button card?
`type: custom:button-card
entity: light.tasmota_3
icon: mdi:lightbulb
name: Office Moon
size: 30px
state:
- value: light.tasmota_3 == '255, 0, 0'`
with state and value ?
Hello all
I am writing a new entity-row, Does anybody know how can I import hass components so I can use them in my card?
There's a pinned post about that in #devs_frontend-archived
In the search filter of the States tab of Developer Tools: is there something I can use to signify that an entity_id should end with e.g. "power" as opposed to containing the word in it?
There are some kiosk mode plugins on HACS. Or browser_mod
Strange one for you guys, is there any obvious place to change the name of the instance appearing in the tab bar? I've got two instances, I'd like one to say Home Assistant and another to say Garage Assistant 🙂
Favicon customisation would be nifty too, though I'm not expecting that to be a generally configurable option 😄
Nothing built in, but browser_mod or Favicon Changer on HACS can do it.
NB: Both are under Integrations, not Frontend.
Newb here. New install, bare metal HAOS image setup. Trying to add my first custom card from HACS- mini media player. I followed the instructions, downloaded, and see it in here:
But when I try to add it as a card, it says "Custom element doesn't exist":
Any idea how to purge all data for this device? There's no access to the "adjust sum" button for this metric.
Can't wait to see the electric bill from when I used 4.2 million amps...
Thank you
has anyone here successfully installed versatile-swiss-army-knife-card in a mode: storage scenario? The manual install instructions say to add items to the ui-lovelace.yaml file but I don't think that file is processed unless you're in mode: yaml. I'd love to hear if someone has figured it out as google searching hasn't given me any good hits yet.
Hi!
is it possible to have a card with a sliders for a light and the toggle for the switch that command that light?
and a long touch on the icon to enter the light "more information"
can i assing to toggle a shelly swich and as slider the intensity of a smar lamp?
maybe 2 "list" in the same card?
or... see here in de the doc, apparently you can split the action from the slider
I have not tried it yet but I like the thinking, have a similar situation with switch and Hue bulb
@nova pasture posted a code wall, it is moved here --> https://hastebin.com/xoxiduvoca
thanks 😛
nothing.. i cannot do that..
i don't know how to do that
let me try, noew to this card too
@karmic tendon posted a code wall, it is moved here --> https://hastebin.com/afeyagunoz
love u!
i would have prefered with a linear slider but it's ok! it display also the actual color of the lamp!
just so i know, i cannot have that works on a normal light card right?
each card its own ... their are many MANY cards so have a look in HACS
tap in the middle toggle the switch long press more-info and the sliders for intensity
will have a quick look
yep
could do the same
tap: call service
long: more info
or even: tap: toggle
just try it out 🙂
why sometimes it writes right to left?
it sais tap_action is not supported in visual editor....
ah... I am blind a bit (small print)...it has hold or DOUBLE tap...not just tap
well... I am off...good luck 🙂
@viral root posted a code wall, it is moved here --> https://hastebin.com/ocogagevij
whats wrong in this lovelace yaml, the shell cmd doesn't fire. in dev tools this works:
Shell Command: bravia_send_ircc_code
service: shell_command.bravia_send_ircc_code
data:
code: AAAAAQAAAAEAAAATAw==
``
type: vertical-stack
cards:
- type: horizontal-stack
cards:- type: custom:button-card
color_type: card
color: rgb(223, 255, 97)
icon: mdi:volume-minus
tap_action:
action: call-service
service: shell_command.bravia_send_ircc_code
service-data:
code: AAAAAQAAAAEAAAATAw==
``
- type: custom:button-card
Hello,
I'm making a dashboard for my tablet and using picture entities to create a return to home button. works great but the picture entities stay very large ? I don't see an option to make them smaller
they're a lot bigger than other "squares" with entities
example (don't mind the white background that's just because of a bad print screen paste into paint)
anyone?
Good repo/tutorial with button-card examples?
Nicely commented of how to use this card to it's fullest not just "copy/paste dis and itll work for ya"
would be nice
It used to be service_data with an underscore. But now it's just data:.
still doesnt work
is call-service valid for shell_command?
this is in configuration.yaml:
shell_command: bravia_send_ircc_code: curl --silent -XPOST http://192.168.1.55/IRCC -d '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1"><IRCCCode>{{ code }}</IRCCCode></u:X_SendIRCC></s:Body></s:Envelope>'
and as i said it works from dev tools
@polar kelp
so i have this now:
... - type: custom:button-card color_type: card color: rgb(223, 255, 97) icon: mdi:volume-minus tap_action: action: call-service service: shell_command.bravia_send_ircc_code data: code: AAAAAQAAAAEAAAATAw== ...
i dont get it
No, that should work.
tap_action, yes
yup sorry
Underscore to the left of :, dash to the right. Generally
ok
hmmm missing lovelace cards i installed through hacs
it shows up in resources but not choosable as card
i give up xD
Not all custom cards are selectable in the dialog. You'll have to pick "Manual" from the bottom
yes, but didnt work anyway...
I want that inline icons row on my overcrowded sidebar 😦
Actually, that row and the one above is bunched into a single one now...
So it's less now, not more.
Sure but there are a new ones. I have at least 40 elements in my sidebar so I would like to have some of them in a row today.
(sure some of them hidden, and 1/3 should be deleted I just don't have the ❤️ )
Can I modify the size of a custom yaml card?
@polar kelp Any idea what's going on with my sequence on browser mod 2?
https://github.com/thomasloven/hass-browser_mod/issues/457
Good afternoon! I am trying to figure out how to display a full-screen monthly calendar. The standard calendar card is fine, except for it squishes up vertically and doesn't display all even descriptions -- only says "+2 more" etc. I'm looking for more of a replication of a wall calendar where it takes up as much room as I want to give it vertically and will show all the events for each day at a glance. Any suggestions?
I've tried Atomic Calendar Revive https://docs.totaldebug.uk/atomic-calendar-revive/# but that has the same issues.
You need to make a view in panel mode to make a card wider.
I was able to do that, and it takes up the whole space horizontally, but it's squished vertically
How do I expand it vertically so it takes up more space and actually shows all the events?
A second conditional card
I don't think you need to, because it's yaml but I'll leave the link to the card anyway https://github.com/tungmeister/hass-blind-card
hi all, I'm having a hard time understanding how to change the more-info button with browser_mod on a custom-mini-graph.
I have adguard installed in a docker and have a mini-graph showing the average processing time, and I would like to be able to see amount of queries and blocked queries when I click on the graph. I've looked through the config, and it's very sparse with different examples to go from
I have browser_mod correctly installed, but I can't seem to get it to work
``type: picture
image: /local/pictures/harmony.png
elements:
- icon: mdi
type: icon
style:
left: 38%
top: 14%
tap_action:
action: call-service
service: shell_command.bravia_send_ircc_code
data:
code: AAAAAQAAAAEAAAATAw==``
i get "keine entität für mehr-info dialog angegeben" when clicking on the image
the example is from here:
https://community.home-assistant.io/t/how-do-i-actually-make-a-tv-remote-control-work-well-in-the-gui/212392/18
so i think it did run once...
any idea how to get that running?
Is there a way to restrict what media sources are available in the media player card?
I don’t want to make a custom button outside of the explorer for everything
Maybe this is a frontend issue: I'm currently on 2022.9.7. I've got a 'Repair' telling me that the Pushover YAML config is being removed and that my existing config has been imported to the UI automatically. When I look at the Pushover card in Integrations, I don't see any settings or configuration options for it. I see System Options, but this doesn't allow me to configure any of my API keys. Before I remove the config data from configuration.yaml, I'd like to see & confirm that the info has been properly imported (not that I don't trust y'all), and know where to go in case anything should ever need to change. Would someone please point me to what I'm not seeing?
Just comment out the YAML config, restart HA, and make sure it's still working
I'll give that a shot, but what if I ever need to make changes in the future?
If it doesn't offer a configure option, remove it and add it back
It's probably the same amount of effort
I commented the settings out of config.yaml, restarted - the "repair" went away. I deleted the pushover integration, restarted, then added it back in. It seems that delete/install is the only way to go about changing things should the api or user key needs to be changed. I guess they don't really change all that often (i.e. ever), but it still seems a bit weird to do it that way.
All is good, I know what to do know (assuming I manage to remember should anything change in the future...)
Thanks, RobC
You shouldn't have needed to delete it and add it back. It would have imported your settings
Only if you needed to change them
Hi folks o/
I've got a super newby question. I'm looking into installing the custom button card. So far, I've been able to get it installed through HACS and it's showing up in my configuration (see image 1).
When I try to use the card by following the instructions on github, though (link: https://github.com/custom-cards/button-card#installation-and-tracking-with-hacs) I run into a bit of a pickle. I don't have a ui-lovelace.yaml file, so google suggested that I move the resource addition to the raw-configuration of the dashboard itself. There I get a warning message (image 2), and when trying to use the card, get the error "Custom element doesn't exist: button-card."
Wasn't able to find any useful documentation on getting this to work. Anyone here have any ideas? 🙂
Add the resource to
-> Dashboards -> Resources
There it's currently added like the image.
I did try to change the url here to community/button-card/button-card.js, but that unfortunately didn't work either.
🤦 You'd think that a professional software engineer would remember to clear cache...
Thanks!
hmm 2 of the 4 accounts of life360 arent showing location on the map in home assistant, but i can see this at the accounts that arent shown on the map, whys this?
@polar kelpin your card slider, can i have the switch that command the lamp and the slider that command the intensity of the smart lamp attach to that switch?
i'm doing it with another slider card but i have to set like "main" entity the smart lamp and use a toggle to command the switch
happens that when the light is of for some time that the smart lamp (via tuya) goes offline (not avaiable) and when that happens the toggle switch doens't work
You can make a light entity that does what you want https://www.home-assistant.io/integrations/light.template/
an entity that unify the switch and the lamp^
how can change the "power" symbol and have the "toggle" symbol, mdi:toggle-switch doesn't move like the actual toggle switch
with card-mod, how do I combine these 2 blocks?
ha-slider:
$:
.: |
.slider-knob-inner {
opacity: 0%;
}```
```card_mod:
style: |
:host {
--paper-slider-height: 42px;
} ```
style:
.: |
:host { ...
"ha-slider":
$:
.: |
.slider-knob-inner { ...```
thank you
my goal is to recreate mushroom-card style sliders with slider-entity-row. so far I've disabled the knob and made the size of the bar the same. next goal is to make the edges round. If I apply "border-radius: 12px" to the sliderBar property it doesn't work unless I disable the padding property. Any tips on getting around this issue?
Using the Picture Elements, I can't get this light to work with the tap action. I want to tap it to turn it on and off, but it just opens "info". Any ideas?
Image if what it opens:
https://gyazo.com/5c16be8828f0464051ea55db26390221
Show your code instead
@devout trench posted a code wall, it is moved here --> https://hastebin.com/iqorafezic
- type: state-icon
tap-action:
action: toggle
entity: light.cleverio_rgb_cct_14w_e27
style:
top: 38%
left: 83%
state-color: true
perhaps this is better
It's tap_action with an underscore.
ಠ_ಠ
wow
Thanks man hahah
Is there any way to control zones over picture elements? E.g "turn off all kitchen devices"
Not all devices AFAIK, but e.g. all lights or all switches.
Easiest way to do that is to set it up in /developer-tools/service, switch to YAML mode and copy the ouput from there. https://my.home-assistant.io/redirect/developer_services/
It'll be something like yaml service: light.turn_on data: {} target: area_id: 1bffa3ae14f04191a149e98125c9fce2
Then you just copy that to the tap_action
Oh damn, that's nifty!
service: light.toggle
data: {}
target:
area_id: kitchen
Also, I wish you could save the template drafts
By the way, what's the difference between a badge and an icon?
Furthermore, I see a bunch of mentions of "data you want to send" in cards but don't really know what that'd be. Any suggestions?
Does anyone have an idea how I can work more horizontally, everything is squeezed vertically
Here
And remember that "1 card" can be a stack or grid card which in turn contains more cards.
I want to make something like this, is "1 card" the best option?
thats a mixutre of cards jasper, and the sidebar is a hacs intergration, I did run it once, but the resize issue on different screens made me scrap it.
the sidebar is not a problem that works but if I want more than 4 chips then they come under each other and not next to each other as in the picture. when I choose "panel" everything appears on the left and not in the middle, how do I solve that
hi guys! hi anyone know of a service to change the current view (ie from lovelace to another path)
the navigate tap action. https://www.home-assistant.io/dashboards/actions/#tap-action
thx @errant plover ! im actually looking to not tap anything but every X minutes or by a trigger change view
browser_mod
awesome thx so much !!
was using browser_mod didn't know it did navigation as well 😄 😄
Is it normal that my browser_mod popups dont show on my mobile, only desktop
Popup cards should show. Popups called from backend services only show up on browsers that have been registered.
is the any way to set a cards parameter with a template, ex I want to dynamically set min and max values of the gauge card
I suspect you could do this but not on the scale on meaningfulness you’re trying to accomplish
which cards you use for curtains/blinds?
is it possible to use a property of the styled card in card-mod template? I've modified slider-entity-row and need to change the colors of the slider based on if the slider is controlling attribute: warm_white or cold_white
I guess I need something like this
[[ if(config.attribute == "warm_white", "red", "green") ]]
slider card is really nice also for curtains
got it
{{ '#ffcd97' if config.attribute == 'warm_white' else '#99acff' }}
Anyone have a good suggestion for a front end way to do a button, or set of buttons for my cover. Was going to try to do it with a custom button card, but I need a way to do 3 actions. Need up, down, and crack (custom control I made to crack the door for the cat).... Thought about a set of three custom button cards, but.... Meh... Any other suggestions?
you need to use this plugin https://github.com/thomasloven/lovelace-slider-entity-row ?
Not for using slider-card
Oh I see
I used to use this https://github.com/tungmeister/hass-blind-card but it seems to be a little bit broken(the ui)
I use the slider entity row... I add the same entity twice, one for the buttons, and another for the slider
Im trying to get an intermetiate state when the switch is toggled
maybe with some kind of timeout
For ex : click on the switch -> the switch stays on for x seconds if the host is not detected on network, switch back to off state if host detected stay on
Or click on the button -> the button changes color for x seconds if the host is not detected on network, switch back to off color state if host detected switch to succesfull color state
I'm almost done with the 'mushroom-cards style' slider-entity-row mod, all I have left to do is slightly change the padding, but I'm having issues doing so. I need to add:
padding: '13px 12px'
to #states, but I've been unable to do so. I found posts on the HA forum but I think they're using old syntax that no longer works.
Hi all, new to HA and have only been getting mine up and running as of this week but I was wondering if there was any way to set a border around the stacks of cards on dashboards? Something along the lines of the picture which I used multiple colours using paint to highlight what I'm after.
got it, I was wrongly applying it to the entity when it was meant to be applied to the card
Does anyone know of a way to use a input_number in a Thermostat card (or know of a card that can allow this)?
I use Home Assistant to "lock" my thermostat to a specific temperature so that my son can't ask google to change the temperature.
However, the input_number slider leaves a bit to be desired. 😐
I need something a bit bigger for minor adjustments.
I use simple-thermostat to do this style
is there anyway header-toggle can be an entity?
i'd like to use it to toggle the card contents from an automation or voice command.
maybe the card should be an entity and header toggle an attribute
is there some way to put a variable in the title based on the value of Hours to show in the history card? https://imgur.com/jyuKMcv
so the title would say something like "Power usage history 1h" if the history was set to 1h
hey gang - anyone got a good custom card alternative for markdown card for headings???
Using HA (2021), I was able to define several Views on my Overview dashboard using ui-lovelace.yaml as per the following pastebin: https://pastebin.com/aEDvN92V
Using HA(2022.9), how can I achieve the same thing using the yaml files? (I.e. how can I reuse my old setup files with the new version of HA?)
After using Edit Dashboard , adding a view and then adding cards to it, I can't find where the settings are in my config folder.
new to the mushroom cards, I just experimentally used the climate card. And getting used to that streamlined sight easily 😉 looking for a slider on those. Are they not possible, like on the lights?
- type: custom:mushroom-climate-card
entity: climate.heater_office
fill_container: true
show_temperature_control: true
collapsible_controls: true
hvac_modes:
- heat
``` is what I use now
I used custom:button-card and ha-card with tap_action:none to implement this
Is there a built-in way to make a card full width of the screen? I'm trying to make a Horizontal Stack card with each day as it's own sub-card, but it's getting a bit squished 🙂
On the latest Android app is anyone seeing their dashboard and children pages refresh very frequently. Mine seems like it's refreshing every second or two. I can't even go to the automations section in settings and search for an automation name. Mid way typing a name, eg the third character, the page refreshes and the android keyboard hides. I can't see any open GitHub ticket for it. On the latest HAOS installed on top of Unraid.
tried to set the page to set your page to panel?
I have, yes. I should have clarified that I still want other information/cards underneath
I have same issue but on iOS and it refreshes every 30 seconds and don't know what is causing it.
hey y'all
Anyone use a Nest Hub v2 and try CASTing to it?
Weird behaviour. Doesn't load all resources on the first try, have to send the dashboard page again
And then refreshes don't work either
It does work fine briefly. Until I try to refresh the page via service call
I found that there was a websocket error in the server settings in the iSO app so I deleted the server and re-added it has fixed it.
Thanks for that. Is there any github issue on it I wonder.
added new dashboard gave it a used url now its linke to the previous but not the same
so if the paths are the same lovelace thinks its the first path and show the menu for it
i fixed it by renaming the path variable in yaml
how can i create a button that doesn't have a state change for the icon? i have a switchbot that i want to create a button for to trigger it, but it's working like an on/off button and i dont need/want that functionality, just a button press to trigger 1 action
don't use a toggle button?
how do i create a non-toggle button
change the action?
go tit
tap_action:
action: call-service
service: switch.turn_off
service_data:
entity_id: switch.kitchen_coffee_switchbot
Under Settings/People... Although I have selected a Profile Picture for each, only the icon appears in Dashboard Badges... why is this?
How do I get rid of the default "overview" dashboard?
Is there a media player that allows you to browse Spotify and group/ungroup Sonos speakers? Looking for recommendations. Tried Mini Media Player, but can't get it set up properly.
Also looking for a recommendation on lighting cards. I have a lot of Philips Hue lights, would like to be able to control scenes, etc. which is possible already with the way it was brought in by default, but I'm wondering if there's a nicer looking card out there?
Could you share the code on this???
I use popup light card
With some templating skills you can have the extra buttons on the popup light card do a lot
I use it with Wiz lights to set light temp, and a few scenes as well (min brightness, circadian rhythm)
Hi! I'm having a rather simple question: When uploading a "profile picture" to Settings -> People -> $user -> Picture; it turns all transparent sections of a png to black.
Is that wanted behaviour, a bug or a browser issue?
Happens to me on: MacOS 12.6 with safari and firefox and on my iPhone, iOS16, App Version 2022.8 (2022.387)
Is there a way to replace current history state in navigation path (easy way)?
Eg I want to add #hash to url param but want back button to go back a view instead of only removing hash from uri.
Something like:
tap_action:
action: navigate
navigation_path: 'path_here'
navigation_replace: true # < this
Or to put it in other words, passreplace:true to HA's internal navigation method
\src\common\navigate.ts
Hello everyone.
Please ignore the previous post and excuse my stupidity, I am very new to Home Assistant and Google is not being very helpful with an answer to my question!
I am trying to configure GoogleGeocode-HASS in Home Assistant and I am experiencing an error. The following has been added to my configuration.yaml, which according to the instructions, I think is correct:
https://hastebin.com/yayikeqesa.yaml
But when I look at the card in the dashboard it shows "Entity Not Available: sensor.google_geocode
If I remove the "name: James" line, then the card loads and displays "Google Geocode" with a location of "Home", but no address details
Is there something I am missing? It's driving me nuts!
Is it possible to make my room-buttons on my tablet dashboard to NOT go into a separate view, but instead change the default view?
Asking because I want the same general info, like weather and calendar, to always be visible even if I press a button to change lights in a room
Was thinking maybe conditional cards that would show different "rooms" depending on what I press.
Reasoning for this is that if I make a change to the calendar for example I don't want to do it in every single room view
How do i delete/reset Energy dashboard? In Settings -> Dashboards it only shows option to "Open" clicking anywhere else on it just takes me to the dashboard
(Docker version of HA)
You could browser_mod to show a popup over the default view or use something like state-switch to change the whole default view
That looks promising! Do you know if they are easy to setup?
They are relative easy, but can have some tinkering to make it work well
Did you actually install it? It looks like a custom component
Hi all, the new subviews released recently are pretty awesome.
i'm wondering how to automate the dashboard on a tablet to show specific subview when an event comes in. ( for example show camera view when doorbell is rung)
Any pointers how to best achieve this?
Is there an easy way to convert or copy a dashboard to a sub-dashboard? If not might be a nice addition if it's not too difficult
The Subview back button breaks if you minimze in the view in the app.
it does not know ehere to go back to
found a workaround for that already
set the back_path
https://www.home-assistant.io/dashboards/views/#subview
that should fix it for now
kinda sucks if you have multiple ways to that view, but atleast you dont get suck anymore
great thanks 😄
i converted my views with that check thing
edit the view and it should be there
Ah okay.. I was thinking of subviews a different way, my mistake, thanks 🙂
Hi,
Is there a way to change the action that the off button does on the thermostat card?
The "File Editor" add on doesn't appear in the add-on store. I know I had it on my last install, but it's just not found anymore. Anyone have any ideas?
originally from https://gist.github.com/gasolli/aa2738b615d2258530c288f2abdcc5d9#file-full-lovelace-config-L3967
`type: custom:vertical-stack-in-card
title: null
horizontal: false
view_layout:
column: 4
cards:
- type: custom:button-card
name: '- The Brush -'
size: 100px
tap_action: none
style:
.: |
ha-card {
background-color: rgba(0,0,0,0.0);
box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3), inset 1px 1px 1px 0px rgba(255,255,255,0.2);
border-radius: 20px;
margin-top: 82px;
}
styles:
icon:
- filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4))
card:
- transform: scale(0.9, 0.9)
name:
- font-size: 28px
- font-family: roboto
- opacity: 1
- color: rgb(192,192,192)
- font-weight: regular
- filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4))
style:
.: |
ha-card {
border-bottom-right-radius: 120px;
border-bottom-left-radius: 120px;
background-color: rgba(10,100,140,0.1);
box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
border-top-style: solid;
border-top-width: 1px;
border-top-color: rgba(255,255,255,0.0);
width: 800px;
margin:auto;
position: absolute;
left: 0;
right: 0;
height: 150px;
box-shadow: 5px 5px 6px 5px rgba(0,0,0,0.3), inset 1px 1px 5px 1px rgba(255,255,255,0.2);
margin-top: -120px;
}
`
what card do I need to us to link to an subview?
is there any way to make the entity popup list in History wider? So many of my entities start the same, and there's no mouse-over either. Looks like width inherited from #document --_vaadin-combo-box-overlay-default-width
i had to factory reset our apple tv because apple. however now the old integration shows hundred of these "Attention required" cards
any idea how i can remove them all without having to click one by one?
when i click reconfigure i get this error
Is anyone else missing a "Copy to View" function? (Combination of Copy and Move to View functionality)
Is there a way to add something like earthcam and other live videos In my dashboard?
Trying to modernize my frontend a bit, I see lots of people with just little tiles right in rows in one vertical stack and don't get what they are doing. How can I make something like this more compact?
ooooo TIL grid cards
Can anyone assist with adding a custom link to the sidebar which loads in the parent frame?
I'm aware of panel_iframe
is there a way to wrap the name text in mushroom cards
Is there a way I can make the webcam feed full screen when I click on it, tried to look around for a way to do it but no luck yet
shit i just accidentally saved over my lovelace raw configuration
is there anyway to revert
ok made some real progress still wish I could figure out how to get word wrap working in Mushroom Cards
card-mod css
I can use that inside mushroom cards?
Have you considered a layout like this? Toggle & slider in one?
I went this route
trying to fix the colors on that damn mini-climate card
none of the theming controls fix that gold AC haha
making me mad
Share a snippet of the card
this is the card i dont have any custom settings besides the theming settings and they are all set to blue
Checkout "slider card" in HACS
ohhh i see
My AC icon is blue
Not familiar with mushroom, but its clearly theme-able if mine is blue
yeah im trying a few themes
default is still yellow hmm
found it 😄
paper-item-icon-active-color: rgb(33, 150, 243)
all better!
Mine is --primary-color 😩
Theme has variables.. metro blue
What are you using for your sensors?
zigbee, tuya?
i have some zigbee some z-wave
some wifi
heh
hmm this climate card still is being weird
when you set it to heat/cool mode it doesn't show the temperature range
Mushroom cards 🙂
yeah im pretty shroomy now
need to figure out how to get card-mod to do word wrapping thing
not too great with this css stuff heh
so i did - type: custom:mushroom-entity-card entity: binary_sensor.upstairs_window name: Upstairs Window icon_type: none layout: vertical card_mod: style: name: $: | .primary { color: red; text-overflow: unset !important; white-space: unset !important; } and still nothing
think the name part is wrong heh
entity: binary_sensor.upstairs_window
name: Upstairs Window
icon_type: none
layout: vertical
card_mod:
style: |
ha-card {
--ha-card-background: red;
}``` this works but no idea how to get it to word wrap :/
Can anybody help me maybe? i try to install this with hacs but i cant get it to work, what i am doing wrong?
https://github.com/DBuit/sidebar-card
I installed in hacs but i dont know how to add the sidebar in my lovelace
@inland onyx posted a code wall, it is moved here --> https://hastebin.com/avaqalacus
looks like you gotta add it to your ui-lovelace.yaml file
ye but how? i dont understand that part 😦
hit the 3 dots in upper right, edit dashboard, 3 dots, manage resources, add resources at bottom right
add that link
@lapis lava posted a code wall, it is moved here --> https://hastebin.com/ituhekuhiz
anyone can help me here?
How do I get a view back out of subview? I was just playing with it and checked the subview option. After hitting back I have no way of getting to that view again or turning subview off on it?
I figured it out by using browser to navigate to that view(ur
Hi, I need advice how to make power usage per day, let say create sensors for last 7 days. I have plug witch count energy total in kWh, that I create helper utility meter and setup to daily, but what next. Probably I need create some script to take data from database, I don't know, maybe some link to similar problem will help me a lot. Thanks.
So I have a problem with sensors/templates working in Developer Tools, but not populating cards
Is there a way to force a sensor to refresh?
If the sensor has the right state in Dev Tools then it's not a refresh issue
What card, and how are you using it?
It is something to do with the Plex Meets Home Assistant integration - the state_attr works fine in Developer Tools, but the sensors are not populating, or do so intermittently
Well, I'm not sure what is going on with the sensors/templates, but I solved my problem by using custom:html-template-card
trying to create a subview in YAML. Icon is still showing up in nav bar and when navigation happens, no back button is present. Did I get something wrong in the code?
title: Weather Alert
path: weather_alert
icon: "mdi:alert-circle-outline"
panel: true
subview: true
cards: ...
how can I add the link to an subview to an view?
Ok, so the subview is working once I closed the browser window and reopened. Maybe a cache issue ? Just something to keep in mind