#frontend-archived
1 messages Β· Page 123 of 1
samba addon?
ssh curl or weget would be also easyer
okay ill write those down and check it out tomorrow. im pretty beat its late. thank you so much you HA god
lol that was just a little newbie help
just help the others when youre into it later π
can you display multiple custom elements (namely custom:mini-media-player) under one big card?
vertical stack works better for me, thank you anyway for pointing in the right direction
oh yea - mixed it up
almost everybody forgets the official cards π€£
@polar kelp I tried to install it late last night and it gave a persistent notification that it failed to setup.
From hacs?
Also, The correction for the popups worked with a few changes, but anywhere I used auto-entities in a popup, it did not display. The card would show, but it would not populate
no manual
haven't checked HACS, yet. Should I install from there? before I reboot?
OOOOoooh! I see what's happening...
I get that error too... just didn't notice π
It still works, though.
Ahh...never checked because I thought it didn't LOL
There we go. Fixed
Just looking over the updated readme for changes. π¬ Stop lovelace_gen from breaking all the yaml which is not in lovelace... Glad you tagged me sir...
It didn't break the yaml itself, really... just the parser
wwhat is it..?
lovelace_gen https://github.com/thomasloven/hass-lovelace_gen
new lovelace_gen component
that looks fun - ll save at least 400 lines in my floorplam
@polar kelp I tried wrapping the auto-entities popup in an entities card but this is all I got...https://imgur.com/a/IursQYu was just showing the background and nothing else before
...still haven't figured out the mysterious app-toolbar color change yetπ€
that's what I tried on that one. Gotta leave for work, I'll test a few more things and see what happens tonight and let you know. Thanks!
hey gyuys is there na issue with lovelace and mdi icons that carry a hyphen ?
eg I try to use icon: 'mdi:coach-lamp' which doesnt work if I replace it with speaker it does
hmm odd - spotlight-beam works
I know the hyphen is in the name but it doesnt seem to be the hyphen either
it seems to be that icon, others with hyphen (-) work
Umm... was that added to the set yesterday?
not sure where to find the history of the icons tbh
Seems it was nine days ago...
Anyway, the author has a special Home Assistant collection: https://github.com/hulkhaugen/hass-bha-icons
You can try that, or wait for 0.97 or 0.98 or so.
aah ok didnt know the icons were actually part of the distribution
thanks - will give that a go
whats the easiest way to add whitespace/a separator between entities in a type:entities card?
A divider
cool, but i'm not able to style it
- type: divider
style: 'height: 1px, background-color: red'```
that just doesnt show anything
semicolon, not comma
@atomic glacier I just released a new version of browser_mod. It'll probably help with the scrollable popups.
Don't use height: 100%. That messes things up. Just width: 100%, margin: 0 and box sizing.
does anyone have any examples of cards they use for water/leak sensors? Looking for ideas
@mild veldt thank you for the explanation. Perhaps I just need some guidance to learn the hassio system. I work in IoT were we collect data from a customer's BAS system then run that data through a MQTT broker then on to an analytics system. I was trying to do the same thing for my house. Where would one go to view docs on this system from a Noob point of view?
On analytics or the frontend display of data?
@atomic glacier thanks will try the custom gap card
@hot gyro I think that will work for my home use. At our corporate level we are using a custom built software to 'listen' to various BAS protocals such as BacNet, Modbus, Lon, etc
Sure but then you need parsers making sure the protocol is collected etc which may be overkill - if you want to use your own software nothing stops you setting up a broker and oublishing all events and have your tool listening for any mqtt events but may take longer to get all that setup Iβd think
@mild veldt the corporate level used both dashboards, and back end data to develop a solution for energy savings and personal comfort.
@polar kelp cool, I'll give it a shot when I get back to the house. Thanks π
@atomic glacier worked like a charm thanks again
@polar kelp A+ π π₯ π₯ β‘
Scrolling Popups!!!! Awesome job!!! Thank you sir! π€― A few adjustments on just a couple of them and I can get my repo updated. (of course, I'll need to add a few anchors first π§)
Will finally have a ui-lovelace.yaml with only one view neededπ
(instead of the 46 I used to have π€ͺ)
@atomic glacier only problem is that popups don't work with the new cast π
True. I haven't had much time to fool with it yet, but I couldn't get a panel view to work eitherπ€
No it does not
Ah, that's why then. Guess I'll hafta have a couple of views for cast at least
Yeah, same
Can anyone help me with migrating folders from my computer into my custom_components folder?
That's not Lovelace specific, at best it's #330944238910963714 if not #general-archived
oh thank you
hey @polar kelp you pointed me to use your new hass-lovelace_gen after my issues here (https://github.com/thomasloven/homeassistant-lovelace-gen/issues/17)
@tough quiver posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/7pQTW4hmHF/
oops lol
Anyway, So i have that as my ui-lovelace.yaml
And HASS is rendering this: https://i.imgur.com/q1mDZvK.png
which is erm, not right.
(I suspect I've done something wrong)
Do you get anything in your browser console?
there is one: uncaught exception: Object
firefox doesn't want to be much more help than that.
is there something specific I have to do to tell it to re-generate a ui or something?
(tried CTRL+SHIFT+R, and "Refresh" in the three dots is missing when its rendering like the image i posted)
nothing in hass logs either.
(Which is set to error logs)
hmm, more interesting.
I copied in my old ui-lovelace and it, obviously, works fine.
So then I just copied over the new one (from the paste.ubuntu.com above) on top of ui-lovelace.yaml and it seems to be working
π€ very odd.
weird
Does it work if you don't add # lovelace_gen ui_lovelace.yaml, but to one of the included files?
Has anyone had problems with picture glance pictures not updating upon a state change? After I reload the page it shows the correct picture.
@polar kelp I'll give that a try.
welp, it' still just doing what the imgur link was. @polar kelp
Oh!
That's a difference between the two. !include now works the same as the built-in one - it's rooted in the directory of the current file.
I.e. if you want to include lovelace/my_view.yaml from ui_lovelace.yaml it's !include lovelace/my_view.yaml.
yeah i already did that.
- !include lovelace/new_home.yaml
first thing i did was update all my !include to have lovelace/ in them
if i !include something within the new_home.yaml does that also need to have lovelace/ ?
Does that file include other files?
yes...
No. All includes are relative from the current file
Ah!
And apparently including a file that doesn't exists doesn't give an error, but crashes in the worst way possible... I'll have to look into that
yeah its totally fine now
π€¦
my new_home.yaml also has a # lovelace_gen is that necessary?
welp, doesnt seem to be necessary
# lovelace_gen is necessary in any file using lovelace_gen features. !include (without arguments) is not one of those.
Ah right, I'm only using !include not Jinja2 or any !file stuff in there so that makes sense.
There. A new version of lovelace_gen has been released.
What I think happened for you was that generating the lovelace setup failed without an error message, so Home Assistant fell back on displaying /states instead.
can you change an icon of an entity depending on its state, eg. changing the icon of a lamp that is on to another one and when its off back to the default one
?
If you make a "wrapper" template light: https://www.home-assistant.io/components/light.template/
thanks
I'm thinking of adding an emoji to the descriptions of my plugins on github to make them recognizable in hacs catalog. Is that a bad move?
πΉ perhaps
Has anyone had problems with picture glance pictures not updating upon a state change? After I reload the page it shows the correct picture.
@polar kelp it definitely looks nice
lol
@mint geode I often have issues with my picture entity cards set to camera with view set to live not actually updating just staying on the first frame they displayed.
Do it, do it, do it @polar kelp π
Need to check if there's already an issue open. Thanks!
How to remove the config bar on the left, i now get double.
What change did you make that caused that to happen?
I have a hopefully quick question. I "accidentally" enabled the config UI, and can't seem to go back to the normal mode. I deleted the lovelace file in .storage, and rebooted, but I'm still missing the option to check config and restart.
In your profile settings there is an option to enable advanced server control
Advanced mode is/was enabled. I did disable, and re-enable it.
It's moved
AH!
That makes sense. I updated HA last night, and haven't had to config anything since. You are wonderful, thank you
Hey guys, would anyone know how to change the scale that cards a displayed on cast? Can only see 3 full blown cards, i'd like to scale just like zoom in the browser to say 50%
hi, i'm having toubles with my history. if i press the history tab it's just blank and it keeps on loading but nothing apaers. somebody that got the same error? i need to get his working because i watn to show a graph for temp.
Check the home assistant log for recorder errors
Does anyone know if you can display a message to the user with an actionable option in Lovelace? For example a popup that says, about to enable the alarm press button to cancel?
@potent compass this is a Lovelace channel.., but I think the issue might be your dB got to big or not setup properly are you running on Pi3? If you got many sensors and weeks of data it will take a while to load
you can do that using browser mod
Is the pop-up display for media players-, climate-, entities cards, ... in lovelace supposed to not work when casting from HA?
@pliant eagle i have 2 sensors and i'm running HA on a PI3
Ugh! Another breaking bug in lovelace_gen. Who'd have though ripping things out of the Home Assistant core and stuffing in your own ones would be so hard?
Version 4 should not ruin packages that contain !secret.
Haha! Cool. You can search for πΉ in hacs to find my things
good evening.
I start with HA. I can not understand how to install a card like mini-graph-card-bundle.js.
with you a link to advise me to learn the principle of personalization cards? thank you very much in advance
It seems that your configuration.yaml doesn't properly include customize.yaml
Changes made here won't affect your configuration. whats does this mean , trying to customize an entity icon and its not taking effect
@lean wing have you tried using the UI to customize entities by going to configuration>customization (nothing to do with lovelace)
@buoyant portal yes I tired , but after a restart of the sever the icon just come back to default and the display the message as follow .....It seems that your configuration.yaml doesn't properly include customize.yaml
Changes made here won't affect your configuration. above customizing entities
Make sure you have this in your configuration.yaml file: ```
homeassistant:
customize: !include customize.yaml
Hi is there a way to enable a debug log for lovelace UI ? I am trying to find out why all my history graphs for all devices and history_graph cards are broken. would that be in the homeassistant.log ?
@lean wing as Tom said add what he listed. By default new installs of HA don't have the homeasssitant: part included anymore as it classed as a advanced use and needs to be added manually
ooh possible breakthrough, chrome browser shows this error -
fetch-with-auth.ts:20 GET http://jarvis:8123/api/history/period/2019-08-06T03:00:55.230Z?filter_entity_id=sensor.hvac_setpoint,sensor.inside_temp,sensor.outside_temp,sensor.pool_temperature&end_time=2019-08-09T03:00:55.230Z 404 (Not Found)
its getting a 404 not found for the history graph
hi, im kinda big noob atm with HA ( would love to get experienced someday ) but i need to start from scratch obv! so far iv added lights within a group and so on but id like to be able to get this https://github.com/kalkih/mini-media-player
this https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins is a great resource on how to add/troubleshoot custom cards
i dont know how to add this to the yaml
Add a reference to mini-media-player-bundle.js inside your ui-lovelace.yaml.
There are two different ways of doing that. Both described in the link above.
@wheat current A beer say's there'll be a token question.
Token? π€
"Unexpected token <". But I just realized that won't happen with mini-media-player...
ahhhhh, that one π
It still can, I have seen a lot of folks not getting the file from the release..
But it's not available from anywhere else
i made a www into /volume1/hass.io/hass.io/homeassistant/www
into that www i copied mini-media-player-bundle.js
after that i go to /volume1/hass.io/hass.io/homeassistant/storage and theres a "lovelace" file
stop
with some entities like light.tv.woonkamer
restart HA
Then use the raw editor to add it under resources (see the GIF on the wiki)
Yeah. You shouldn't poke around in .storage/lovelace manually.
No card type found
{
"resources": [
{
"url": "/local/mini-media-player-bundle.js?v=1.2.2",
"type": "module"
}
]
}
whenever i put this in the toggle editor :
resources:
- url: /local/mini-media-player-bundle.js?v=1.2.2
type: module
don't touch that file unless you want a lot of grief
hehe i wont anymore :p
"toggle editor " != raw editor
yea im using that toggle editor now and put that line into it but im getting no card type found
ahhhhhhh
Your config is not supported by the UI editor:
Expected a value of type undefined for resources but received [{"url":"/local/mini-media-player-bundle.js?v=1.2.2","type":"module"}].
Falling back to YAML editor.
Why are you trying to add your own steps to the guide?
?
https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins Do it exactly how it's described here, don't use a card editor, use the RAW editor
ahh just did that, restarting ha now
no need
For lovelace the only time you need to restart is one time after creating the www folder
ahhhh okayy
damn
welll thx very much!! π
well i just need to get a start how to make things like this
im a noob
but this is a good start! π
"pro" tip, get hacs, it will do most of the "heavy lifing" for you π
hacs?
pro tip for a noob :p
Pro tip for everyone
there's no community on my sidebar in ha
did you install HACS?
Wild guess: no
lol
- entities:
- entity: light.tv_woonkamer
- entity: light.eetkamer
- entity: light.gang
- entity: light.zolder
- entity: light.pc_2
- entity: light.woonkamer
- entity: light.achtertuin
title: Licht
type: entities
url: /community_plugin/light-entity-row/light-entity-row.js
i get an error with the url |:S
yeah... that's not how any card works ;)
Read the documentation for the card you are adding π
When installed, this will be located in '/config/www/community/light-entity-row', you still need to add it to your lovelace configuration ('ui-lovelace.yaml' or the raw UI config editor).
When you add this to your configuration use this:
- url: /community_plugin/light-entity-row/light-entity-row.js
type: Could not determine the type of this plugin, check the repository.
this is what it states
That is not the documentation of the card ;)
And that is for the resources: only
i added it through community
no
installed*
You "installed"(downloaded) it
"you still need to add it to your lovelace configuration" == you have to add it π
i tried to do so in the raw editor of ha
resources:
- type: module
url: /local/mini-media-player-bundle.js?v=1.2.2 - type: light-entity-row
url: /community_plugin/light-entity-row/light-entity-row.js
is that good?
- type: light-entity-row.js
url: /community_plugin/light-entity-row/light-entity-row.js
" light-entity-row.js" is not one of the 3 possible values I said..
so it should be js i guess
Don't guess, look in the repository (like you where told to do)
" type: Could not determine the type of this plugin, check the repository."
- type: "custom:light-entity-row"
entity: light.eetkamer
showColorPicker: true
showColorSliders: true
url: /community_plugin/light-entity-row/light-entity-row.js
still something wrong here
if this is the way it should be..
@polar kelp You like to modify stuff, do you know if plugins (That have editors) can "hack" their way into the card selector in the UI?
Should be doable.
That would be cool/usefull π
Listen for the "show-edit-card" event, and just add a button that sets the .cardPicked property of hui-card-picker.
I'm planing to start looking at editors for my cards once my PRs for the lovelace editor are merged...
Cool cool! I think I have a plugin somewhere with an editor I can test that with π
i cant seem to get it working:s
@opal jay posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/fH5K9hd7q4/
doesnt work ;/
i dont understand what to do with this anymore:s
- type: module
url: /community_plugin/light-entity-row/light-entity-row.js
this works
@opal jay it should be like this ``` - url: /community_plugin/light-entity-row/light-entity-row.js
type: module
so how long does it normally take for the "background task" to finish after installing hacs and switching to the community tab for the first time?
from 3 to 90 min
Though, that's nothing to do with #frontend-archived π
That seems reasonable
#330944238910963714 would be a better place to ask, though maybe we need a custom components channel
and now ... #609399695466430465 is the right place to ask π
Hello, I am trying to download a .js for a custom card
https://community.home-assistant.io/t/lovelace-waze-card/87061/29
when I try to go to the github it 404's. Does that mean there is no way to get this card to work? I am trying to get a card that displays commute information. Is there a better way of making this happen?
ah thank you. what was i missing? should I have been able to find that on my own lmao
Not sure where the info is
If you are familiar with github, then maybe
The guy never updated his repo links when he switched
yeah i am still new to all of this so still learning. i appreciate the link guys!
how do you group entities together in lovelace (i.e. google home minis)
group them with other items in their area
You could be describing a view (https://www.home-assistant.io/lovelace/views/) or just a card...
The lovelace docs list all the stock cards, and there's more custom cards than anybody can track
gotcha
I currently have a person badge, and created a group.household (with two people in it). Is it possible to create a badge for the group, that is similar to the person one? Such that it has a banner with the status? The current group badge just shows the status in the circle
Yes. See the Lovelace docs about badges π I think they're part of view... but I could be wrong
@split granite lol youre everywhere. I looked there but didnt see an answer to this specific thing. Im not thinking its possible, but wanted to make sure
@warm meteor I have a group for all devices and I was able to add it as badge but the text beneath it showed only Home which is where most of the devices are but not all
It's certainty possible @warm meteor
I'm pretty sure this isn't possible, but is there a way to nest another card within an entities card? I'd like temperature and humidity entities to be side by side within an entities card, but not sure that I can.
Not with a stock card - it might be possible with some custom cards
That's what I thought--will look into some of the custom cards
Thanks!
https://github.com/custom-cards/vertical-stack-in-card looks like exactly what I need
maybe Home Assistant needs to be configured to allow Home Assistant Cast to load custom cards
https://cast.home-assistant.io/faq.html#browser
So i tried using views from that link @split granite but i keep getting an error in my log
thats what that part of my log looks like
you use yaml mode?
thats the only mode i see on the docs
there is also the fancy new configurator
what do u mean?
well.. you basicly press the 3 dots in the right corner and press edit when I remember right
then you see some new icons and just press [+]
well.. when you want to have an diffrent expirience you have to take the wheel π
righto
for the new fiew just press the plus in your header
can u create groups or just use the groups they have
e.g all i see is "group.all_remotes" and group.all_switches
therefore you have to use some custom cards
aha
i did add http: cors_allowed_origins: - https://cast.home-assistant.io but i get the same result
but you can do a hell lot
fake news @radiant drum - this config is already loaded - thats why I crossed it out
wow cool
ok.. anyone else got card-modder working with cast?
Or does it only work when you dont use lovelace: mode: yaml
I got it working with yaml mode
@pseudo wagon
past one of these two configs as manual card
YAML Error: YAMLException: duplicated mapping key at line 31, column -195: cards: ^
or are they two separate cards
two seperate
but thats not 195 lines
line 31 it said
ah column
the second one works
ok, looking
right now it spits out no error, just blank
nothing resolves on the card
let one play some music
ok
- card:
entity: media_player.entrance_mini
type: media-control
conditions:
- entity: media_player.entrance_mini
state: playing
type: conditional
the Conditional Card looks up the state you desire and only shows an card when this state is true
this is one of the most basic card imo (super useful)
https://www.home-assistant.io/lovelace/entities/
there are a lot out
you can edit the cards and copy out some of the configs
I'm off to bed now - have fun
TY sir!
anyone know how to resize cards? having an issue finding that
Generally speaking, you can't
dang. these horizontally stacked cards are so tiny
ok..separately: i cant figure out how to stop discovery from happening on 2 devices: homekit rachio (i have rachio added already elsewhere) and HEOS (my receiver)
every time i restart the config it discovers these
If you are using the ios component you will get those notifications.
i dont want to use the ios component..how do i disable it
Did you enable it? It could also be that you're using the default_config which includes zeroconf (which is actually the component that is giving you the notification)
i didnt mean to enable it if i did. i have a fairly vanilla config
i am using default_config
how do i disable it?
should i just remove "default_config"?
Yes, but you need to check the docs for what that contains. You'll lose a lot of stuff if you remove it and don't add anything back
ah ok
Question. I have a simple webserver running on my home network (not on the same box that runs hassio). If I want to display its page within home assistant, what's the best way to go about that?
iframe
Thanks
hi
can anyone lend me a hand on how can i add url/config/server_control to home assistant menu?
needs to work from outside also
lan / outside url
Is the more-info view (on climate, media-player, ... -cards) disabled when using the new cast-feature?
ok the answer to my question for who want to do it is this:
panel_custom:
- name: hassio-main
sidebar_title: 'Server Control'
sidebar_icon: mdi:server
js_url: /api/hassio/app/entrypoint.js
url_path: config/server_control
embed_iframe: false
require_admin: true
is there a lovelace thing to change the scripts from "Execute" to something else more context-specific like "Add" "Decrease" "Reset" "Start" etc
Another question: Does anybody have an iPad 3 to display lovelace? Worked a few months before, haven't checked in a while, Lovelace keeps being rendered blank. I'd guess it is too old to support HA at this time, unless someone got other news?
@mossy otter No expert here, but I'd give "Call Service" a try: https://www.home-assistant.io/lovelace/entities/#special-row-elements
Service would then be script.turn_on, specify the entity in service_data and set the button label you want.
Can i have multiple setups of lovelace per device? eg. Ipad, iphone, laptop browser
@mint geode thanks bud that's exactly it!
Is there a custom entities card, where I can specify conditions on a per entity basis?
@vernal gazelle posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/RZYJjkM2Ns/
As far as I understand I can only chnage the name and the icon?
I have a entities card displaying all people in our house. If somebody is away, I'd like to show how long he's been away. The second info (how long away) would be a seperate sensor which I would populate once the persons state is "not_home".
Ah!
Just read again, should be possible with your card π
This line I was missing π - entity: "${vars[0] === 'on' ? 'light.bed_light' : 'climate.ecobee'}"
Now I need to learn Java script
Ok I think I got it. a ? b : c means if a == true then use entity b, else use entity c
What a nice little card
But can it show no entity? what would the condition for such a variant look like? just leave everything blank after :?
What does this mean? Note: All templates must be enclosed by ${} and card type must custom even for core. e.g. custom:hui-shopping-list-cardOnly custom cards are allowed in the cards "body"?
no
"for core. e.g. custom:hui-shopping-list-card"
"shopping-list" is a core card
So this should work?
type: 'custom:config-template-card'
variables:
- states['person.karin'].state
entities:
- person.karin
- person.fabian
card:
type: "custom:hui-entites-card"
entities:
- entity: person.karin
- entity: "${vars[0] === 'not_home' ? 'person.fabian' : 'person.fabian'}"
Ignore the stupid condition on the bottom, just for testing
I get the error Custom element doesn't exist: custom:hui-entites-card. with that config
LOL
typo
Ok, the card renders now, but unfortunately you can't configure empty entites, so that's a bummer... π©
What about using a hui-conditional-card as an entity in an entities-card then?
EDIT: Works! π
I have a page with horizontal and vertical panels.. but I can't seem to get the GUI editor to edit the items with it in it
it just allows me to see the cards, and then interact with them normally, but no editing of them
there are no ui editors for stacks yet
there should be an edit button outside the stack to click that will bring you to the yaml or you can use the raw config editor
There is no edit button for the stack.. i've been having to use the raw config editor
i'm getting a heap of Uncaught SyntaxError: Unexpected token < for 4-5 plugins i installed recently - how do i fix this?
Download the raw file format
anyone know how i would get the actual value to show up on mobile with input number entity using slider mode
its visible on desktop but hidden in the ios app
making the sliders useless
i dont want to read the value but show it in the ui without extra duplicate row for each slider π
If it's only behaving that way in the iOS app, try asking in #ios_and_mac-archived - they may be doing something
its actually seems to happen whenever the user agent is mobile and view width is narrow, event on the desktop so not specific to the app
i guess its some css rule i need to override
Hi, is there a card or something I can use to list entities based on their values. Example, I measure the power usage of a lot of items and I'd like to have them arranged from most to least power usage
You could look into the custom card "auto entities". Not sure though if you can sort them by value as well. @wooden latch
Anyone have yet another alarm panel running?
I'm dying tying to get this to run properly lol
The instructions on github say You can always configure your alarm using web interface or by editing your bwalarm.yaml directly. But gives not direction ont he address.
How can I fix an "Custom element doesn't exist: mini-media-player." error?
I'm trying to add my first custom thing to lovelace.
I'm installing the mini-media-player for Spotify. And the installation only has 2 steps. But somehow I manage to mess this up... π
hey can someone help me figure out what im doing wrong, i cant get any custom card to work
i paste it ino raw config
and still shows Custom element doesn't exist:
raw config is like that
`resources:
- type: js
url: /local/entity-attributes-card.js?v=2 - type: js
url: /community_plugin/tracking-number-card/tracking-number-card.js`
atributes card works
but tracking number seems to be broken
i have the email sensor set up
You can only use that endpoint if you installed it from hacs
Checked your browser console?
Ctrl+i or j in chrome, I think
what to look for ?
Anything in red
Did you reboot HA?
No need
i did reboot lots of reboots
i see few red lines in console
should i paste it here ?
Check the console tab, that is in the inspector
damn
socket.ts:53 WebSocket connection to 'wss://xxxxxx/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED e @ socket.ts:53 updating-element.ts:207 Uncaught ReferenceError: regeneratorRuntime is not defined at updating-element.ts:207 at Module.<anonymous> (updating-element.ts:207) at n (bootstrap:19) at bootstrap:83 at bootstrap:83
this ?
xxx were my address
well is it trying to connect via port 53?
so i need to forward it
@wheat current I got it working! Thank you very much for pointing me in the right direction! π
still not working ;C
has anyone had issues with the custom roku remote card.since 0.97 it hasn't worked for me. i haven't changed anything since i set it up in 0.96. and not getting any errors in the log or the card yaml for it
seems like its websocket issue
e @ socket.ts:53
(anonymous) @ socket.ts:136
createSocket @ socket.ts:136
(anonymous) @ connection.ts:323
r @ helpers.js:565
(anonymous) @ connection.ts:324
2socket.ts:53 WebSocket connection to 'wss://xx.xx:8123/api/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED```
:53 is not a port. Itβs the line in the source file that failed.
Ok so its something url related in this line
Seems like it fails to reach websocket but idk why
Can i debug it somehow to learn why its not working?
Iβm not sure thatβs related, actually.
Well connection refused seems to be the problem ? Or im wrong
Try removing the card and see if the error persists.
theres no error posted above
just Uncaught SyntaxError: Unexpected token < tracking-number-card.js:1
@cunning pagoda what's going on with it? Something is up with the input selector since 0.97
@arctic pumice you've downloaded the HTML file instead of raw js
@mild veldt it won't show up on any of my tabs, i tried both chrome and firefox on mobile and desktop tried clearing cache on both, and am getting no errors on the card or logs used HACS to install it
"Uncaught SyntaxError: Unexpected token < " is not possible if you used HACS
i have installed both via hacs
ill try to reinstall
now i get tracking-number-card.js:149 Uncaught ReferenceError: regeneratorRuntime is not defined at tracking-number-card.js:149 at Module.<anonymous> (tracking-number-card.js:149) at n (tracking-number-card.js:1) at tracking-number-card.js:1 at tracking-number-card.js:1
i think ill give up on this π©
well darn this is what i have for the card and can see the entity works as i was able to add the basic media control card any other idea for things to check
type: 'custom:roku-card'
entity: media_player.bedroom_tv
name: Bedroom TV
tv: true
Iβm in the middle of a rewrite of the card. So stay tuned I guess. Not really debugging it in its current state
hello is there a way to add a backgrund to custom components? i have hacs and lovelace card mod
and no idea how to
@mild veldt cool i can lived with that. since i don't have the slightest clue how to write my own cards and appreciate the communtiy sharing their projects and creations with the community
Does anyone have a link to iframe documentation? The only thing I can find is VERY slim.
In an HA context, or what?
https://www.home-assistant.io/lovelace/iframe/ it's sufficient in my opinion if you have basic familiarity with lovelace configuration
I'll take what I can get.
And @gray kernel yeah, that's what I found. Can't make what I am trying to do work, but thanks anyway.
Maybe if you explain, somebody can help
check the web console for errors
I only want to display a local webpage (local on my home network, but from another server). Can't find the magic combination I need to get it right.
DOn't care if it is across the top, or along the side.
An iframe is just a pointer for your browser, so if the URL works in the browser it should work
That of course assumes that you're not using HTTPS for HA and HTTP for the other site
my history of my devices just keeps loading in the historyy tab of lovelace card, what can be the issue?
My problem is, when I click "configure UI", wtf do I put in the fields to get it right?
@potent compass As in it never stops, or what?
yes it just keeps on loading but it never show anything
Have you checked the log file for errors?
@potent compass you may need to ditch DB and start over.
logfile in directory of config file?
the db file in config directory
i'll have a look
home-assistant_v2.db
Delete it, and it should rebuild. That's what usually happens to me.
Depends.
it's safe to just delete it?
Yes
Yeah, you only lose history.
Delete it, restart HA, you're all good
oke i'll have a try
just starting with lovelace, so gonne be busy for a while (and a lot of questions π )
Same here, hence my iframe question.
On discord?
yes
hahahaha
Wouldn't be able to tell the diff between moans on my porn, and moans on the lovelace channel.
Coping with the differences in English in text is hard enough
You really don't want to have to battle with my Glaswegian accent
Glaswegian...almost as bad as Teximerican
if i want the mini graph for my sensors. do i need to add a file or something for lovelace?
or for my lovelace in general?
in the oinstructions they say this
Add a reference to mini-graph-card-bundle.js inside your ui-lovelace.yaml or at the top of the raw config editor UI.
where do i make the ui-lovelace.yaml file?
config dir.?
That's only if you're in YAML mode
Maybe if you could provide a link to the docs for this custom card I could comment more...
Ah, selective copy and paste
- Download and copy mini-graph-card-bundle.js from the latest release into your
config/wwwdirectory.
- Add a reference to mini-graph-card-bundle.js inside your ui-lovelace.yaml or at the top of the raw config editor UI.
It may also be supported by HACS, which will help with that
If you added it correctly, yes
will try that, one moment
Hi all, anyone installed mini-graph-card from HACS ?
I have it installed, but no joy π
I get the "Custom element doesn't exist: mini-graph-card" error
works fine for me
did you add this to your lovelace config?
- url: /community_plugin/mini-graph-card/mini-graph-card-bundle.js
type: module
yes I did, except removing the _plugin, since since it installed in community folder
huh?
\HASSIO\config\www\community\mini-graph-card
tried without tampering with the url....no joy
any idea?
fixed it....
You donβt have to move anything anywhere
is it possible to use a custom icon in the top bar?
placed a png in the www folder and pointed to /local/filename.png but it wont show
when i go the the url it shows
Is this a fix for this issue where half of the first entities-card-title is hidden behind the menubar ?
Thought I could add a picture. But no.
ok so VS Code is coming up with icon: as a Unexpected property icon - type: picture-elements image: /local/green_house.jpg elements: - type: state-icon entity: automation.green_house tap_action: action: call-service service: automation.trigger service_data: entity_id: automation.green_house icon: mdi:water style: top: 20% left: 10% transform: 'translate(-50%, -50%) scale(3.5, 3.5)'
it works but just like to know why
@copper mural what do you mean ? do you have a screenshot
I tried to share but I failed. π But I solved the issue myself. Thanks anyway π
@heavy cove posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/Q8XdNfZ3dK/
Why does the RAW Config editor have to organise everything into alphabetical order? It only makes is really really really confusing to re-read and tell what belongs to what...
action: toggle
type: 'custom:button-card'
max_width: 700
type: 'custom:layout-card'
column_width: 100%
max_width: 100%
type: 'custom:layout-card'
icon: 'mdi:home'
panel: true
title: Our House
Just Sayin......
it's alphabetical
it is converted to json for storage and then re-parsed for editing
you can switch to yaml-mode if you prefer
@copper mural use imgur or something similar next time
@heavy cove This was one reason why I switched to YAML mode, as I didn't like the RAW editor modifying my YAML, and I agree that the modified YAML is less intuitive and more confusing to try and go back to later.
ideally we'll get the storage mode to the point where you wouldn't need to touch the yaml and just use editors, but that still has a way to go
I have noticed that when using !include dir in my lovelace configuration it doens't update the frontend unless I comment+save and then uncomment+save the include line in ui-lovelace.yaml
Is this a known problem?
Hey guys, I have just upgraded to latest version of home assistant. But now the color of cards is grey in any case . It doesn't matter which design I choose. Check the link for a picture: https://imgur.com/PSUvtDn It wasn't like that on the last realease. Thanks for your help!
Anyone using Compact Custom Header card for multiple devices with different views?
Id like to set a unique views for ipad, iphone and laptop. Possible?
Hi, i messed up my lovelace... how can i bring it back to default state ? π°
Depends on how you're controlling it
Stopping HA and deleting .storage/lovelace will do it if you're using the UI to manage it
So...is the UI editor broken, or am I just stupid. Granted the latter is much more likely. I am trying to add a view, with a single card, which is a web page entity. It seems to want to duplicate my main (home) view, no matter what I do.
Did you perhaps copy the path: variable from the home view? @smoky peak
I used the UI editor. So, unless it did that without my knowledge, no. Hence my initial question, "is the UI editor broken?"
I.e.....click "Configure UI". click "+". That's where it all goes off the rails.
I think it's broken. I am a person of exactly average intelligence, and I cannot get it to work, although in the past, I was able to successfully add four other views which work just fine.
Last time I tested (0.96) it worked as expected to add a view
Let me spin up 0.97 and try
Thanks.
Which β are you using - the one next to Home ?
That creates a new view for me, but leaves me looking at the current view
The one to the right of the last view of my 5.
Yup
And it'll leave you looking at your current view
You've selected the newly created view?
Please use imgur or other image sharing web sites, and share the link here.
hmm does the order of type/url matter in the resource definition??
Don't believe so
@split granite https://imgur.com/a/McQwvlK
Yes...?
So, what am I supposed to put there? If I put "icon" and put whatever mdi, fine, I put URL path, enter the path I want to display, click "save" I only get the home view again.
It does not @hot gyro (but it require both to be there)
Give it a title, optional icon and path
ok that confirms my observations thanks @wheat current
As I said though, it won't jump you to the new view you just created
thats understood - just wondered as it seems that I have some this and others the other way round and I wanted to know if this actually matters - now or in future
@split granite so not this? https://imgur.com/a/0fUfG5b
wtf...it changed from what I entered...stand by....
Ok, only thing change was title. I put it back.
My last comment was not for you @hot gyro , it was for @smoky peak ;)
For the difference between you @hot gyro and others are probably the UI editor, it sorts then alphabetically
so, @smoky peak ludeeus, I cannot use external links?
no, not there
You could make a view (with panel mode) that contains a iframe card, to essentially get the same
Got a link to a doc on that?
same as I allready have given you
ok thanks.
Hi guys! I've recently updated HA docker to latest version and I've noticed that the button to validate config has disappear for me. Can anyone help me, please?
@elder pendant I dont want to "restart" and "stop" the server, I want to validate/check config file
Have you enabled Advanced mode?
Server control
configuration-->server control. That's where it has moved to.
Used to be under "general" but moved.
@vapid field
If it doesn't show there (and it sometimes doesn't for me) try a refresh. Something, at least with my install, is broken, and it only shows up sometimes.
@elder pendant @split granite @smoky peak Thank you! It was "Advanced mode" π
Good luck.
hi all! Do you guys know if it's possible to disable the new lovelace refresh notification?
Alright. I think I have my ipanel working, but it doesn't display. I suspect it is because it is a link to a device on my internal network which won't route across the Internet due to being an RFC1918 address. Is there a way around this?
It needs to be accessible from the browser, not from HA
So, then, the answer is no, without a translation.
And, that is not a problem, but would it be a feature request for HA to be able to handle something like this? My home network is around 80 nodes, and 99% of them are inaccessible from the outside, yet all are acessible to HA. Sometimes, I need to be able to access them THROUGH HA and it would be desirable for HA to act as the "proxy" or "bridge" to do so, rather than have the add those devices to my firewall, or to have to VPN in.
HA would have to be a reverse proxy then, I don't see them building that in, but somebody could create a custom component
Alternatively, VPN
arg, still doesn't work in the iframe. Works from a different tab, but in the iframe, says, "may be temporarily down or have moved".
Has anyone else had this issue that uses Android for mobile? A display change happened to my mobile UI last week( not related to any UI changes or updates for HA.) Looks hideous and was wondering if someone might have any ideas???
Just popped up out of the blue... (pardon the pun π€£ )???
Left old and right is now ??? https://imgur.com/a/ZVkcVWf
Anyone using a custom weather card with amcharts animated svg icons? These don't seem to render with the new cast? Just checking its not just me
I have the roku-card lovelace card installed but had to slightly alter the JS code, but the update doesn't seem to go to my browser. I've done a force refresh, cleared cache, and changed the ?v=0 flag with no luck - any ideas?
@tepid raft If you installed it using HACS, I'm pretty sure you have to delete the .gz file. HACS makes a compressed version of it and it wont update your changes if its there
That was it. Thanks!
Trying to get lovelace-gen (HACS version with jinja2 support) features, the !include with parameters, to work inside Grid Layout plugin. Keeps saying "unknown error". The feature works when not inside plugin? Any ideas ?
setup a slick jukebox after failing to get the magic-cards project to work π€£ https://github.com/maddox/magic-cards
thanks to @winter hollow @late anvil and @vapid field for the awesome elements that went into making this. came out, imo, perfect
@timid burrow . Same problem here. Can hope for a fix
@atomic glacier It seems that color comes from the manifest, which should follow the backend-selected theme.
@winter hollow or @polar kelp do you know if there is anything I can do with the svg animated icons used in a custom card so they will appear when HA cast is used? They work fine on desktop/mobile etc.. they are the amcharts animated weather icons and they just display blank when cast
@next dirge thanks for confirming it's not just me
it's unclear if it's a limitation of cast
No idea
I see your weather card just uses the mdi ones
it could be something to do with this https://github.com/home-assistant/home-assistant-polymer/issues/3472 ?
@timid burrow Do you self host the icons? What version are you running? Do you have cors enabled?
And no, has nothing to do with that issue
Found the issue, in the config put the full url to the icons: so from icons: '/local/custom_ui/weather_icons/animated/' to icons: 'https://yourhainstance.com/local/custom_ui/weather_icons/animated/'
In which config? Itβs a custom card so does that mean the card needs to be edited to include the full path?
@mild veldt it looks so cool I tryin
g it now but do't know if its to hard to make
The config of your card, what card are you using? Not mine I guess?
No itβs a modified one - was a darksky custom-card... Iβll get the URL if you can take a look
Just search for the url to the icons in the source and change that to the full url
Ok... so thatβs going to be awkward for other people who are using that card
Can the path be parsed through from Lovelace?
You can use this path: https://cdn.jsdelivr.net/gh/bramkragten/weather-card/dist/icons/
Or make it a config option
got to run
So they canβt be served locally?
Right.. I was thinking a config option and parsing it through from the config
How about parsing location.href? note to self, read the entire conversation
Ahhhhhhhhh ok gotcha
And what if someone doesnβt have https but uses local up address?
I actually have a few extra icons as well
Don't cast require https?
Hmm... will that cause github to get upset ? (limit-wise)
I think they are more upset with me and hacs π€£
Hahaha Iβm sure they are lol
Jsdeliver probably do caching
The reason is use jsdelivr is that they do hosting better then github
Js hosting on github doesnt work
Ok.. I forgot you load resource direct from us deliver
So I could have an extra config option in the lovelace card for someone to parse through their URL and I can read that in the js.
Sounds pretty simple..
Thanks
Maybe you could get the url of the user out of the cast app
Thatβs way above my pay grade lol
Canβt use secrets in lovelace can I?
Itβs weird though because I have other icons that are working fine that are read from /www
But they are just entity_pictures - not set by a js card
Hmm
any one know how you find your - uri: spotify:playlist:59YtBBPUHabClKxFeHSO8m
its my url for my playlist
Right click the playlist, copy URI
that eazy lol
@winter hollow Or @wheat current Can I use window.location.origin to get the FQDN & Port?
hey all, i need to buy a tablet for my HA setup, what is the most important spec. aspect i need to consider before buying. (for smooth experience in lovelace)
Android? iOS? Something else?
Nokia 3210i
I may have one of those in a drawer somewhere...
@willow rose posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/ckpwr8T3Hq/
@split granite i prefer android, i dont like iOS because its so slow when you have outdated hardware, and price is one of the aspects tho.
Well, tell us more then π
Where in the world are you. What kind of price range. What's your other requirements...
ok so do anchors: decluttering_album: &decluttering_album have to be in the - !include lovelace/living_room.yaml file ??
or in any lovelace file
@split granite Poland, it can be used, no more than 100 euro, its going to be a wall mounted HA hub
7 or 10 is enough
Hi guys... I tried to find it, but I didnt saw anyone with the same question. Is it possible to sort the entities on an entities card based on the state/value?
@split granite Nougat will be good enough ?
Android 7.... should be ok I believe, but that's already 3 versions old. I'd suggest looking for newer
@vapid field You'd need a custom card for that
@split granite can you name one that support this?
No
π . Thats exactly my problem. I couldnt find any so far
@vapid field im no expert but i found https://github.com/custom-cards/monster-card maybe it will help you out ?
@vapid field its able to sort but not is not sorting using the state/value
basically it sorts based on the rule to filter them
as far as I could see
@vapid field maybe that one https://github.com/custom-cards/entity-attributes-card ?
i need to be able to press commands that execute scripts
is picture glance working like that?
If you set it up that way, yes
seem so @split granite thanks
@polar kelp if that's the case then has there been any recent modifications to the code? It used to follow primary_colorfrom the theme variable. Is there a way to test this on my Android via Chrome or something? Thanks
You can set the backend theme with the frontend.set_theme service.
Hi, im trying to install calendar-card with hacs but i cant find my lovelace config
Thnaks
@atomic glacier Can't see any changes in that part for two years...
I'm wondering now if maybe a Chrome update maybe the culprit don't know if Android Q beta controls anything within Chrome either, way passed my pay grade. I'll have to get someone else with another Android to test it locally. π¬ Thanks for checking @polar kelp
@vapid field that one is to display attributes, I dont have any attribute on my entity
this one looks like a perfect match
Im going to see if it works
@vapid field okay i probably dont understand what you realy need tho, these one i found that might interest you. Hope you gona find it ! Cheers π
Hi! Am i doing something wrong here? https://pastebin.ubuntu.com/p/SXBzkmBJWV/ I cant get background color to show
@vapid field I have a entities card that shows Name and State
I want to sort them by state
the card represents the next bus/metro on my area
Looks fine to me @radiant drum. Check the inspector in your browser to see if there's actually a style tag added to the ha-card element.
@vapid field it worked
flex-table-card works
@vapid field great ! im gona keep that in mind if i ever need that kind of solution π Cheers ! πͺ
@polar kelp not sure how to find it in inspector
If you right click your markdown card and choose inspect, you should see a <hui-markdown-card> tag. Inside that is a <ha-card> tag and that should contain a <style class="card-mod-style"> if everything is right.
I dont see any <style class="card-mod-style">
Something like this
Found a typo
I see a missing semicolon. Or rather I don't.
@willow rose anchors need to be in the same yaml file they are used in
Hey all, i'm trying to set up a from date to date (and days + hours in between those 2 as secondary info) log for when i turn on and off an input_boolean, i'd like to show the log entries in the front end and show up after the switch is off (from an on position). Anyone any pointers where to start this
Hi, I'm trying to add a button that is 1) highlighted when my cover is at a certain position and 2) sets the cover to that position when pressed. But I don't know how to tackle this. How can I achive this?
@wary totem I would suggest https://github.com/custom-cards/button-card
You would do some styling based on state https://github.com/custom-cards/button-card#styling and then set your proper service call for tap-action
All right, Do you know if I can install it using HACS?
yes, anything under https://github.com/custom-cards is on HACS by default
Great!
Let my try it, thanks!
would't this be even better? https://github.com/custom-cards/button-entity-row
Hi why hacs is not an add-on like the others ?
With install in one git pull in the "store" ?
#609399695466430465 would be the best place to ask about that ;)
The answer: Add-ons are only for Hassio
Because it's not an add-on π
#609399695466430465 @fossil jasper
Oh ok
@mild veldt thanks I did try moving it but I think the spacing is worng.
Or something
I'm having some trouble getting the theme to work from this reddit post. https://www.reddit.com/r/homeassistant/comments/cph47g/sunset_theme/
here is what i have in my themes.yaml
Is there a way to get secondary_info: to show on the Picture Elements Card?
Easiest way is to make a template sensor which extracts the data you want.
If you really really want to do it, you can make an element with type: custom:hui-text-entity-row or something and set name: " " and secondary_info: whatever
Thanks! i will see if i mange to do type: custom:hui-text-entity-row
I got this. How do i add this to the Picture Elements Card?
@brave dove The list of stock cards are at https://www.home-assistant.io/lovelace/
The ones that mention picture in the name are likely the ones you're most interested in
There are, of course, lots of custom cards too
okay, so how do i get my camera up but still have a good fps?
what hardware are you using?
Read through the details for the card above
you don't want high fps, trust me
no i know
You absolutely can stream the camera, if you configure the card (and HA) correctly, but as @gaunt juniper warns you may regret that
Do what?
I don't want to sound rude, but read the docs
^^^ THAT
You've been pointed at the answer already
If you don't want to stream but just update more than once very 5 seconds, there are custom cards
how do i know how much my raspberry pi can handle?
Try it and see
my setup, I'm using my NVR for high fps/quality and for lovelace I use 2fps on surveillance-card
and I'm running hass in docker
There are other options if you're not using Hass.io, but that should get you started π
you can monitor hardware with system-monitor, like @split granite is suggesting
(and lots of other options in there - I run one of the other things on all my systems)
sysmon will show you the RAM and CPU (among others), that can give you an idea of the load on your hardware
when you're messing with the camera
Okay
with "disk_use_percent" i can select a directory to get stats from. What is the main directory? Is it root, home or anything else?
Depends entirely on how you installed Home Assistant, and what you mean by main directory - all that is a #330944238910963714 question though
That's nothing to do with #frontend-archived
what room then? π¦
#330944238910963714
But, maybe it's time to read the channel topics?
It says configuration in this room
i thought it was a setting in conf to make it refresh more often or so
Discussion regarding the Lovelace UI and configuration
Lovelace UI being the key thing there π
This is a Lobelace Ui question. How do i add icons instead of panel name?
Define an icon for the view
ive tryed: "f2dc", "mdi-home" and "home"., none works.
i just get an empty name without any icons or names
Icons have to include the source, even if there's only one officially supported source for now
Great
Hey all :-)
I have a question about changing color for an icon on a picture-elements card...
is there a way to set a custom color for an icon on a picture-elements card?
I'm using a theme and I can change the global var "paper-item-icon-color", but I'd like to do it icon per icon
SOLVED
https://www.home-assistant.io/lovelace/picture-elements/#style
style:
# Positioning of the element
left: 50%
top: 50%
# Overwrite color for icons
"--paper-item-icon-color": pink
hey chaps - can lovelace directly point to a eg sensor attribute or do I still need a template for it?
I mean, it obviously depends on the element. I would say most pertain to the state, but there are custom ones for attributes. Would need more context on what you're trying to achieve
well, when I got a sate of a sensor, being able to put a state attribute onto a dashboard - only looking at the entity brings up the entity with the various attributes and their state but I only want to have lets say 2 out of the 14
use button-card, you can display pretty much anything using that
I have a look thanks
e.g.
type: custom:button-card
name: >
[[[
return states['sensor.my_sensor'].attributes.my_attribute;
]]]
this would be better though, so you're not refreshing that element all the time
type: custom:button-card
entity: sensor.my_sensor
name: >
[[[
return state.attributes.my_attribute;
]]]
I give that a go thanks - wish loading all the plugs etc would work without restart ...
you don't need to restart after adding a custom card
only integrations that don't use config flow or a backend configuration change require a restart
ha learned something new
a frontend change never requires a restart, unless it is the first time you created your www folder
if not using HACS, then you just need to be sure to clear your browser cache
so all plugins can be added at runtime?
yes
damn ...
cheers mate
was the only reason I was a bit reluctant to test more plugs out
coupled with HACS, it's pretty easy to add a new plugin
yh just updated HACS so that wanted a restart anyway so that worked just fine
anyone have a suggestion for an icon that could be used for the deck or outdoor space? Trying to find one to use for a switch to activate an outdoor scene
mdi:sun
mdi:table
π
haha
mdi:outdoor-lamp
that might work, thx
Does anyone know if there any way to add a sensor reading (outdoor temp) to the thermostat card that renders with a generic_thermostat component?
You mean put the sensor into a generic thermostat or render it next to a generic thermostat?
I want to render an additional sensor reading into the history graph that is integrated into the thermostat card
Out of the box it renders the target temperature and the current temperature
You can use the history graph card, but you cannot stick another entity into an entity's history graph
What if I developed a new custom component very similar to the generic thermostat?
Seems like a lot of effort for something that's already solvable with another card...
I already have a new component. I am developing a fan based A/C component. It works just like the generic_thermostat, except it requires the outdoor temperature to be less than the current indoor temp.
Functionally, it works great
I would just like to add the outdoor sensor reading I already have in the component to the graph that renders in the thermostat so I can see the correlation with the outdoor temp.
@thick ice you're talking about the graph in more-info, I assume? Just create your own more-info using the popup-card or browser_mod
Yes, that is what I was referring to
Can I activate an input boolean as a tap action on a picture glance card?
Why couldn't you?
i guess i can π
is it possible to replace an icon with text for example replace mdi:play with text that says "Play Now"
no, that is not an icon
ok ,i was thinking of the mini media player where you can have text buttons to start a playlist as an example
when you use custom, "all rules" are "thrown out the window"
ok, got it
yeah yeah yeah... mr. technical... π
it's actually Dr. Technical
renames @mild veldt
Similiar question, is it not possible to fire a script from the entity section of a picture glance card?
I have the tap action down, wanted to run a script from the entity bar at the bottom
Hey there, i am still new to homeasisstant and i try to show state based icon colors in a glance card. For that i customize in configuration.yaml:
@cedar kestrel posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/b7q37QNCft/
but the colors does not appear
@strong falcon ah yeah, not possible, I've argued for that before but was shot down by management π
@mild veldt could I work around it by turning on an input boolean which would activate an automation?
uhhhh, I guess. I don't like that solution, however
not do i
do you need the picture-glance?
what's in the picture?
like, could you just have the picture as a picture, and then put some buttons below it in a stack?
I am trying to create a card to activate a playlist in Sonos. The picture is album art
We pick an "album of the week" that the family listens to, i save it to a playlist, save the album art to www. Wanted to have a single click solution to play it
sweet, pretty much what i need. Pretty self-explanatory or some special coding?
Hi, im trying to get a vertical stack card with a sensor graph inside, but I get an error saying βSpecify an entity from within the sensor domain.β
- type: sensor
Entities:- sensor.ute
graph: line
- sensor.ute
Hello everyone,
iβm building a system tab with al the system values like ram, cpu temp etc. I addes a couple of sensors and it all worked then i added a couple of counters like the code down below. after i rebooted for the second time my cards never came back. I deleted them from my yaml file but the cards still wonβt show up. if i refresh the page they appear for less then a second and then they are gone.
@strong falcon mine is little more complex than what you'll need https://gist.github.com/iantrich/4c77663c5e51a2f5ff819e2691d6c16f
@potent compass posted a message that is too long, it is moved here --> https://paste.ubuntu.com/p/T5Khs45953/
@strong falcon here's all you would need and you can look at the other gist if you want to add more albums I guess https://gist.github.com/iantrich/b3164a5790be795f8a1a391b39d7b8fd
@brave dove wrap your config in back ticks so that it is properly formatted
thanks
How do u mean?
Iβm new to home assistant
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
It's a discord thing, not a home assistant thing
when did the commands switch to .? I missed that
You can do either
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
oh yeah...you can't have text in front of it
If you want to tag someone it goes after the command
i am a failure...
But we keep you around anyway π
too kind π
@mild veldt my play and shuffle icons are black, how can i make them white?
I think that's my theme
in the style section you can set the color
"--paper-item-icon-color": white
ok, can i make the "play" call a script as the service?
yes
I ma not sure how to implement that code for the icon color
It goes in your theme
or in style of the element
e.g.
style:
left: 10%
top: 90%
"--paper-item-icon-color": white
Oh yeah, forgot we were talking about picture elements
Why do I need to format it?
because I don't know if your problem is your formatting or you configuration itself without that
indentation is very important in yaml
yaml is format dependent. A single space could be the difference between a working config and a broken mess
Unfortunately Iβm on mobile so I canβt copy the exact text
I know that the spaces and everything is right
Thatβs not the problem
- type: sensor
Entities:
- sensor.ute
graph: line
well this is not correct
But when I have - type: entities instead of - type: sensor it works
yea...those are different cards
Yeah, so their configurations are different
type: sensor
entity: sensor.ute
graph: line