#frontend-archived
1 messages ยท Page 164 of 1
but that totally makes sense. It's not like core devs are shelling out new integrations themselves all the time
@muted inlet I really need you to sync your Discord and github avatars so my head can keep things straight ๐
and start using dark themes like a normal person 
heh, yeah i definitely see that being confusing
it's the same on github and the forum, but different here
you know it's kind of funny... when android reached 5.0 Lollipop i was bummed to see the dark theme go away, but then it really grew on me over time and i prefer light themes now
i remember actually downgrading from 5.0 to 4.4 after a few months because i wanted that nostalgia back lol
@muted saddle In 0.97 and beyond some menu options have moved. If you can't find an option you used to have try enabling 'Advanced Mode' (go to your HA user profile to find this option), and then go to Configuration > Server Control
the frontend auto-reload is infuriating when trying to work in node red
aaah advanced mode, nice
or maybe I should ask... Is it normal for HA to reload the page every few minutes?
@hallow spruce not if you're actively using it
weird.. so I am running "container" and I have node red as a panel_iframe. If I am working in node-red that way, boom.
why does it does it refresh this page like that... this is new in 0.111+ as far as I can tell. It's refreshes like clicking the page reload in the browser
0.111 didn't have the suspend function, so that can't be it
@elder pendant @split granite @mild veldt following up from our conversation earlier, along with possibly renaming Developer Tools to System Tools, how about moving Logs back there too? seems like a more logical place than configuration
maybe even Info too
So basically "undo everything nearly everything you just did and rename it" ๐คฃ
pretty much lol
figure it can't hurt to ask. it's a constructive suggestion
though, MQTT was moved to configuration > integrations, so it's not undoing everything
Been way behind the game, but was just told that I dont have to make a sensor to read an entity attribute anymore, could anyone help me with how to pull the fan mode out of my climate.thermostat in a entity card?
Who told you that? I'm not aware of a different way to do that
lol
This is what i was told
i or they may have been mis understood though, tis why i'm here to confirm it
@fierce quarry You can disable link preview in Discord by adding < before and > after the URL, like this: <http://home-assistant.io/>
Thanks @kind shell
lol
I have previews turned off, just figured everyone that didnt want them did ๐
And now you know better ๐
@fierce quarry Instead of sending the message again, please edit the original message
๐
Oh I didn't realize the entities card has that option now. What have you tried so far?
I'm trying to pull the fan_mode out of my tstat, but can't get the syntax right, was looking for someone that had an example
@split granite you know anything about it? entities attributes in cards?
ffs i thought i was answering someone else lol
Hey, let's just tag somebody and demand an answer ...
I expect more from Padawan...
should be something like
- type: attribute
entity: climate.thermostat
attribute: fan_mode
LOL I'm not demanding, I was asking if you knew anything about it
Well, you may just take a moment to consider that if I did, I'd have said something...
Sorry very I am master ๐
@fierce quarry supported in entities card as well https://www.home-assistant.io/lovelace/entities/#attribute
I appreciate it, I'll see what i can put together
Hey guys im trying to change the default theme and was wondering how i could do that.
Themes are set per user browser
ok i am trying to sftp into the server but no luck
If you're using #330990055533576204 or #330944238910963714 did you install the SSH add-on?
im using homeassistant os and it was not in the add on store
That's because you didn't pay attention to everything that was on that screen ๐
It's there, you just need to enable a setting
ok and for the samba add on the "interface" setting. What interface is it talking about
From the docs for the add-on:
Option: interface (required)
The network interface Samba should listen on for incoming connections. This option should only be used in advanced cases. In general, setting this option is not needed.
ok thanks and once i make a change to the config file i have to restart homeassistant right?
configuration.yaml
Mostly yes
ok and the restart for the ui will work fine right
๐
See - mostly yes, sometimes no
Just thought I'd say hi, as I get the feeling I am going to become a pest to you all! ๐
How do I hide sensors? I have them grouped in cards and hidden via customize but since the last update (?) hiding stopped working... I now have the all two times
-> Take control
Is there no other way anymore? My friend has only 20 entities and is happy without โcontrolโ...
Either HA has all the control, or you do. There's no middle ground ๐
The way it was before the last update was perfect! The hidden sensors sensors didnโt clutter the top but where visible in the groups...
I liked the middle ground ๐ฆ
Sorry if I missed this, but at current when making modifications through the UI frontend, it doesn't dump the configuration to YML. Correct?
Ok. So if I setup Home Assistant through the webui then decide I want to move to YML + git. I'll need to recreate the persons, component, etc?
Well, no
Generally speaking you either set things up through the UI or YAML
As long as you're backing everything up you have it all
Ok cool. I think that was what I was missing. Thank you @split granite.
Has anyone had an issue with the light-entity card in HACS showing all the entities for a group instead of just the group itself?
Hello. I have a few entries in my side menu I added to me configuration.yaml file. For some reason, they all work except the one for Octoprint. When I use the URL directly, I see my Octoprint pages just fine but when I click the link from HA, I get a Google Chrome gray page that says 192.168.0.129 refused to connect. My code is :
3dprinter:
title: Octoprint
icon: mdi:printer-3d-nozzle-outline
url: http://192.168.0.129```
Any idea why ?
Do you have a port number that you use with the ip address?
and are you using https://
ok
try with :80 at the end
shouldn't need it.
can you connect to http://192.168.0.129 in a browser window?
I'll give a try although I also have this ``` router:
title: Router
icon: mdi:router-wireless
url: http://192.168.0.1
Yeah. When I click on your link, it takes me right to it
but within HA, no... I'll try adding :80
I wonder if perhaps something in the UI of Octoprint would prevent the admin pages from being accessed within a frame...
Nope.. adding the port number doesn't change anything
i'm adding a couple of pages to see what happens
@gritty frost posted a code wall, it is moved here --> https://paste.ubuntu.com/p/m39kghH74R/
this is my whole iframe section : https://paste.ubuntu.com/p/m39kghH74R/
All the links work except Octoprint
so could not get to my router when I added it to iframe
none of my external links work
only the links to the server
ahh I see my issue
I'm using ssl on my server and some of the external links are note
that won't work in iframe
can anyone assist me with nini media player card
mine stop working
and i cant seem to get it to work again
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
i am running the latest version of home assistant
ok, please continue ๐
it just states custom element does not exist
latest isn't a version number, either ๐
lol
'Latest' is not a version number. Please provide the actual version number.
it even says that
0.112
Is the static http directory still /config/www, accessed through <domain>:8123/local? trying to serve an mp3 from there to a cast device and am failing with a 404
It is. But if you just created the directory then you have to restart HA
give it a whirl. Thought I had it there for awhile, but this is my backup setup. Thanks
Also make sure you are being exact with the file name
@gilded veldt if itโs saying the element doesnโt exist then you either havenโt properly installed/added it as a resource, or youโre spelling it incorrectly
@gilded veldt These things do happen. Battery entity and a few others quit a few versions back
was json.config or something... you have to update sometimes. HACS can help
i tired installing it back via HACS no success there
Or you didnโt read the breaking changes for defining Lovelace resources a few releases back
i read the breaking changes before updating
you may also need to update the card
how do i update the card
The same way you installed it
how are you managing your Lovelace UI?
@gilded veldt They may have not gotten to it yet. Breaks can take time, though I'm using the mini player right now myself, though HACS no issue. You can always check the Chrome console
i manage it in the raw editor
and where are your resources defined?
same place as all my other custom cards
that's not a place
resources:
still not a place
url: /local/mini-media-player-bundle.js?v=1.9.1

