#frontend-archived
1 messages Β· Page 64 of 1
ive had 2 days off work, my family are in France, and I have spent the entire time on Lovelace and HA!!!
Time well spendt π
my Evernote notebook is brimming with snippets now π
i am in awe of Lovelace... so much you can do, im only scratching the surface im sure
Guys, is there any way to have old-style badges inside a glance card?!
@icy kettle use picture-elements
@north spear Thanks!
I am not sure who wanted this, but here you go: https://github.com/ciotlosm/custom-lovelace/tree/master/group-card
- type: custom:group-card
card:
type: entities
title: Group card
group: group.bedroom
@shell torrent @weak salmon @hot gyro @hoary coyote see above group-card maybe you were interested
hi @north spear just tried the group-card, i used that same as above with group.all_lights and I get a blank page. I added the resource and .js file
what do you see in your javascript console ?
there should be an error if you get blank page
so i am not a developer, just to be sure you are talking about Chrome -> Inspect Element -> Console
refreshing on the empty page I get this https://hastebin.com/toqazanaho.js
what is your ui-lovelace.yaml config ?
- type: custom:group-card
card:
type: entities
title: Group card
group: group.all_lights
and resources section ?
and you copied group-card.js in your www folder ?
the error in your console is not relevant for group-card so it's either not loading at all
maybe your config for it is not well aligned or has some tabs
weird you get a blank page
there should be other errors as well in your javascript console
its first time I have had no display on a custom card
interesting.. the group is there in the standard UI
and in the dev console it has many lights associated with it
here is the group.all_lights in the dev console https://imgur.com/xqlNgub
just changed the group and same blank display
and removing the custom card makes it work again ?
I am using 'demo' and works for me with group.all_lights
@mossy gale any other errors in your console? Keep it open and do some refreshes
that was the only thing i had in that view
can anyone suggest a way to display a temperature value in a picture-glance card?
@winter wasp don't use picture-glance
which simulates picture-glance with picture-elements
@north spear will have a look - when I get the tracker card to work - seems like the sensors dont populate
@hot gyro you need to delete your old custom comopnent and sensor, you just need one custom component and that creates sensors for you
we can do a share screen if you want
if you had troubles getting it to work
I just downloaded the entire folder - didnt had any previous - downloaded them manually
mmm, no, use https://github.com/custom-components/custom_updater
I will update docs
hmm
already updated
i followed those instructions, had no previous files to delete etc
i get the card but its empty
common issue for me today it seems π
^^ did you use .homeassistant/custom_components or like me .homeassistant/www/custom_components
www/custom_components
needs to be .homeassistant/custom_components no config if you did it
mine works fine now by the looks of it
are u using Hassio
yes
but also where custom components are for every other i have installed
From info on site .... Install this component by copying /custom_components/custom_updater.py from this repo to <config directory>/custom_components/custom_updater.py on your Home Assistant instanse.
my config directory is config
hmm ok then its something else
@north spear do I need to remove the versioning in the resources with this updater?
with me or collse?
I got it covered I guess
ok i will
thanks for the offer though
love to get the card working, and shed some light on the group-card being blank
got it
@north spear for some reason that code not work and return me list of all entities and not from my filter and not apply glance card https://hastebin.com/pupagojuvo.bash why? its not supported?
your code seems missalgined
or maybe not
@serene sierra try https://hastebin.com/zatepuvede.bash
now its better but filter is not aplied i can see all entities but with glance card
@north spear here is new code https://hastebin.com/aluxuquneq.bash
i need to add exclude section or what?
seems its kinda bug because when im added ```yaml
exclude:
- domain: sun.*
- domain: alarm.*
- domain: light.*
- domain: automation.*
- domaim: camera.*
i can see that with that code https://hastebin.com/uyurakoliq.bash
one more line in exclude section and i cant see anything later
don't need to post images @serene sierra i belive you π
@north spear you are a gentleman and a star.. thanks for correcting my mistakes
@mossy gale if you navigate to official folder for cards https://github.com/ciotlosm/custom-lovelace/tree/master/monster-card like that you can check "changelog.md" and see what changed, what got updated
ok many thanks
@serene sierra π¦
I found your problem
there is an inconsistency in the way we define entity
in filters / include: you need to say entity_id in when you need to say entity
@north spear can you have more than one group in the same card using the group-card
the docs have it correct, but it's confusing
@mossy gale one group per card but I guess it can be extended to take multiple
I was just thinking if you had an upstairs and downstairs group for lights, but for some reason wanted to shove them all together
i dont need to do it, just asking
or you could use https://github.com/custom-cards/vertical-stack-in-card
nope, just a patreon link
not sure what that is, but send me the link
you have it on pm π maybe I should add it somewhere in the readme link if people are interested
post it here
@north spear so you that must be correct? ```yaml
filter:
include:
- entity_id: input_boolean.kodi_tv_1_state
- entity_id: input_boolean.kodi_tv_2_state
yes
@north spear you should get self employed as lovelace consultant lol
I used this:
- type: custom:monster-card
card:
type: glance
show_state: false
show_name: false
column_width: calc(100% / 8)
filter:
include:
- entity_id: input_boolean.notify
when:
entity: input_boolean.notify
state: 'off'
and that worked for me, just 1 entity
@north spear was wondering after awhile resources: will become a huge list with all custom cards insert
would it be possible to in 1 line call all the cards that would be inside in a folder, like some type of include?
@prime umbra doable, but will probably break tracker-card
and you need two cache busters (already a problem for modules like thermostat)
ya
you can already try it yourself
create a new file test.js and include that in resources via type: module instead of js
and have it use includes like thermostat card uses for it's library
k
@north spear just one more question
did you notice on cards when you resize windows text or pic will not keep all aligned
was wondering if is even possible to keep all together
I don't resize often so probably didn't notice
it depends on measurement types
you can try opening and issue with some examples, i'll take a look at it when i have time
sounds good
https://github.com/custom-cards/text-element/issues/3 i have done some light troubleshooting in the topic here
anyone using climate in an entity card?
my current temp doesn't show anymore, just that it's cooling
@stable kindle known issue fixed in 0.75
thanks @north spear
@wheat current i have tryed before with px but it seems that the pic will still move not according to the text
so when you view in a desktop you see perfect the way you designed sense you did in desktop, but most likely when you see in a phone you will see out of place
It's most likely the two bottom pictures in that issue you will encounter.
By using px for left and defining transform: none text elements should not move at all.
This should work for any element you put in there
that is true, but if you only use % the elements will "merge"
If you mainly use your cell phone to see the GUI activate device emulation when you design the cards https://image.ibb.co/gHuaae/image.png
still hopefully we will get the perfect solution for that in future :)
if that will be even possible
@north spear thanks now works but im a little bit confused how to use tap_action: toggle with that card https://hastebin.com/nakotubibi.bash
did you try my suggestion using "options:" as per monster-card docs?
yes is it correct? ```yaml
- entity_id: input_boolean.kodi_tv_1_state
option:
tap_action: toggle
has there been talk about integrating any of the more popular custom cards into the standard release?
@prime umbra design your phone layout on a phone. Don't view it in your computer browser. Design your tablet interface on a tablet, etc. Perfect interface for each device.
@winter wasp Is there a repository or list of custom cards?
@native kiln theyβre linked from this channel regularly
@winter wasp, k good to know sounds like I should follow this channel more closely
Thanks!
Also is there a bug with icon: in 73.2?
@native kiln there are some on https://sharethelove.io/
@cold sedge Thanks! looking through them now!
I wish monster-card allowed for regexp renaming of friendly names
or at LEAST stripping a string from friendly name
as an alternative to the group specific naming feature in custom-ui
Just whipped up my first lovelace ui views. Pretty smooth, great docs, clear error messages when I goofed. Really nice experience!
hmm.. how do you back out of lovelace? you can jump in by clicking on the link at the info page.. but is there an equivalent to go back?
shouldn't the home and away cards have titles? SPOILER: it's card: not card_config:
Is there a way to do persistent notifications in Lovelace yet?
What's a good solution for a Raspberry Pi kiosk with Lovelace? I've got an Rpi3 hooked to the official7" touchscreen, just need the software side setup. Is there a prebuilt image for that kind of thing?
Not sure what you are looking to do? Replace Home Assistant UI?
I just want to setup a kiosk on an RPi other than my HA server one. Something that will just boot up straight to the UI. Could be lovelace or the default HA UI
I've already got the hardware
Auh. My bad. When you say image you mean for the pi
yah
oh, I see how what I said was kinda confusing re: the image thing
refined my search a bit, and looks like this might work https://github.com/futurice/chilipie-kiosk
@tame dove yes with a monster card
@iron locust I think kiosk mode is coming really soon
but like, with an install image to use for a PI?
FWIW, this chilipie-kiosk seems to work, but it's using some witch-finger keyboard layout and I can't figure out how to change it
oh snap, got it up and running with the chilipie image. Works great with very little work
Anyone have any idea why this won't display as a graph?
- type: history-graph
title: Day Length Change
hours_to_show: 168
refresh_interval: 1800
entities:
- sensor.daylengthchange
the entity sensor.daylengthchange has a value
You could give https://gist.github.com/ciotlosm/1f09b330aa5bd5ea87b59f33609cc931 a try
Thanks, that was going to be a follow-up question: how to hide the top bar
See the link @north spear posted
how would one show EVERYTHING like in the default view of the old interface?
Goto /state instead of /lovelace
is that the equivalent of the old ui?
That is the "old" ui.
Use monster-card with * for entity include filter
I've been trying to figure out how to get out of lovelace so I could see the old ui π thanks
morning
I was planning on trying that with monster-card.. but it's really not quite the same
To see a list of unused entities klick the three dots in top right and show unused entities
use a picture card with link in lovelace ot point to old UI when needed
oh hell yes! Now THAT is useful!
@north spear great idea!
shit.. burning smell from a wemos
Not even entirely sure what that is!? On the other side is.. I think the serial to USB chip?
@viral sorrel wrong channel, maybe try dyi, this is for lovelace π
oh shit yes.. just got such a shock (more of a burn really) that I had to share it immediately π
Hi! Have anyone made a card for Sensibo or HVAC?
Hi all. I'm trying to build a Lovelace entity filter card based on remote control battery levels to only show devices if their battery percentage drops below 20%. A simple state filter card (lights on) seems to work OK but I can't figure out how to start on this. Any clues?
Is it possible to combine Glance and Entities card somehow? I'd like to create layout like this in one card:
Room name
Glance with temp, humidity, pressure
Classic entity switches
@radiant drum; it's still a work in progress: https://github.com/ciotlosm/custom-lovelace/tree/test_thermo/thermostat-card
@vapid field doable with a custom card : monster-card
@winter knoll try a Picture Elements card
Can do pretty much anything you desire with it
Or a custom card that reuses entities and glance
Oh, monster-card, didn't know about that (noob here)
@north spear thanks, that is the exact thing!
@mild veldt Great! will test it and see how it looks
There's a comment on the monster-card that states like "<20" are not supported. Might have to have a rethink when I get back from work later. Not as simple as I was hoping it would be.
Arrgghhh, I just closed the tab. Two ticks.
So there are 2 monstercards now?
@vapid field read official docs
That was added in a later version
You can also see the changelog: https://github.com/ciotlosm/custom-lovelace/blob/master/monster-card/changelog.md
It was added in 0.2.1
@fading sorrel no. Just one. The one is custom-cards is a clone that was part of an initial experiment
I was supposed to keep them in sync but failed
custom-cards & yours
I will probably delete the one on custom-cards until I decide to switch
Thanks @north spear , my Google skills failed me this morning for sure. Time to dig in.
Is there anything to show all entities in a group in lovelace?
I mean to show eg. all automations from group.all_automations
Like in default UI
ahh thats what monster_card can do
Or group card
@winter knoll I guess group-card is more appropriate if you just want to expand those
Yea I found it and using it now. Even found a bug in it π
Cool π pretty fast
just make sure you update your card
Yea I did and now it's working without issues
just seen the group card.. very cool work as always @north spear
Thanks for the quick fix π
Oh @winter knoll just remember I owe you a config - will do tonight - sorry
I totally forgot about it π
is it possible to apply regexp's in a card? say globally on friendly names
and I mean is it possible not has it been done
Can you post a sample config on what you are trying to@achieve?
Guys, am using the lovelace UI and none of the entities are showing up in the front-end instead I see this error in system logs http://hassio.lan:8123/frontend_latest/app-6e4d53ede29a686d41a2bb0807ecd12c.js:2:12753 Object doesn't support property or method 'setConfig'. Has anyone seen this before?
@fiery light This is usually caused by running an older frontend. If you're already running 0.73 or newer please make sure you have cleared browser cache. On mobile app you can also force a few refreshes. If you're running IOS device check next question.
hmmm ok, makes sense and yeah a hard refresh did the trick. Am running on 0.74.
Also, how do you place the entities, I mean what is the order, left to right or top to bottom? and what if we have to resize the photo-entity
You decide the layout that works for you.
that's where am struggling. The documentation looks to be limited currently (I might be missing something here)
What do you mean?
which card supports persistent_notification?
Which card are you using @fiery light
@serene sierra Not yet...they will be added soon
@fiery light here is oficial documentation https://www.home-assistant.io/lovelace if you using custom cards you need this docs too https://github.com/ciotlosm/custom-lovelace
Hi, I am using a picture-glance card that has lights for entities, The icon that shows is a bulb when on is white in color and turns to gray when off. Is there any way to change the color of that bulb, such as to yellow when on? It's hard to differentiate now between white and a light gray when off.
@raven nacelle @serene sierra am using the picture-entity card and a huge picture is displayed. Want that image to be a little smaller, don't see any such setting in the documentation. Also, am not going for the custom card yet
I just made a custom element for showing light slider in an entity card, my only problem is that it shows more-info after I adjust the brightness. Can I get around that somehow? How it looks : http://prntscr.com/kddlso
@north spear One more thing I've noticed with group_card. Is it normal that all entities in group used in group_card are also listed in Unused entities?
@winter knoll that is normal for all "dynamic" cards
the unused entities looks for entities specified in clear
you could exclude 'group' domain I think soon
from unused entities
I don't want to exclude all groups, just the ones used in group_cards.
to be honest my philosophy is that 'unused entities' is useless
only new entities might be somehow useful
because you need to understand how it is named
but if it's unused and you don't miss it on your UI on daily use ... than why put it there ? π
Well I have some sensors that I plan to add to my UI, but haven't had time to do it yet so it's nice to look at the Unused entities to remember what I wanted to do π
Unused entities also seems supremely helpful for initial setup.
Personally I also have a number of entities and automations that I don't want displayed in my regular frontend, but it's nice having a semi-hidden place where I can check just those specific things easily when I need to.
@north spear Do you know if there's any way to get around that more-info opens on an entity card. Say you'd not want that to open when you press the attributes card when in an entities card?
probably you send tap action
I will have a look in a minute, have to help my gf out with a theme π
@north spear Thanks. I looked but I don't see that the entities card can take that config option
You are right
Otherwise I almost have a functioning light slider
can't you catch mouse and prefent default ?
should be a normal event, and avoid it bubbling up
I'm trying to find how they do it in glance card
Is it possible to change the icons on the picture-glance type card?
@halcyon mantle I think starting with 0.75
yes
π£ [picture glance card]: Add support for custom icons
not sure why the changelog is not updated for next release, but it's been documented there
all changes for lovelace
Thx!
so if I can do this to the sidebar in the chrome inspect tools, css import would allow me to apply the same styles without limitation, correct?
https://i.imgur.com/GJuvXAE.png
those are changes coming in 0.75
@dense roost depends on the shadowdom implementation
if stuff sits in shadowdom, than probably no
but but but muh gradients
hi i am confused, i have loaded love lace on my HA but was having some issues with my config .yaml so i relashed my SD card and started again ,why is the new image saying could not find ui-lovelace.yaml in your config.dir
@dense roost if it's not in shadowdom it will work, but you might get away with redefining vars
@twin kelp because it's not there?
@north spear https://deploy-preview-5928--home-assistant-docs.netlify.com/lovelace/changelog/#changes-in-0750b0 <--- temp link to the changes
could be worse, could be like me π
Ooo I see some variables I could change. why didn't I think of that
Thanks to whoever added the βrow dividersβ.ππΌ
is secondary_info a new option to entities?
from 0.74 I think
oh geez I see it got included in .74
where is the config.dir please Could not find ui-lovelace.yaml in your config dir.
hi i am confused, i have loaded love lace on my HA but was having some issues with my config .yaml so i relashed my SD card and started again ,why is the new image saying could not find ui-lovelace.yaml in your config.dir
@twin kelp click hassio in the left menu, go to addon store, Install the SAMBA addon, edit the username and password, then connect to home assistant through your network in your file explorer
anyone know how to set thumbnail for media_player card when no thumbnail available? i was tried use templates for entity_picture: but it not set thumbnail
did you create the ui-lovelace.yaml file in your config directior
@dense roost no it was loaded on a old image i have reflashed the sd card with new image bur still saying Could not find ui-lovelace.yaml in your config dir.
shoudnt be any trace of the old system
@twin kelp why not recreate the file
do i just copy my conf.yaml and rename that
no lovelace is different. it's actually really easy to make the lovelace file. read this: https://www.home-assistant.io/lovelace/
best bet smartie is to use the Lovelace Migration add-on
@fathom tree completely forgot about that
or that page Nick just gave you has an example lovelace file.
but why is it there its a new image
it is there? or is not there?
i have loaded love lace on my HA but was having some issues with my config .yaml so i relashed my SD card and started again ,why is the new image saying could not find ui-lovelace.yaml in your config.dir
i dont want to use lovelace yet
oh, it's trying to load lovelace by default.
I was just updating to .75, I thought it updated but it still says i'm on .74.2, and the update button is gone agh
go to
and unset lovelace as default
yes, boos has the solution
i am still trying to get your holiday lights working and screwed up my system so started agon
because that setting is saved in your web browser, not in HASS instalation
Boos thank you it worked ,now back to the holiday lights LOL
people complain about finding where files sit, I'm having troubles drawing a simple chevron in svg π
anyone using @empty heath's 'header' example in the docs?
maybe i misunderstand what it's supposed to do, but it's always displaying in its own separate view which isn't really a "header"
@wheat current I was messing up around lovelace and divider and has no success to get rid of the issue entity object at position 1 missing entity argument
Did you try creating a backup of the ui-lovelace file and only adding that?
@wheat current I'll do it right now
@wheat current the same result, I have an error in Chrome Dev Console c5a5df3ec278008029fa.chunk.js:853 hui-entities-card Error: Entity object at position 0 is missing entity field. at S.t.map (c5a5df3ec278008029fa.chunk.js:330) at Array.map (<anonymous>) at S (c5a5df3ec278008029fa.chunk.js:330) at HTMLElement.setConfig (c5a5df3ec278008029fa.chunk.js:370) at Z (c5a5df3ec278008029fa.chunk.js:853) at G (c5a5df3ec278008029fa.chunk.js:853) at t.cards.map.t (c5a5df3ec278008029fa.chunk.js:915) at Array.map (<anonymous>) at HTMLElement._createCards (c5a5df3ec278008029fa.chunk.js:915) at Object.D [as fn] (property-effects.js:815)
And the config is?
views:
- name: Home
icon: mdi:home
cards:
- type: entities
title: Brightness Level
show_header_toggle: false
entities:
- type: divider```
I'll try, that is most weirdest thing I've met before π
@wheat current anyway, Thank you very much for your help!
@north spear Can we make the chevrons little bolder
they look too small compared to the temp
I could make them configurable
the hit target is as big as you can think of
no chance to miss it
just symbols are smaller
Got it
but I will make them configurable
had to refactor a lot so number don't jump around
and chevrons stay in position
I guess after this you can submit it
We also need a resume service. This is how it appears on Ecobee
may be a configurable option is fine
if the information is exposed somewhere could be done
you can try new version, I added chevron_size
default is 50, but you can go with 100 for example
soooo, ship it as it looks now ?
I upgraded to .75 but the i panel still shows .74.2, I left the beta channel, downgraded to .74.2(when i panel said I was already there) downgraded, then rejoined the beta, upgraded to .75, i panel still shows .74.2, but the system log shows I'm at .75 beta, css import doesn't work as far as I can tell, on anything I've tried it on.
Oops should probably post that in the beta channel
@dense roost wrong channel
My bad!
Can do that with any install π
yes, but for hassio is 1 liner and you don't worry about dependencies π
anyway, not for this channel
I think I'll release the thermostat in master now that it has chevrons
if anyone still wants to test the version before the release let me know
is a monster the best way to show/hide a built-in card based on state/attribute?
Conditional card in 0.75 π
Monster works but not ideal to use all that logic just to show/hide static stuff
ooh, what?
Next week we get 0.75 i think
No. The other weekend π
@north spear Testing now. Yes, I think this is enough for a MVP
we can keep adding options
is it possible to change the map layer? the default one doesn't show a lot of details
I'm struggling to get entity-filter to do what I want it to do - Could someone perhaps cast a second pair on eyes on my code
When I click on the input_booleans it open more info, it doesn't toggle them, and also when I switch then on it doesn't show the other cards as expected...
ok, thermostat-card released π
@tawdry moat Pretty sure it comes from OpenStreetMap, so you can add the details yourself by submitting edits
@split granite yes, indeed! don't get me wrong, I am really satisfied with the quality and level of detail in OSM, just don't like the grey-ish presentation in HA
Ah, that's a different statement to "doesn't show a lot of details" π
thermostat-card looks cool. i agree with @raven nacelle that a 'resume' button would be very nice
I've added that to the TODO list π
I'll let people test it out for a bit and see what feedback I get. I'll take a look at that weather card now for relaxation π
I can't use a camera in a picture-elements card correct? was hoping to use the 'Temperature Glance' config with a camera image (BloomSky weather station data on top of it's camera picture)
Where do i find this thermostad-card?
@north spear you're working on the weather card that Toast suggested?
@mild veldt looking at it to see the complexity at the moment
Excellent, I was thinking about taking a look this evening myself. It looks beautiful
The more the merrier. I just hope releasing thermostat-card won't bring a lot of issues π
https://codepen.io/ste-vg/pen/Gqakbo that one
haha, yeah. I just added it to my configuration. Looks great. Need to through it up in a picture elements and play with it
Yeah, that's the weather card I was thinking of. Love it. Let me know if you throw up a branch for it and I can try to contribute
sure
@halcyon mantle I don't think entity-filter is supposed to work that way. It passes the entities matching te filter to the selected card type.
@polar kelp - Thankz, was just busy reading the documentation - And I believe I misunderstood it the first time round π³
I agree it's amissing feature in lovelace, though...
Would be awesome to have something like that...
Will open the door for a dynamic interface
Hm... gives me ideas...
what are you guys talking about ?
ekkesa was trying to use an entity filter as a way to add/remove cards
it was done in the past
Right before your release message
and there is a new card coming in 0.75 just for this purpose called conditional
Great! Thanks. Now I can get other stuff done tonight...
you can do it already with monster card
yes
@mild veldt https://codepen.io/GooeyIdeas/pen/NRvoQv
darn, it's written in jquery π
OK, nice that Lovelace, especially very fast regarding state changes. But I miss one thing compared to the default one. My bar on the top with sensor values...
(Yes, I auto converted)
I think that is available
Think so too, but still investigating how to get it
should be from 0.74 according to the changelog ( i wrote that so might be wrong π )
π
@loud thistle if you success please help with docs π
Will do ^^
@north spear posted a message that is more than 15 lines. It is now available at: https://hastebin.com/ironanusun
not sure if there were more people interested in badges
but see the above sample π
no need for the panel: true & horizontal-stack
Well... I added em, but right now only as Card
what does a badge do?
Good question
Yes. Lets see. Didnt see the connection between the sensor status and badges ^^
@loud thistle it's under view of you haven't found it in docs yet
Niiice ^^ Got em back ^^
Hello everyone. Is it possible to set text align for entities card for entity with multiline string state?
It's terrible how much time I could spend on the UI of Home Assistant now... Right now my UI is... functional and that's it. Seeing @raven nacelle 's GIT made me shiver
Soon I have 14 days of holidays ^^
is it possible to implement this: https://hastebin.com/dolumuvape.cs when using the thermostat-card?
this is the state attributes i have: https://hastebin.com/tojosirayi.json
you can see your operation mode probably with default settings
unfortunately the automation you build is not possible to be replaced yet
probably could be done that the UI supports multiple entities for various functions
but not in current phase
why do you have input selects to set the various states? isn't your current climate card working properly ?
why did you have to setup all those input select and such ?
is it possible to add more attributes on the thermostat-card?
Yes, with development π
Next phase will probably implement some sort of custom panel on the bottom and alloe people to call custom services
Hmm, anyone running this on hassio? I try to load a custom card and it says it's not existing. url: /config/custom_ui/gauge-card.js it should be and is
Did you read docs specific to lovelace custom cards?
You add them in www
And use them using /local
If i want to change from "heat" to "cool" on the card, i that possible?
I did before and had the same error, so I stole from others again ^^
Read also the FAQ
@radiant drum changing operation mode is not currently supported
It will probably be in next release
Great! π
Meeeh, restart home assistant ^^ ok.
Docs save time sometimes π
@loud thistle It looks more complicated than it is....start simple. one step at a time
most of those are repetitions BTW (just because I like to experiment)
@raven nacelle It was such a milestone that ALexa can push now thx to the nice script that my Echo is very talkitive now ^^ Maybe a bit too much. Will do so and tinker step by step
ARe you using @keatontayler's script for Alexa?
The plain one, yeah
I use it inside shell_command: to output text
- data:
text: Automatisches_Abschalten_aller_Lampen_zum_Sonnenaufgang!
service: shell_command.alexa_speak
Only Problem here: The texts sounds... strange when you have two sentences, because it skips trhe pause you should speak there
Put in a . or three to make it pause.
sidenote: I can't really see the relevance to #frontend-archived π
Quick question - Is it possible to hide entities based on time. E.g. I would like to hide travel time to work from view and only show it in the morning
A template sensor + monster-card or conditional-card (in 0.75+) should give you that
Hmmm... Still very new to lovelace - Will look into it. Must say so far I like it
@wheat current Thx! think I will hold up for 0.75+
@raven nacelle dunno if it does, I went and folowed the manual of the script ^^ http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html
I apologise for all the questions - Is it possible to determine which cards go into which column? horizontal-stack seems to try and fit them into one column
@halcyon mantle Cards are arranged based on algorithm (that I don't fully understand). You cannot specify how cards are arranged across the three columns
Thx! Kinda confusing...
Am I understanding these entity filter type incorrectly - shouldn't this card be hidden if the media player is off
Hi all, I am using a split configuration for lovelace as such:
views: !include_dir_list lovelace
how can I specify the order of the lovelace views? File names don't seem to matter :/
Hey everyone! Has anyone gotten weblinks to show properly in lovelace? I've tried entities card but it just shows the links next to the name and they are not even clickable
have you looked at the markdown card?
Ah! Did not think about that, will check it out, thanks!
Did not get as pretty, but works for now, hope that entities card will support weblinks in the future and that markdown isn't the only option!
@fickle cobalt https://github.com/thomasloven/homeassistant-lovelace-gen
@tranquil yarrow weblinks are slotted for the next release
@mild veldt Great to hear! Thanks!
I have a view with only 3 cards on it and lovelace is forcing them into a single column, but I would like them to display next to each other. Is there a way to force this?
horizontal stack
Horizontal stack with the βpanel: trueβ for the view
i have not used panel: true anywhere in my lovelace file... it it essential??
i have not used a horizontal stack though - only a vertical stack
Just a horizontal stack will place all cards given in a single column
βpanel: trueβ makes that single card use the full width
Which in their case will be 3 cards inside a horizontal stack
Combining that with an outer vertical stack you can achieve a full definition of your layout with no randomization of order
ah well there ya go... I've only done vertical stacks on mine... then on mobile it stacks them up instead of sidebyside but the order is what I want
tried horizontal and vertical stacks. I'll try adding panel:true
panel: true did the trick! Thanks!
any way to align text in lovelace card?
tnx Ian for the patch
@timid burrow use transform
ok.... how?
A place for LoveLace Config https://sharethelove.io/
look at those
ok..hmm i was looking. ok i'll check there. thanks
hmm i was trying text-align: right but didn't realise I needed a style section
again there are so much resources setup that already coveres the basic struggles
most of us has already covered and found a way to do what we wanted in the cards so asking the basics instead of looking at the pinned messages in this channel is kinda of a waste of time π
I understand that but it's almost impossible to find anything
so can I use style: with an entity card?
style is not listed as an attribure for an entity card in the docs
yes
again try and fail
most of the stuff we did wasnt covered by the docs
we tried and we failed
or succeeded
.awesome @timid burrow π
that didnt go as planned @wheat current π
@timid burrow Awesome Home Assistant - A curated list of amazingly awesome Home Assistant resources. https://www.awesome-ha.com/
Mobile @buoyant skiff π
thanks... none of that has anything like a basic entity card with aligning text
- type: entities
title: Dark Sky
show_header_toggle: true
style:
transform: none
text-align: right
entities:
- sensor.dark_sky_cloud_coverage
which doesn't work
should that style part be inder entities?
For that card I think it's only decided that support style
i don't understand
I think the display of enteties are at a fixed style, and it is only the type divider that supports styling
ah ok so I can't do it them
Autocorrect... ^^^
I can't test until about 10h but by looking at the docks, then no
ok thanks
That icon was added to mdi 25 days ago, it take some time for new icons to be available for use in HA.
I'm using monster-card to grab all office and tv_area entities.. but is there a way to strip Office and TV Area from the friendly names?
yes, give them friendly names in customize.yaml
they all have friendly names
I normally used custom-ui for this.. as the names need to be different in different... what used to be groups
cards in this case I guess
@viral sorrel as @wheat current said, use customize to change the friendly names
but how does that work when you need many friendly names?
ie
Door in Office group
and Office door in Door group
you would have to rename the friendly name in each card as things stand as far as I can see
Not sure about your organization, but once you define a friendly name, it will be used everywhere
that's the problem
currently I use custom-ui to get around that
justr searching for some sort of lovelace alternative
my idea was some sort of regexp for the entity friendly names in a monster-card for example
not sure if that's the best way
Two ways of doing this:
1: Define friendly name that will be used everywhere.
2: Create template devices, and give each device a friendly name (You can have multiple template devices from one "master")
he is using monster-card with wildcard for search include
currently on my main config (pre-lovelace) I'm doing the following using cutom-ui
binary_sensor.office_door:
friendly_name: "Office Door"
device_class: opening
group:
group.office:
friendly_name: "Door"
group.doors:
friendly_name: "Office"
not sure why hassbot doesn't like it
Don't think you can do that
anyway, I'm searching/hoping/longing for a lovelace cards alternative to this sort of feature.. even if it's defined per card
but not per entity :/
with the default entities card you can do that
If i have to redefine every entity friendly name in every card then that's a bit too much..
a better way would be desirable
even if it's just a per entity filter friendly name regexp
ie match (Office) (.*) on friendly name and rename using the 2nd group
or whatever so long as regexp is even a possibility in cards :/
I can't even imagine how it will be implemented or if it is a widely needed feature....custom cards is the way to go
it might be a feature worth adding to monster card
@viral sorrel it's possible to implement, just not currently supported
well that still makes me optimistic π
I gotta learn javascript one of these days :/
Public transport for the Rhein-Main are https://imgur.com/a/gAJBmS2
soon TM
- type: custom:thermostat-card
title: Hvac
entity: climate.hvac
services:
- name: operation_mode
values: operation_list
icon: mdi:fan
- name: swing_mode
values: swing_list
- name: fan_mode
values: fan_list
soon TM?
as in coming soon to a repository near you
π
this was you would integrate any service
not sure yet where to put it... maybe an expandable drawer at the bottom
@north spear me? If you refer to my wish to be able to explicitly set attributes as displayed states, yes.
not sure I saw that wish
I was just talking mostly to myself about new features for the thermostat to allow vairous service calls
without hardcoding anything, and allowing things in configuration
was your wish related ot the thermostat ?
@north spear more or less, yes. https://github.com/home-assistant/ui-schema/issues/126
er....
@placid geyser with my thermostat card you get both
by default the big number is the ambient temperature
yeah, I noticed that.
It looks pretty cool. I haven't tried that yet though.
I've been playing with Lovelace for about 15 minutes, and I'm impressed.
Are you all using it as your main interface yet?
yeah....have been using it as a main interface for quite some time now
I didn't use the "old" UI at all, but I have started using the UI with Lovelace
I switched my "admin" use from the traditional UI to Lovelace and haven't looked back. Lovelace might be enough to persuade the wife to try something other than HA Dashboard π
I am having issues with custom cards, place them in /config/www and getting error "Custom element doesn't exist: weather-card. " . have tried multiple cards, all have the same error. seems like HA can't read them in the www directory, but I know it can since I have been using state-card-custom-ui for a long time.
Are you adding them to your resources section in ui-lovelace.yaml?
yes
resources:
- url: /local/custom-ui/guage-card.js?v=1
type: js
- url: /local/custom-ui/group-card.js?v=1
type: js
typo on gauge-card
ah, well, that's one issue fixed:)
And you said you put them in www, but didn't say you put them in www/custom-ui, so is what said or what you have configured incorrect?
I have tried both but they are in www/custom-ui right now
for gauge, the version should be v=0.0.1 and group should be v=0.0.2
and other errors in the browser console?
can you put your ui-lovelace.yaml on hastebin and share?
Loading failed for the <script> with source βhttps://xxx.com/local/custom-ui/group-card.js?v=0.0.1β. 0:1
uncaught exception: /local/custom-ui/group-card.js?v=0.0.1
SyntaxError: expected expression, got '<'
I removed gauge to simplify
share your config on hastebin
try changing your indents to 2 spaces instead of 4
@lost turret you are using wrong file
follow FAQ here: https://github.com/ciotlosm/custom-lovelace#faq
ah raw file
@wheat current the divider issue was fix by installing a new version of home-assistant-frontend==20180802.0
Ludeeus is away for 45m 2s with a message :point_right: Lurking in the shadows.
@split granite wife approval factor is real man
Getting approval from the less technical people is key
That's why I have very limited use of smart lights - everything must work as normal
@split granite I've had to scale back my smart light usage
Smart switches are what I should have went with initially and is what I'm slowly switching over to now
Just started to play with lovelace. I used the migration tool, but my original UI was only a default. Just saved a lot of typing.
So I have looked at some custom cards, but I have not seen any on covers, are there any cover cards that I need to look at?
In particular garage door ones.
I am having trouble displaying images in my /config/www folder.
@fair hamlet there are none for covers that I know of. What are you looking for that isn't covered by the current cards?
I created a picture entity card with the - type: picture-entity
image: https://www.home-assistant.io/images/default-social.png
entity: light.bed_light
that works fine, but if I change it to /config/www/default-social.png (after uploading the file there) it doesn't work
use /local/default-social.png
for the path
in your configuration. don't change the physical path of the image at all
ok that worked
thanks
if I wanted to display a picture from another rpi on my network, can I use it's ip address as the location?
if it's running a webserver
^
I am using the rpi zero with a picamera and I need to transfer the picture that the camera took
@mild veldt That's the problem, I am so new, I don't know what I want.
Right now I am playing with this weather https://community.home-assistant.io/t/custom-animated-weather-card-for-lovelace/58338?u=frenck
I did some hello world, but I looking for ideas. OK I looking to copy. π
is there a card that just displays a jpg without being tied to an entity?
@cold locust check the docs. https://www.home-assistant.io/lovelace/picture/
@fair hamlet play around with the built-in cards first
You can do a lot with them, especially the picture elements card. That is totally freeform
@mild veldt Again, just looking for ideas, If I have to do something for scratch, I would start with a picture of the garage door open/closed.
Just figured there are those who are way past that for now.
For example I saw some cool gauges and thermostats. Have not even got to them. I found a lot, just did not see any cover kind. So just asking.
with a picture-elements card you could do pictures of garage door open/closed
you have your set background image of the front of your house or whatever and then put a image on top of where the actual garage door and use the state_image option to specify an open and closed image to overlay there
Is it possible to have old-style badges inside glance card
@icy kettle Yes, badges are supported...please read docs
@raven nacelle please point me out to the proper docs, thank you in advance
if I want to use a picture that I receive via MQTT, can I direct MQTT to place the file in /local/lastsnap.jpg? I used node red with a mqtt node and a save file node
@raven nacelle Thanks!
@cold locust Does not sound like a Lovelace question
Ask in #node-red-archived
or in #330944238910963714
I have tried to display the same image that works in a picture card as the background image. It won't display as a background image.
any idea why it won't show as a background image?
@cold locust How are you adding it?
background: center / cover no-repeat url("/carl6.png") fixed
@raven nacelle Sorry, for bothering, but I got badges on top of all the cards. I'm looking of opportunity to put badges inside of Glance Card, is it possible?!
@icy kettle Not possible atm
I copied it from the docs and just changed the file name
@raven nacelle Thanks, one more time! π
it is in the ui-lovelace.yaml file
@cold locust You want the entire card to have a background image? not sure if that is possible
@icy kettle You could do it within a picture-elements card, i.e. make your own custom picture-glance card
No, I want that image as the background, I just tried it in a picture card to make sure I could display it at all
@mild veldt I'll play around! Thanks!
check the sharethelove link in the pinned messages
that should get you going in the right direction
the docs for the plants-card refer to a plants domain. Is there a defined "plants" domain or is that just something he made up?
@cold locust That url seems odd. Do you want url("/local/carl6.png")?
@polar kelp no, it is a local file
in my config/www/carl6.png
Then it should be /local/carl6.png
Thanks, that worked. I left off the first slash when I first tried it
@cold locust don't worry about the plant domain. The main thing I wanted you to get from that was the use of state-badge inside of a picture-elements card
@mild veldt I am actually interested in the plants! Where would I find the information on how that card is put together? (string)(Required)Entity id of plant domain isn't very helpful
sweet! I never looked in the "other" category
tnx for the submit Ian π
The component list has a search feature FYI π
@buoyant skiff it's currently broken. I got excited and didn't wait for for my pull request to circle-sensor-card to be merged
well just do another pr once you got it all done
yup
mine is already over π¦
thats why im kinda afk
Does lovelace cache images? I am overwriting a file with a new image, but the picture frame uses the old image. Could this be a chrome thing?
Could be chrome, could be your computer, could be the server computer, could be anything in between. The internet is made up of caches.
Right click anywhere, select Inspect. Press F1. Scroll down to Network and check Disable cache (while DevTools are open). Refresh the page.
Yep, it was a chrome thing! Is there a way to force a refresh from HASSIO?
The console of the devtools are good to keep an eye on too while experimenting, btw. It will tell you things like if you have the wrong url of a background image π
@cold locust are you trying to regularly update the background image?
@mild veldt No, I am now trying to put the current image from the picamera in the picture card. The background image is working just fine now
...
The camera is on a pi zero (on my network as 10.1.10.42) and my hassio is at 10.1.10.77. I am using mqtt to send the image to the hassio /config/www directory as lastpic.jpg. The picture card is displaying the local lastpic.jpg file repeatedly. I don't know how to access the camera directly. The hassio is on a RPi3
If you're not using the pi zero for anything else, I suggest motioneyeos. That basically turns it into a very capable network camera.
The sole purpose of the pi zero is to take pictures on the end of the robot arm.
@cold locust if you configure it as a mqtt camera and then add that camera entity as the camera_image it should do the trick
mqtt camera... the things they come up with...
I can't seem to get an image via the mqtt camera. Where should I ask for help setting it up?
@mild veldt have you used the mqtt camera before?
I have not. Try the main channel
@mild veldt ok thanks
Hi, When I add an image to a picture-element card I can use the style to position such as top: 10% left:25% etc however when it is viewed on two different screens such as a computer monitor versus a 7 inch tablet the positioning is not the same. Is there a way to make it absolute on both?
transform: none
I've created a view that has the Lovelace: Alarm card, a card with door and motion sensors and another card for locks. I want to have the Alarm card in the left column and the other two stacked vertically in the right column. I've tried the Horizontal Stack card with the Alarm card and a Vertical Stack card inside it. Inside the Vertical Stack card I had the door sensor card and locks card, but that squished everything into a single column card. without the Horizontal and Vertical cards, it stacks cards under the Alarm card, which doesn't fit on the Fire 7 screen. Any ideas on how to get the Alarm card in it's own column and the other cards stacked in a second column?
This "works", although I was looking for a solution that would keep the cards their normal size and force them to be in specific columns instead of auto-filling columns. Is panel: true the only way right now?
This is it. Nothing like a grid system yet, but hopefully there will be in the future
I would add a fillter card for now to get the normal 3 card width
I'll make something work with that. Thanks @mild veldt !
im currently experimenting with custom cards and im a bit confused. i used the example in https://developers.home-assistant.io/docs/en/lovelace_custom_card.html and it works but, now when i edit anything in content-card-example.js nothing changes on the card
@paper finch refresh your cache?
How to show ids horizontally with no background ( glance canβt do it) , by applying just an entity and state filter ?( monster card) .
@calm rock I don't follow what you're going after
For example for presence detection , you apply a βhomeβ filter over the ids, if you wonβt to show the βbadgesβ over an image , without configuring each entity , and aligning them horizontally , monster + glance , is ideal, but glance has a gray background
You canβt get rid of
Am having monster-card that have glance card to display all lights that are on..
Sure , but
When i set tap_action to toggle
@calm rock something like this: https://i.imgur.com/Zde9OlH.png
All gray background
Still open the more info
Anybody knows what the issue ? Am setting it under the card glance is that the wrong place?
Close, but without the gray auto background of the glance card
well that's a custom card so you can easily remove that part
But the point is , there is no combination of cards , to make what Iβm looking . Arrange horizontally , appear by filters , and locate over an image .
It would be very easy if , glance could have , transparent background
no
you're looking for an easy solution with an unfinished product. lovelace is still experimental. the end goal is a draggable gui at which time you will really be unrestricted, but for now you have to put in more work
sure , thanks
@mild veldt , by just making the gray background configurable , it opens big possibilities, https://imgur.com/a/RoCpkTm
if you're looking for high configurability, picture-elements is the best option
Good Evening.. Hope everyone is having a great day.
I have a question, I starting with lovelace, and trying to get the coordinates of the elements.
my ui-lovelace.yaml . has the following:
- type: custom:plan-coordinates
- type: picture-elements
resource:
- url: /local/plan-coordinates.js?v=2
getting an error . custom element does not exsist
you have type: js in there?
and double check the faq: https://github.com/ciotlosm/custom-lovelace#faq
I believe I do
- url: /local/plan-coordinates.js?v=10
type: js```
thank you for the link...
Heya, wonder if anyone can help me with developing a custom card. I've got it working nicely already already
It's a persistent notification card, lovelace doesn't have the persistent notifications like the standard UI has
The issue I've got is that I want to put a button on the side with 'dismiss' on it, I just don't know how to get it
I've tried putting HTML in the header field, but that doesn't work.
@torn patio check tracker-card
Is there some docs for that somewhere? I can't even find where the JS comes from
@north spear that's not what I'm looking for.
Keep in mind that this is coming: https://www.youtube.com/watch?v=ug0I8e4qvRw
I can't see youtube at work
Oh yeh, that's coming up soon? I just coded what I posted there last night, was pretty straightforward really.
In 0.76 probably
I can probably just make the title the first child of the custom card, rather than using the title attribute. I was thinking there's a simple way to put the switch / link / whatever icon there
That is why I didnβt build one π
It is. But probbaly harder to bind
You can see alarm card positioning of icons
I'd kinda like to know how to do it anyhow. It seems like it should be something that's in the ha-card, but it seems not
It puts it in header
if you put HTML in the header tho it doesn't work
or can you create HTMLElements and assign them direct to the header?
Did you append child or just =
just =, so you can't do that then I guess π
I tried surrounding like 6 with '<em>'+title+'</em>' but that didn't work
But yeh I can put in an HTML element instead I guess.
If you want to bind some action to it is a must
ahh OK then, so yeh you'll have to bind onclick
Heh, amazing how much you remember, I haven't been a pro coder for over 10 years.
I might make my custom card a bit more customisation, like being able to filter on the persistent notification ID. Despite what's coming up it could still be useful to have that. Then will submit to that repo you posted before.
Anyhow, off for lunch, thanks for your help @north spear
Np
@torn patio you need to add checks to your set(hass) to avoid building UI multiple times. You also need to destroy UI on setConfig to be able to rebuild on major changes. Also you could reuse markdown card for display in case notifications have some formatting. Don't forget that binding click and doing innerHTMl causes leaks.
found a mini https://codepen.io/liamj/pen/KXepbq
Hi all. Any help would be great, my Entitie is showing like this
https://gyazo.com/52127cfa0cb5a6cecada5462c697727c
and I want it to look like this
https://gyazo.com/8cf08fb753f0781722c27c920a0d6668
I can't seem to figure it out
The second one looks like a weather card, not an entity card
Heh. The doc page should have a nice description of how to use the weather card
No worries, we've all been there
omg I probably spent the last 20 min trying to figure that out π©
Thanks @signal pine
Is there a way to move cards into another column?
I'm having trouble with that too. I think it comes down to creative use if horizontal-stack and vertical-stack
dang yeah that and adjusting the width/height of iframes
I have a few iframes that looks good in homeassistant but not lovelace
or https://home-assistant-lovelace-gallery.netlify.com in general? but weather is indeed missing
Is the Conditional Card supposed to work in 0.75.0b1?
yes
Ok, must be doing something wrong then, only get error "Unknown card type encountered: conditional"
Please use https://www.hastebin.com to share code.
Hi. I'm trying to run the migration script and I keep getting a RecursionError.
Has anyone had similar problems? I can't seem to find anything except this post but no resolution was noted.
''' File "/root/lovelace_migrate.py", line 273, in from_group_config
control = group['attributes'].get('control') != 'hidden'
RecursionError: maximum recursion depth exceeded in comparison
[cmd] /usr/bin/run.sh exited 1'''
@grand veldt still not working?
@north spear no
I will have a look. Not sure if there are docs about it
Thanks!
@north spear you said before that JS stuff leaks and I shouldn't rebuild everything every run. Can you register an onupdate with the state objects from hass.states so that if say a notification has say the message updated it updates in the UI? It seems overkill to check the message has changed every time.
So I cannot get css import to do anything at all. In the chrome inspect tool I can see in sources that my styles.css file is included from /local. There's no errors in console.
type: css```
Or can you just use a map from the state object to the display? Or stash the tab object actually in the state object so that it disposes with it?
@torn patio is not overkill, it's how you should do it
set(hass) is ran anytime hass object updates
you run an extra check if the content you receive and are interested in is different from what you already ahve (save state on object)
and update only when needed
also, ideally you build your wireframe (without content) in setConfig and do it only once
So you'd have to copy out the message and then compare it each run to what's displayed? (or probaby rather than the message, the last update time)
whichever is easier
So each run, pull out the objects you're interested in and put them in a map to their last update time, then toss out any in your current state list that don't have the same update time and recreate anything missing.
(probably makes more sense just to rebuild, the message is hardly ever gonna update)
some logic like that yes
@torn patio no
if you rebuild you rebuild everytime hass changes
this means if your thermostat gets an update you will redo notifications
etc
that is really messy, and causes tons of repaints
yeh, but the persistent messages hardly ever change. although I guess it could
but you redo all in your code
So rebuild each object only when either it's created, or when the update time changes. Obs for some other more dynamic object you'd not do that.
anyway, it's up to you, I'm just recommending improvements so your card is nicers to use
Although I suppose changing the message isn't such a big deal
Yep you've convinced me
it's not just your card, redoing your card probably causes full repaint
ahh kk
anyway, might even work with full repaint as it's temporary until official release of Notifications
still good practice for any custom cards
and nicer practice is to use shadowdom, to encapsulate stuff
I dunno, I can see benefit to having something like what I'm doing even with the notification side bar. You can say set ID of your notification to blah_front and have it only paint the _front messages on a particular tab or something
More just me mucking around really π
ECMA script wasn't even standardised last time I was using it :p
my last javascript experience was in 2010
(which feels like yesterday)
and I've recently refreshed knowledge with lovelace
no more frameworks and hacks, especially with custom elements
I think for me maybe 2006ish?
Firefox is still behind a bit and Edge is unusable , but rest work natively
I did JS 2005 - 2012
I got out of software entirely in 2009, I'm now a doctor
anyway, not the point, it's just like any other programming language, just needs a syntax refresh
plenty of docs around
Kinda, the ha-card isn't documented anywhere I could see. Where's the source code for it anyhow?
Or is it just CSS only?
ha-card is just a custom element from home assistant polymer. You can search the repo for it
css as well it's in there, mostly based on css variables
not much to it
a simple container with a header styled properly
I think we're getting everyone bored with all this es6 talk
Ahh, I didn't realise the UI was in a different repo. Makes sense now
Hmm when camera-preview card was removed it was replaced by picture-glance and pictire-entity, but those two cards cannot make a SIMPLE camera preview, without any other entities assigned to it
@cedar girder try simple picture
There's a picture card which could do a simple picture preview but this doesn't work with camera entities according to the documentation
@cedar girder did you read docs?
(string)(Optional)Camera entity_id to use. (not required if entity is already a camera-entity).
that is in the docs for picture-entity
why do you say you don't make a simple camera preview?
But this is for a pixture-entity card, not picture card
yes, my bad with picture, forgot it doesn't take entities
And picture-entity card also requires entities option
nope
not required
picture-entity takes an entity parameter
if that is a camera, it will do camera preview for you
read docs there, no entities config required
My camera works fine using this
- type: picture-entity
title: Bay Window Camera
entity: camera.bay_window_camera
camera_image: camera.bay_window_camera
show_info: true
tap_action: dialog
if its any help @cedar girder
is it possible to change the size of an iframe other than using aspect ratio?
aspect ratio seems good enough but if you provide more info we might figure out what your trying to do
@buoyant skiff did you try css import? Can't get it to do anything anywhere. It's imported correctly and it's shown in chrome inspect sources. Wondering if anyone has tested it.
@dense roost try something really basic, like changing background color and using !important to force it
barely been around so no
enjoying that vacation π
and im currently installing hassbian to a ssd instead of sd
then im off again π
cause i want beer π
@north spear Alright, played around with CSS import more using important, the only change I could see was setting the body background-color to some color, but I could only see that change between page loads when clicking between the different sections of the sidebar,(logbook, history, hassio, etc). Once the page loaded it immediately would overwrite the imported style.
@buoyant skiff I couldn't find an emoji for jealous π
In two hours it's beer o'clock at work! π»
@subtle rune lucky, they canceled beer o'clock at my work
I usually drink non-alcoholic, but it's something about that cold beer during the last hours of the work friday...
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda2 on / type ext4 (rw,noatime,data=ordered)
No more sd card on raspberry pi 3
running straight off a intel ssd disk connected via usb
@buoyant skiff if you can do that for hassos would be nice π
everyone can
its in the rpi itself
the pi doesnt care what distro your running
so tired of swapping sd cards when they are worn out
so no more shitty chargers and no more shitty sd cards just straight production π
I have not one second regretted changing to an Intel nuc π
i can make most trash work like a charm even rpis π
sure intel nuc is awesome
but why waste money when i got the hardware and its only collecting dust π
and an rpi is a capable hardware in the right hands
It was getting too slow for me, even with external drive
$ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1326 MB in 2.00 seconds = 662.51 MB/sec
Timing buffered disk reads: 110 MB in 3.00 seconds = 36.62 MB/sec
doubt ill be having that issue π
even if its limited via usb its still better then sd card
plus its fun to see if it was possible π
sorry for hijjacking the lovelace chat π
@buoyant skiff that sounds amazing, i have a brand new SSD here doing nothing be good to do something similar using HassOS as @north spear said earlier. Too techy for me potentially...
so follow the instructions its not rocket sience π