Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.
Command '~hacs' was invoked by: Tinkerer
1 messages Β· Page 149 of 1
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.
what is HACS?
oh
sorry didnt see that
Is there any way to inport a folder into hass?
I only see ways to import a file'
What do you mean, it's just a file system π€·
this install instructions says put this folder full of stuff in custom_components
But I dont want to transfer the files over 1 by 1
How are you copying the files over currently?
the file editor add on
I'd suggest the Samba add-on then
Yup
So what does that do?
Then you can just connect to the share and copy the files as you need
#add-ons-archived can help you with that, after installing the add-on
Ok
If i get this error what can i do ??
Custom element doesn't exist: hui-picture-elements-card
@split granite I added samba and got the files in. When I try to add the integration HACS it just sits in a loading loop
Probably you didn't copy over the .translations folder
@steady sluice the easier way is to add the repository of the component from Hacs Settings
Hi guys, how can I change the language in which HomeAssistant Cast is displayed?
@fossil kindle would need to see more of your config
Are you wrapping the card in another card by chance?
This is likely a dumb question, but is there any way to get the logbook/history/graphs to not display in UTC? I have my local timezone set correctly in the config file.
card-modder is no longer maintained, I believe, and therefore has breaking changes. Should move to card-mod
@mild veldt i tried to move over but didnt work
Well you can prove my assumption by removing card-modder and it will likely work then
@mild veldt If you look at my config how do i remove it the easy way ?? and still get it to work ??
can you please show me ??
@runic minnow my lamp icon state was down to the theme I was using, thanks for the help the other day π
@mild veldt unindent 1-24 lines ??
Yes?
Take the spaces out I think that means
Ok no border anymore..
@mild veldt is where another way to get borders and rounded edges
like I said, move to card-mod
@mild veldt Sorry for a stupid question. How ??
go to the repo and read up on how to use it
Why can't I access my HA with https? There are literally zero errors in my logs, but if I go to https://myhass.local:8123 an aiohttp.http_exceptions.BadStatusLine: invalid HTTP method error pops up in my logs
It said earlier that the component http had been loaded properly, but is there a way the problem is with my certificate? I've just generated them with the letsencrypt addon
Yep
Then you haven't yet set up SSL π
Uh
HA is either/or - it's either http or https - not both
Yep, that seemed odd to me as well...
Well, generating the certificate doesn't add them to HA
base_url: my.url
server_port: 8123
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key```
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
Is there anything else I should set up?
Run the config check
Gives no errors
does anyone know how i could do a template for listing the days until a date?
I.E '5 months, 2 days, 5 hours, 3 minutes, 33 seconds until x happens"
Yep, just checked everything @split granite
I'm editing the right configuration.yaml π
π
And my logs are showing zero warnings or errors
If it's answering on http then it's not loading the SSL config π€·
but why
I'd ask in #330944238910963714 for further help, since you're using the add-on
Maybe somebody there will have an idea
Anyone know how to find a URL of a castable steam off a webpage? I would like to know if it's possible to show this stream directly on the homepage/frontend of HA.
I tired finding the url through my router once it's visible on my chrome cast but not sure if that's the right. Also found a app that should display the url from what I found online but can't seem to wrap my head around it.
-_- hi ... anyone else facing issues with lovelace not displaying entities correctly since the las tupdate ? especially thermostat
App is called Web Video Cast on Android
@silk pulsar Are you using any custom cards?
nope regular thermostat
at least these are giving me problems, my custom cards still work
Are you getting a yellow box, or what?
Have you tried in Incognito mode?
mom
no change
but what is strange if I hit the tab it is empty when I now hit f5 couple of times it displays the elemnts
same on iphone safari and chrome windows
I've not seen anybody report that π€·
fuck π¦
sry
if i create a new tab and insert non displayed elemtns in there it shows as intended
narf
I think it may has to do with custom group card
also entity in the same area seem to be affected
Not all custom cards work with 0.107
@mild veldt Thx for your help its working now...
@turbid sundial posted a code wall, it is moved here --> https://paste.ubuntu.com/p/8wzQxkgJyX/
@turbid sundial Make sure you update to the latest version. You also may want to look at https://community.home-assistant.io/t/lovelace-card-preloader/176655
@raven nacelle hello, which one is the custom card you showed in the dev channel.
@cinder rapids https://github.com/benct/lovelace-multiple-entity-row
Thanks, looks really nice.
yeah, I love that card. Great way to simplify the UI
Hello, I just updated hass and now I get some weird JS error: Logger: frontend.js.latest.201910022 Source: components/system_log/__init__.py:209 First occurred: 20:05:18 (1 occurrences) Last logged: 20:05:18 https://mydomain.com/frontend_latest/chunk.c438e6d2aec60a4f9acf.js:2169:3945 TypeError: e is undefinedAnyone know what this might be about?
hey guys need some help. I have been successful at creating a few persons picture-elements card using device state, but I am trying to get one last final piece to this puzzle added an I am a bit lost . From what can read Device tracker supports battery status under services per the instruction guide. I have tried this ``` type: state-label
I am pretty sure it's device _tracker.see that is incorrectly placed , but I do not know how to properly set it up?
Is there any way to group things tyogether as one switch in the frontend?
Groups allow the user to combine multiple entities into one.
will take whatever help is available.
device_tracker.see is a service call @feral rivet
ok so how do I set it up so that I can ask it to call the battery status or levels?
Let's start with - what card?
picture-elements
thanks
ok so I need to change this from what I have above to this ``` type: state-label
or is this the correct way type: state-labelThe first looks more likely to work - if you can fix the indenting
That second looks like you mashed together a bunch of random things
so the first one I am trying based on the link you shared. the second one is based on this linkhttps://www.home-assistant.io/lovelace/picture-elements/#service-call-button
my lovelace configure screen is not showing anything, when i switch to that mode, does anyone know how i can edit the code directly to hopefully find the error? cards show up when i am not in edit
@feral rivet The link you shared is for making service calls, as it says. You're not wanting to cause something to happen when you tap, are you?
no I just want to get the battery information
Then... that link isn't going to help you π
ok no service call . Back to attribute ``` type: state-label
or me π€
Anyone know how I could make a dropdown on my frontend that has like 5 different scenes, and when I choose a scene from the dropdown, it loads that scene?
take a look at Dinotech's stuff
@steady sluice input_select with an automation that activates a scene based on the input_select changing state
So if attributes is not providing me the information that I am looking for , but device tracker is showing that the information that I am seeking should be available, what should I do now?
Check your indenting/formatting
Tinkerer, when I pull it in , my image is grayed out and no data is provided, when I push it out two spaces my image is restored , but still data. question: if the attribute is not displayed in the developer >state tab can it be used? If the answer is no Can I create a sensor to give me the battery status for said device?
@radiant bear check the log. If you see "database disk image is malformed" delete home-assistant_v2.db in your config directory and restart home assistant
Thanks. I'll try that
@muted inlet when I add an input select it puts a "false" option in there when I didnt program that. Any idea why?
Another question: I'm converting some numbers inside my configuration file (download and upload speed from bytes/s to MB/s to be exact) but it gives me like 8 decimal places. Is there a way to limit this?
guys playing an mp4 recorded on an rtsp stream... Is giving errors. This seems a pretty normal thing?
@radiant bear You could use a template sensor to handle that
@onyx plover giving errors π€·
@feral rivet Template sensor
@radiant bear You could use a template sensor to handle that
@split granite Ok. I'll try that out. Thank you
there is a workaround but it is really stupid... Damn Tinkerer π You are being paid to help people out here? π
Btw I already ordered the google coral in the meantime π
the error : βError demuxing stream: No dts in packetβ
90%+ of the answers to people's problems involve pointing people at the docs π
is it possible to import/reuse YAML when using the Configure UI? in one view I have to write the same code many times and I was able to use !include in the YAML version
Not without copy and paste
But not this time tinkerer? π
how do I make an automation that activates a scene based on the input_select changing state
what "states" would the input select have? @muted inlet
If I put the names of it as "Movie", and "Normal", then would I just type in Movie as the state?
Yup
Let me grab one of mine
https://github.com/DubhAd/Home-AssistantConfig/blob/master/automation/living_room/lights/living_room_lights_night_on.yaml @steady sluice
trigger:
- platform: state
entity_id: input_select.living_room
to: 'Night on'
Anyone willing to helpe setup my home assistant? If you have time we can do remote desktop over chrome?
Need help with ssh and setting up SmartThings
You could try asking on the forum, but ... I'd be careful of giving random folks on the Internet remote access π
ProTip, don't invite strangers onto your network
It's not like they could set up an account for remote access... oh, hang on π€
I'm migrating to lovelace and looking for a way to have a card expand entities inside a group, similar to behavior pre-lovelace. It appears it may no longer be a feature without custom plugins; is that correct? I'd like to avoid managing separate lists for groups and now UI as well as a third party plugin if I can. If that isn't possible with lovelace anymore is there another approach to this problem I'm overlooking?
There's probably some custom cards, but ... otherwise no
Lol who knows, hopefully someone would be willing without any ill intentions
@split granite weird, just for my education is there a reason that was pulled? Does that maybe have more to do with the UI and state machine separation? Just seems like an odd thing to remove but I could see how that could remove that functionality.
Exactly that
Before the UI and the core were tightly linked, and little of that made sense
What's a better way of setting up ssh without using duckdns
Local SSH doesn't require that
But that has nothing to do with the Frontend
I'd guess you should move to #330944238910963714 and ask for help there first
Lol they sent me here, but I will move there
@twin lintel okay well thanks at least I'm not overlooking something I appreciate your help
Im hsving trouble configuring a lovelace card
This is my config for it
This is the repository for the card
@split granite sorry again I have failed lol
anyone able to assist with a basic query on the built in graph entity?
is margin-bottom: 10px ; for example not supported by card-mod, if i want to use it in a picture entity card?
and where can i find out what css style is supported by which card? iam trial and erroring all the time...
can someone help?
I was wondering if there is an easy way to clone a scene? For example, turn all kitchen lights on. I want another scene to turn them all off again. Can create this manually, but it would be nice to clone it and make the edits I want.
copy the scene in the YAML file and make your edits
Ok. This is getting worse... I want to make a double tap on the main kitchen lights turn on all the accent lighting. So I set it up to activate a scene when the lights are on and it gets a turn on event. The trouble is, the scene also fires the event.
Any thoughts on how to not self-trigger? Just doable with minimum durations?
Has anyone successfully put a divider into a glance card? I found this thread, it mentions using a "custom:hui-glance-card" but I have no idea what that is and am hesitant to use it.
I want to have divider headings that split up a glance card into multiple sections.
Just like the screenshot in OP's post above.
newb question: How do I increase the sensor data font size in a sensor card?
π
Hi guys, I found setting theme for user does not apply to specific user in all sessions. Just it sets to current session.
Anyone can reproduce this problem?
AFAIK that's expected
Hey guys, sorry if this is a newbie question but how do I get rid of all the small sensors on the main overview page?
I disabled the entities but they still show
thanks, I already did that but I dont see anyway to remove, unless I use Raw edit. I am talking about Badges and not Sensors.
actually just tried raw edit and removed them and it worked!
thanks
You can do it by editing the view via the UI without raw edit
AFAIK that's expected
@split granite You mean its okay?
Well, "okay" depends on your expectations, but it's not a bug...
Well, "okay" depends on your expectations, but it's not a bug...
@split granite Right, can you help me to understand why this happen? And where can set theme for whole HA and or set it for specific user for all sessions?
~irc @devout kraken
@devout kraken Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
You can also just type responses out without quoting you know π
In theory if you set the system default that's it for everybody
Sorry, I forgot about it. π
Where to set it, just in YAML file? Can not set it from UI?
Does anyone of you have webostv integration in frontend? Currently i have made a custom card with my remote and made buttons on each place of the remote, but i cant figure out how to make integration with the βselect inputβ button on the remote. Does someone have a solution on that button?
- service: media_player.select_source
service_data:
entity_id: media_player.living_room_tv
source: Netflix
style:
left: 29%
top: 51.5%
type: service-button
image: /local/tvremote.png
type: picture-elements
i've done it like this.
anybody know how to bring back the header when disabled using custom_header?
@runic storm If you need to restore the default header add ?disable_ch to the end of your URL
I actually bookmark it in my toolbar so if I jack something up I can just click the bookmark and get back to it
Thanks! worked a treat!
What are the recommended options for creating a View that is readable from a distance?
would #frontend-archived be a good place to ask why nginx does play ball ?
pokes @split granite with a long (covid-free) stick
You staying healthy times like these ?
I am
π€£
seen swedens 3d-printer-communties making faceshields ? π
I'm a faceshield
everyone caughs at me :/
I was tricked into running hassio, which was just disaster; so last nite I installed a deb host via esxi, having some issues with getting ssl to play with nginx
Main issue was that hassio could not use nfs or mount anything; cause I got wildcert at another box
Hello, I hope anyone can help me here... π I need to create a card where I can select with an image the rooms of my houses (on and off) and then click a button to send the vacuum to clean only the selected rooms... How can I approach the UI cards interface?
Think dictionary is broken
I could use input_boolean and custom:button-card... but then? How?
@fickle saffron See https://www.home-assistant.io/integrations/http#hosting-files
I have a few cards using custom:hui-xxxx as the type. I am trying to remember what these "hui" cards are. Can someone refresh my memory? Are they just standard cards that were edited using the UI editor?
Hello, the weblink integration does not work. Is there an alternative to weblink integration?
Wrong channel, but I don't see weblink in the #integrations-archived list
Sry
Shall I copy to integration's
I am searching for an alternative to the deprecated weblink integration but can't find a solution
Does the facebook portal work with HA?
Like is there an app you can put on it? I know theres a browser
Ah @digital cape - you want to add a clickable link to the HA frontend?
@steady sluice If there's a browser, can you enter the URL for HA?
Thank you. I will try tomorrow.
is there a way to order the dashboards in the list on the left?
hey guys can use this battery sensor template to template to get battery information even though it not part of the states attribute list? platform: template sensors: bat_livingroom: value_template: '{% if states.zwave.danfoss_z_thermostat_014g0013_heating_1_4 %} {{ states.zwave.danfoss_z_thermostat_014g0013_heating_1_4.attributes.battery_level }} {% else %} n/a {% endif %}' friendly_name: 'Thermostat Living Room' unit_of_measurement: '%' entity_id: zwave.danfoss_z_thermostat_014g0013_heating_1_4
If it's not an attribute, there's no magic to extract it
also
{{ states_attr('zwave.danfoss_z_thermostat_014g0013_heating_1_4','battery_level') }}
well that is not good news at all. My wife and I both have android phone and I am able to get battery ,speed course lat and long from it an the source is GPS , my daughters phone which is on the same house network is only able to do lat and long and the source is Router. I am a bit confused to say the least.
Did you install any software on that phone to report things like the battery?
does she have the/an app installed and is there an entity for it?
any app really - there's a stack of integrations that handle it
no app installed
so from what is being said the only reason I and my wife have all this information being provided is because of the app.
There's your problem
Yes. As yet Home Assistant isn't capable of hacking all your devices...
lol it's not a problem, just did not undrstand that was part of the criteria for getting that information. thanks guys
insert Shia LaBeouf magic gif here
Hi all... anyone knows in floorplan with tap_action how to open a card as popup? Is this possible? I want at tap the card of a thermostat be opened as popup to easily adjust the temperature. This is not that nice as opening the default view of the entity as there I only have dump arrow-up/arrow-down
ningx is amazing, whatever I do it gets worse
new question can I get 4 picture-elements cards for 4 person into a horizontal stack card ? Can anyone share an example?
I'm trying to configure my main entity in a fold-entity-row to toggle on tap and show more info on hold action. But I can't get it to work.
I've gotten this far so far: https://hastebin.com/acatixihal.bash
Does anyone know why my hold_action and tap_action works in the group_config for all entities in the fold, but it doesn't work for the entity I attach the fold to, it only has more-info as a tap action anyway.
does letsencrypt always say that cert is untrusted or did I do something wrong? π
It should only do that if you're using the staging API
Or the time/date on your system is very wrong
Is there a mechanism to get the frontend to reload the JSON lovelace configuration rather than the YAML?
I only have the saved JSON for the front-end for lovelace; is there a process to convert to YAML?
You should only be editing the JSON through the UI
Indeed, you shouldn't be editing anything in .storage/
Odd question... can you create blank cards in lovelace?
@split granite Yes, well, if the "upgrade" to 0.107 didn't kill my UX generated from my group definitions then I might have something else to work with; however, I only have the JSON from a couple devices; do I convert to YAML? json2yaml via npm is what I tried
@split granite OFC! I had other things to do! Do I need the .data.config subset of the lovelace JSON?
Tinkerer is away for 11m 49s with a message :point_right: It is sometimes an appropriate response to reality to go insane
anyone using browser mod and what are you doing with it?
is there a quick and easy way to identify which lovelace module/components thingies I have installed are actually in use?
yeah, I think common sense is enough, cut heaps
Hi guys, question here (no background in frontend), I would like to use Material Web Components for developing my custom cards. I see that they are used and recommended in the HA frontend github repo. Actually I can see how some mwc components are used multiple times, such as @material/mwc-ripple and @material/mwc-button. In particular, I would like to import @material/mwc-select in my custom card, but when I try to import it with @material/mwc-select. It just not work. Could you help me with this? Thanks!
I also would like to know if I can re-use existing web components created in the HA frontend project, such as ha-entity-picker . There are some threads open asking for the same issue, but no useful answer: https://community.home-assistant.io/t/re-using-existing-frontend-components-in-lovelace-card-editor/103415
hi guys, what sorts of things are you doing at the frontend with your Z Wave and Multisensor?
nothing, I just use their states in automation.
actually, I do have some things display when they are open
like motion sensors, doors and windows.
Where exactly do the resources get automatically migrated to if we have been using the raw config editor in browser?
Hi all i am not sure if someone can help me i am still new at building with lovelace i would like to know what is been used here https://ibb.co/tLfrHfx
@odd gate that looks like the glance card config
@odd gate that looks like the glance card config
@muted inlet i know i sounds dumb but whats that π
One of the cards you're able to add to your overview if you take control of the interface (three dots in the upper right of the frontend)
cool thanks ill take a look
hey guys is there such a thing as a popup card ? I am working on my mobile setup and want to be able to tap a button like alarm and have the key pad or other security items show up .
One of the cards you're able to add to your overview if you take control of the interface (three dots in the upper right of the frontend)
@muted inlet i got it mate but how do i get the little imahe like it is on there
What do you mean? The icon like under "outdoor lights"?
yea he has some nice littles images
It'll use the default icon for each entity but you can change it by clicking "toggle editor" and setting a new icon for each entity
thanks for that
You can specify icons from this list: https://cdn.materialdesignicons.com/4.7.95/. Just need to do mdi:icon-name in the card config
You can specify icons from this list: https://cdn.materialdesignicons.com/4.7.95/. Just need to do
mdi:icon-namein the card config
@muted inlet thanks amte i got it mostly happy with it , i want to build a basic remote for my tv, i can tuen it on and off ect but i would like to have the volume slider and input like on that image where would i starty
nothing, I just use their states in automation.
@odd light any examples you can share?
Like I've got a motion sensor in my bathroom and a node MCU with a temp/humidity sensor, I don't look at them in the front end, but the motion turns the light on and if I'm in the shower the humidity sensor keeps the light from turning off if humidity is over 90%
I used node red
@gaunt lake search for gap-card
Like I've got a motion sensor in my bathroom and a node MCU with a temp/humidity sensor, I don't look at them in the front end, but the motion turns the light on and if I'm in the shower the humidity sensor keeps the light from turning off if humidity is over 90%
@odd light done anything at ll on the frontend?
just a hint where to start will be great i hacve looked at a lot of examples but they are massive and i get lost
@odd gate what kind of TV?
@odd gate what kind of TV?
@mild veldt LHsmart tv
wow lots of stuff there
Dunno what you're looking for
@umbral wing recommend you checkout HACS as well. Lot of custom cards to check you. You could also just throw them in an entities card
ool thanks
I have created a graph for the temp, but keen to see what others are doing and showing for these devices
hey guys is there such a thing as a popup card ? I am working on my mobile setup and want to be able to tap a button like alarm and have the key pad or other security items show up.
@feral rivet yes. There's the older version which is literally popup-card, or the updated version inside browser_mod
So i can used the older version?
Depends, 0.107 introduced lazy loading for lots of core elements, so you could potentially run into issues
I don't think I understand how browser_mod works. Danm
alarm-panel happens to be an element that is only loaded on demand, and as popup-card has likely not been updated, it would not work with it
then I need to figure out browser-mod. It does not seem a clear cut to what I want to do
it is fairly straight forward
use HACS, and install the integration, add to config, then restart
I have HACS
then you can use it as a tap_action in LL
I guess the part that I am struggling with is the turn any device into a browser.
have you used this in the same way as a popup card. would you care to share if you have ?
@feral rivet posted a code wall, it is moved here --> https://paste.ubuntu.com/p/XxNKcWP7Z4/
while the button card works I do not know how I get it to call the popup card.
@feral rivet this should be close https://pastebin.com/1kSsfcku
Where can I set the number of digits displayed for a sensor?
I have a list of effects that I can set my iot lightbulb to use in a drop-down list in the UI. How do I de-select something from that list? Usually there's a button to do so in this control
oh, I think I figured out what the issue is. it seems that the control used by this dialog doesn't support a clear button https://github.com/home-assistant/frontend/blob/eed3263c70876f35f3d734a5745f467d9a25bb79/src/dialogs/more-info/controls/more-info-light.js#L180
@plucky ember For Lovelace, you need .storage/lovelace - I don't think anything else in there is for Lovelace, but ... π€·
Hi guys, question here, I would like to use Material Web Components for developing my custom cards. I see that they are used and recommended in the HA frontend github repo. Actually I can see how some mwc components are used multiple times, such as @material/mwc-ripple and @material/mwc-button. In particular, I would like to import @material/mwc-select in my custom card, but when I try to import it with @material/mwc-select. It just not work. Could you help me with this? Thanks!
@mossy timber What's the actual question?
If I use packages, can I split out the scripts and automations in a subdir?
Will this work?
Nothing to do with the #frontend-archived π
But yes - #automations-archived would be able to help more
For the packages?
For the question you're asking
@split granite I receive the timestamp of a boot time over json as an epoch (todays boot was 1585625355) and I am trying to present this on screen as a relative time.
That's probably do-able as a Markdown card with a template
The message comes in over mqtt, and sensor is defined as follows : value_template: >- {{ value_json.lastboot | timestamp_custom('%Y-%m-%dT%H:%M:%S') }}
Which displays the time in UTC
There's a relative_time filter, but you'd want to handle that in the display, rather than a sensor
I set device_class: timestamp in the sensor definition
i can add %z which adds +0700 to the timestamp, but device_class doesnt know what to do with it
I've tried adding , local_time=True as per documentation, but that results in an "Unknown" shown in the frontend.
Where do I use the relative_time?
template sensor
Or a markdown card
Yeah that feels a bit silly and over the top. Must be a better way.
With the badges, can we have an icon template?
For example:
icon_template: >-
{% if is_state('binary_sensor.gate', 'on') %}
mdi:gate-open
{% else %}
mdi:gate
{% endif %}
how do I get the Dark Sky badge to show the temperature instead of the condition?
Template sensor I suspect
How do I import mwc in my cutom cards?
Created a couple of input_booleans using the helpers ui how do I change the icon when it is on? Tried icon_template in customise.yaml but cant get it working also one that used to work no longer does. any help appreciated though being able to do this in the ui would be helpful
Hello, I'm not able to transform scripts into values inside the lovelace.yaml
e.g. opacity: "${states['light.giovanni'].state === 'on' ? (states['light.giovanni'].attributes.brightness / 255) : '0'}"
opacity parameter is not working, even if the code seems to be correct
am I missing something obvious?
trying to use the state-color property of the standard Button Card to change the color of a light bulb icon when toggled. Doesn't work. Do i have to use the custom button card to do this?
Anyone can help me? I'm struggling with this since days...
@dapper grotto Have you tried? https://github.com/thomasloven/lovelace-card-mod
Do I need it? π
Pretty much can do any styling needed. Also has support for templating...have a look at the docs. May be what you are needing
I just installed it...
but issue seems to be the same
Even a simple template
Like this one
doesn't seem to work
if I write filter: hue.rotate(100deg)... it works
but not with a template
Okay, you only mentioned "values inside the lovelace.yaml" not in a specific card, which makes a big difference. I don't use picture-entity cards, so not proficient in the stying there...
Is there a difference? I'm a newby π
Yes. Some cards have certain allowable style types/rules, etc...
Hey, thinking of nuking my setup and starting from scratch as Im having way too many issues. I dont want to lose my front end set up though. What files should I backup so I can restore my lovelace configuration?
If you're on 0.107 set up a second dashboard
im having issues with 107 specifically so going to start fresh at 106.5. so thats not an option
Well, hopefully you're taking full backups anyway, but .storage/lovelace if you're using UI mode
thanks
I remain confused about the reference to a lovelace configuration panel in 0.107 release ("Please note that resources are not in the raw Lovelace configuration editor anymore, but in the Lovelace configuration panel"). What is the Lovelace configuration panel?
-> Lovelace
looking
I see Lovelace Dashboards, but not Lovelace. Is it Lovelace Dashboards that this is referring to?
Yup
ok. not clear from release notes. thanks.
@split granite so, I'm trying to move my custom card resources (from HACS) to this new Lovelace Dashboards thing, but I'm not sure where to put the yaml.
Are you using the UI editor, or YAML mode?
UI editor
Then ensure that you've enabled Advanced mode in your user profile, since what you need is hidden until you do
Yeah, I don't know why the Resources tab is hidden by default...
At this point it's easier to simply tell everybody to enable Advanced Mode π€·
its on in my normal user profile, but I was working in a Kiosk profile that i created and forgot to turn it on there
thx
@split granite hope you don't mind another question....I'm trying to create a button card that toggles a group on and off and I want the icon to change color (like a light card icon would). I realize this is not standard behavior now, and was about to dive into using the custom button-card from RomRider to try to make this work. Is that the approach you would take too? Or should I template this thing.
Just ask, don't tag π
k, will do
I don't really use the UI like that, I view it that if I have to use the UI I failed... sorry
My UI is primarily to give me a status screen and admin data π
yeah, i don't normally use the UI for actions either, but I'm building a wall mounted kiosk type control and that's where I want to use this behavior. Respect your point though. thanks.
If those are lights in a group, use a light group
ah, good idea. I've used these before just to group a couple of LIFX bulbs in a lamp into one controllable entity. That is a good approach for this too, hadn't thought of it.
@dapper grotto templates are not natively supported in Lovelace, at all. Your configuration is also incomplete; what are are you using?
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
May sound like an obvious question bus is the default lovelace "button" card different to the custom button card?
Yes
Thought so π
What's the best way to debug the custom button card beyond dev tools? - It's not loading any values apart from the name, even after copying the example so don't think it's sensors faulting.
Hi! How do I import material-web-components (mwc) in my custom cards (the ones not used in frontend HA, such as mwc-select)?
@void marten start simple and work your way up. For starters just define the entity
Hey Ian, I did do that earlier - worked my way up. The entity itself works (tap), if I tap I can see the info about the sensor etc
so I know that much works at least
Finally figured it out, on the example...the second "custom_fields" section actually indents -1 back, even though it comes straight after the other custom_fields entry
i cant believe this is possible https://i.imgur.com/ZanTkjf.png
looks unclickable but it is
Are there any themes someone can recommend that provide the best visibility at a distance? (large fonts, good color contrast, large tiles, etc...)
Hi all - Does anyone know of an integration / automation that would let a non-admin user create a basic light timer?
e.g. Using an Android tablet, a visitor could set the Kitchen Light to turn off after an hour?
If there's a card in the UI any user can use it
Sorry, I haven't done any Lovelace tinkering myself, is there an existing card that does that kind of thing?
Not as a clock, that I know of
Ok, thank you.
Hi, can i change the size of the buttons for light in lovelace ??
if i have 5 in a row its one size and if i have 4 thats one size ??
Anyone got any Lovelace-screenshots or galleries to share? Looking for some inspiration π
The forum has a stack of them
I'm trying to do some custom css styling, but what is the best way to find the correct css tag ? using trial and error but i've tried dozens of options and they all don't work. tried right click copy selector but that wont work
@stoic rain https://www.awesome-ha.com/
@stoic rain https://www.awesome-ha.com/
@errant birch Thank you!
#presence_detection
i had my presence detection working with ping but has been broken since the last update. i am not able to find the way around it. any ideas to get it working again?
In the midst of a brain fade it seems - I thought I've seen something about this, but... my home's Window entities report Normal or Violated when closed or open. The Group collection of them reports an 'unknown' State. Presumably this is because the entities are not On or Off. Is there a way to group them without creating binary_sensors for them all? I'd like to just map Violated to off, for example, in a customization. v0.106
How do they communicate? Zwave, zigbee, 433. Alarm system, other hub?
They're sensor entities from an ElkM1 platform
Maybe change the device class for the entity?
That's what I'm thinking, but to which class?
Sure would be nice to customize a state to anther state without creating a whole new entity (binary_sensor). Hoping I'm missing something
Surprised they don't come over as binary sensors. If it's just motion detection
And this is the state in devtools>states?
Yea, sensor.garage_window <state> Normal
May be the Elk Integration
Its reporting Alarm system-type states that don't play with groups well, it appears.
Checked, Elk Zones (windows, etc.) are reported as sensors.
Do they not group at all or does the group not behave like you want
Individual entities report as Violated or Normal. A Group of them shows a state of 'unknown". Unless there are other issues, I presume 'unknown' comes from failing to evaluate Violated/Normal and Group is looking only for 'on'/'off'
No log messages
Maybe use the group and create a new template binary for the group that iterates through the entities
So just one new sensor for the group instead of one per actual sensor
Just brainstorming
π I think that will be the workaround.
There are lots of windows/doors. I've got too many entities already
Can pick it back up in another channel too
The motion sensor history graph says "closed" instead of "clear" like it does for other places where it shows motion sensor status.
This seems like maybe just a bug in the lovelace component that interprets the historical binary sensor state. Would this be an easy first-contribution?F
THANKS paperclip !!!
Good luck!
What sets the card size? I was hoping it would dynamically adjust when I set the font size but no such luck. Coming from Actiontiles I'm finding this a bit challenging. I'd like to create a 3 digit sensor output that I can read from 10 feet on a 12" tablet. Is this possible?
It looks like there might be a way to set the card height as a % with card-mod. Anyone know the format of this?
Hello. I'm in a quest to build a mobile interface based on the plugin swipe-card. I created a huge card that works sometimes. Most of the time i get this error t.setConfig is not a function and sometimes it just works. Does anyone know could be causing this?
Hey guys (been a while since I've been here) but just wondering if anyone knows why the "Automation" section doesn't show up anymore on the default Overview Lovelace Dashbaord (not customised) -- All the Automation9s) are there and still work but you can't view them on the Dashbaord anymore
I'm on the latest Hass Vm appliance
@limber ibex it was a design choice in a recent update. You can make a dedicated Lovelace view for automations if you want though.
Oh I see
Damn that's a shame
My wife was so use to being able to trigger one of the automations that would "turn all lights off"
Is there a way to write/define custom "switches" that do artbitrary things?
Well again, you can make a dedicated view for automations, or add an entity button that controls that
That automatically appear on the lovelave ui?
an entity button okay
point me to the docs on how to do this π
Or can/should I create a Scene fo rthis?
I notice that's kind of newish since some time ago
hi friends. looks like there's a big difference with how panel_iframe additions to the sidebar appear vs panel mode tabs. how can I get a panel tab to behave more like the other (specifically with respect to filling the screen vertically)?
title:
views:
- panel: true
cards:
- type: iframe
style: |
#root {
height: calc(100vh - 48.5px);
padding-top: 0 !important;
}
url: >-
https://app.rach.io/etcetcetc```
I don't think I understand, how can I manually change the webui account passwords so the accounts retain privileges to configure no matter how I url or fqdn or dns name on a lan? And the backup legacy password?
Hi, I upgraded to .107.7, having lots of issues with some cards not loading right away then I get the red error box, then it goes away..... any reason?
As Iβm the only admin in the house, how do I (or how do they) set the default dashboard for a user on say their mobile? (As a user they donβt have the config menu)?
Am I missing something obvious?
Weather
Custom element doesn't exist: hui-iframe-card.
I don't get why these errors are here now and were fine before
there were no breaking changes for this
Hello Everyone, I am newbie to Home-Assistant and enjoying it a lot π
I used for for few weeks and it works pretty neat. Now I would like to customize the UI
Tried googling around forums and learned about lovelace. Problem is that its quite confusing to implement the information around net as its stale because of new Lovelace Dashboard options on latest HA Versions.
so here is my doubt.
I am trying to use the custom lovelace card to graph the ping availablity of my sensors. Trying to use https://github.com/kalkih/mini-graph-card
I am on HA version HassOS 3.12
Tried updating my UI on dashboard with below resource configs
- url: /local/mini-graph-card-bundle.js?v=0.9.3
type: module```
But getting the following error
I am not able to find any options on Lovelace config panel
Looks like I am cannot upload a screen-shot on this discord chat.
Enable Advanced mode in your user profile
For some reason the Resources tab is hidden until you do that π€¦
Interesting, thanks @split granite I'll try that now
Cool, I got the resources page now. That made the trick.
Thanks @split granite !! Now I am going to play-around and get my graph cards working π€
No worries
ok, so I got the resource tab and added the resource successfully now. How does the resource gets mapped to a lovelace dashboard.
I am adding a manual card like this
entities:
- binary_sensor.2nd_head_room```
- type: 'custom:mini-graph-card'
entities:
- binary_sensor.2nd_head_room```
never-mind, I think I got it
its just parsing issue, I guess
name: Latency Figures
entities:
- binary_sensor.2nd_head_room
@split granite the docs say you still have to create the ui-Lovelace.yaml file
Iβm just starting so which do you suggest?
UI mode π
It's easier to work with, and you can switch later if you really need to
The only reasons for using YAML mode are really to embed secrets, or to use includes
Both of those are relatively non-standard
So I need yaml if I want to use custom cards?
Ok so I just write everything in my config yaml like it was before in ui-Lovelace before?
Nope
You add resources in the Lovelace Dashboard
You customise your UI directly in the UI itself
Zero editing of files involved
Oookkkk I will have try that out
I havenβt used HA in a while and it seems things have changed
Thanks
With a new release every 3 weeks, it doesn't take long for things to change significantly π
Yea I can tell
So to add custom cards now I still have to include them in config and then they appear as an option in UI?
Yup, add the definition to the Resources section, then configure in the UI - see https://discordapp.com/channels/330944238910963714/460846676358332417/566693294495760394
found an issue with html5 notification and a firefox plugin and i don't know if it's by design or not π if you install "facebook container" in firefox it seems to disable html5 push notifications.
could anyone with a deeper understanding see if i should bug reported or if it's working like intended? π
@split granite Looking for your help to extract attributes of my binary sensor and plot it on a graph.
Here are the same code
binary_sensor.2nd_head_room and below are its attributes.
round_trip_time_max: '3.138'
round_trip_time_mdev: ''
round_trip_time_min: '2.429'
friendly_name: 2nd_Head_Room
device_class: connectivity```
I referred this link https://community.home-assistant.io/t/using-attributes-in-lovelace/72672/5 and tried it, but could not make it working
Invalid config for [binary_sensor.template]: invalid template (TemplateSyntaxError: expected token 'end of print statement', got 'nd_head_room') for dictionary value @ data['sensors']['2nd_floor_avg_rtt']['value_template']. Got '{{ states.sensor.2nd_head_room.attributes.round_trip_time_avg | float }}'. (See ?, line ?).```
Please, don't tag folks just to demand ask them to help you
Looks though like your template sensor definition is wrong
oh sorry for that π¦
It seems harmless, but when you get them a lot, it's annoying π
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Ah!
binary_sensor is on/off
sensor can be anything
You've put all those under binary_sensor
sensor:
- platform: template
sensors:
2nd_floor_avg_rtt:
entity_id: binary_sensor.2nd_head_room
value_template: '{{ states.sensor.2nd_head_room.attributes.round_trip_time_avg | float }}'
friendly_name: 'Floor_RTT'
oops, I got this from online and just used. Let me change them to sensor and see if thats working.
Looks like ping module is only available inside binary_sensor
After changing my configs, here is the error
Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Platform error sensor.ping - No module named 'homeassistant.components.ping.sensor' Invalid config for [sensor.template]: invalid template (TemplateSyntaxError: expected token 'end of print statement', got 'nd_head_room') for dictionary value @ data['sensors']['2nd_floor_avg_rtt']['value_template']. Got '{{ states.sensor.2nd_head_room.attributes.round_trip_time_avg | float }}'. (See ?, line ?).
The only thing you need to change is the one I posted above
And probably systemmonitor - check the docs for that too
hmm, I tried moving it under sensor definition as well.
It throw's this error π
Likely because you're using 2 as the first character after the .
That'll always cause issues
ok fine, Let me rename that entity and see if thats going to help.
sensor:
- platform: template
sensors:
second_floor_avg_rtt:
value_template: '{{ state_attr('sensor.2nd_head_room','round_trip_time_avg') | float }}'
friendly_name: 'Floor_RTT'
``` may work
ack, trying
You'll also want to rename all those binary sensors I'm afraid
ok Tinkerer, I'll try to change that as well. Power cut in my home, my HA went down just now. Will do the proposed config changes once power restored and update here.
π¦
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Share the current config so we don't have to guess π
Hi, my first question, so sorry in advance in case I am doing it the wrong way. My question:
Is it possible to configure two lovelace frontends in parallel, one for Iphone and one for Ipad? On Iphone I would like to work with tabs, for Ipad I would like to see all devices on one screen.
Thanks a lot for any tip or support!
value_template: '{{ state_attr('sensor.second_head_room','round_trip_time_avg') | float }}'
^ ^
You can't use the same quotes inside and outside - my fault
value_template: "{{ state_attr('sensor.second_head_room','round_trip_time_avg') | float }}"
@vapid field Multiple Dashboards
thanks for giving me the right direction ...
its working now, Thanks @split granite !!
sorry guys for reaching out again, I made the value_template working, but its not returning any data. Its showing always zero
just wondering what I am missing here.
If I check the actual sensor state under developer tools its shows values for the attributes. But then if I verify my value template its showing zero
round_trip_time_avg: '4.209'
round_trip_time_max: '5.471'
round_trip_time_mdev: ''
round_trip_time_min: '2.948'
friendly_name: 2nd_Head_Room
device_class: connectivity
But value template returns zero
sensors:
second_floor_avg_rtt:
value_template: "{{ state_attr('sensor.2nd_Head_Room','round_trip_time_max') | float
}}"
friendly_name: 'Floor_RTT'```
Go to
-> Templates and paste your sensor in
Then look on the right and check to see what you get
Oh
~check @drifting shell
@drifting shell Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
sensor.2nd_Head_Room doesn't exist π
I think it should be binary_sensor
Still doesn't exist
Look in
-> Entities for your actual entity ID
Probably sensor.2nd_head_room - but that 2nd is still problematic
So I feed a time stamp in the YYYY-MM-DDTHH:MM:SS format into a device_class: timestamp. The time is local time. But it renders as if it's UTC.
Thanks for the tips @split granite !! its working after making below changes.
- platform: template
2
sensors:
3
second_floor_avg_rtt:
4
value_template: "{{ state_attr('binary_sensor.2nd_Head_Room','round_trip_time_max') | float
5
}}"
6
friendly_name: 'Floor_RTT'```
sensors:
second_floor_avg_rtt:
value_template: "92.378"
friendly_name: 'Floor_RTT```
So, for me, it says "In 7 hours", as I'm in +0700 time zone.
getting the values π
https://www.home-assistant.io/integrations/sensor#device-class @mossy timber ?
Is the underlying entity state correct?
the underlying entity state contains a UNIX epoch (therefore in UTC), but I render it through timestamp_custom() to get the string into the desired format.
Weirdly, adding local_time=True (or False) doesnt seem to work.
Is your timezone in HA right?
@split granite Yes
{% set value_json = {
"lastboot": 1585708683
} %}
{{ value_json.lastboot | timestamp_custom('%Y-%m-%dT%H:%M:%S') }} ```
this yields a string in the correct format, in my local time
And that is also what happens when I remove device_class: timestamp in the sensor definition.
It shows the time in the correct format, in my local time
but when I add the device class, it thinks that timestamp is 7 hours later than it is
check your browser settings
it says the same in the HA app on my phone, but happy to check browser settings ... what setting would that be?
computer time zone is set correctly
any setting that changes the TZ, what card are you using to display it?
entities card
try a sensor card
It's a timestamp, "has no unit of measurement and therefor can not display a line graph" ?
name: Mac lastboot
state_topic: "systems/mac/status"
icon: mdi:clock
value_template: >-
{{ value_json.lastboot | timestamp_custom('%Y-%m-%dT%H:%M:%S') }}
device_class: timestamp```
this is the sensor definition
My bad, entities is correct
https://www.home-assistant.io/lovelace/entities/#format try setting/changing the format
so in lovelace, add format: relative ?
That didn't do anything. device_class: timestamp already makes it a relative text?
ew
the timestamp_local and timestamp_utc function display the correct answer, but when I feed that into device_class: timestamp it results in 'Invalid date'.
Hello, Nick here. Im trying to make a simple separate lovelace button to toggle and display MUTE state of my Denon media player. (or ALL of my media players)
Service is working ok, when i'm trying to call it from Developers/Services and use True or False. I've read formus topic's but non of them work with new Lovelace π¦
https://paste.ubuntu.com/p/qTfSTfdvZn/ more here π , can any one help me here? What i'm missing?
So here i am π
You want to look for
in the top right of your UI
Select that and then Take control
Yep
Once you've done that you can now change how your UI looks
Already did that yeah
I'd guess that https://www.home-assistant.io/lovelace/glance/ is what you're after for those sensors
Rather than having them as Badges
π
it's beginning to take shape π
Now i just need to find a way to switch on my LG TV via the tablet. Already added it to the configuration.yaml but if i add the media tile in Lovelace i get media control too, just want a switch at first
and what should i write in the argument for the action itseld?
*itseld
*f
type: glance
entities:
won't work
@upper belfry 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
tap_action:
action: call-service
service: media_player.toggle
service_data:
entity_id: media_player.lg_webos_smart_tv
Best example is in https://www.home-assistant.io/lovelace/entities/#example
Forgive me if this is common knowledge, but is something broken with the integrated temperature graphs? I'm running 0.107.6 and all graphs are flat lines
Excuse me if this has been asked, but is something wrong with integrated temperature graphs on 107? I'm running 0.107.6 and since upgrading all my graphs are flatlines and not at the current displayed temperature.
Anybody know of a way to add a calendar card to lovelace UI without using custom cards? I am using old Fire 7 tablet and it doesnt render any custom cards due to old webview version within Fully Kiosk browser.
Patience @scenic current π
Did it show up twice? I had to close my browser and did not see my question in the scrollback history. Apologies.
noob question: is it possible to change icons based on entity status i.e. door closed/open in Lovelace? ty
For binary_sensor entities you can set the device class - https://www.home-assistant.io/integrations/binary_sensor#device-class
the new multiple dashboards from the latest upgrade of lovelace looks very nice.. but when creating new dashboards they are filled with ALL entities.. is there a way to start from scratch?
you can take control of those dashboards too
yeah, but do i have to remove each and every of the entities manually?
i wanted to start from scratch
ah, just delete the view
gotcha
is there any easy way to make cards smaller on front end?
yup
got ya..and one more question folks sorry..I have a binary sensor setup for garage door open or close. If you take a look at the badge in the image the door is open. Can I make the switch card image also show the status
Thank You
I have an iPad on 13.4 and all my entity buttons seem to double tap when I press it once, anyone else notice this or know anything about it?
So I was successful with the help of iantrich getting my first brower-mod popup to happen. I do have a ton of tons as result , but let's start with just only a few. here is my code that I have used https://paste.ubuntu.com/p/Yp8XTyM3Mq/. Q1 How do I get it to show my action control panel and not just where I would input a code ? Although I have 3 states as part of my alarm system when I press the button I am only seeing two of them. Q2 How can I change that?
Hello ! I have a quick question regarding Lovelace. It it possible to keep Lovelace autogenerated panel and develop manual yaml interfaces i n the same time? Or I have to choose either one or the other?
@silver dome yes that is possible now with 0.107, check under Configuration in the sidebar and then Lovelace Dashboards
You can create as many dashboards as you want, and they can be a mixture of YAML, UI editor, or Auto Generated
Can I reload customize.yaml?
Woaw cool! I'll have a try, thank you @latent moss!
I have a 20m radius for "home" set up and also put it in my config but it looks like it's still on 200m, when i walk to home, a few blocks away i receive a message that's i arrived home (did that via automation). How my 20m radius not working?
zone:
Did you reload the zones after you added that?
Did you also run a config check?
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
yes, do that everytime
How would I go about converting a sensor output to an integer in the lovelace UI? Or maybe this is done back in the config.yaml file where the sensor is defined? I've tried this with no success: value_template: "{{ (states('value_json.temp') float - 6) | round(0) }}"
@trail stream template sensor
hmmm
I think I either had sun core exploding in one of the rooms or the temp sensor just went crazy for 1 report

