#frontend-archived
1 messages Β· Page 154 of 1
Thanks I get the concept now π
Hi, anyone know what this icon is ? https://imgur.com/sZkvdrK (i mean the one from Overview)
view-dashboard
so mdi:view-dashboard ?
If you search MDI for view you'll get a bunch of them
thx
Hi, I want to have a button below the Garbage icons to manually activate/confirm, that the trash-can is outside.
The button should be reset at 8:00am next morning and if applicable a notification should be send.
What would I search for ?
Is this a Template Switch?
Greetz JΓΆrg
Thx
What is the loveface config panel? https://hastebin.com/yacihihizi.coffeescript
Configurations wheel in bottom left -> Lovelace Dashboards
You need to have activated Advanced Mode in your profile to see the Resources tab.
Is it possible to use different themes on different dashboards ?
thx, i found it
I want to add apple style home kit cards, but the documents seem lot more complicated for what I understand atm
Ahh I see doing this would put me behind updating, think I will pass π
Hi guys, I was about to open an issue on the frontend github, but I am not 100% sure it's frontend or core related. In LL all the instances of Home/Away are not showing as home/not_home, is that expected? Is that already a known issue or should I open the issue on github? I tried to look at the existing issues but I didn't actually find nothing that "sounds" related
A question about the new weather-card/icons. Should the sun just be a yellow circle? Like https://imgshare.io/image/skarmavbild-2020-04-30-kl-151254.zRUaZ
mdi icon white-balance-sunny should be better in my opinion π
@copper mural they are not mdi icons, they are static images
My alarm.com sensor doesnβt display nicely. So I built a template sensor. Problem is, the sensor doesnβt have the arm home, arm away, and disarm. Anyway I can fix that with lovelace?
Why are some switches toggle-based while others have two separate lightning switches?
When using the webpage card, how do I get rid of the padding on the sides and bottom of the card?
@finite pond Some have a known state (toggle), some don't (two buttons)
Is it possible to change custom css on a card based on the currently active theme?
Something like:
"""{if: states(theme) | string dark}"""
What icons packs are supported besides mdi?
You can install custom icons with the custom icons plugin
There are 2 addons available via HACS. Font awesome and Simple Icons
Is it possible to show only the ON switch for the Entities card?
The latter. Only the ON switch because the automation turns it off
No, switches by definition are on/off
Hey guys, I'm currently integrating my NAS in ha. WoL works perfectly fine, I now wanted to integrate a button to send the NAS to sleep mode. I followed the guide in the WoL integration page and modified the command with the correct command for my nas. How can I call that service now from lovelace?
@heady berry You could create a Button that triggers the service your automation
What is the correct way to embed links since weblinks were killed? I use something like this now, which breaks the visual editor despite it works:
- icon: 'mdi:printer'
name: Webinterface
type: weblink
url: 'http://192.168.178.32/'
Message: Expected a value of type {entity,name,icon} | entity-id for entities.9.type but received "weblink".
sigh: I read the note at the bottom of https://www.home-assistant.io/lovelace/entities/#example. I hope this will be fixed
@torpid notch got something like that, a script that calls the service works as button card
@olive mist posted a code wall, it is moved here --> https://paste.ubuntu.com/p/cXV9t4yrMY/
@olive mist posted a code wall, it is moved here --> https://paste.ubuntu.com/p/kB8yDDPqp6/
~codewall @vapid field
@olive mist Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.
Please take the time now to review all of the rules and references in #rules.
The bot moved your post because you forgot to read the rules. It moved the repost because... same reason π
If you get the bot doing that, re-posting is never the answer
Thanks @split granite. I reposted because I thought it was an error. I'll review the rules again.
Hi, I'm sure this question has been asked before .. somewhere, but after a long search, I'm nowhere. I am using a picture-elements card, and I want to create a mute toggle button on it. I thought using a state-icon would be the right thing to do, I then tried a service-call, but none of what I've tried so far is working. It's to mute my TV. Any help is appreciated.
Is there a good mdi icon for a ceiling fan?mdi:fan just looks a little too basic for my liking
mdi:ceiling-fan
@past falcon try going to materialdesignicons.com
That's where I go for all my mdi icons
@vapid field have you made sure the service call works in the service tab in dev tools? If it's not working there it's a problem with the call, if it is, make sure your service call section is correct. Here's what something I have looks like:
tap_action:
action: call-service
service: amcrest.goto_preset
service_data:
entity_id: 'camera.amcrestcamera'
preset: '4'
@past falcon - argh, didn't think to go there.. let me try.. thanks for the suggestion.
https://cdn.materialdesignicons.com/4.9.95/ is the current list of icons in HA
well that explains why I couldn't get dome light to work
but if anyone has a good suggestion I'll still take it!
There are 2 addons available via HACS. Font awesome and Simple Icons
@atomic glacier There are no addons in HACS mate π
Hopefully he figured that out...π€£
Integrations was too hard to spell this morning
My favorite is intergrations
Components was easier... somewhat
things
whatchamacallits
is there a RAM stick icon in the MDI bundle? I cannot find one.
can you undo the sorting so cards are not all in 1 column?
this order is stored somewhere
Thanks, I have poured over that list until I went cross-eyed
Hello, Iam new to this topic I just installed the integration "Config Template Card" through HACS but iam getting the error "This plugin is not added to your Lovelace resources.", does anyone have had similiar errors with this integration?
That's a custom card (Plugin) not an integration π
When you add the card through HACS it'll show Not loaded and a button to add it
Click the button π
Thats the problem, when i press the button the site reloads and the button keeps appearing
Check the log for any warnings/errors/etc
Iam not getting any new errors/warnings after clearing the log and pressing the button
who uses lovelace_gen?
Then enable Advanced mode in your user profile, and go to
-> Lovelace -> Resources and add it manually using the details on that page
lemme rephrase, who uses lovelace_gen and the _global config option?
Thats what I also tryed, when enablign Advanced mode and opening the Configurations tab Iam not getting the Lovelace windows
@polar kelp sorry to disturb. Does lovelace_gen _global get reloaded when the reload button is used? I've been using jinja & dictionaries for my config and I'd rather switch to yaml to be... less verbose with characters. I shy'd away from _global because I assumed it required a HA restart not just a reload. Is that true?
https://gyazo.com/73890f881a75b48d75a591fe4fa2e2c2 there should be a Lovelace Tab
Or... something
Home Assistant 0.105.3
echo
Trying to update with pip
That's only an option in venv installs
0.105.3 is probably the newest you get with python 3.6
3.5?
can't remember, python version changed
Older than that I think
Hi Folks, Has anyone experienced an issue in the configuration screen where you click a menu item at the top or try to add an integration and the page won't refresh... it just adds scrollbars to the side? I've tried clearing my cache (ctrl+F5 and ctrl+shift+r) but that doesn't help. Oddly enough, when I hit refresh it brings up the page that I am trying to get to. I can't quite figure out what is going on there.
Updating did the trick Thank you!
@true wasp Yes, there are a number of things like that which occur for me.. I just refresh.
@vapid field Ok cool... it's nice to know it's not just me π
I mostly think it happens when the lists scroll off the screen. How that isn't handled by a UI dev, confuses me. There are a lot of places in HA where things do not fit on the screen, and there's no way to resize parts of the UI
I have found that I often have to go find the thing I am looking for elsewhere then click on the list, then hit the up arrow the correct number of times for the item that's offscreen. Completely retarded
go fix it then
if I could, I would. Thanks tho
hmm
I'm sorry, I stepped away, was there a follow up insult?
Hi. I am a new Home Assistant. I installed Home Assistant on my raspberry pi but I am stuck on the "Preparing Home Assistant (this could take 20 minutes)" page. I have waited for around 2 hours now, rebooting the pi many times. Any tips? Thank you!
Is this a fresh OS install on the PI?
are you positive it has good internet access also? I think it's downloading py stuff right then....
Hey Folks. I'd like ask some help with organizing my cards on Lovelace. Currently I have 2 cards for testing, 1 includes 5 button horizontally aligned, and 1 plex card below it. Would it be possible to place the plex card next to the buttons instead? Can't seem to get the right result
I'm learning about this card for layouts: https://community.home-assistant.io/t/layout-card-take-control-of-where-your-cards-end-up/147805
@vapid field There might be a few things to work out. Having said that, I love HA and appreciate all the work that folks put into it so I'm ok with the wrinkles π
Me too! It's why I am here, because I thin it's the best, and I tried them all at some point
and I am proud to say that like just yesterday or the day before i turned off the old home controller and I am fully HA now
Hi. I am a new Home Assistant. I installed Home Assistant on my raspberry pi but I am stuck on the "Preparing Home Assistant (this could take 20 minutes)" page. I have waited for around 2 hours now, rebooting the pi many times. Any tips? Thank you!
Is this a fresh OS install on the PI?
@next stirrup Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.
#330944238910963714 is the correct spot
hi all, is there an easy way to add a clock on Lovelace? I added my Own value but it does not get updated constantly or do I have to tell it to update?
custom component weathercard has gone small since 0.109: https://imgur.com/a/T095hAH Text almost cut off I guess I need to open an issue
does anyone here use the git integration in the file editor?
hi all, has anyone here used multiple dashboards?
Let's try again π Hi guys, I was about to open an issue on the frontend github, but I am not 100% sure it's frontend or core related. In LL all the instances of Home/Away are not showing as home/not_home, is that expected? Is that already a known issue or should I open the issue on github? I tried to look at the existing issues but I didn't actually find nothing that "sounds" related
all the instances of Home/Away are not showing as home/not_home
That does not make sense
What do you mean?
What do you see?
What do you expect?
Let me take a screenshot
The UI translates stuff for meatsacks humans
translations changed recently, if you are using custom cards, the translation logic may need to be updated
So, doors and windows will show Open or Closed vs on or off
So basically I am seeing the exact opposite of what you said
All the binary sensor connectivity now show on/off instead of Connected/Disconnected
Somebody else was seeing this briefly the other day
The door sensore are showing "on/off" instead of "open/closed"
It's quite odd, I tried to downgrade to 108.9 and it fixes it
Don't know what they did - could have been a cache issue, could have required an upgrade π€·
I am on the latest version actually, this appear to have stated with 0.109.0 to me
"latest" is never a version ;)
Is this with stock entities card, or custom something?
0.109.1
Well glance card is stock no?
The screenshot is just an entity card for sure
oh there is a .2
let me try that
π
no frontend change in that
fair enough
Another example: https://imgur.com/a/AhyScFR
This is the window binary sensor on a glance card
sure, open a bug
So as far as I understood, someone else had this issue but got it fixed?
K
frontend?
Thanks π
@sacred quarry Mine works
running dev
So:
a) You are wrapping something custom here that interfare.
b) It has been solved
c) It's a glitch in the matrix
ehehehe
K let me do some test
Thanks for testing
I made the stupidies of the view
This is the outcome: https://imgur.com/a/CRsDWow
FWIW on 0.109.0 my test box behaves as normal π€·
very odd π
out of cureiosity, the binary sensor you're using (like a window for example) is returning on/off or open/closed in the states page?
states: not_home, entities card: Away
K
States are correct, UI is normal
thanks
Just bouncing that box to get it to 0.109.2
π±
Still the same, actual states are as expected, UI is as expected
K, reverted to 0.109.0, HA i restarting
You have tried in Incognito mode?
and other browser?
good points, trying incognito now
But I don't understand why reverting to 0.108.9 simply works without big gimmics if it was browser issue
Incognito same issue
anyway to show motion/history graph in text of the last 5 events or something along them lines?
is there a way to create user that can only login on local network?
trying to make users with easy pass passwds for the tablets around the house and those user should not be able to login from the web
@civic glade even my tablet uses 2FA, it takes 3 seconds extra to implement
Easy passwords should never be used anywhere anytime, if you start doing that as a habit stuff will be exposed at some point
yes sir
so you prefer the 2fa over just strong pw and banning ater 3 or 5 incorrect attempts?>
Is there a way to set the tab scroll buttons to be display:none when they're hidden/invisible, so they don't take up space? I've got a set of tabs with icons only (no text) which fit nicely on my phone screen... except that I get a > button at the right-hand side because the combination of the padding and the invisible < button on the left-hand side push the tabs over just enough to make it enable scrolling the tabs
So quick question the front end for Ha is done in what lauange. and how is the data stored ? is it conventional like php and mysql or somthign or s it a differntlauange all to geather
If im understanding right the webinterface is python for web right
the webserver is python, the interface is js
bless TYVM
It would save me a lot of questions if the specs like lauange DB type and what not was listed on the docs
https://developers.home-assistant.io/ browse away
yea thats what i was looking at
It just didnt strait say what lauange and database it was using
under frontend there are multiple refrences to js
the DB is a backend thing, and it uses whatever you told it to use, with a fallback to SQLite
I use soem JS in my websites just not the entire site
so thought it was just using some elments at first
i am trying to do a picutre elements floor plan, how can i make the floor plan get bigger
Panel mode for the view
doesnt seem to change anything
i put that code in and set to true
duh, nevermind, i was setting the card to true
but i didnt have the tab set to true
thanks
Hello, is it possible to align Text from Lovelace Cards specifically Glace Cards Titel to the Center?
@wheat current @split granite JFY, it was an integration called "variables" (literally a file variables.py in custom_components) causing this whole problem. Thanks to @winter hollow for time and effort on helping me figure this out.
Never quite worked out why somebody built a custom component to duplicate built in features π€·
has anyone in here successfully got the git integration in the configurator to work?
I have got everything uploaded and connected, shows my branches and whatnot and can commit, but if I try to push it gives an error " could not rad username for 'https://github.com': no such device or address". Push works fine from command line (but asks for username and password)
that should be "could not read" not rad...
is there a way to show a table from google sheets in the dashboard?
iframe card
Does anybody know why I am missing the Automations and Scenes menu options in the ui? I was just watching a stream and noticed I can't access them.
I see this ^
I see others with these extra 2 options
https://imgur.com/a/bfkq0KB
I can still head to /config/automation/edit and see the automations ui manually.
i'm on Home Assistant 0.109.1
anyone else install 109.1 and noticed that all binary sensors are now just on/off. I've tried modifying the device_class with like door, lock, etc.. and resetting but it stays with on/off
a guy earlier had that problem. see SeLLeRoNe's posts above
thanks @sly hazel
Hi, I have a question, and I am not even sure what to call the problem:
I have a slider on the dashboard controlling a light's color temp. But the light is only updating when I release the slider, not while I move the slider. Is this fully intentional and not changeable or is this depending on the type of control I use for the slider?
@buoyant mango that's by design. Changing that would require updates to the ui control, there is no way to 'configure' that behavior.
Hello, I'm having problems trying to extend the persistent-notification functionallity by adding more actions(dismiss implemented by default only), i already have the service in the backend running but I can't get the Frontend UI to show the new buttons, i looked for documentation about the persistent-notificacion but i didnt find any, im kind of new in the frontend development so if somebody could help ill be gratefull.
@sharp niche #devs_frontend-archived
im sorry i thought i was on that channel π
@blissful tartan posted a code wall, it is moved here --> https://paste.ubuntu.com/p/F3YPPxkKTX/
how can I see the icon names available to home assitant like "mdi: .... " ?
@rugged plinth use this website, it has all of them (plus a search field that makes it easy to find the icons you want) http://materialdesignicons.com/
I'm not sure if this is the right text channel. I've just added the Community store and installed google_dark_theme. I'm unable to succesfully see this theme in my theme settings on the frontent. I see "No themes available"
I made a themes directory in /config/themes and have added the line frontend: theme: !include_dir_merge_name config/themes
@latent moss ty, good idea. I was using that but I think I used the wrong label from the one I picked. knowing hass supports all of them, I'll go back and try the other labels
it worked!
@rugged plinth well actually HA doesn't support all of the icons on that page just yet... the mdi icon set in HA is a couple versions behind. But probably like 95% of icons on there are supported in HA. So just keep that in mind if something doesn't work that you expect to π
that makes sense
@scenic elk I am not sure if HACS does this automatically for you (since i dont use themes in HACS). But you need to reload themes. Go to developer tools > services > and call the frontend.reload_themes service.
This did not help unfortunately @latent moss
My configuration is valid but themes are not being detected :S
hey guys
im looking for a frontend to use with a Raspberry 7" Display as Dashboard for HA
@scenic elk actually i think your include might be wrong, you might be specifying /config/ when you don't have to.. change it to just themes maybe
I am running ha in a docker container
frontend:
themes: !include_dir_merge_named themes
but I'll give it a shot, thanks!
after you change that, try reloading themes from services tab, and hopefully that will work
You are a life saver! @latent moss
I just have to love this community. Everyone is so helpful, I absolutely love home assistant
Glad you got it sorted! Lots of cool themes to try out now π
keep getting this error showing up any help appreciated
Logger: frontend.js.latest.202004271
Source: components/system_log/__init__.py:209
First occurred: 1:20:55 AM (1 occurrences)
Last logged: 1:20:55 AM
http://hassio.local:8123/lovelace/0:0:0 Uncaught
Can anyone recommend a set of mdi icons for Watts (Power), Volts, Amps and Energy (kWH)?
how can I see the icon names available to home assitant like "mdi: .... " ?
@rugged plinth If you use VSCode to edit your YAML files, you can add this extension to having MDI icons automatically preview https://marketplace.visualstudio.com/items?itemName=lukas-tr.materialdesignicons-intellisense
Anyone else getting constant false positive IP bans after 0.107.x? Driving me nuts.
Anyone else missing the snapshot reload button on 3.13? Had to reboot the machine itself without it.
hello guys. I want a pop-up card for my roller shutter. So when i press on a picture, a pop-up window should open with more info, like up/down/pause buttons on the left and on the right the video/pictures with actual status of it. How can i implement this? what card should i use?
I am not sure if HACS does this automatically for you (since i dont use themes in HACS). But you need to reload themes. Go to developer tools > services > and call the
frontend.reload_themesservice.
@latent moss It does
i remember that in the past (like two years ago), showing up battery state of for example Zwave devices in HA GUI was a big hassle. Nowadays, i can see the battery status of each device on Integrations page, so i was wondering if its any easier to show them in Lovelace too
There's a couple of custom cards that handle that
I like https://github.com/maxwroc/battery-state-card - available through HACS
Looks awesome, but seems that it still requires a list of entities containing battery state which i believe are not provided (at least not in Zwave-over-MQTT). Maybe thats not lovelace releated, but i was wondering if its possible to hook that up to the information provided on the integration page, not the entities
Eh, no
By default we look for values in the following attributes:
battery_level,battery.
So, as long as either you have an entity with the battery as the state, or one of those attributes, or you can specify the attribute, it'll work
Is there a way to show remaining time from a timer in the Lovelace UI?
what the heck is its entity id for the default weather service?? im trying to add it to my lovelace but cant find it...
was wondering how can last changed be persisant it seems everytime HA restart its lost the last change value of sensor
Agree on Battery State Card, that one is great
Is their any general consensus on good wall panels for HA? (Like a screen on the kitchen wall or something)
(Obviously good looking so the wife is happy)
I have created a App Daemon code which changes the color of the bulb. I now want to capture the RGB values from frontend and pass it. How should I do that? I have created a Template Light, but that does not show up the full color pallete
In the Device Info page, what is the toggle above the device entities for? Poking around, i see it affects logging to logbook, but the entities seem available to automations, lovelace cards, regardless
is there a way to change what is shown in a view based on the state on a sensor. So for example I could have a view for controlling a tv, but based on what input is reported by a sensor, it will show different controls to control the correct device?
@tall pine conditional card is what you're after https://www.home-assistant.io/lovelace/conditional/ (it can be added via the UI too if you're using a newer version of HA).
Hi guys, I have a question about some missing UI options. I'm currently running on Home Assistant 0.109.2, I am missing the options for "Scenes" and "Automations" on my configuration page. I have already toggled "Advanced Mode", can anybody help me troubleshoot why I can't see these two options?
@flint geyser check your configuration.yaml file and make sure that it has scene: and automation: inside of it. Easier and cleaner way would be to just add default_config: and then you'll be set for the future too.
@latent moss That worked! Thank you!
Hi, I am using this Mini-graph-card and the documentation gives this code to use https://hastebin.com/ewoviweyak.bash but it does not work I figure it was the - next to the ''type'' that was the issue, is this a typo in the documentation or is this written like this intending for me to remove it?
@potent grail Had an idea for your problem with the compass needle display if you haven't arrived upon a solution yet and I apologize for the delayed response. Wife and I both tested positive the day you replied back to me and our house has been a bit off schedule since, but I'd be happy to share my suggestions if still needed, please tag me if so. Thanks!
If you're adding that in the UI, you don't need the - @lucid bronze
It adds that for you
Hey is it possible to use something like tap_action on a particular entity within an entities card, to call a toggle of a different switch? I have a garage door sensor, and a garage door switch. I'd like the sensor icon to toggle the switch entity when I click it. If possible.
Use a service call
If you're adding that in the UI, you don't need the
-@lucid bronze
@split granite ahhhh i see, the - is if you adding via yaml! thanks π ... its good i know why know rather then just knowing to remove it π
@potent grail Had an idea for your problem with the compass needle display if you haven't arrived upon a solution yet and I apologize for the delayed response. Wife and I both tested positive the day you replied back to me and our house has been a bit off schedule since, but I'd be happy to share my suggestions if still needed, please tag me if so. Thanks!
@atomic glacier firstly, I hope you're all okay and resting up?!? Secondly, I'd love to hear your suggestion. While the rotate worked scaling was a issue between devices and I never cracked how to pass the sensor value into the rotate property. Over than creating 360 images and a huge if statement I can't seem to think of a better way to crack this. Any help would be most welcome.
@potent grail Actually, I was thinking of using state-switch and only matching 16 of the 360 degrees available, (guess you could even do 64). Overlaying the needle image on top of a picture-elements card and having the state match and image 'swapped' for that templated match. (e.g. 25Β°, NNE, 225Β° SW) Since the design of this plugin is intended for this type purpose, state-switch will not require any refreshing as the variables change and the result may not be as fluid as you are aiming to achieve, but IMO will look pretty nice and get you past this point. Great work on your project BTW!
Hey, could someone link me to a guide on how to make your card support the visual card editor? I've been searching for like half an hour by now but just can't find it π¦
@atomic glacier thanks for the praise! I'm enjoying it and have lots more sensors to add. I've not used the state-switch before so will do some reading. I think 64 would allow for more movement in the compass which would be more visual and exciting. How are you and your wife?
@timid locust this might be what you want https://developers.home-assistant.io/docs/lovelace_custom_card#graphical-card-configuration
I looked through that but LitElement couldn't be found and I saw nothing on the page that would explain how the visual editor would know what the options of the card would be
So I figured it was something else
that stuff is way over my head, thomas and ian would probably know though
when I click from integration wled page "Add to Lovelace UI" it doesnt asks me where to add it, so, my question is - where HA added that lovelace? π
@timid locust my template uses an editor https://github.com/custom-cards/boilerplate-card
Huh that's a lot more manual code than I expected, I kinda expected Home Assistant to parse some stuff to ensure uniformity. But thank you, I'll check that out in more detail so my card can have this too :)
@devout hatch if you're using YAML mode for Lovelace, that "Add to Lovelace UI" button will simply show you the YAML code, you then have to manually copy and paste it to whichever view you want it to be in.
Hey, guys. I can't find refresh button in snapshot page. How can I restore my snapshot?
@fiery mango #330944238910963714 is the correct place for that, but it's currently a known issue, that page was just redesigned yesterday and the button has to be added back.
It is added back (in dev)
thnx for reply.... are there any other ways to restore old backup?
#330944238910963714 would know
I am trying to transition away from yaml configs so i can edit more things through the UI - is it ok to take my automations and re-combine them all into the automations.yaml so the UI will let me edit them?? any strategies for migrating?
like do i delete / re-create helpers?
my config is so old school i've been running solid for years
@vapid field you'll need to add an id: for each automation if you want them to be editable in the UI
@muted inlet do i still need automation: in configuration.yaml?
Yeah
cool, got it. thanks
Can anyone recommend a set of mdi icons for Watts (Power), Volts, Amps and Energy (kWH)?
Or are there any ways to get custom icons for some entities?
mdi: flash mdi: alpha-v just select whatever comes to your mind from https://materialdesignicons.com/
I have created a App Daemon code which changes the color of the bulb. I now want to capture the RGB values from frontend and pass it. How should I do that? I have created a Template Light, but that does not show up the full color pallete
light groups cant be done in the UI yet right?
not yet
should i migrate from lovelace-ui yaml to UI controlled or wait?
wait for what? it's up to you π
You could have multiple dashboards now too, if you wanted to use YAML for one and the UI for another you can do that.
i just dont want to have a super old config that starts to break - i recall the update notes pushing users to use ui controlled over yaml
i was going to slowing migrate using views
5 screens with lots of stuff in them
I would say there's no real danger in the stuff you're talking about breaking... it's primarily YAML config for integrations that break. there's been very very few breaking changes for lovelace
so for lovelace it's more about what you're most comfortable with / which you prefer
ok cool
eventually it would be nice to get away from yaml config files, i'll see how it goes π
yeah
What you could do, go to Configuration -> Lovelace Dashboards. Make a new dashboard called "UI" or something. Then take control of that and start playing around with it and getting a feel for it. If you like it, you can start transitioning to that.
Lovelace is stable. There should never be any breaking changes
yeah and the UI editors / overall experience has gotten really good and polished too.
@timid locust FYI, just added to boilerplate-card with how to add your card to the UI card picker
Im trying to customize an entity by hiding it. Ive added advanced options and used the customize UI. I also added customize: !include customize.yaml underneath group: !include groups.yaml etc.
But I have an error in the log: Component error: customize - Integration 'customize' not found.
Does it matter where in the config file put it
homeassistant:
I recall it being right at the top on my last build?
No, doesn't matter
So like this is ok (extra cautious as Im remote working and dont want to knock it over)
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
homeassistant:
customize: !include customize.yaml```
Yup, but ...
~check
Pfft, bot's lost connectivity again
Run a command line config check
ah yes - must get in the habbit of this!
ha core check
ooops - wrong window!
its all good! thank you
if its a simple explanation - why wont customize work if added to the block of other !includes?
Because it's an option for homeassistant not an actual integration
Just me or is a lot of mdi icons not present?
I find it hard to easily read data from a motion sensor, i there any to have it so when you click on it, it can read the times it saw the motion in text format?
MD 5.x brought a lot of breaking changes
hi
I would like to understand which is the best way to help making frontend consistent about unit_of_measurement
What do you mean?
I see 2 issues:
1^: some components use "d" and "h", some other "days" and "hours"
2^: when I switch to another language, then "days" and "hours" doesn't make really sense. Frontend should translate to "giorni" and "ore" (for italian)
Sounds like you want to submit PRs to change those integrations
as unit_of_measurement are a fixed list, should be quite easy to allow translations for those
Well, it's not a fixed list
You can use a unit of measurement of bananas if you want
humm, ok then al least those used by template are a fixed list
Well, they're not either π
It does make sense for d to be days - but it's up to people to submit PRs for those changes
seems that project took the decision to go for "d" instead of "days. check the issue link I posted abbove
but not overall
templates still use "hours"; and using "h" gives an error
this is why I think the list is fixed π
Got an example?
I've previously used bananas in a template sensor π
As for that issue, it doesn't provide a source, so the statement should be treated with caution
sensor.uptime
2020-05-01 18:36:23 ERROR (MainThread) [homeassistant.components.homeassistant] Invalid config for [sensor.uptime]: value is not allowed for dictionary value @ data['unit_of_measurement']. Got 'h'. (See ?, line ?).
That's not about templates
Can I do a theme per device with the same User?
Yup
That specific integration has a fixed list @novel finch - but that means nothing
i.e. the light theme looks bad on my wall mounted tablet but great on my laptop
@split granite , yup you are right
So use different themes π€·
but still there is something using "d" and something using "days"; and those cannot all be changed to be consistent. And "d" and "h" cannot be translated, that make UI less readable and consistent (you have a mix of 2 languages)
Can you check https://github.com/home-assistant/core/pull/32065
π€¦
I may have mentioned this before
But
@grim cairn Please don't tag like that
@grim cairn It's rude
@grim cairn and annoying
Just ask the damn question
Sorry that habbit is going to die hard switching between IRC, I don't mean to be rude
If you're having a conversation with somebody, sure, but to ask questions... π€’
Well, I can solve it by blocking you π
@novel finch I'd raise an issue, because as you said, it causes translation problems - or the front end needs to handle it transparently
Up to you I guess πΆ
As for the question, no you can't
@mild veldt Thank you, I'll check that out too π
No worries, it seems harmless enough, until you're getting dozens of pings a day
Every tag is a notification when you're offline, and ... it's not harmless π
I will open an issue, hopefully it will not be closed in 1 sec
done: https://github.com/home-assistant/core/issues/35125. You think it's clear ?
Clear enough anyway
Good, let's keep fingers crossed
https://imgur.com/dGH2Tpu what is the easiest way to delete/sort the unavailable sensors?
-> Take control
hi guys, silly question, i added got the new "wheater forecast card" when i just updated, but i have a question, how do you get the humidity, windspeed etc ?
i use the smhi integration
previously ii used the "secondary_info" line but its not possible now
From what I've seen, that's not supported
There are a number of custom weather cards
ah okay i see, ill have a look at a custom one then π
@mild veldt Am I right in understanding that your boilerplate code isn't usable as-in in vanilla Javascript because it's TypeScript? I know TypeScript is a lot better but well, my card already exists and already had a lot of work put into it
on dashboard i don't found card to display current time
Oh, I seem to have found a non-TS implementation: https://github.com/home-assistant/frontend/pull/2285/files/499afe2c4459357db7eb62d3aeb6e22bed392ee4
This might be the wrong place to ask but I'm not sure where I should. Please direct me if I'm in error. That said, Is there a Lovelace module that does timeseries graphs not using only a 24 hour window? I have my SolarEdge inverter integrated into Home Assistant and all the graphs only show the last 24 hours. Yet the graphs are for Current, Today, Month, Year, and Lifetime. I'd like to see graphs that cover those time ranges.
Then... you want the InfluxDB integration and to keep your long term data there
HA's recorder isn't designed to handle years of data, I'm not sure it copes well with months or weeks π€·
I should clarify. The Solar Edge data is pulled from the cloud. I'm just looking to view that data.
If you want to view it in Home Assistant's graphs then it needs to be in Home Assistant's database (recorder)
When I adjust the graph's "Hours to show" value the x-axis labels still show 24 hours too, btw.
Which card are you using?
history-graph
for example:
entities:
- entity: sensor.outbuilding_1_energy_this_month
name: Month
hours_to_show: 720
refresh_interval: 0
type: history-graph
I have an influxDB container built and I think I have it integrated. I just haven't gotten further down that road yet. Sounds like I need to (even though I'm not needing to store the historical value... just want to display them. Yes?
Yes, because:
a) The data you want isn't in HA
b) The card you're using doesn't go back far enough
c) HA's database is unlikely to have all the data you're after
Grafana or Chronograf will give you the graphs you're after, and you can embed those in HA's UI
I have started a Grafana container too. Do you have a good tutorial on integrating those into HA by chance?
Other than what's in the docs, I don't. I'm sure there'll be many guides out there though
True. Many guides does not me quality/accurate guides though. Just trying to avoid any dead ends.
Thanks for your time and quick responses BTW! π
@timid locust yes, mine is typescript
Guess I may just have to convert my whole card to TypeScript to get this to work because I see no guides anywhere π¦
Hi,
i'm a new user of Home Assistant. I would like to have a card with Spotify Playlist. I found this https://github.com/custom-cards/spotify-card but i don't succed. some one can help me or have a good tuto? Thank you
"Don't succeed" how? What did you try? What error message did you get?
I had ressource on Lovelace (i think it's ok) and reboot HA. Then i add a card by clickin on the "+" on the dashboard" and add a manual card. I have a new card with the spotify logo and and Authenticate button. When I clic on a new tab oppen :"INVALID_CLIENT: Invalid redirect URI"
PS: sory for my English. My mother language is French
@timid locust you can do it in JS but yeah, no guide per se
Is it possible to use entity filtering on the home-feed-card. As an example, instead of listing all of the light entities I want to have in the feed manually it would be nice to do something like light.* to automatically pick them up.
Is there a way to overlay two different panel types? Like if I wanted to have Gauge on a History Graph, maybe to save screen real estate.
@mild veldt had a bit of display issues post 109.+ and slowly getting to them one at a time. One of the things is the text in the rows on the list-card. The row height is now compacted and doesn't respond anymore to font-size adjustments,(the font-size works, but row doesn't expand). So basically, when the font gets to the fixed row height,(whatever that is set to), the text begins overunning the lines above and below instead of the row height increasing. Any ideas? Only tested on Chrome and FKBπ€·π»ββοΈ
None. That card is soooo old. It was my first
Hey there, I have a question regarding the thermostate card. As of the update from 108 to 109 I cannot regulate the temperature anymore. The slider is missing. Does anyone ever faced that problem?
@frank mural I think that was fixed yesterday https://github.com/home-assistant/frontend/pull/5720 try upgrading to 109.3 if you haven't yet.
k, I'll try that
jup, fixed. @latent moss thanks for the tip
Does anyone know if you can have an item on an entities card - but not have it switch on with the header? I have a cupboard light that I don't want to switch on with the room lights, but I do want to switch it off with the room lights.
Not sure if this is the right group but is there a way to change the size of the cards on the integrations page? They are slightly large and for me they would be visually better looking at maybe half of the size they are now.
I am looking at the custom header plugin and wonder if anyone know if it is posible to hide left/top menu only when entering a specific tab? Or is everything global using exceptions to only add changes to specific users/devices?
Hi, Having my first play with themes. I have installed one through HACS (UX Goodie Theme) but it is not appearing as an option in the dropdown when i go to choose a theme. Is there something else that i have missed?
Can someone tells me what is this error http://home.local:8123/admin-panel/view_main:0:0 Uncaught TypeError: Failed to resolve module specifier "card-tools/src/templates.js". Relative references must start with either "/", "./", or "../".
@cloud cypress You have to make sure this is in your configuration.yaml file in order to use themes in HACS:
frontend:
themes: !include_dir_merge_named themes
Is there a way to get more detail on the map, like sat view or landmark identification?
Not on map or the built in map card
@split granite Ok, seems strange that everything else in HA has so much detail and options but the map is just plain and unconfigurable.
is there a way to use another map service for the Map Card like google maps?
Sure, custom cards... if any exist
How can i access the configuration using the UI?
@inland grail Still can't find it π¦
What are you trying to access?
The configuration editor through UI
three dots in top right corner
then configure UI
Ah, I think they're after something else
There is no built in way of editing the config through the UI
There are #add-ons-archived if you're supervised
@devout hatch You're either trying to include an uncompiled card, or one that failed to compile.
ok thanks..
@polar kelp why my mod-card entities does not work properly?
style: |
ha-card {
color: red;
}
entities:
- light.livingroom_abovetv_stripled_all
- light.livingroom_abovetv_stripled_all
- light.livingroom_abovetv_stripled_all```
it doesnt get red π
I've added the neccessery files into front of the lovelace resources
I tried to find some kind of "best lovelace custom cards" for inspiration on the HA-page or the forum, but didn'
Best ... is personal
t find any. Does anybody know of something like that? Preferably pretty new, as things are changing fast.
Nah, because they're hard to keep current, or relevant
sure, but others recomendations is still a good starting point
The list in HACS is a reasonable starting point though
Has that been updated?
thanks, I will check those two out (the HACS-list and the awsome lovelace-thing)
looks like last push was in february
That's relatively current then
https://hacs.xyz/docs/default_repositories#plugins This should contain most custom cards out there π
@latent moss That is execatly what i was missing. Thanks for your help.
Hey there! I'm new.
I'm using the most recent docker image, and I can't seem to A) find the hassio entry on the left panel (It was there on the Pi I briefly tested) or B) get to the addon store. Am I doing / did I do something wrong?
You only get that with #330944238910963714
You need a #330944238910963714 installation for that
I am not sure if this is the correct channel, but, I have a weird thing where after the 109.3 update and a restart I get a badge that there is a new configuration notification, but clicking on the "Notification" panel does nothing, in either the web front or the iOS app. Anyone ever seen that before? All my devices appear to be working, but it's odd not being able to see what it is.
making a simple entity with lights
type: entities
title: Lys stue
entities:
- light.stue_ledvegg
This works fine, but i tried adding a name, but i think i am a bit confused with the syntax
type: entities
title: Lys stue
entities:
- light.stue_ledvegg
name: Friendly Name
does not work
name should be intended to the same level as "light"
but doesn't work then either
Your indenting is wrong for sure
YAML is the mark up language used by Home Assistant. Consistent indenting (two spaces per level) is key
entities:
- entity: light.stue_ledvegg
name: Friendly Name
``` I suspect
and it needs to be
entities:
- entity: light.stue_ledvegg
name: whatever
Is there any way for me to connect a device running spotify at all times to home assistant? So I cantrol that device running spotify fom the HASS dashboard
ok, so i can't just write it in "short form" when i want to add options?
No
Hi. Where to report integration icons not properly shown on dark themes?
Anyone know a good program for making the overhead house diagram layouts?
sweethome 3d is quite nice
Yeah Im using the free version π
Strange query, im about to try using a flat overview image of the roku remote and overlay a command over each of the buttons. What would be the best looking way to do this do you think ?
Hi! I have a sensor using history_stats that reports its value in hours as a decimal (e.g. 25 minutes is 0.44). When I click the widget, I see the nice time display, like value 25m. How can I make the main display look like this too? I tried the customizer and a variety of "hh:mm" or "time" values, but only got those displayed after the 0.44 value. Thanks.
Here's my config entry:
name: Diffuser on time
entity_id: switch.diffuser
state: 'on'
type: time
start: "{{ state_attr('input_datetime.diffuser_last_refill_time', 'timestamp') }}"
end: '{{ now() }}'
@wicked lake you can make a template sensor that grabs the the value attribute of the history stats sensor
"{{ state_attr('sensor.diffuser_on_time', 'value') }}"
Thanks. Since the value is already there, I was hoping there was a way to simply customise the display without creating yet another entity. Is there another way?
I think there's an attributes custom card or something like that
I thought I'd try value_template, which works with platform: mqtt sensors, but not with history_stats, unfortunately.
Thanks again. I made yet another template sensor π
@wicked lake if youβre using the value in an entities card, this will let you do what you want and a million other things π
Thanks @spiral pasture - I'll look this up. I haven't used many different cards so far, only those that I needed when the 'normal' ones didn't suffice.
https://www.evernote.com/l/AAVOmiFIOjFJxYr2TyBsIGfwWTNOhemQ5Iw
Hi there,
I have this card:
title: Afvalkalender
type: entities
filter:
exclude: null
include:
- entity_id: sensor.trash_gft
- entity_id: sensor.trash_papier
- entity_id: sensor.trash_restafval
- entity_id: sensor.trash_first_next_in_days
show_header_toggle: false
sort:
attribute: next_pickup_in_days
method: attribute
numeric: true
type: 'custom:auto-entities'```
Now I like to change the colors of the icons. gft: green papier: blue and so on. Any clue how to do this? I tried to use the mod-card but don't understand yet how to integrate it in this card. Any help/suggestion?
morning all, Does anyone have any news on state_color being added in to the visual editor.. I asked a while back and I thought there was a PR but several versions have been and gone since then and it's still not in.
Check the open PRs π
Do you have a link to the relevant one? This returns nothing : https://github.com/home-assistant/core/pulls?q=is%3Apr+is%3Aopen+state_color
That's for core not the frontend π
Want to see what issues are open (or were open and are now closed)?
Check issues for the backend, issues for the UI, and issues for the documentation.
Still not seeing anything on the open requests for the frontend
a new day a new question. I have tried to install TileBoard by creating the www folder within the config fodler (full path is /config/www/TileBoard). I configured it with the server URL and wsURL but I cannot access it
is the www folder in the wrong location?
Did you restart HA after createing www/?
yes
You're using /local/TileBoard in the URL?
Eh, no π
Look at what I wrote π
Look at the name of the folder you created
TileBoard != tileboard
You have to match the case of everything
okay got that now http://www.homeassistant.local:8123/local/TileBoard/index.html
equally does nothing
I'd ask on one of the TileBoard threads on the forum then, you'll likely get more folks who know it seeing your query
okay but the location of the www folder is correct? I found many tutorials online using docker and for them it seems to be in a different location. I am using the HA installation on my Raspberry
If you're using an image, you're using #330944238910963714 - aka Hass.io, aka Home Assistant
/config/ is where your config folder lives (as far as HA Core knows)
@split granite using the ip address worked, using homeassistant.local:8123 did not work
That's where details on what didn't work would have helped π
I'd assumed you were getting 404 or similar, not can't reach my host
ah i got no error. Safari just endless loaded
That'd have been "handy" to say
Basically, the more detail you provide, the easier it is for others to help you
okay noted. But how do I solve the problem that the hostname cant be reached>
Has it ever worked?
it works for the normal home assistant frontend
Then it's probably a TileBoard thing
Hi! I just have a question about using template to change state. Seems like for a window, Lovelace change himself "on/off" state to "open/closed" (in an entity card). I'm using a custom card (simple-thermostat) which allowed to add sensor on it, but if I'm putting the same entity as before (on the entity card), it show on/off, not open/closed.
I think about using template to change it, but I don't know how to use it in a card
Maybe I'm missing something but seems like it's not what I'm searching. I switch device_class from "opening" to "window", it's still ok in an entity card "open/closed", but in my custom card it show the "real" state, which is "on/off"
report it to the author of that card
Ok, I tought there's a manual method directly in the card, I'll do that, thanks!
Anyone have a clue why I cant publish files from the www directory? When using /local/image.png I get a 404 error
Did you restart HA after creating /www/?
did the same config in another very similiar setup and it worked
Is it image.png or Image.png or even IMAGE.PNG?
base_image.png
Well, that's not image.png π€·
no, was just an example
the exact name is base_image.png , no capitals
I have plugins etc in the www directory that works so HA should be restarted since they work fine
or is a restart needed after uploading the files aswell?
Nope
it was needed... did a soft restart of home assistant and I could access the file
wierd
Is there a way to disable the translation of the frontend?
I just want english π
User profile
thx
Ah, I think they're after something else, no built in way to edit config
@split granite OK. I'll try to explain. I recently started over. I used to edit the configuration.yaml, but through recent changes i deciced to go UI-style. For adding - example - Samba share addon i need to edit the configuration. Where can i find that?
Add-ons have their own configuration section in the UI, #add-ons-archived can help with that
Editing configuration.yaml has nothing to do with add-ons though, they're entirely unrelated - one is for HA, the other is for other software
There are add-ons that can allow you to edit that though, like the Visual Studio Code add-on
I understand that, thanks. I'll hop over to #add-ons-archived
CRAP... sorry... there's simply a configuration tab in the addon screen... must have been drunk yesterday :p
Hey guys, I have no idea why I can't set the time zone. It stucks to UTC, drop down menu does not apear and when I try to write UTC+2 it replies FAIL
It IS in gΓ©nΓ©ral settings (i tried to attach a screenshot but not permitted here)
Team, i don't succesfully found where i can set / define maximum value for Y-axis regarding card type: history-graph. Nothing here https://www.home-assistant.io/lovelace/history-graph/
Any idea ?
Does it say you can in the docs?
it doesn't say the opposite, should i understand i can not do it easily ?
If it doesn't say you can then you can't
The docs say what is possible, not what isn't
Other cards have other options
unerstand , it will hep for the future π
I'm not sure if this is the correct place to discuss access issues to the UI. If not, please direct me to the correct place...
I have been using HA happily for several weeks now. I managed to get duckdns configured and have been able to access HA from my PC and mobile phones. The phone access when away from home worked fine.
Today (having changed nothing for several weeks) my access using the duckdns address stopped working.
I can access using the IP address: https://192.168.1.247:8123/
I thought it might be a problem with the Lets Encrypt certificate so I forced an update by registering a new duckdns domain, adding it to the duckdns configuration within supervisor, and restarting. But that didn't help. So I've backed-out that change.
I've checked my IP address on duckdns to make sure it is correct (which it is).
On the browser (using an Incognito window) I get the message: "This site canβt be reached <mydomain>.duckdns.org took too long to respond."
I'm not sure where to look for error messages.
Any ideas?
I'm not sure if this is the correct place to discuss access issues to the UI. If <crop>
Any ideas?
@green anchor i think your message belongs in #add-ons-archived If you post there i'll try to help
Please @inland grail - don't quote an entire message like that, particularly when it's the one before your reply. That chews up a lot of screen that's just wasted π
i was hoping it would crop automatically π
Sadly, the Discord app is about as smart as a doorknob π
Cropped :p
Sadly, the Discord app is about as smart as a doorknob π
@split granite thought there are plugins/bots for that
Yeah... no
no option to move messages?
Worst damn thing in the app is that stupid auto-quote and tag feature
The bot can, if you post too much, but it's no more here to clean up after you being lazy than your mother is π
DId you mention my mother?
There's a whole sketch opportunity here... but I'll take the high road before somebody gets annoyed at me... π
Is there any documentation about creating themes for lovelace ?
How can I change an Icon on a button on loveface through gui?
Got it MDI: thanks
Why my themes option is disabled? I added to my config.yaml frontend:
and I've installed via HACS iOS Light Theme
That's not enough for that
frontend:
themes: !include_dir_merge_named themes/
``` you need that
Oh I see, it was commented because Im getting an error in my logs saying that themes are deprecieted
You don't define it in your HACS config, but in HA
and to remove it, so I tested, but nothing happaned
HACS will auto detect - that error message you saw tells you that π
ok thanks
is there any good resource out there on examples of TileBoard implementations? Where I can copy styles, layouts, tiles, etc?
or in general any good archive of fronteends that I could use for inspiration
The forum I suspect
is front-end != node-red?
#node-red-archived is Node Red
oh sorry i meant lovelace, but i see in the pin its the same
that is what i meant by the pin, is pin != topic?
yeah i realize now, i saw the pin on the same line and thought the topic and pin was the same, now i realize pinned is a seperate thing
as you know i come from IRC and have very little experience with discord so still learning sorry
when you told me to look at the pinned earlier i found the info i needed in the topic so i got them mixed, i am a quick learner though π
i have a galaxy tab and fire hd 8 running smart tiles so i was checking out lovelace since i will need to convert them when i switch
Is there a way to hide a device_tracker location from the 'default' map tab (/map url)?
@true dragon Not possible, but if it really bothers you there's a sort of workaround.. You can create a dedicated "Map" view or dashboard with a Lovelace Map Card in panel_mode (which will make it full screen just like default /map tab). And with that method you can customize all the device trackers that show up there.
Thx @latent moss - didn't know if anything had changed on that front. I have an ipad setup at work that runs our employee timeclock app, and it throws the default map 'tab' outta whack sadly. I need to get the battery info from it (to know when to turn on / off the zwave plug that powers it, but I really don't care where it's at...). Seem odd there's not a customization setting to 'hide' it - but oh well - I'll play around with your workaround - ty!
what is the best way to update the documents on the web?
they are not very clear and need some tweaking.
Edit this page on GitHub
yea I don't have write access. I submitted a ticket
some days IT people make life so hard.
and that is coming from an IT guy.. π
Very few folks have write access, it's not a wiki π
yea.. I get it.. I'm just an old IT guy and all the barriers just make me want to give up some days..
I am also used to having the keys to everything.. so I want to help, but when you are a user in a different land.. it is just frustrating...
what's the dashboard path of the default Overview menu? I have tried default, lovelace and overview but nothing is working with service cast.show_lovelace_view.. any idea?
anyone here with experience in browser_mod.popup? I canΒ΄t get it working although it works if I fire it manually from the developer tools section
Someone have lovelace for xiaomi scale?
I'm trying to figure out how to get new custom cards (from HACS) to show up as cards I can add in the Lovelace editor. I've added a couple via HACS (clicked on install). The files are in the correct directories. I've added the resource link in the lovelace config. WHat step am I missing?
Ah, I think it's my resource link not pointing to the correct location.
Hmm, still not working.
Not all cards can be added in the UI editor, for many you have to use the Manual option
OK. I assumed they would just show up as card to add in the UI
Let me see if I can add it manually
Ha! Yes, thank you!
can I round a value in frontend or is creating a template sensor the only way?
Very few cards support templates, and if they do it's documented
how do I duplicate a dashboard?
You could use the Raw Editor and copy/paste the YAML
can font size be changed, per dashboard?
with CSS, probably
Hi, I have a camera with a webserver where it streams in 192.168.0.X address. I add an image with the URL: https://192.168.0.X but the image is not shown. I have home assistant in docker and duckdns enabled, is it posible that these url is not accessible for home assistant?
Probably a problem with the SSL certificate
I miss type when i write server address, it is not https, its http. It would be the same problem that you say?
That should be fine
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
To make a 2x2 "stack". Do I just make a vertical stack of two horizonal stacks?
Answering my own question: Yes, @hexed furnace , that's how you do it. You're damn smart! π
Took my a while to get the formatting right though
You could also do a horizontal stack and two vertical stacks. The possibilities are endless!
...well... in this case there's actually exactly 2... but you get the point...
Hello guys, which card would you recommend me to use if I want custom card?
For example: 60% of width of the column to be used by media card, then two buttons next to it 20% and 20% some image.
Thank you
layout-card
Is it not possible to mix both badges and regular cards on the same view in lovelace?
Sure it is
not sure if this is the right channel, but i seem to be having an issue with a switch showing the correct state after being changed. I have a lightswitch (switch domain) that if it is off and you toggle it on it shows on for 3 seconds then reverts back to the off status. This is a zwave device (hs-ws200) and i have seen this before with the dimmers. the fix i use there is to use the "refresh_value" and "delay" function on those entities. per the wiki, those functions are only available on the light domain. to clarify, this is ONLY an issue on the lovelace view and fixes itself if you refresh the page. if i open another page with the developer tools>states and toggle the device the states page updates correctly. I even tried creating a template device to see if that would fix it, nope exact same behavior. any suggestions?
so the state in dev tools show the correct state in a timely manner?
i see that now, nm
@odd nexus you try this https://www.home-assistant.io/integrations/light.switch/?
Ah ok thanks. Similar to a template I created just fewer lines. I'll try it out.
I don't see anything on the docs to say that you can
Entity controller binary sensor shows "idle" or "active_timer", but i want it show "away" and "present"
You'd control that kind of thing with a device class ... https://www.home-assistant.io/integrations/binary_sensor
no, couldn't find it either, i can hide the text entirely, but didn't find anthing with with chaning it
Then... you can't do that in the card
Is there a way to hide auth fail notifications? Almost all of them are false positives due to my reverse proxy setup
do you have something like this in your config?
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
@finite pond βοΈ
I'm running into the same thing with haproxy and already have the forwardedfor. Is that above config the configuration.yaml for home assistant?
yup
naturally change 127.0.0.1 to whatever the IP address of your reverse proxy is. mine's on the same host that i run home assistant on so i have it set that way
Fun, was going to ask about this at lunch, easy fix. Haha
Hi there, is there an "easy" way of spanning a card cross the whole width? I would like to have my nice iframe grafana dashboard on top across the whole width and some other lovelace cards below.
I tried "layout-card" but it does not widen the iframe...
You want panel-mode https://www.home-assistant.io/lovelace/dashboards-and-views/#panel
Then you use a vertical stack card with the grafana card first, and then layout-card with all your other cards inside. That's exactly the use case layout-card was made for originally.
You want panel-mode https://www.home-assistant.io/lovelace/dashboards-and-views/#panel
@polar kelp Thanks. I just played with the grid thing and now I am completely bonkers.
Will try the layout in a layout
should work
Trying to add a theme from HACS. The instructions say add this to my config.yaml:
themes: !include_dir_merge_named ../themes```
I've done this, restarted HA and installed the theme (it's in the config/themes folder). I can't select the theme in my profile. What have I missed?
This theme, if it matters: https://github.com/JuanMTech/google_dark_theme
I don't think you should have two dots there.
Ha! Thanks. I didn't need the "../"
./themes should work, though.
If I have two dashboards, how do I give a theme to one of them? I added theme: google_dark_theme to the raw editor for the one dashboard but it's still using default. Logically, I would think setting themes for Lovelace dashboards would be an option in Configuration->Lovelace Dashboards but no option there I could see for themes.
Nevermind, I found where the theme setting was per dashboard
I setup an automation that I'd like to appear on the Home Screen. When I setup scripts they show up, how can I setup Automations to do the same. It was suggestion I look at entity cards but this is not really an entity.
@tawdry root I assume you mean on the overview. An automation can be a badge. So you click on it and it runs the automation
It is an entitty too
So you can use the Entity card as well
hmm ok, before lovelace I believe they automatically showed up and now they dont
is there a way to get them to automatically appear by default or would I need to create badges for every automation
Before you start editing your own dashboard HA makes a dashboard for you with every possible entity. I think that is what you saw before.
You can create a new dashboard and it should default to this.
I'm no expert. Just saw this as I was screwing around with dashboards for the first time today. Hopefully, someone more knowledgeable will chime in.
You can't have that make automations that it's too hard to create them right?
Thanks @hexed furnace
Hey guys, I'm a long time "lite" user of Home Assistant, but I want to start customizing it more. I'm not yet ready to fully setup and maintain my own lovelace cards, I'd like to keep the default ability for new entities to automatically show up on the dashboard/overview page. I would like to change the default view for my fan entities however to a custom one. Is there a way to some how globally change the way a particular entity is displayed while retaining the ability for automatic entity view generation?
No.
But you can make a separate dashboard for the fans, and keep the auto generated one too.
How would you reference a entity_picture attribute of a media_player entity to use as a background/image for a Lovelace card (likely picture-entities card for flexibility)?
Want to whack the thumbnail of the currently playing Plex media onto my media display Lovelace tab.
do you have something like this in your config?
http: use_x_forwarded_for: true trusted_proxies: - 127.0.0.1
This is for apache?
I use nginx so is this correct?
https://paste.ubuntu.com/p/2cK6FqwbRb/
The above snippet is for HA π
Looks largely fine, though you don't really need the /api/websocket section if you're not doing anything different there
Looks like it's primary-color
Yes that's what I found too. But is there no other way to customize?
probably 2 other options:
- Make a PR to add a more spesific var.
- Use
card-modto change it for that spesific card
Thanks! π
hi, is there a way to style .update-heading and .icon in the update notification? it's permanently black and that sucks on dark themes π
No, but that are handled, and will be replaced in the next supervisor update
perfect, thank you
I posted a question yesterday about an issue I was having with a lovelace view not reflecting correctly when a switch was toggled. https://discordapp.com/channels/330944238910963714/460846676358332417/707596185711542353 I tried the suggestion of using a light switch, but i'm getting the same result as with a template light. Does anyone have any other ideas of what I could try?
Im looking to use an iframe for a mopidy front end but the problem I having is 1) I really dont get Nginx 2) Im using Nabu Casa so I think forwarding is not going to work. The issue is the mopidy is HTTP, and wont show when I put it in an iframe. Any one have any suggestions?
Hello I want to use the frontend automation to reset the state of a motion sensors so it picks up motion again ie to reset the time, I have deconz setup and can see the motion can detect movement, how do I go about this?
you can't set the state of a sensor
You need to "fix" that at the sensor, or in deCONZ
this resets it
'on': true
friendly_name: Motion Sensor
device_class: motion
so now I want it to do this lets say 10 seconds after it gets sensed for example
Resets it where?
Other than
-> States there's no universal way of changing the state of any sensor
You can't automate that
ohh I see, is there technical reason we can't do that?
Because it doesn't change the actual state of the entity, just what HA thinks
Basically, you're doing Jedi mind tricks
The sensor is still in the same state, and the next time the integration sends an update it'll revert to whatever the integration sends
So, as said, fix it upstream - in this case deCONZ
okay thanks π makes sense
Hi, I'm having issues to get tap_action to work with the light-card. Regarding to the action docs it should work. I manage to get hold_action and double_tap_action to work. Am I doing something wrong? Or is it a bug?
You can see my code here:
https://paste.ubuntu.com/p/xnpRMBr2jy/
I'm using the same code but for the button-card, and when using that card it works.
Hi all. I have configured some generic camera entities. Then I show them on my floor map as image
- camera_image: camera.cucina
entity: camera.cucina
style:
border: 2px solid red
border-radius: 10%
left: 76%
top: 30%
width: 10%
type: image
When the image gets updated with the new one, I see an horizontal line between the 2 camera images (the old one, horizontal red line, then the new one)
Is there a way to avoid this horizontal line and show only the transition
from old to new image?
@dapper grotto To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
I'd like to have a set of hosts found with "nmap_tracker" to show up in the main dash showing their state as present or away. Has anyone tried this before? Also, a follow up question.. what determines if a "entity" shows up in a small circular icon?
I think I found the answer here: https://www.home-assistant.io/integrations/device_tracker/.
Those are badges
If you have a badge added to your dashboard, it shows up, if you haven't, it doesn't
Is there a way to just show All Zones in the map card? Bit of a pain to have to add zones to map card anytime you add a zone.
@thorny verge did you find a way to do that?
whats the best way to go about adding themes to HA?
The easiest is HACS
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.
frontend:
themes: !include_dir_merge_named themes/
``` and then install HACS
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.
Question about state_color...I understand this option to set the icon color to change for the entity when active, and it seems to work. HOWEVER, when I add this line to an entities card configuration, I get a notice which says, "Expected a value of type undefined for state_color but received true." Am I doing something wrong, or is this a bug?
The UI editor just doesn't support that option
So. A bug. Thanks.
No, not a bug.
Not implemented
Well, IMO, it would be better if the message given were something like "this feature is not implemented" or "not supported", or something. Anyway, good to know. I'll just do without the UI editor like it was before.
Trying to get HACS installed, Tinkerer, but am I not able to do this if I used the vmdk for HassOS?
Yeah. The yellow text errors vould be clearer. Iβve been meaning to fix that...
I don't appear to have access to the underlying Linux* OS?
You just need access to your config directory.
https://imgur.com/a/FdjMyv3
Looking for a card that mimics this functionality from the smartthings app
Its so weird, does lovelace not support adding a single "external" link as panel menu item? All i find is iframe & custom component pages...
@limpid apex lots of cards can be square. Perhaps it also does something that cannot be conveyed by a static screenshot?
@inner robin https://www.home-assistant.io/integrations/panel_custom/
@polar kelp ```
panel_custom:
- name: node_red
sidebar_title: Node Red
sidebar_icon: mdi:sitemap
url_path: http://192.168.88.4:1880
does not show up..
That goes in the backend configuration
oh i am aware of that π
i guess i could build a simple panel that redirects to the url in the config
My bad. You want this https://www.home-assistant.io/integrations/panel_iframe/
Oh. Now I see. No, thatβs not supported.
not even with browser mod?
Not as a panel
so you really want me to do ```
panel_custom:
- name: node_red
sidebar_title: Node Red
sidebar_icon: mdi:sitemap
url_path: redirect
js_url: /local/redirect.js
config:
path: http://192.168.88.4:1880
and write the module?
seems like an odd workaround for such a simple thing
atleast i don't have to hardcode the urls.. will write the module and post it as solution in the ~3 posts i found about this...
You can add a link from a lovelace card.
a link to the panel? from some card on some tab?
yea, found this https://developers.home-assistant.io/docs/frontend_creating_custom_panels.. not better (would hardcode the links)
can someone point me the direction to get the person device tracker working. My person setting keep giving an unknown status
so i'm setting up a theme and i'm using this theme from HACS https://github.com/basnijholt/lovelace-ios-dark-mode-theme at the bottom he states to "Add the following line to your lovelace-ui.yaml or use the RAW editor: "background: var(--background-image)" my questions are 1. where in the lovelace-ui.yaml does the "background: var(--background-image)" go? 2. does the "--background-image" reference the main background or do i have to specifiy?
can someone point me the direction to get the person device tracker working. My person setting keep giving an unknown status
@faint lantern depends on your devices tracking, person is just configured to specific devices..
just tracking my phone status via network or mac
i see all the info on the phone is correct but my person badge show "unk"
A question about entities...I have a particular entity which, when I try to edit the entity, it says, "This entity does not have a unique ID, therefore its settings cannot be managed from the UI". However, when I tried to add an ID for the entity in configuration.yaml (which is where this entity is created), I get an error message for the config when I run a config check. How should I manage such an entity?
With the loss of DarkSky I was trying to integrate NWS for weather. Is there a way to have it integrate with the Weather Forecast Card and show weather for each day and not every 3 hours or so?
you need to add that to the entity class in the code base https://github.com/home-assistant/core @smoky peak
@wheat current I do not understand what you mean at all. I went to the link you just sent, but I've no idea what you are asking me to do.
It needs to be added in the HA code, not your config
Um. Ok, still no idea what we're talking about. This is flux_led device, and that is a platform supported in configuration.yaml. The device is there. But I don't know what I have to do differently now than I did for the last two years.
nothing, unless you learn pyhton, and add unique ID to that integration
It needs to be added in the HA code, not your config
I think what @wheat current is saying is that the integration is broken currently?
So...something that was changed means I can no longer control the device ID.....got it.
and needs to be updated in the HA code
no, not at all
You could never change the ID, that integration never supported that.
You can set a name in your config.
https://www.home-assistant.io/integrations/flux_led/#name
and you can set the friendly name https://www.home-assistant.io/docs/configuration/customizing-devices/
Ok. My problem is I am not using the right terminology. Sorry about that. I'll use "name", which should get past my issue. Thanks @wheat current
with the new NWS integration only being through the interface I guess there is no way to set NWS integration to be day mode and not daynight mode
Ok, it seems I am still having trouble...I had already used the "name" in my config for this entity. It used to work just fine. However, in "entities" that entity with the corresponding "name" is "unavailable", and another entity has shown up in its place, one with an ugly name I don't want to use. I can't delete the unavailable one because of the whole "doesn't have a unique id" blah blah. So apparently "name" does not work for flux_led any more, but the platform works, because I can add the entity with the ugly name, and toggle it on and off in the UI; I just can't configure it. Suggestions?
@ivory horizon to your previous comment about the integration being broken. No, not broken, because HA recognizes and can control the entity, at least partly. I just can't get past how to configure this entity like I could before all the changes of the last few months.
When i use the "panel"-function in lovelace
it uses the whole width, but is there a way to instead let the card "fill page"? My card is to tall for a screen when it is full width
Depends
ok , what does it depend on? I want it to fit on mobile, tablet and wepage on computer
i will try that out
Sorry, i didn't quite get the docs for the vertical stack
do i have to make a second "level" of cards?
- title: Floorplan
path: floorplan
panel: true
badges: []
cards:
- type: picture-elements
elements:
- type: state-badge
entity: binary_sensor.test_sensor
style:
top: 32%
left: 40%
image: /local/floorplan2.svg
this is how it is now
sorry
didn't mean to paste it again
you can delete messages
@sour crag yes you need to put your picture element card underneath the vertical stack
While on the topic of picture element is there away to make it vertical limited instead of horizontal limited. My picture element always has the bottom cut off very annoying
- title: Floorplan
path: floorplan
panel: true
badges: []
cards:
- type: vertical-stack
cards:
- type: picture-elements
elements:
- type: state-badge
entity: binary_sensor.test_sensor
style:
top: 32%
left: 40%
image: /local/floorplan2.svg
yes but your indentation is off
Now i am confused by your question igloo15 π
that is exactly what i am trying to do
make it fit vertical because fit horsontal makes it too tall
I thought you were trying to make it stretch horizontally but not vertically
I want it to stretch by vertically and not horizonitally
I don't want to stretch at all
i want to resize (no stretching) to fit the page
like fit page in acrobat reader or something
now it firts horsontaly only
ok well then I have same issue and from what I have read on github and message board
it is not possible
wow, that seem like a very large oversight
The feedback I saw on message board
was to make the image larger
horizontally
so that it would fit vertically
Feel free to submit PRs to address this @sour crag π
so that it would fit vertically
@ivory horizon That only solves it on a single device....
yup
so make multiple images
and use multiple dashboards for each device
I have different dashboards for different devices
there are so many people using a floorplan, i am really surprised this isn't a problem for a lot of people..
Maybe it is, but none of those have submitted PRs to address it π€·
I have different dashboards for different devices
@ivory horizon then you have to place all the icons for each and every dashboard?
No I didn't do anything
to picture element
I just left it with some of the bottom cut off on some devices
since it was just a slight annoyance
that is the message board thread I was referencing
How do you even submitt a pull request?
Is they a way of making the sidebar completely hidden on certain dashboards ?
if i go here, and push "pull request"
"new pull request"
the "create pull request" is greyed out
Hi, I have a strange issue with the frontend on 0.109.2. I use the time_date integration within several automations. As soon as I want to add a new card in the frontend, the modal takes ages to load. I guess it is due to the preview of the history graph card, which of the hundreds of sensors I use shows a preview of the sensor.time history. And that happens to consist of one state change per minute, which seems to slow down the UI extremely
All time_date sensors are excluded from history and logbook, and I even tried to hide it via customizations (no effect). Does someone else have the same issue? Is there a way to specify which sensors should be used in the preview for new cards?
@sour crag You have to develop your change and then submit it - see the developer docs at https://developers.home-assistant.io/
so the reason there is no PR is that people haven't already programmed it?
is there an official way to give feedback that is not reprogramming the code?
You can open feature requests on the forum
Does anyone know the tag to use in Raw ui config for changing header colour please ? cant seem to find it in the documentation
for device_tracker what is source_type and what type of input info can i use
Oh, I figured it out. The problem for me was that I didn't show the time_date entities anywhere in my UI (since I only use them in automations). HA, friendly as it is, selects unused entities for the preview of new cards. So the solution was to add a new section in my dashboard and add all time_date entities to it. Problem solved π€
Hmm, not really solved, I guess. This workaround only works within a single dashboard. So if I change to another dashboard, the problem reappears, until I add a new "hidden" tab and add the time_date entities to it...
@polar kelp that square I posted earlier was touchpad for directional navigation! Swiping up, down, left and right from anywhere within the box will result in navigating to those directions. So you don't need to look down to your phone to see where you're clicking!
This is a much better system for media control, specially for smart TVs!
In HA that would basically mean a call service when it detects a swipe-left gesture
So far, I've seen this being used by Samsung in their smartthings app and SAVANT, a major automation company
who thought it was a good idea to put resources in the configuration.yaml. Now I have to restart home assistant every time I have to change them
It's not like that anymore @ivory horizon
There's a separate tap to manage resources
Not anymore
then it was moved to configuration.yaml with the multiple dashboards
so where is it now
yup I don't see resources there
What version of HA are you running?
0.109.5
So you should have it
I see all my dashboards
I see an add button to add more dashboards
I see an open button to open the dashboard
Clicking on a dashboard says it is in yaml mode and cannot be edited by ui
thats odd
well that is annoying
@ivory horizon turn on advanced mode for your profile
huzzah
thanks
wonder why advanced wasn't already enabled
darn still doesn't work
gives an error saying I can't manage resources because I am in yaml mode
have to use configuration.yaml
@sour crag I found a fix for the vertical fit issue on picture element
If you have card mod installed
add the following to your picture element
style:
"hui-image":
$: |
div img {
height: 100vh;
width: 100vw;
}
it will make the picture element fit 100% in both width and height of the screen it is displayed on
Anyone know a good way to get a grafana graph on lovelace?
I tried Iframe but it says I am not authorized and forces me to go to grafana first then back to dashboard
Hi Folks, I've added a picture elements card for a unifi camera I have. When I click the card, it opens the more-info to show the live stream in a larger window. Is it possible to adjust the size of the more-info card?
The card it opens is so big that I need to scroll just to see the camera stream
How would you reference a entity_picture attribute of a media_player entity to use as a background/image for a Lovelace card (likely picture-element card for flexibility)?
has anyone been able to stream their camera to a firestick?
@true wasp try clicking the header of the popup
@polar kelp Wow, after all this time, I didn't know you could click in the header. Thank you so much!
Works on all more-info popups. Try it on something with a graph.