and still not a place, but that's wrong anyway
I'll not butt in further. I'm waiting for my secondary unit to reboot, but @gilded veldt I have mini player v.1.9.1 on HA 0.111.4, so at least I can tell you there is something local
local?
Are you pasting those from the raw config editor?
yea
i know that method is deprecated
heh, I was going back through the release notes and hadn't gone back that far yet ๐
thought it didnt matter how the data was entered
when things don't work...
i have plenty deprecated stuff that still function just fine on my setup of hassio
Deprecated means you're on a sinking ship. Eventually it will be under water.
if you're going to do something contrary to the instructions, you better know what you're doing and own it
i would think that they no longer give support for what ever is deprecated
No, deprecated usually means it will be removed in a future release
and yet here we are supporting it. fools, we
some deprecated stuff persons still like and enjoy
so to correct my error just remove move it and enter it the new way?
@gilded veldt I'll give it one last shot, just because pi is so slow, and I've asked the dumb questions in the past
Later versions of lovelace have shifted the resources to /config/.storage/lovelace_resources... but if I recall, you shouldn't be editing that directly. I'd really just shift over to HACS for custom stuff unless it's not there
Dumb questions aren't the problem. It's resistance to the answer
ah
point
@elder pendant Well thanks. Reboot did it. I'm testing my appdaemon scripts on a lil' pi and must have just never restarted
was just stating facts not resisting the answer
I have a sunrise/set condition that works great but how can I tell in HA front end if its set to sunrise or sunset?
without having to click the SUN entity
You mean where do you look for the state of the sun entity?
I'm not sure what you're asking
Ahh dont worry I am just confusing myself. I think I expected it to say "Sun has rose" instead of just "Above horizon" silly me. Sorry!
i think there would be an entry in the logbook saying "sun has risen" or something if you don't have it excluded
Hey guys. Having a bit of an issue setting up a button or switch on my Lovelace dashboard using the built-in wake_on_lan functionality. I've used the format on https://www.home-assistant.io/integrations/wake_on_lan/ but it always says there's an error, that it can't find the component or somesuch. Little help?
Er, it looks like now it's coming up with "No card type found" when I use switch
Just updated to the latest version. Logs are not anymore in developer tools, where can I find them?
There is a "Logbook" category now (at least on mobile anyway)
As mentioned in the release notes, a few things moved
Ok, where can I find this Logbook category?
Check out the release notes
Is there a way to make a jpg picture enlarge when you click on it in the picture entity?
Create a new tab with the picture and make the tab full-width and hidden. On-click = go to the new tab.
Thanks, that's a neat trick ๐
I use it for full-screen camera views
Guys , afrter the upgrade to 0.112.x my zwave listing hides entities behind the top bar
Seems an issue with the frontend
Morning all, I'm just in the process of moving from ipads wall panels to android ones using fully kiosk. - my ipads are currently using appdemon dashboard, but I'm moving to lovelace.
I've got a couple of Kindle Fire HD 10's, and I'm running the animated background that relates the weather.
The animated background is working on my phone and on my laptop, but is just white on the Fire tablet.
I get a message "Beware of the outdated android webview, (current Ver. 70)" Is there anyway i might be able to root the fire and update the version, I've not registered the fire as i don't want things like the amazon stuff appearing, and ideally i don't want to install the play store. Fully kiosk browser was installed via the apk.
@halcyon basin Since this has almost nothing to do with HA (and certainly nothing to do with creating a Lovelace #frontend-archived), I suspect you'd be better off searching online for help with rooting your device.
Thanks @karmic tiger i thought that posting this in the frontend part of of the HomeAssistant group was the best place to ask. Sorry
If it was a question about the frontend of HA, this channel would be the best place to ask ๐
Questions about rooting random devices... not so much.
If it was about how a device interacts with HA, #hardware-archived is usually a good place. Yours is a pretty generic question which will already have thousands of answers on the internet - it's a job for Google ๐
Thanks I did some googling but didnt manage to dig up many results. Ill post in the devices section about why the lovelace animated background, I wasnt sure if the webview would be part of the cause so wanted to make sure i included as much info as possible. thank you.
anyone had issue with chrome popup cards being oddly placed while in mobile res?
talking about this behavior: https://i.imgur.com/LJrZuZT.png
it happens in my chrome mobile version
seems to be somehow tied to position: css property
weird part is that unchecking position css style and re-applying it again makes it correct the position
but the scrolls are still broken then so its not good either
I guess its one of my addons installed, coz on raw it doesnt seem to happen u.u
Sorry one more question, is it possible to create a row of pictures\icons in a horizontal glance card that can be used for navigation?
Thanks I did some googling but didnt manage to dig up many results. Ill post in the devices section about why the lovelace animated background, I wasnt sure if the webview would be part of the cause so wanted to make sure i included as much info as possible. thank you.
@halcyon basin This is probably the right place for the webview question, tbh. I suspect it'll be a limitation of your device though if it's older.
thanks @karmic tiger I was hoping that might be able to root the device and install a different os. someone mentioned lineageos but i'm not sure if that is supported on the fire HD10 (7th Gen)
The editor shows a different font than what I see normally. Is there a way to change the font to this?
But... the font hasn't changed.
It's just going to use whatever monospaced font you have available.
So thatโs new?
Pretty sure it's not.
Just to be clear... do you mean the raw editor for your Lovelace views?
Those look the same.
They donโt. Note the font spacing.
The kerning? It's identical.
Idk tbh but the editor one looks better
If you say so. I can't see a difference.
Same font, same weight, same kerning.
Use the dev tools to have a better look if you want.
This is on a mobile device :p
So use a real browser. ๐คทโโ๏ธ
https://paste.ubuntu.com/p/C3KdTzNJdc/
Guys, is there a way to do something like foreach in a card yaml?
What I'm doing is that: I have a card containing multiple very similar cards, each of the card is a fold-entity-rows combined with a area filter, in order to implement a list or fold-entity-rows where each row represents a area and I can unfold it to see entities of this area/room.
The yaml of each fold-entity-row is very similar, just the area filter and title is different, wondering if I can use foreach to reuse the yaml code to simplify the card code.
Any other ways of achieving the same would be appreciate, too!
Thanks in advance!
You could look up using anchors in YAML but I'm not sure they'd apply here.
YAML anchors would indeed help here
Neat. I've never tried them, only heard of them ๐
I've never used them either, but I do use YAML aliases in one of my automation files
wow I didn't know yaml anchors, I tried it real quick, seems working, let me finish it.
If it works, it'd be super neat.
It works, but during saving, the aliases to the anchor are replaced with the content of the anchor.
It defeats my purpose of tidy up the card yaml code. ๐ค๏ธ
Oh that's a bummer
Um... What did I just do?
Update Available
Supervisor 228
You are currently running version 229
card-mod showcase time?
card-mod showcase time.
type: button
entity: device_tracker.demo_anne_therese
style: |
ha-card {
background: linear-gradient(to right, green, {{state_attr(config.entity, 'battery')}}%, white {{state_attr(config.entity, 'battery')}}%);
}
type: entities
title: My Title
entities:
- entity: device_tracker.demo_anne_therese
style: |
:host {
display: block;
background: linear-gradient(to right, rgba(0,255,0,0.5), {{state_attr(config.entity, 'battery')}}%, white {{state_attr(config.entity, 'battery')}}%);
}
- ...etc...```
I hope everyone knows already that card-mod can show a custom secondary-info row, btw:
- entity: device_tracker.demo_anne_therese
secondary_info: true
style:
hui-generic-entity-row:
$: |
.secondary::after {
content: "{{state_attr(config.entity, 'battery')}}% battery charge";
}
.: |
:host {
display: block;
background: linear-gradient(to right, rgba(0,255,0,0.5), {{state_attr(config.entity, 'battery')}}%, white {{state_attr(config.entity, 'battery')}}%);
}```
I know I don't view HA's UI as a primary thing... but damn you do some nice work with it ๐ฎ
Any suggestion for setting a browser cookie for a user when they access home assistant (browser/mobile)?
Last one for now:
type: markdown
content: |
# Hello,
style:
ha-markdown:
$: |
h1::after {
content: " {{user}}!"
}```
hmm, simple javascript should work in the 'custom:html-template-card' cards shouldnt it?
html is showing, but if i try <script> console.log('test'); </script>, im not having any luck with it running
@polar kelp that last one:
type: markdown
content: '# Hello, {{user}}!'
Since when?
Couple releases
Cool
Yeah... I just found it.
I have 2 lovelace dashboards in our home and was wondering if it's safe to update to 112.1 because of the 5 minute disconnect
I see there's work being done but not sure if this toggle is available in 112.1 or not
yes it is, but you should not need it
it will only disconnect when the Home Assistant UI is not visible
oh, ok didn't realise that. thank you
greetings all! I just updated to .112.1 and am seeing some different behaviors... The first thing i am seeing is that when i click on any badges I would get either a horizontal bar graph showing when it was on or off.. of if it was numeric, a graph showing the values over time. After upgrading, I no longer get that.... Am I doing something wrong?
I was on the latest .111 prior
well, i restored back to .111.4, and the behavior is as I expected . I guess I will wait awhile before i try upgrading again.
Was your database still upgrading?
no
well.. mysql wasn't showing very high usage in top
I am using mariadb that is.... the mysql process wasn't
i do see some db errors in syslog about several items during the upgrade... here is one:
ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (1061, "Duplicate key name 'ix_events_context_parent_id'
also this one....
Jul 3 16:45:17 hassbian hass[607]: #033[31m2020-07-03 16:45:17 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (MySQLdb._exceptions.IntegrityError) (1364, "Field 'change_id' doesn't have a default value")
is there a boilerplate card in js, not in typescript so I don't have to install all that insane tooling
TypeScript is insane? ๐
well installing all that tooling to get boilerplate is yes 
What exactly do you want? Just a barebones example of a card?
So paste some TypeScript into here and see what it transpiles to: https://babeljs.io/en/repl
But for dev related questions, you'll get more help in #devs_frontend-archived
This channel's for using the frontend, not for making it.
makes sense
Is it possible to split up some of the history graphs?
In particular, the one where it's slamming all the percentages into one graph: https://i.imgur.com/cYN1Sb8.png
probably use grafana for that
Here's a starting point @vapid field https://gist.github.com/thomasloven/1de8c62d691e754f95b023105fe4b74b
still not sure how to run javascript inside a custom html card
not sure why its not executing. wondering if there is any type of protection for that
my end goal is simply to run a snippet of js on the home page and only for logged in users and to not story the js in a file because it has a hash i want to protect in storage
so storing it as a card should accomplish that goal
actually created a custom card using @polar kelp 's example. thanks!
anyone running HA on a tablet for control here here?
I've got an old kindle HD 7 with chrome, but I don't see a way to do full screen, how are you guys running?
Hey guys quick question. On the Monitored Interfaces section of this interface, there is an Attribute called
{Unit}Bytes (Received)
Integration: https://github.com/elad-bar/ha-edgeos
how do I put that into an entity card in the attribute section?
copying it exactly as is says "UNKNOWN"
type: entity entity: binary_sensor.edgeos_interface_eth0 attribute: '{Unit}Bytes (Received)' unit: Mbps
I get that part I think. I'm just guessing something about either the {} or the (Received) part which is causing it to result in "unknown"
Template out the attribute in the template editor and see what it reports. Maybe unknown is actually the state
And according to the docs type: attribute
Also, look in states under the entity id for the actual attribute
Anyway to change unit position to front i.e. $ 4.4 instead of 4.4 $
Hi all. I think to have found a small glitch on
-> template (0.112.0): https://imgur.com/a/S4KLnjz
Fine here on 0.112.1. Update and try again.
Is there a way to get the current theme?
Before I raise a ticket is there a known issue with being unable to configure UI on iOS? (0.112.2). In both app and safari.
You'll know the answer to that when you search the existing tickets.
@karmic tiger you know what.. I did and nothing specific came back so...
Feel free to log it then ๐
Fine here on 0.112.1. Update and try again.
Works fine on 0.112.2
@wheat current Demo works fine, what version is that running though?
Not sure, think it's last commit to master or dev.
Disable custom-header if you have that enabled
Looks like itโs a custom header issue as disabling works. Will update my ticket.
You should close it, and open one in the correct repo ๐
oh.. you allready closed it ๐
Hello. I noticed, that the addon protection mode warning does not have a red background anymore - its grey with white font and very hard to read. Is it just me, can someone confirm that? I am running HA 0.111.4, but also tried latest 0.112.2.
It looks like that: https://imgur.com/a/yEGAsN6
Ok. I'm new to this particular page as before the latest release, I knew how to hide things in the UI that I didn't want to see. Can someone direct me to something that will get me back to being able to do that?
Which page? Which things?
Yes, I know. That's why I'm here. Tinkerer sent me here for advice on how to "take control of the UI".
Oh. In the top right corner you will see a "three vertical dots" icon that looks like this:
Click that and then choose "Configure UI"
Is there a way to undo it if and when I screw it up?
Yeah, in that same
menu there will be an option "Raw Config Editor", if you just delete all the text on that screen and hit save it will revert you back to the auto-generated layout
Ok. Well, I guess I'll dive in and see if it's worth it.... ๐
You can also go to Configuration -> Lovelace Dashboards and create as many dashboards as you'd like. So you can have both the auto-generated one that you're used to, and experiment with a customized/manual dashboard too, they can co-exist.
Guess I'm going to have to read up on lovelace dashboards...
is there a list of icons supported by HA? It seems HA does not include all these: https://cdn.materialdesignicons.com/3.2.89/
See the pinned messages
awesome thanks m8
hmmm it says mdi-weather-windy should work
but if i do mdi:power it shows an icon, if i do mdi:mdi-weather-windy it shows nothing
thanks that was my issue
i was copy/pasting the full name
another issue i am having is the name of the panel doesnt show: https://i.imgur.com/WZA6SJa.png
I have a title set as "Weather" but it shows just the pencil
If you set an icon, the name is always hidden - even if you miss a dash in the icon name.
when i remove the icon mdi:weather-partlycloudy it works though
I am missing a dash?
The Material Design Guidelines does not allow both a text and an icon in tab names.
No. I thought you were, and that's why the icon doesn't show. But I was mistaken.
no you are right I am
Either way, if icon is set, the name won't show up.
it should be mdi:weather-partly-cloudy not mdi:weather-partlycloudy
I've got an electricity usage sensor (comes in with the REST api to hass, anyway thats irrelevant.)
It comes up like this in more-info for some reason...
https://thisismy.technology/TDF/MakOwUye50.png
good to know, thanks
@tough quiver You need to set unit_of_measurement.
ahh
That will turn the value into a number. Now it's a text string, and since "five" doesn't automatically relate to "four" the same way as 5 does to 4, it can't plot it.
ah fair tbh
Pro tip: For things where a unit doesn't make sense unit_of_measurement: 1 works well.
anyway, just set that, still showing as per screenshot, but i presume i'll have to wait for more data?
Yeah. It'll look good in 24 hours.
Pro tip: For things where a unit doesn't make sense
unit_of_measurement: 1works well.
That is indeed a pro tip. Good to know, thanks
@polar kelp 
so i was following this guide to add weather radar to my dashboard: https://www.smarthomebeginner.com/weather-radar-on-home-assistant/ but they are not using a framerate, does this mean its going to hammer the WU server?
i was advised to set a framerate when i added a different radar last week
the guide just uses this: camera:
- platform: generic
still_image_url: 'https://icons.wxug.com/data/weather-maps/radar/united-states/dayton-ohio-region-current-radar.gif'
name: Radar WU Ohio Current
i am not sure if because the radar is animated that would make a difference
I want to show my states.sensor.unavailable_entities_tmpl.last_changed in local time.
I googled a lot and found this template that converts the time to a nice UTC-format.
{{ as_timestamp(strptime(states.sensor.unavailable_entities_tmpl.last_changed | string | truncate(19,True,'',0),'%Y-%m-%d %H:%M:%S:%f')) | timestamp_custom('%Y-%m-%d %H:%M:%S') }}
But I want it in local time, preferably using the configured time_zone .
Any tips how?
Thanks, I have been there a few times, but I'm clearly doing something wrong .
{{ states.sensor.synology_cpu_load_1_min.last_updated }} gives me 2020-07-04 21:15:54.690107+00:00 which is exactly 2 hours behind my local time.
{{ states.sensor.synology_cpu_load_1_min.last_updated | timestamp_local }} and {{ states.sensor.synology_cpu_load_1_min.last_updated | timestamp_utc }} gives me exactly the same.
Any example?
I checked the /config/info-page just to make sure my time zone is configured correctly and it shows "timezone Europe/Stockholm" so that should be ok.
Ok, finally found out that I need "as_timestamp". this works fine:
{{ as_timestamp(states.sensor.synology_cpu_load_1_min.last_changed) | timestamp_local }}
if you need it to display correctly on safari or iOS you should go with "timestamp_custom('%Y-%m-%dT%H:%M:%S.%f+00:00', false)"
So does everyone have a crap load of entities that were created by templates in order to be able to track attribute values?
Is there a way to create a scene button in lovelace like in apple homekit that "lights" when a scene is on?
I know a light group can do that, but scenes can be to turn off some lights while turn on some
When creating a custom card (right now the card is simply js), im assuming it can only work with values its given and not be able to fetch any data? Trying to create a custom card that will create a pie chart based on an particular sensors attribute (that attribute value is an object)
@mild veldt awesome. thanks!
so much easier to create custom cards when its all available. thanks!
i love the look of the mini graph cards, but he doesnt have pie charts. Any suggestions for charting data should probably going into a pie chart? All values add up to 100%. Im not sold on pie charts, but im not sure the best way to graph such data if im not using a pie chart
This is what Iโm doing now https://www.icloud.com/photos/#0AXQDq8e-vYC5ceC2C_wxhjPQ, but not a big fan of it
media_player:
- platform: vlc
name: speaker_1
arguments: '--o alsa-audio-device=hw:0,0'
how to configure bluetooth speaker
@craggy solar that's an #integrations-archived question.
yes sorry
Hi all, I created a button with a call-service -> homeassistant.toggle on a group and the actio nworks fine. Just the state of the icon doesn't change. What am I missing ? I also tried to force state_colour: true without luck
If a button isn't representing something with state, it won't change with that thing's state.
A call to a service doesn't have state.
Share your config ๐
I see the switch change status when the button is pressed
this is why I was expecting to change icon as well
I have the same result if I use the group directly without calling the service to toggle
if I use a single switch it works fine, if I use a group defined with 2 switches it doesn't
So i dont have a lot of experience creating custom cards, but my chart seems to draw fine the first time, but as the panel sits there and is updated, its like its blank https://hastebin.com/acusilorak.js. These values really shouldnt update more than once per day, so i really dont even need it to handle live updating. Any suggestions?
Good morning all. Is anyone aware of a method to control when the frontend creates new columns?
layout card is one option
anyone know why i cant do any changes in configuration > general? its all faded out...
i need to specify my external url and that stuff, and apprently you cant do it in the config files anymore for some wierd reason
If you can't edit there, it tells you why
why is it some configs are only alowed in gui, some only in config and some in both? it kinda makes it even more of a pain to configure stuff :S shouldnt it be that ALL configs should be possible in the config files? i mean the gui is just supposed to be to help those who dont want to dive into config files right?
Editor disabled because config stored in configuration.yaml.
yea.. but i have to have it that way
And, somebody clearly hasn't been reading the blog posts
couse i need to config stuff that i cant config in the gui
Then you get to configure it in the YAML
no i just came back after beeing gone like 2 years, and tbh, configuring stuff now is way more of a hassle than it was back then
when i try to set base url in config it tells me i cant
That's deprecated
i have to do it in gui apparently from what i read on the forums
It's not mentioned in the docs any more ๐
All that 2 year old knowledge you've got ... out of date
so.. i cant config in the gui couse i config other things in the conf files that the gui does not support, and then i cant put base url in config file couse it has to be in gui that i cant use?
so basically im fucked then and cant use remote access
FFS
Try reading the docs/release notes/etc
base_url has been replaced by internal_url and external_url
If you're looking at the UI it's quite clear those options exist
"homeassistant: main configuration has now a external_url and internal_url setting." from "https://www.home-assistant.io/blog/2020/05/20/release-110/#internal--external-urls" but when i add those under my homeassistant: in the config files i get that those properties are not allowed
I know there is documentation over all states that are translated depending on device class. Like 'on' becomes 'Pรฅ' in Swedish, a motion sensors 'on' becomes 'Klart' and so on, but I can't find it. I am probably using wrong words while googling. Anyone here that can point me in the right direction?
The actual entity state doesn't change
It's just the overview that changes what it displays
@muted saddle are you seeing those properties not allowed warnings in VS Code? The extension for that hasn't been updated for internal_url and external_url yet, it will tell you it's not allowed, but it is.. Just follow the docs that Tinkerer linked.
How to move some HA components (shortcuts) to the sidebar (logs, server control) ? iframe works but with quirks: double sidebar etc. Searching for solution for both (Android) app and browser ๐
Came here for a similar question as Reps. But I would like to change the order that the things are in. Or hide some of them. What would be the best way of doing that?
to werra11: which of 4 HA install methods? I use venv
aka homeassistant_core- here via HACS sidebar card is available...
You don't need HACS to install custom components.
to mono: of course but not that is not the case now: homeassistant_os people do not like manual install AFAIK ๐
I'm a HassOS person. I'm okay with manual installs. Don't make generalisations.
It's not exactly difficult to copy/paste a folder.
OK, sorry- just my experience on different installs around ๐
I have HassOS a very much prefer click -> done
Pretending like you actually use Home Assistant 
Didn't say i used it ๐
I have it
it's there ๐
yup, just checked, still running
For me itโs less about the point and click aspect, but more about the simple version tracking/updating with HACS. But point and click is nice ngl
back in the day when custom_components just was a single file updating was not that big of a chore, but now some of them span across ~80 files
hey there,
i hope i am in the right channel.
I want to set a gradient as the background.
I started to make a theme but with:
background-color: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
does not work (white background).
Do you have a hint for me?
@forest smelt you can add logs and server controls to sidebar with this code https://gist.github.com/balloob/580deaf8c3fc76948559c5963ed4d436
Thanks Sean, works as intended ๐ Saw it before but did not fully realize its capabilities ๐ฆ
I'm trying to cast a lovelace view to a chrome cast, the casting works however my cameras do not. Shows up as a broken picture. The camera is nothing special a standard mjpeg. any ideas?
nvm "fixed it" added as a picture instead
Evening Guys and Gals, Have a Animated backgrounds and Fully kiosk browser, is this the place to ask?
IF your question is related to those two facts, then yes - probably.
lol, thanks. I'm using the animated background and this works fine on my laptop, ipad and phone with no issues. If i open Home Assistant in the silk browser on my Kindle fire, the background loads as expected. If i open the same page in Fully Kiosk Browser, the background is just white. - Any ideas why that might be?
On the same device? Only think I can think of is that maybe you need to update WebView or whatever the package that handles web rendering is called...
yup, on the same device.
when Fully kiosk loads it says "Be aware of the outdated android webview (current Ver. 70)" but it is strange that it loads in the silk browser with issues.
i've just installed Android System Webview V83 from APKpure.com but fully kiosk is showing the same error. Is it possible that fully has it's own version of webview baked in?
It does on Kindle, yes
So, i guess that means i need to wait for fully to update their app?
I don't believe they have done so in many years
damm it!
I junked Kindles. Awful products IMO
Well awful skinned software mostly
If you can root it and get a new ROM they are decent
Not sure the follow up question is for this thread or not, but is there an alternative to fully? Ideally Something that can dim the screen when no motion is detected.
I rooted on yesterday and it had the same issue in fully. lol
that gave me another issue though, where i couldnt get the camera to work. I've got a couple of Fire HD 10 (7th Gen)
Is this installation still valid for the newest HA https://github.com/lukx/home-assistant-jukebox ? It doesn't seem to work
Any auto-entity experts? I've got this https://paste.ubuntu.com/p/jbYPRCFXzx/
And I can't figure out how to exclude anything over 50 percent battery life.
I don't know how many people use the check-button-card https://github.com/custom-cards/check-button-card but has it stopped properly working for anyone else?
Since HASS 112.x and its new handling of MQTT, it no longer works for me
Anyone familiar with these two error messages? They seem to generate on any lovelace page refresh. I do not have bar card used right now, only installed
2020-07-05 22:30:39 ERROR (MainThread) [frontend.js.latest.202007020] http://raspberrypi:8123/hacsfiles/bar-card/bar-card.js:5355:1 Uncaught SyntaxError: Unexpected token 'export'
2020-07-05 22:30:39 ERROR (MainThread) [frontend.js.latest.202007020] http://raspberrypi:8123/lovelace/default_view:0:0 Uncaught
@polar kelp can margin be added to the left or right side of a card only with card-mod?
sort of padding on the edges only
hmm, im having an issue with a custom card ive created where the when the dashboard updates, i lose all colors for my chart. Im using chart.js. Its really odd. Unfortunately i dont really know a way to show a publicly viewable the code/problem when you obviously cant fully mimic the issue in codepen, etc. Any suggestions?
good morning, does anyone know if it is possible to change the font of the home assistant text?
@vapid field https://github.com/thomasloven/lovelace-auto-entities, maybe something like this?
include:
- attributes:
battery: "<= 50" # Attribute battery_level is 50 or less```
or
card:
title: Under 50%
show_header_toggle: false
type: entities
filter:
include:
- domain: sensor
name: 'Batteri:*'
state: < 50
sort:
ignore_case: true
method: name
type: 'custom:auto-entities'```
Hey all, I'm pretty new to HA and I'm trying to install https://github.com/fraoustin/radio-card
My problem is when to add something to the "ui-lovelace.yaml", I'm not sure where this file is? It seems like it's not a standard file anymore, is that totally wrong understood?
It's nearly a year and a half abandoned... but resources go in
-> Lovelace -> Resources
Enabled Advanced mode in your user profile if you don't see taht
I actually just figured this out myself, do i still need to put the exact same path?
Yes, you need to use the same paths
Excellent
Then here goes my next question ๐
When i try to setup the UI it says "No card type found", what do i need to change in this case?
You have to use the last option on the list - manual or something it's called
Yeah I already did that :/
Then you enter the YAML manually ๐
type: custom:radio-card
radios:
- name: france inter
img: /local/custom-lovelace/radio-card/franceinter.png
stream: http://direct.franceinter.fr/live/franceinter-midfi.mp3
- name: france info
img: /local/custom-lovelace/radio-card/franceinfo.png
stream: http://direct.franceinfo.fr/live/franceinfo-midfi.mp3```
alright with that code i do not get an error, but just a blank box, but that might be something to do with the script?
๐คท It may not work any more
am i blind or is there actually no surveillance camera icon on mdi?
does anyone know what I can do to change the color/background-color of "ha-user-badge"? figured it out: "light-primary-color"
the cctv one is great thanks!
So with hidden deprecated, what is the new way of hiding entities that are cluttering up my dashboard? Is the only way to do a custom Lovelace frontend? No way to do it with the autogenerated?
nope, you'll need to take control of lovelace
Bummer.
I have a hard enough time trying to just figure out all the automations I want to do, let alone now be in charge of building my own UI.
Life is hard
And then you realise you're out of tea...
@ashen kindle it's not too difficult, the visual editors can make it easier
in fact it's actually quite nice because you can build a completely custom dashboard
Is it possible to move a card into a vertical stack post card creation? I want to organize my lovelace ui, but don't want to have to recreate all of these cards to do it.
you could copy the YAML for that card into a vertical stack card's YAML
hi, i want the picture in this custom:button-card to fill the whole background but i cant get the css right. This is what i got, yet. https://pastebin.com/sSFAyJHR
mhhh i somehow cant post a picture in here
Please use imgur or other image sharing web sites, and share the link here.
thanks bot ๐ https://imgur.com/a/i4VpJZ5
@winter blade @forest smelt the latest pre-release of https://github.com/Villhellm/custom-sidebar allows custom sidebar links
Never saw that before. Cool.
Much easier to use than mine https://gist.github.com/thomasloven/2a37152725c582fec4420ecedb65ebe3
Yeah the config strategy is a bit... wonky. 99% of the file is a YAML parser. It really should be a custom integration, but I'm not familiar enough with python to tackle that yet
If you use json instead, the parsing is free, but itโs a bit annoying for the user.
I had considered it, but most users are already familiar with yaml and I've seen too many people struggle with basic json concepts in #node-red-archived, so I figured this is probably the better option for now
Hm... I wonder...
Parsing yaml is kind of hard... but converting it to json might be significantly easier...
๐ค
That's an idea. I played with the idea of making a custom parser since the yaml used is so basic
it really just came down to laziness ๐
Yeah... Iโm working on yaml parsing in card-mod, but js-yaml is like 100 kb, so that doesnโt feel worth it to include.
Itโs hidden in the card editor, btw, and you can actually pre-load that in the background and pull the parser out.
I saw that in card-tools, but it seemed like more work to reimplement rather than leave the parser in the file
Then you get a akward state when waiting for lovelace
There's a handful of panels that have the parser, but loading them quickly and in the background proved difficult when I tried poking around
I'm just glad I got mdi icons to work in custom links. That was a shot in the dark that ended up working. Failing upwards is great
oh boy that file was hard to load, look into rollup and do some splitting ๐
there should be a law that states that a file never go over 250 lines
Custom plugins would be lawless anyway ๐
I'll need to start counting lines in something other than base10
What the heck are you loading it on? It's only 2043 lines
That's between me and my maker
Maybe I'll add a "not intended to load on potatoes" disclaimer ๐ค
250 lines?!? lol
What can I use in place of 'hide_entity' since apparently I need to get it out of my config?
postit
You need to take control of your lovelace dashboard
anyone know how to update the System default Zone? I tried using the old method (YAML) but it just makes a second zone with the same name... https://www.home-assistant.io/integrations/zone/
is it possible to override iframe css? I want it to be always white, instead of using card color value... I'm checking this doc and dont see any mention of iframe https://github.com/chipriley/lovelace-css-values/blob/master/known_css_refs.md
@wheat current this is a function in some legacy code I now own
not a file, a function!
WTF!!
iframes is a view into another website, you can not syle that, unless you controll that website
Sure - What does that mean?
We have an old guy at work who wrote all of the calculation tools. From the code it's obvious he's an old fortran programmer...
@wheat current is this better https://gist.github.com/Villhellm/34161f8555d9c0957414b9263dd51059?
I'm too scared to try
He also doesn't believe in functions, because they break the flow of the code, and declare a number of variables at the top, with names like "flag4" which are reused for different purposes.
@wheat current I want to add style the <iframe> tag , not what is inside
@modern osprey check the lovelace docs https://www.home-assistant.io/lovelace/
@modern osprey The new way to do things is to either let everything show and order it automatically, or to build the UI to only show what you want.
I.e. add things, not remove.
Ah so if I just remove it it wont matter too much? It only supresses it from showing up in lovelace?
(this is in my homeassistant configuration.yaml)
Your what?
the configuration.yaml
The old hidden setting does nothing now
Yes, you can safely remove it.
It really should have done nothing when states ui went away
You guys have any thoughts on the Zone question above?
That worked for me
Tinkerer not sure if that was a reply to me but I tried restarting the server vs reloading the zones and it worked. Sorry to bother... Cheers
It was, and I'm glad it worked for you
Okay... why does the way themes work keep changing on each update? https://imgur.com/a/H23OU14
There used to be a background on "dialog" boxes
@polar kelp one of my professors had an internship at some meteorology center and had the task of re-writing old applications (can't remember in which language) but said they were all previously written by the scientists and just used classical math variables for everything. Sounded like an absolute nightmare
710 CS=10/((7.5/(T+.1))*T2):CS=CS*1000
720 CT=.18*((A(2)+.17)/.032)/(2590/T1):CT=CT*1000
730 CE=(EP/233)*(T*Y*.17):CE=CE*1000:CE=FNI(CE)
740 CD=A2+A3
yup. been there.
tbf when this was written there wasn't really any such thing as code etiquette
Sorry another random question. Anyway to add a unique id to a light group created in YAML? I get this message on the frontend. "This entity does not have a unique ID, therefore its settings cannot be managed from the UI."
@brittle forge no, would require a PR to the core codebase
Hi, new here. Not sure where to put this, but here goes; I've recently installed Home Assistant as a docker container on my home server. Everything about the installation went smoothly. Getting Philips Hue and NetAtMo integrated also went smoothly, until I tried to edit some of the components. When I click on a component or the gear icon of anything the whole browser freezes and throws an error: either RESULT_CODE_HUNG or SIGTRAP... any clues?
@cerulean panther Not sure which install you're using?
-
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
-
If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714
-
If you're running
dockercommands or use a Docker manager and have no add-ons then you have #449717345808547842 -
Finally, if you use
pipto install or upgrade you have #551864459891703809
Having difficulty chosing an install method? See this blog post for guidance.
Sounds like probably #449717345808547842 is your method/channel to get started
@mild veldt thanks I think I got it posted correctly. https://github.com/home-assistant/core/issues/37574
well I guess that was not where to post it...
I'm having issues where upcoming-media-card is not showing anything from Sonarr or Radarr even though they have a lot of data in states. custom_components.upcoming-media-card: debug is the right syntax to see debug logs, right? I get nothing...
That's because cards aren't components ๐
custom_cards.upcoming-media-card?
Cards are purely in the frontend, not the core (backend)
So how can I find out what's wrong?
Check the browser console for errors
Can that be done on Android?
Here , try this:
http://letmegooglethat.com/?q=browser+console+on+android
No errors in console
@broken marsh did you install its other card that is required and did you restart hass?
the sonarr card requires the upcoming card
I have. And that has value when I check states.
oops, i was wrong
Maybe I am adding it wrongly to Lovelace.
entity: sonarr_upcoming_media
type: 'custom:upcoming-media-card'
entity is wrong
did you add the custom sensor?
mine is something like all_shadows: false entity: sensor.plex_recently_added_tv title: Recently Added TV type: 'custom:upcoming-media-card'
I have the platform: sonarr_upcoming.... Oh
entity: sensor.sonarr_upcoming_media
Hehehe... Now it works. Thanks a bunch.
ok, so i must be making custom cards wrong (using a js file and doing custom: my-custom-card). Anyway, im looking at the browser console and my card has refreshed like 20 times in the last minute. Is there anyway to avoid that? the data updates maybe once a day and its a resource hog to recreate the canvas chart
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
for testing, ive been playing around with the first simple example https://developers.home-assistant.io/docs/frontend/custom-ui/lovelace-custom-card/ "Defining your card"
The example is going to refresh every time the hass object updates
@elder pendant how can i avoid that?
avoid a refresh at all or set a refresh rate or something
to avoid refresh at all you would put everything in the if (!this.content) statement
ideally you would only render when your defined entity has changed state. So you'd need to store the state somehow and check it against the incoming state when hass changes
I'm using the Terminal & SSH add on
and trying to run a python script in the terminal
But I can't seem to get Python to run. Any ideas?
I'm running hassio
@storm obsidian nothing to do with frontend
ok - can you point me in the correct direction?
And...you canโt. Look into python_script or appdaemon
@dark dirge you're saying you can't run python from cmd?
Thatโs what Iโm saying
ok thanks
Does anyone know why a picture elements element would not update its state on the front end unless another elements does?
I have one elements that refuses to update unless i tap on something else, even though it changes in real life and the state is reported correctly to homeassistant
here is a short video of the behavior https://youtu.be/gqkTrwrNaiE
its also the only element in my config showing this behavior
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
here is the front end code https://paste.ubuntu.com/p/4twHykQhjj/
Do I need to migrate soon to front end ui editing or can I keep doing yaml for awhile? Made an attempt to swap to front end and not having fun constantly editing and losing my comments. 
I don't think frontend YAML is being removed. It's integration YAML that's being switched to UI-only.
Okay sweet. Time to go add back the yaml mode then for lovelace.
Is there a way to exclude entity attributes from the history-graph card? I have a temperature sensor that's presenting temperature in both farenheit and celsius, and I want to hide one of the units from being graphed.
Apparently not. It's mapping all graphable attributes (and for attributes with different units, adds an additional graph automatically)
So my history-graph card is double-tall with two graphs in it, one in F and the other in C
Just because I added a single entity
What does your Lovelace code look like?
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
Totally standard... added the card with the UI, selected an entity with the UI
Got a double graph
And if I look at the entity itself, it also has a double graph
Ok. All I can find via search is people trying to graph attributes and needing to create additional sensors
Oof...
What entity?
sensor.lumi_lumi_weather_28363002_temperature
Aqara Temperature and Humidity sensor
I want to try querying the device to see if there's a setting I can change on it to remove the second temp readout, but that portion of the Zigbee (ZHA) integration appears to be gone?
Well, after a few manual updates (pushing the button on the sensor) it did stop reporting two graphs...
New problem
The entity itself only shows F, the history-graph card only shows C
How do I force the history-graph card to show the correct units?
You donโt. Itโs uses the units of the entity
I donโt know whatโs up with that device
But.. the units of the entity are in degrees farenheit
๐คทโโ๏ธ
Seems almost like a lovelace bug
The really fun part is that the history graph card shows the correct number (75 degrees), but labels it ยฐC
It's 75ยฐF in there right now
Or try creating a template sensor with the proper units
So it refuses to merge with any other temperature entities, because the unit is wrong
Could, as you say, be a discrepancy between what itโs reporting and the units you chose for HA
But HA is supposed to convert everything to the global unit
It should actually be kinda difficult to get a graph in ยฐC with the global unit set to ยฐF
Please use imgur or other image sharing web sites, and share the link here.
๐คทโโ๏ธ, I say again
And yet it renders like this
https://i.imgur.com/7s6ddi0.png
High temps at the beginning were presumably when I was holding it in my hand getting it set up and attached to the wall
I would probably a) make a template sensor and see if the problem follows it and b) use mini-graph-card
I mean, at least it's down to one graph... one horribly wrong graph. lol
That graph basically says it's 167ยฐF in here
Itโs also possible that itโs getting confused with historical data in the database
I'm using the history-graph card because you can assign multiple entities to it, and if they all use the same units, it stacks their graphs.
The other options for graphing only allow a single entity, and don't show the scale of the graph on either axis.
Pretty, but not all that useful
All hail, open source
It doesnโt always work, but at least you can do something about it
I mean, I can, but not everyone can...
Sucks when a project's source is over your head and your help requests all go to "well fix it yourself, lol"
Yeah, this project is nice. A lot of other open source projects I've interacted with have left a bad taste in my mouth, though.
I still think itโs some inconsistency in the historical data that may flush out on its own. You could hurry it along by purging history
You could confirm by poking around in the database
@flint shard Configuration > General > Units
@flint shard as for contributing, I like to think the frontend is pretty welcoming. We could always use help as it's really only Bram consistently. Me and others cycle through
#devs_frontend-archived if you get an env setup and want to get your feet wet
I took this to mean that the HA units were set to F
It should actually be kinda difficult to get a graph in ยฐC with the global unit set to ยฐF
But itโs confusing
I skimmed ๐ but doesn't hurt to double check
Sure
Yeah, units are already set to imperial globally ๐
@mild veldt Cleared history on the sensor, deleted it and re-added it... same issue. The entity shows ยฐF, and the history-graph card shows ยฐC (sort of, it's displaying the temperature in ยฐF in spite of being labeled ยฐC)
I anxiously await the PR ๐
Assuming I can figure it out... and that I get a test environment set up...
Who wrote the card originally?
I didnโt look through the history
I did poke around and saw reference to the system wide units and the data units, but didnโt see any conversion
I didnโt look that hard though
Hah, so even after forcing a unit of measurement for that entity via customize.yaml... still shows wrong in the history-graph card
So we've not got it just straight-up ignoring settings in customize.yaml
It's right everywhere except that one type of Lovelace card
that's quite interesting actually. The card itself uses the common chart rendering elements
It shouldn't be any different
I can't personally replicate
Aaaand now the sensor just started reporting in BOTH ยฐF and ยฐC again...
The history-graph card just cannot deal...
just added a history graph and it properly reports F for me
It does for me too, on all of my ecobee sensors
But not this Aqara sensor...
This is also the only sensor I have that appears to be reporting its temperature in two units simultaneously
ZHA?
Yup
could also be that. maybe report over in #zigbee-archived
they might be doing something funky
the two-graph thing just went away here: https://community.home-assistant.io/t/why-are-there-sometimes-two-graphs-for-one-sensor-displayed/90556/22
but it's the same sensors, so probably related
Yeah, it went away, then came back...
I have a couple of those weather sensors connected via ZHA. I don't see two graphs in the history for either
sensor.lumi_lumi_weather_28363002_temperature ?
Looks like it's not just me. The post linked above has someone with the same issue
Yeah, square one here too
Definitely strange
It's back to "two graphs, the second one claims to be ยฐC but it's just displaying the same number as the ยฐF graph."
an entity can't have two different sets of units, as far as I know, there are shenanigans at play
The sensors report in celcius I believe
But home assistant converts to whatever unit you have set
so cheap you can't afford not to buy them
Take it back? I thought you said that you had one working fine ๐
The guys in #zigbee-archived are usually responsive, so they may know how to debug it. It seems like it's more likely to be the sensors than the graph
would probably be easier to debug if you were using Zigbee2MQTT
Yeah, still on the waitlist for the adapter to make that possible
no magic APIs
Looks like this is an issue with the history-graph card that was closed recently, and needs to be re-opened:
https://github.com/home-assistant/core/issues/24814
A bot closed it due to inactivity, but there are posts since then of other users with the same issue as recently as 12 days ago.
good catch
So, I'm not crazy. Yay!
You'd be a hero if you solved it
Aaand it's written in javascript, which I'm not familiar with
yeah, not my area either. but not crazy, either
but it may take somebody who actually has the device and cares
Going by the issue above, it impacts multiple devices
My wheelhouse is C#, C++, Python, and PowerShell (if we're counting scripting languages)... but I'll see if I can make heads or tales of it
yep, but as iantrich said, it uses stuff from all over
Yeah, I see the 7 imports at the top
So the bug could be in any one of those as well
Yeaaah, I'm the wrong resource for this. I don't even have a test environment set up yet.
Which will absolutely be required to test this component
As a work-around, I made a template sensor that literally just mirrors the state of the actual temperature sensor. That works fine with the history-graph card...
Really odd, that
If youโre so inclined, maybe poke around in the database to see what the records look like
Garbage in, garbage out, as they say
anybody knows how to apply confirmation dialog to a switch?
What I read it should be implmented now
but I don't find any docs on it
entities:
- entity: input_boolean.testmotion
- entity: input_boolean.testswitch
confirmation:
text: testtext?
type: entities
can somebody correct me here ๐
@cedar parrot Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
Show us the whole card, correctly formatted, using a code share site
Do I need to make a template to get an mdi icon to spin? i.e. the fan icon when the fan is on?
That'd require CSS
I'm pretty sure that's been posted before though, so a search should find it
Custom button card have that built-in
Got the custom button working with the spinning icon! Thanks @wheat current I know i can fix the size of the card, but can it be scaled to match other cards in the horizontal stack?
Hi, Is it possible to add multiple bits of information to a glance card? For example at the moment i have two glances for each family member of my house, one shows location, )home, away etc.) and the other shows proximity, ideally I'd like one picture, with multiple lines of information on each below, if possible.
If you want to customise cards like that, you're better off looking at custom cards like button card: https://github.com/custom-cards/button-card
Really powerful once you know how to use it.
There are also ways to mod existing cards but I'd recommend making something bespoke rather than trying to bend the built in cards to your will.
Thanks. I'll take a look at the cutom button card, I assume that would be the best way of navigating with icons too? I've set my title bar to hide so that it isnt visible on the wall panels, but when accessing on my phone i want to be able to access multiple (other) screens.
Yes, it lets you define a navigation_path as an action, so it'll be good for moving between dashboards/views.
How would I go about making a markdown card look more pretty? I would like to make it look like a header/greeting card.
@cedar parrot confirmation is only for the tap/double_tap/hold actions. It is not for switches on the entities card. You can try my card for that https://github.com/iantrich/restriction-card
@arctic gulch just follow a tutorial on using markdown syntax. e.g. https://ghost.org/changelog/markdown/
Hi there, I've suddenly started getting this message whenever I try to open a panel (eg Supervisor, Deconz).. it's on phone app and laptop browser. I'm running HA on RPi4, v0.111.4. "unable to load the panel source: /api/hassio/app/entrypoint.js " ... Any ideas please? Thanks!
Is your supervisor maybe updating?
@winter hollow it's been that way for a few days now so I guess not?. I've restarted a couple of times but it doesn't seem to impact it
Hello. Iโm struggling with some stuff on HACS. When I try to install Spotify Card and Custom Header Iโm getting โNot loaded properlyโ. Anyone had this issue that can help me?
@karmic tiger is it possible to do the navigation without an object entity?
Did you try the example in the docs? https://github.com/custom-cards/button-card#tap_action-navigate
It doesn't mention entities anywhere.
Sorry been at the hospital all afternoon, i missed the part with the link on. Thank you.
can someone assist me in troubleshooting my mini media player card
it does not work at all
and also my mod card
are they updated to the newest version?
i have plenty deprecated stuff that still function just fine on my setup of hassio
๐ค
Well, I think you found the problem
Is it possible to display a state in a card name?
For example: input_number.slider_sproeitijd
I want to display the number in the title of a card
Using something like https://github.com/custom-cards/button-card, you can make it show almost anything you want.
Ooh, a custom button card. That's interesting! Thank you.
@split granite is card mod deprecated?
That's not what you were told
Certainly not
just checking
i did update the config as you guys suggested
and still didnt work
thats why i am back
Check your resources list, do they show now?
i entered the urls manually in the list
Did you then reload the resources?
how you mean reload the resources?
anytime i make changes that are giving me headaches i reboot home assistant
You'll have plenty of headaches if you always do things the hard way instead of learning the easy way.
lol
when u learn the hard way then when the easy way doesnt work you already know the hard way
lol
Reboot != Reload
Did you try reloading?
you said you installed via hacs right? then I'd suggest deleting all you have of it and reinstalling via hacs cuz that should just straight up work
Well, that's true if you're not using YAML mode
If you're using YAML mode you still need to make all the required changes to the resources yourself
Ah I missed that part
Just looking at the custom:button-card and i've figured out how to get most of the information I need, I just cannot for the life of me figure out how to return two values:
[[[
return 'Battery: ' + states['device_tracker.dad'].attributes.battery + "%";
return 'Charging: ' + states['device_tracker.dad'].attributes.battery_charging;
]]]
I've tried various combinations of comma's, putting each statement in double curly brackets and adding commas and '+' signs between the statements too, I'm not sure if it is a limitation in the button or my poor coding skills.
You don't need to keep tagging me. I may have pointed you in the right direction but I don't actually know much about the frontend. Just post your question and see who answers ๐
Sorry.
It's all good. You're on a server full of people who know a lot about this stuff. Someone will help ๐
Thank you.
@halcyon basin you can't return more than one thing. It is just one string, so keeping adding to it
when i try to install it in hacs again i dont see it but when i try to add the repository it says its already added
Go to the Frontend tab in hacs, click the
in the top right corner and click "Dismiss all new repositories"
Whatever is remaining is what you have installed
if i want to see all the repositories that i dismissed how do i do so?
i do not see an option for the reverse
You search for them...
Dark mode ftw ๐
Wait, there's a dark mode? ๐ฎ
Settings > Appearance > Theme
Yeah, not seeing that on frontend ๐ถ
We're talking about Discord themes
Psh
Hi Villhellm, I'm using your brilliant animated background but i just cannot get it to work in the fully kiosk browser. could you tell me if there is a minimum requirement for webview please.
Got my hopes up - lol
No installed repositories matching "mini-media-player" found in this section.
Try searching for something else!
For HA you just need to install a theme
I recommend green dark mode on hacs
@halcyon basin ๐คท I'm not sure what fully's standards are
If you had access to the browser console I might be able to tell you what's going wrong
i'm not sure either, your animated background works on my laptop and phone, but the backgrounds just wont load on fully.
You might try delving into the fully settings. I know they have some random JS settings hidden away
@gilded veldt maybe add it as a custom repository. In hacs ->
-> Custom repositories -> Add https://github.com/kalkih/mini-media-player
i've tired to enable JS, but cant find any settings that encourgae it to load.
If it's already installed then it's not going to show up in the + menu
Repository 'kalkih/mini-media-player' exists in the store
Search the frontend tab, not in the + menu
So either it's installed and already in the frontend tab or it's in the + menu to be installed
@halcyon basin I don't have a device that can run fully, but check if you can view the browser console somehow
No installed repositories matching "mini-media-player" found in this section.
Try searching for something else!
Are you in the Frontend tab or the Integrations tab?
now it finally shows up to be added
it helps when you follow instructions ๐
and I don't know if it's different in yaml mode but for me it's added to lovelace with: /hacsfiles/mini-media-player/mini-media-player-bundle.js
I've just managed to get this off of the debug:
Uncaught DOMException: Failed to execute 'insertAdjacentHTML' on 'Element': The element has no parent.
at renderBackgroundHTML (http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:501:19)
at Object.set hass [as hass] (http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:654:11)
at HTMLElement.value (http://192.168.12.202:8123/frontend_latest/app.9108bd0a.js:806:32132)
at run (http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:636:46)
at http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:711:1
Are you using HACS?
wait
dumb question, I see that now
Alright, I'll try some things and push a beta release for you to test. Make sure you enable beta releases for Animated Background in HACS
ok, dumb question on my part... how do i do that?
not a dumb question
when I release a beta I'll let you know, then you'll go to the Frontend tab in HACS and find Animated Background. Click on the
on the card and select reinstall. There will be a switch at the top to enable pre-releases
perfect. Thank you so much for looking at this for me. I really appreciate it.
Hi everyone, i am trying to figure out resources. I add resources from Hacs and they are stored in www/community/card-mod/card-mod.js. I go to Lovelace dashboard > resources and i add /community/card-mod/card-mode.js and i cant add the custom card in UI editor. it says card not find.
resources section already has /hacsfiles/card-mod/card-mod.js url as well.
i have spent all day trying to figure this out and will appreciate some help
That looks like it should be fine. What are you trying to add to lovelace?
@halcyon basin alright, just published
Card mod isn't a card on it's own. Except for card-modder but you probably shouldn't be using that.
correction mod-card is the card
but my question is what are you trying to accomplish with card mod?
to be honest, at this point i am tryign to fgure out how resources get loaded which can be used in lovelace. like mini-graph-card
If you install them with HACS and you're not in YAML mode then the resources should be added automatically
for mini-graph-card, if installed by hacs, it's /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
Not every card will show up in the UI editor
You have to add them through manual YAML
i am trying to add via Manual editor
What are you trying to add/what is the error?
No card type found
is the error when i try to add by going into edit mode in lovelace > Manual at the bottom
Try saving it anyway
make sure it's added like this:
type: 'custom:mini-graph-card'
okay thanks. let me try that
@elder pendant After running the update, i have this:
Uncaught DOMException: Failed to execute 'insertAdjacentHTML' on 'Element': The element has no parent.
at renderBackgroundHTML (http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:504:19)
at Object.set hass [as hass] (http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:665:11)
at HTMLElement.value (http://192.168.12.202:8123/frontend_latest/app.9108bd0a.js:806:32132)
at run (http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:647:46)
at http://192.168.12.202:8123/hacsfiles/lovelace-animated-background/animated-background.js:722:1
Interesting. I thought it may just be loading in a different order, but it looks like it doesn't allow HTML insertion on a shadowroot
Just rename the element to Bruce Wayne. Problem solved.
Clicking on the first error takes me to line 405, between the full stop and the i
Yeah I know what the problem is, I'm trying to figure out an alternate method to insert the HTML since fully isn't recognizing shadowroot as a valid parent element
Thank you.
@halcyon basin alright, pushed another beta to test
The background seems to have loaded!
Working on the laptop and on my kindle fire wall panel!
Thank you so much!!
@vapid field Correct, hidden is now no longer an option. Now if you want to customise your UI you have to actually take control of it with
๐
oh no - that ended in a right mess last time I tried doing that
Oh well
If I take the plunge and press that button - can I undo it ?
Yes
here goes ...
oh sorry. I was pointed here from the "Community Add-ons" server. I'll move my question to the other channel.
Not a particularly huge issue, but is it possible to get Lovelace to treat a group like a light (inherit colour/saturation based off colour/brightness)?
Ohh, fantastic! Are there other kinds of pre-built "groups"? Like climate/motion/contact?
Is there a way to make a tab on a secondary Lovelace Dashboard the default with @clever ore's Custom Header? As far as I can tell, I can set the default tab on the "Overview" dashboard, but I don't see a way to point it to a different dasboard.
Not currently, but if you add a feature request to the Github there's a good chance you'll see that happen.
@green raft There's others for things like cover, but binary sensors work fine in a normal group
Any idea why the icons aren't centered here?
https://www.dropbox.com/s/hfzd6649adxpt9a/Screenshot 2020-07-08 18.38.29.png?dl=0
Config - https://hastebin.com/iyilutevar.bash
Looks pretty centered to me.
It's just they are centerd on the remaining space of the button after taking some for the text, not at the center of the button itself.
Otherwise, e.g. the restart symbol would collide with the text.
Any idea why my History Graph Card doesn't match the corresponding device in the history view?
Nevermind, it was a disk full issue