definitely the sun
@mild veldt Many thanks!
hello all.... if I'm setting up HA for a friend an a RPI 4..... and I already have it setup for my house will i run into conflicts if setting up his Pi when mine is already setup?
you shouldn't have issues tbh
Nope
I've ran two instances for a bit
I have a separate testing instance, no issues
before I swapped over diff box
cool thx
even if I plug in ethernet etc...? don't mean to be a worry wart
What is to stop the other Pi from connection to my current port:8123?
Hello I canβt get a custom card to work. I have added a www folder, added another folder with the card name, then added the card file. When I got to resources I can see the card but when I try to use it it says custom element doesnβt exist
lovelace
What about it?
I think the channel is now called #frontend-archived
Thatβs the channel we are in
ok sorry
@sullen stream doesn't matter if it's the same port because it'll have a different IP address. Also doesn't matter if it's also a wired connection
@wintry gull if you just added the www folder, restart home assistant
@muted inlet I have. Like 5 times
Something something I do notice is that it says deprecated under resources for that card. Is this normal?@muted inlet
Not sure, those custom cards might just need an update
Check that you're using the right name for the custom card in the card config
For what I know yes
Iβm trying to install upcoming media card
Now I get the error. Platform error sensor.radaar_upcoming_media - Inegration βRadarr_upcoming_mediaβ not found.
Has anyone got this running here?
@muted inlet any idea
indentation issue most likely
oh wait. if that's a card it doesn't go in configuration.yaml
Oh I see what that is. So yeah, the indentation for the sensor in your config is probably wrong, or you didn't add the custom component to the custom_components/ directory. If you did add the custom component you need to restart before home assistant will see it (the config check will complain until you restart I believe). So in that case just double check that the sensor config is right before restarting
@wintry gull Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Ignore that, sorry
Letβs take a step back. This card uses components to talk to get information. I made a new folder in the same folder where configuration.yaml is called custom-components. I then added another folder in that folder with the name of the component. Then added the files inside it.
Thatβs all I have to do to install a component right?
Yep, I get what's going on. Didn't realize it also needed a separate custom component along with the card until I looked it up. That's correct except the folder should be named custom_components
Wow ok that was it. I had a - instead of a _
Ok so thatβs fixed but I still get the error that says custom element doesnβt exist: upcoming-media-card.
I have the card in www/custom-cards/
Does this also have to be _ instead of -?
Check that the path is right in resources
In resources I put /local/www/custom-cards/upcoming-media-card/upcoming-media-card.js v1
Would this be correct?
Just took www out and it still doesnβt show
Ok I got it to βworkβ. No more errors but it doesnβt show anything except for the title.
@muted inlet thanks for your help. I still donβt have anything showing but I think it could be an unraid ip thing. All errors are gone though. Thanks.
no prob, unfortunately i don't use that integration or card so i won't be of much help at this point
hello;
started getting this: custom element doesn't exist hui-picture-entity-card for my brosermod
anyone else have the same issue?
hi, I came back to HomeAssistant after a while and trying slowly rebuild the setup I had before my RPi sd card died and I have a strange visual bug..when I'm go to "Configure UI" from the main dashboard and then hover over items the frame is not displaying correctly, it's fine left, bottom, right but is cut at the top?
is there any way I can style the button in the call script part of an entities list card ?
https://www.home-assistant.io/lovelace/entities/#call-service
@fading sorrel for the logos, what do you mean by the "shortest edge"? Is that the horizontal or vertical.
For example in a horizontal image, the shortest edge is normally the height.
Hence I would limit the height to either 256 or 512. Is that correct?
(my dev skills are way out of date, but hope I can help with these logos)
~images @fleet scaffold
@fleet scaffold Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked here by default because too many people post code as images
oh, totally understand, no big deal, but I really thought it's Discord π
qq - within the custom button card, under the custom_fields section (return, blar) - Can you do arithmetic (deduct one sensor value from another) or would I need to go back and just that using a template sensor?
Hey is there a button I could press which would run a google assistant command. For example i want to press a button and my cctv shows on my google nest hub
You can find the community forum here
Thanks!
classic, make @split granite look crazy
Can i use climate.set_temperature to make 2 buttons an - and a + button where you increase or decrease the temperature?
sure, create two scripts that increase and decrease the temp by 1 (using templating) and call those scripts with buttons in your frontend
or, well, whatever interval you want. doesn't have to be 1
What do you mean by "using templating"?
https://www.home-assistant.io/docs/automation/templating/
https://www.home-assistant.io/docs/configuration/templating/
"{{ state_attr('climate.thermostat', 'temperature') | float + 1 }}"
no prob, naturally replace climate.thermostat with your thermostat entity ID
Aaaah okay
Time to learn something new π
sequence:
- service: climate.set_temperature
data_template:
message: |
"{{ state_attr('climate.thermostat', 'temperature') | float + 1 }}"```
this should work?
message:?
temp_up:
sequence:
- service: climate.set_temperature
data_template:
temperature: "{{ state_attr('climate.thermostat', 'temperature') | float + 1 }}"
hmmm
Ive deleted message
sequence:
- service: climate.set_temperature
data_template:
"{{ state_attr('climate.plugwise_thermostat', 'temperature') | float + 1 }}"```
did you see what i posted above?
Yes ive seen and used it.
not based on what you just posted
Aaah okay sorry
temp_up:
sequence:
- service: climate.set_temperature
data_template:
temperature: "{{ state_attr('climate.plugwise_thermostat', 'temperature') | float + 1 }}"```
this is correct right?
looks good
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 115, in validate
raise vol.Invalid("must contain at least one of {}.".format(", ".join(keys)))
voluptuous.error.Invalid: must contain at least one of temperature, target_temp_high, target_temp_low.```
it's giving me an error
oh you're missing entity ID in the service call
temp_up:
sequence:
- service: climate.set_temperature
entity_id: climate.plugwise_thermostat
data_template:
temperature: "{{ state_attr('climate.plugwise_thermostat', 'temperature') | float + 1 }}"
also let's move to #automations-archived because this particular part isn't part of #frontend-archived
okay
can someone point me to some example for a conditional row in the entities card in lovelace ? the info page (https://www.home-assistant.io/lovelace/entities/#conditional) does not provide an example for conditional rows and I cant get it to work ...
@errant birch here's one from my setup,
- sensor.percentage_slept_today
# Only show when I woke up after I've actually woken up
- type: conditional
conditions:
- entity: binary_sensor.sleeping
state: 'off'
row:
entity: input_datetime.sean_awake
π€ I should make state switch work with rows too...
ah, I was trying to put a service call in there, perhaps that simply isn't possible ?
Should be.
row:
type: call-service
service: etc...```
Let me check the code
Yes. Should be.
I have a strange visual bug..when I'm go to "Configure UI" from the main dashboard and then hover over items the frame is not displaying correctly, it's fine left, bottom, right but is cut at the top? it's brand new install without anything added yet
@polar kelp any thoughts about adding this feature enhancement: https://github.com/thomasloven/hass-browser_mod/issues/35#issuecomment-583898141
I've modded the file and have been using it for awhile now and it works seemlessly. I prefer to keep your creations unmodified...( π¨π»βπ§ ), however this has proven to be a great enhancement π
hey there. iΒ΄m just new to homeassistant. i updated to .107 and wanted to add a custom ressource. while adding it with the raw editor i get a notice that i should insert ressource-entrys in the lovelace-config window. but where could i find this lovelace-config window?
-> Lovelace
Make sure you've enabled Advanced mode in your user profile first though
For some reason the Resources tab is hidden until you do
thank you!
Hey guys! I'm trying to make a mini graph card that changes its upper_bound according to the sensor value without any luck. I tested it in DT>Template and it returns the correct value but as soon as I pull it into my config I'm getting error ...OrderedDict... My code looks as follow upper_bound: {{states('sensor.worldwide_coronavirus_confirmed') | int}} I tried with double quotes and single quotes around the entire statement but then the value isn't used for the upper_bound limit
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Show us the _full card config, and the full error π
error is invalid key: "OrderedDict([("states('sensor.worldwide_coronavirus_confirmed') | int", None)])" in "/config/ui-lovelace.yaml", line 56, column 0and all the code is here https://paste.ubuntu.com/p/WPJ6TYPqpy/
Red boxes of hell
π should I just paste it as text?
Your indenting is also ... interesting
That said, I don't think you can use a template there
https://paste.ubuntu.com/p/ywDJb8mfTB/ hope this is better.
Yeah, that doesn't have the red boxes of hell
shucks
The indenting is still weird, but I think your problem is that you're trying to use a template where you can't use a template
will remeber that for future thanks
The indenting is still weird, but I think your problem is that you're trying to use a template where you can't use a template
makes sense
is there any workaround?
Not that I know of
Other than maybe asking the dev of the card to allow you to specify an entity there
I'll try to reach him on github. Thanks again for always helping @split granite π€ π€
lol why is history only able to go down to 1 day
dont people actually want to be able to see sensor data instead of sub-1px lines on a long bar?
Hello. I have an house floor with switches/lights (state_icons), images (room darker/lighter), camera images, vacuum buttons etc... When I turn on/off a light/switch it doesn't update the icon_state/images... I need to refresh the page to get the update... before was working properly.
Any Idea of what it can be?
Is it possible to change the allignment of a lovelace cards title? Center/left align for example.
@flint geyser card-mod
I wonder if anyone could help me, I'm trying to create a button that would toggle between two scene, I have a scene called cinema_on and another called cinema_off . basically they just change philips hue tints. I couldn't figure how to make that work with a button card. I've been able to do something similar using the custom:button-card with a group but scene aren't working the same way it seem
nvm I found a solution, if anyone is having the same issue, I created a toggle switch helper, and with node-red I simply activate the scene depending on the state
Hey guys I have an entities card with all my automations https://paste.ubuntu.com/p/n3F3md66Q4/. I want to have it popup when I tap the browser-mod-popup button that I have created https://paste.ubuntu.com/p/NmHGfNHCWv/. Is this possible ? I want to make that happen for a other button such as scenes and media.
@feral rivet you're calling a service, so your action should reflect that
hey iantrich the sample card is based off the eample you sent me and I think that I am calling a service , but how do I get the service_data to call my entities card?
I am not sure what I put for the entity: part unless I must list all the automation entities.
Is it possible to integrate an icon template with the badges?
For example:
icon_template: >-
{% if is_state('binary_sensor.gate', 'on') %}
mdi:gate-open
{% else %}
mdi:gate
{% endif %}
@feral rivet the browser_mod one you posted had action: more-info. It should be action: call-service
Hello
Iβm trying to install custom header but I donβt seems to find the uieditor for custom header. Any ideas?
I downloaded it, added it to a folder under www, added the resource under resource tab, but now Iβm stuck at this point.
@wintry gull i haven't done this since it was changed in the last version, but I think that you have to press the Lovelace menu (3 dots in top right corner) and then press "Reload Resources"
@latent moss if thatβs the case then I must have done something wrong because I donβt get an extra menu option there.
I did restart. I would asume it does the same
@wintry gull That should work, but I'm not really sure, I did it a different way (through HACS, and I use YAML mode too). I believe that the UI editor for Custom Header is supposed to show in the main Lovelace menu, not in the card picker with all of the other card editors.
In that case I might have installed the js wrong.
Is it possible to have hacs on HA or only hassio?
Ok well I just restarted my computer because of another issue and it shows up now. I guess the cashe has be cleared
ah that will do it. and yeah you can install HACS on any version of HA https://hacs.xyz/docs/installation/prerequisites it will make installing custom cards and plugins a lot easier, basically one click (after the initial setup of hacs).
Good evening all, I was wondering if anyone playing with gauge cards has ever tried making a dual zone card. For instance for temperature if your green zone in the center is between 20-25 degrees, yellow zone would be 15-20 AND 25-30, red zone would be 0-15 AND 30-35 (example values). Can you use min1/min2 & max1/max2 ranges?
I have a strange visual bug..when I'm go to "Configure UI" from the main dashboard and then hover over items the frame is not displaying correctly, it's fine left, bottom, right but is cut at the top? it's brand new install without anything added yet
https://imgur.com/dHJc7QF
and I don't know if it's just something known and I just have to live with it or there is some tweak to make it right
Is there a way to move an entire "tab" in one Lovelace dashboard over to another dashboard in a simple way? Trying to spread stuff out into multiple dashboards to get a cleaner setup.
no one is able to suggest me what to check?
Floorplant view doesn't get refreshed
only if I press F5
Is there a way to move an entire "tab" in one Lovelace dashboard over to another dashboard in a simple way? Trying to spread stuff out into multiple dashboards to get a cleaner setup.
I found out how to do it. Use the "raw configuration" feature in lovelace, copy all of the yaml from your existing dashboard into the new one and then delete the tabs you don't need in each of them.
hm..that's strange..it's Firefox issue, it's fine in Chromium based browsers.. π€
Does anyone use the cast service to cast their dashboard to something like a Nest Hub? I'm using the self generating theme that was featured in the 2nd community highlights, which, after upgrading to 0.107 has it's own dashboard. If I go to cast.home-assistant.io, I can only select the 'Home' view, which is the default lovelace view (which I also got before setting the theme dashboard as my main dashboard in the HA app). All views from the theme do have the path variable. Using the cast.show_lovelace_view I'm only getting a 'no view found with path X' with whatever I use as view_path
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
- type: entities
entities:
- type: cast
name: Overview
view: home
``` is what I use in a card, to cast `/lovelace/home`
Hmm, that returns a 'Cast API unavailable'
You're using HTTPS?
Yes, using the DuckDNS addon btw
I don't have the cast: option in my configuration.yaml though, would that make a difference?
Both my HA installation and Nest Hub are on the same network.. no funky vlans going on here
If the service shows in
-> Services you're good
Yea, figured it out... I'm mainly using firefox. In Chome it does allow me to cast. However, my Nest Hub now shows the HA β€οΈ Nabu Casa with 'Connected' below it. No view just yet
I see the same for the service call, but not the card
Once any card is shown the service call works
I have a weird problem. I decided to get rid of spotify integration and plugins deleting them
now every time I refresh the main page
of HA
I get the following error in the log
2020-04-03 11:18:26 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2525662650672] Error handling message: Unknown error
Traceback (most recent call last):
File "C:\Python38\lib\site-packages\homeassistant\components\websocket_api\decorators.py", line 20, in handle_async_response
await func(hass, connection, msg)
File "C:\Python38\lib\site-packages\homeassistant\components\frontend_init.py", line 549, in websocket_get_translations
resources = await async_get_translations(hass, msg["language"])
File "C:\Python38\lib\site-packages\homeassistant\helpers\translation.py", line 152, in async_get_translations
resources = await async_get_component_resources(hass, language)
File "C:\Python38\lib\site-packages\homeassistant\helpers\translation.py", line 122, in async_get_component_resources
path = await component_translation_file(hass, component, language)
File "C:\Python38\lib\site-packages\homeassistant\helpers\translation.py", line 52, in component_translation_file
integration = await async_get_integration(hass, domain)
File "C:\Python38\lib\site-packages\homeassistant\loader.py", line 341, in async_get_integration
raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration 'spotify' not found.
you removed the core integration for spotify, that has nothing to do with #frontend-archived, reinstall HA
How do I set the default theme in 0.107, I had it set before but now since moving resources to configuration the theme has defaulted the the blue default theme instead of my custom preference?
use the frontend.set_theme service (all users), or set it in your profile.
This has not changed since the introduction of themes
Yup
Thanks for your help
hello can someone point me in the right diretion with my service call and po-up-card?
@hallow granite posted a code wall, it is moved here --> https://paste.ubuntu.com/p/TTGg2GWxVV/
I want a pup-up.. with live cam and buttons to lock or unlock the door..
...but you're getting...
~codewall @hallow granite
@hallow granite 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.
sorry.. yeah codewal ..
@polar kelp I get the pop-up.. great with live stream and lock entity on it. But this lock entity is "dead" I cannot do anythin wth this.. how would i make this lock working?
It's better to skip the command: parameter, btw, and just call browser-mod.popup.
Does it work in a picture-glance card that's not in a popup?
it would open a new popup with lock entity
i just want a button in this picture-glance card to open or close the door.. if ths is a lock or script i don't mind
That's the problem then. You can't open a popup from a popup, unfortunately.
but docs note really helful of picture glance as examples missing
You'd need something that toggles on click in a picture-glanc card.
bt nrmally i can have button in this card? with tab actions etc?
Or maybe you could do it with a picture-elements instead.
does pictures elements do live cam?
I don't know.
You could also popup a stack with a picture card and a button card that's setup to toggle the lock.
I need cam live stream
this zusammenfriemeln of cards is still a pita for me π
question, is it possible to style hui-card-options using custom css added through resources or something?
No, because of shadowDOM.
It's built on ha-card, though, so it should respect things like ha-card-background and ha-card-border-radius.
How often do you plan to see it anyway?
hi, I am actually just trying to fix bug in Firefox with outline in edit mode I was asking before
it's not a big deal, but it's bugging me since I'm using FF most of the time
and with shadowDOM I was thinking I could do it in some similiar way as in your card-mod plugin with "$" and all that π but so far I had no luck and maybe I just leave it or report issue
with dev tools I was actually able to fix it by using box-shadow instead of outline like so:
outline: none;
box-shadow: 0 0 0 2px var(--primary-color);
looks the same as outline, and I could do it only for FF with
@-moz-document url-prefix()
but yeah, got stuck on the shadowroot stuff π
Woah. Never heard of that bug. That's ugly!
@polar kelp do you have an example to create a popup card with live cam stram and button to turn on light / unlock/lock door?
No. But if you can do it in a stack, that can be put in a popup.