#frontend-archived
1 messages ยท Page 81 of 1
Offline as in the entity doesnt exist in HA?
or Offline as in the entity exists but has not state
entity exists, when HA can't communicate with the switch, it gets an error, and the state becomes unavailable
then switches back to regular state as soon as it is connected back
So what is happening there is HA is checking to see if the entity exists within states that are available now. If not it come back with that message. If the State is unavailable then it greys the icon out
when it loses connection, I see the message 2018-10-16 17:45:59 WARNING (MainThread) [homeassistant.components.switch.wemo] Lost connection to backyard in the logs, and the switch state goes to unavailable. as soon as t connects, it functions normally
If you see the switch in
as state unavailable then you wouldnt get that yellow row
Wouldn't*
good point here would be a parameter for if a sensor can be flakey
Is it ok to set tap_action to nothing if I don't want it to do anything when tapped?
is it possible to read attributes directly in lovelace or do I have to craft me a sensor?
@past falcon that's what the FAQ says
Awesome I wasn't seeing it as an option in the picture elements wiki. Thanks
Awesome yea I'd say so
Youโll need a template sensor to display attributes.
okay. Then this issue has just closed itself ๐
the pingtest as sensor has quite some stuff to display. But doing a ton of sensors isn't worth saving a click
@polar kelp I cannot get your folding cards to work.
I get a big red square lol.... that states the following Custom element doesn't exist: fold-entity-row.
I figured it out. Made a push to your repo changing the readme to reflect what worked for me.
pull request*
hm... there are more typos too...
@upbeat wyvern https://github.com/custom-cards/state-attribute-element
Hey. Doesn't anyone know how to get a history line graph in Lovelace? I couldn't find anything, only a time line history which isn't really what I want to track number of hours playing music. Hopefully I've missed it or there is a custom card?
https://gyazo.com/6ac44c9e1687fc29e85cdbc5f14028f3 Something like this?
Yes, that's what I'm after! Have I missed a card that I can use to do this?
- type: history-graph
hours_to_show: 24
title: 'Network'
entities:
- entity: sensor.network_in_eth0
name: Network In
- entity: sensor.network_out_eth0
name: Network Out
Hmm, I'm pretty sure that's what I'm using perhaps it shows in line form when there is more than 1 entity. I will give it a go when I get home. Thanks for your help!
Oh I see the issue! You have entities which are numbers. I was expecting it to plot the number of hours/minutes an entity was in a certain state. E. G. For media player I was expecting 1 hour playing etc
hmm Im actually not sure. I believe it actually has to do with the entities given.
Yea the graph will show hows its shown in the entity more-info modal. https://gyazo.com/2351ee7c4c9863cf6b336d811010501b
Thanks. I'll have to rethink how to achieve what I want.
anyone noticed that badges are not working properly in 0.80.2?
I keep getting the following log error too
2018-10-17 10:04:27 ERROR (MainThread) [frontend.js.latest.201810170] https://HAURL:8123/frontend_latest/app-96e769d2.js:4834:1025 Uncaught TypeError: localize is not a function
What card are you getting that for?
dumb question
lol
Can you post an issue https://github.com/home-assistant/home-assistant-polymer/issues
it looks like the users language is not getting saved in the profile
@raw brook i was about to just wanted to check in here
users language choice is definitely not saving
So I'm trying out Lovelace but I'm quite sure if I've understood everything. I added a sensor card (https://www.home-assistant.io/lovelace/sensor/), added a temp sensor, set graph to line and added a line_color but it will still not show the graph. What am I missing?
We would need to see you lovelace cofig for the sensor card
- type: sensor
entity: sensor.temp_house_mean
name: Husets medel
graph: line
line_color: "#3498db"
hmm if you go to
and find your sensor.temp_house_mean and click
Do you see a history graph in the more-info modal that pops up?
I don't know if this is good or bad but yes, I do have the history there.
Okay. Thats good. haha. When you add the sensor card. Do you see the icon, sensor name and value just not the graph?
Yes, that's correct.
It changed the name of the card, that's it
What's the easiest way to change the color of an icon? My door locked vs unlocked is almost the same icon, with the same color, and I can hardly tell the difference. I'd like to set it so when it's unlocked, the mdi icon becomes red. Locked it becomes green. What's the best way to achieve this in my Lovelace UI?
@polar kelp so 0.80.2 fixed things as expected thanks for that. Keep up good work
@severe idol a template sensor maybe?
I think that currently there are only two ways. Either you use something with a state_image setting, like a picture card or a picture-elements with an image element.
The other option is to use custom-ui.
What am I doing wrong here?
I want my light icons on the picture, one to the left and one to the right. When any light is on, I want it to change to a certain picture.
I think there was an update to work with lovelace too, but I haven't tried it
@winter leaf Indentation
I got no errors, the only thing that does not work is that it change picture.
And why are you using long-press?
oh right... It defaults to more-info
I forgot ๐คฆ
Hehe!
Ok. Let's look at what you have here.
You have a picture-elements with an image (bedroom_lights_off).
Inside that image you have two long-press elements, each of which has: a type, a child and a state_image property.
The child of both long-press elements are image elements with a name, entity and tap action, but no image.
State_image has no meaning to the long-press element
So...
tell me again what you want
I want a picture of my bedroom that have 2 light icons on either side of the picture.
One is representing my wifes and one is mine.
When I click any of them I want the picture to change. I want it to change to a picture that is showing the lights on.
And i also want long press to work, so I can see the "more info"
Ok
Start without long-press. Just to get the images working.
And be careful about calling it icon. There's icons (https://www.home-assistant.io/lovelace/picture-elements/#icon-representing-an-entity-state) and images (https://www.home-assistant.io/lovelace/picture-elements/#image-element) in picture-elements, and there's risk for confusion.
Did you want an image or an icon? Because now you have a state-icon ...
The background picture?
No. It was just your attempts that confused me. I thought you were trying to do something like this, but instead have a picture of a lamp on either side of the bed, and when you clicked it that lamp picture turned on or off.
You can't change the background image of a picture-elements.
What you can do, though, is to have a picture on top of the background, which you can change.
That would be smarter.
- type: picture-elements
image: lights_on.png
elements:
- type: image
image: lights_on.png
entity: light.my_lamp
state_image:
"off": lights_off.png
style:
left: 0
top: 0```
Try something like that
Yes, that works.
But I want the icon aswell.
And how would I be able to point it right in the picture? ๐
Play around with top and left. If you use chrome, you can right click it and choose Inspect. Then you find the right hui-image-element tag in the list and can change the top and left values live until you find what works.
Should be
can i get a faster refresh rate in the picture-entity ? so my cameras are not behind with 10 sec evrey update?
There is a custom CCTV/camera card that can refresh faster
thanks!
Hello - love lace question
is it possible to change an entity group icon color based on state?
As of a few days ago, maybe a week or so I had the custom_updater and tracker card working. had updates show up, could update them, etc. Now the card shows up but none of the card versions that I have installed show up in the table. Only the custom_updater version. I went back to the repo and the config.yaml only shows custom_updater: as what is needed to enable. However I see various folks with additional configs underneath such as the urls, tracking options, etc. I am wondering if this is why I am now missing this data?
@polar kelp would you happen know anything fixes for this issue https://github.com/home-assistant/home-assistant/issues/15686
thank you
seems like the filter brightness is going out of wack when the light dimmer is turned on
so the icon is not seen as it turns white
thats correct - i tested with a Zigbee light and it was ok
just the Tuya dimmer (light.xxx)
thanks so much!!
@polar kelp I am also having the same issue, it is annoying.
RGB lamps or just white?
Could you go to
and check what the value of brightness is for your light when it has this problem?
we should do this somewhere else...
Yeah I agree
@mild veldt Thanks!
I am trying to get the new sensor card working and I cant see what the problem is..
The only thing I get is a red box that say Specify an entity from within the sensor domain.
What am I missing?
Are you trying to use it for a sensor?
Specify an entity from within the sensor domain.
{
"type": "sensor",
"entities": "sensor.cpu_temperature",
"name": "Test",
"height": 75,
"line_color": "#3498db"
}
~json2yaml {
"type": "sensor",
"entities": "sensor.cpu_temperature",
"name": "Test",
"height": 75,
"line_color": "#3498db"
}
type: sensor
entities: sensor.cpu_temperature
name: Test
height: 75
line_color: '#3498db'
that is what the box says..
I am used what the example say in the doc.
I'm guessing assuming you didn't read the docs completly for it, since it should be entity and not entities
Hey, @icy patrol! What made you think I could fix it?
@polar kelp thanks so very much! I was reading your above posts and you seemed very much involved. I also have your slider in place. Thanks for that.
@polar kelp are you trying to tell me you can't fix it all?!? #fired
well... I did fix that one... I was just curious
๐
It was a really stupid bug too... https://github.com/home-assistant/home-assistant/pull/17605
Well even though it was stupid I know I couldn't fix it.
๐
TIL that copying new code into a lovelace-custom-card and CTRL+F5 isnt enough - could not figure out why the custom-fan-card wouldnt work. Turns out I had to do a full browser cache history delete for it to work
adding it to the docs under FAQ unless anyone has an objection
Is it possible to livestream a camera feed into Lovelace UI?
I got a local unifi video cam that I'd love to use.
@severe idol you can use picture-glance and just set camera_image: camera.your_camera
I actually found a custom card dedicated to surveillance. it allows you to refresh the pictures every second. this will be fine for my needs!
@dim jolt Check the pinned messages. Number four from the top, specifically
@polar kelp cool - then good reason to add it to the docs too ๐
Does anyone here know if you can change where cards get placed in a tab? I have them ordered properly in my config, but I kind of want to control where they are placed.
You can use panel: true and order them with horizontal-stack and vertical-stack.
@lofty summit you could also give this a try: https://github.com/jeradM/grid-layout
Disclaimer: I have not played with it at all yet
perfect thanks!
On a Entities Card can a defined entity input_boolean have the toggle removed all I want to show is last-changed
entities:
- entity: input_boolean.atticus_feed
name: Atticus Last Feed
icon: mdi:dog-side
secondary_info: last-changed
is it possible to color the icons for cards depending on it's state?
@bronze plover no
I've seen than, but i only seem to be able to set a static color, not a color based on state.
So for example, i'm wanting to make my binary sensors for Motion Green when no motion, and red when motion
For that, your best bet is actually an image element. You can change the color of that with state_filter.
I just setup Custom UI and was able to get it to work
has anyone been able to add just text or label to a picture element? with no action?
I did the custom text element route.
also thank @mild veldt for helping out so much ๐
Last question i hope ๐
now that i figured out color is using hs_color instead of rgb_color, how do i get black or white if i can't set the light level for icons...
nvm, figured out i have to add birghtness_pct to the icon as well for the color to adjust.
ok, i lied.... color thing is being stupid ๐ฆ
'''
this is what i'm trying to do. i am simply trying to figure out the brightness of the icon. not the actual light. when i used brightness_pct, it adjusted the level of the light itself. not the icon.
light.front_room_lights:
templates:
icon: "if (state === 'on') return 'mdi:home'; else return 'mdi:lightbulb';"
hs_color: "if (state === 'on') return [120, 100]; else return [0, 0];"
#brightness_pct: "if (state === 'on') return [100]; else return [76.5];"```
i'm an idiot. and i should just delete everything, but leaving it here in case someone else ever has the issue.
i needed to use icon_color: . otherwise i'm setting the lights color/brightness itself.... the lights i was testing weren't RGB so it wasn't changing when i was setting color, just adjusted when i did the brightness.
stupid mistake. sorry all
i will perform sepuku for my sins. i have dishonored my home (assistant)
Hi All
that is the settings for the normal UI and it works fine
thank you in advance
~format @gaunt sapphire
@gaunt sapphire To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Click on the link to learn how to format: https://raw.githubusercontent.com/skalavala/HassBot/master/format.gif
~edit @gaunt sapphire
@gaunt sapphire Instead of sending the message again, please edit the original message. For more information on how to edit messages in Discord, please visit: https://support.discordapp.com/hc/en-us/articles/207618817-How-do-I-edit-my-messages-
Also, you need to show us the Lovelace card you're having issues with, not the underlying component ๐
Not crap, you're still just learning what's relevant ๐
well lets just say you have more patience than me ๐
Patience is required when you're helping out on any forum/chat/whatever
climate:
- platform: generic_thermostat
name: House Heat
heater: switch.heather
target_sensor: sensor.living_room_temperature
min_temp: 10
max_temp: 30
min_cycle_duration:
minutes: 15
initial_operation_mode: "off"
target_temp: 22
away_temp: 15
cold_tolerance: 0.5
hot_tolerance: 0.5
so that is the component and works in standard UI
#Thermostat
name: My Awesome Home
views:
- title: Home
cards:
- type: custom:thermostat-card
title: Bedroom
entity: climate.house_heat
ambient_temperature: sensor.living_room_temperature
and that is the entry in ui-lovelace.yamal
where do you need to enter the resurces entry ? is it on the very top ?
resources:
- url: /local/custom-lovelace/thermostat-card/thermostat-card.js?v=1
type: module
Ok, so a custom card
that is the whole yamal
@gaunt sapphire being uncaring, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/NdNybR7vxg/
~rule6 @gaunt sapphire
@gaunt sapphire Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
Ok, so what's not working?
how can i post a screenshot ?
~images
Please use imgur or other image sharing web sites, and share the link here.
~images
https://imgur.com/a/2QogYnb
It ain't finding the file
As you say, you need to add the resource section at the top of ui-lovelace.yaml
Also, it looks like you're missing some folders ๐
All that should be under /config/www/
what shall i put in this folder ?
according to the exaple in github the cards .js need to go in
resources:
- url: /local/custom-lovelace/thermostat-card/thermostat-card.js?v=1
type: module
Please read the link I posted
ok so it all needs to go in it and restart
thank you for your help and patience i hope that will work for me
Once you've got the files in the right place it should work fine
yep it is all working ๐ thank you so much
i am sorry for baking every rule under the sun (not intentionally )
no worries just next time you gotta do KP duty
i will do what it takes
PS i have no idea what KP is tho ๐
AHAHAHAH
no i have done national service but we use to call it grees pots service ๐
how do you go about rescaling the thermostat to make it smaller ?
Guys I am using the climate entity to show my zwave tstat. Is it possible for me to have it display on the UI but without the Fan mode drop down?
@inner wagon you could edit the code
Yes, but that's nothing to do with #frontend-archived ๐
You're asking a question that's off topic here. Please ask in #330944238910963714
hmm, how are people using the gauge in interfaces? It's a bit awkwardly sized.
Tried putting it in a horizontal-stack with an entitity filter, but both of them looked kinda broken ๐
Looks fine, it's just a slightly different default height
so can I try lovelace without damaging my day-day usage of the regular homeassistant UI, until I get lovelace fully functional?
buddy123: Sure, you can still access the old interface
@fluid helm Thanks, didnt realize that yet. Ill give it a try
see how much I need to modify in order to get myself to the same spot
is it going to be the default one day?
is it actually means I need to re-write all my groups and customization like icons, write it all into the single ui-lovelace.yaml file?
leaving all my old files to be just sensors,automations and stuff?
The plan is for it to be default eventually.
You can use the script that does it for you @mental crystal
In the pinned messages
is it what it actually does? What i mentioned?
IT takes your current ui and converts it to lovelace
Groups and Customizations stay as normal
so what conversion is there to made aside from groups/customizations? Isnt that "all the ui" we eventually have?
Does it alter my existing files when running?
buddy123: It won't alter your existing files. The idea behind lovelace is divorcing the ui from the groups/customizations so it gets more flexible.
you should probably look at the documentation a bit.
I read that part, I get it. I just meant, if it does migrating, I assume it generates the new ui (the ui-lovelace) by fetching all the existing groups etc. so I wanted to know if it alters by removing them afterwards. I assume it just ignores them?
The two UIs aren't connected
So if you run the Lovelace migration script, it doesn't touch your groups
I follow the github and basically execute the lovelace-gen.py within my config folder, but the ui-lovelace comes out empty. And there is no output to stdout while running it..what am I missing?
Which github?
Did you read the README there?
This script will generate a ui-lovelace.yaml file based off a file lovelace/main.yaml. Other files in the lovelace directory can be included into the configuration using the !include filename statement. This allows for separation of the configuration into several files, and reuse of cards.
That's not talking about migration ๐
I didnt get that part and I thought thats the pinned message I needed ๐
If you're not sure, ask questions, rather than fumbling around in the dark ๐
Though it can be a good way to learn too: https://www.folklore.org/StoryView.py?story=Make_a_Mess,_Clean_it_Up!.txt
and he has no refrence point and is complety lost @polar kelp ? and 1983?
How do I run lovelace-migrate then? Because there are no instructions there, the migration script is just a link to the script
I tried runnig from within the config folder but apparently its not enough ๐
Playing catch-up trying to learn all about HA the last couple months. Would you say lovelace, ha-Floorplan, and node-red control panel are competing interfaces? Or do they complement each other such that you would use more than one at a time?
Save it, run it with --help @mental crystal
@inland badger Nope, they all do different things. Well, #node-red-archived is a whole automation platform and has nothing in commong ๐
it does the conversion by pulling the files with auth from the serveR?
No idea, I haven't run it
Looks like it uses auth
There's also https://discordapp.com/channels/330944238910963714/460846676358332417/475119838260625409 which may not clone your current setup
Oh OK got it
so looks pretty much the same
just no Home tab
so what's the hype? ๐
Really? Videos Iโve watched show a lot of similarities between the lovelace layout and floorplan. And the nodered control panel is not as detailed but looks like an alternative UI as well.
Now you've got a basis for doing the fun stuff with
I was hoping it will run faster on my firefox mobile
My floorplan looks like nothing I can do in #frontend-archived
wdym?
Floorplan gives me a whole house overview. Lovelace gives me an "admin" interface
@mental crystal Now you can start trying out the glance, or picture-X, or gauge, or....
Ok thx. So learn how to set up Lovelace first then implement floorplan before giving the control tablet to the wife?
Or the other way around
I've actually stopped using any of the HA UIs for the wife, she's really happy with the latest update of Google Home
All she wanted was the ability to turn lights on/off and that does that well
Lovelace is for me, and Floorplan is ideal for a tablet view of the house's current state
Either, though she prefers the app as she still feels a little funny talking to GH
Almost all the control I have set up so far is through Alexa. Iโd like to have touchscreen control for her too, without having to open a webpage or app. A dedicated device. Thatโs why Iโm trying to decide if I should do it with lovelace or floorplan.
CCOSTANโs floorplan implementation was beautiful. But I liked DrZzzโs lovelace control too.
IMO there's three different requirements for a UI
- Admin interface for you
- Finger friendly interface for control that anybody can use
- Maybe an overview
Lovelace can potentially do all three, though I've found it to be far from ideal for the third, and still early days for the second (but getting better all the time)
I donโt want an admin interface. Iโd rather a system that didnโt require administration. ๐
What would you like to see to make it better @split granite
I want to be able to duplicate https://github.com/DubhAd/Home-AssistantConfig/wiki/View-Floorplan
What I can do in Lovelace doesn't come close to that
Can floorplan handle #2 though?
No its not a floor plan design but you can use glances/entities for overview
It can, as can HA Dashboard (what I used to use), and Tileboard, and many others
@raw brook Yeah, and I do, but it's not the same
So you are keen to the look and feel that you get with the floorplan
Basically, Im asking what could replace that?
Other than floorplan in lovelace
Well, that's the rub, Floorplan in Lovelace
I like it because it gives a visual representation of the house, and that's why the family like it too
https://www.home-assistant.io/lovelace/picture-elements/ is the "poor man's" version - and if I'd never seen Floorplan I'd probably have been happy with it
Itโs all as confusing as out-of-state tv political campaign ads.
Depends, if you stick with the official UI's then there's only the old one that everybody loved to hate, and Lovelace
If you don't then you've got more choices than I can keep track of
Ok. Iโm convinced. Time to read up on lovelace and start getting it set up. Maybe a floorplan is in the future. But Iโm still in the adding-smart-devices to the house phase.
Thanks for the opinions.
IMO none of these are wrong choices, other than the old UI since it'll be dropped for Lovelace at some point
hi again
is there any way to resize the thermostat card in lovelace (so is not so big)?
@gaunt sapphire You can use stack card to combine it with other cards
I made a card that switches other cards in and out depending on the state of an entity - like arbitrary number of defined states, not just one like conditional.
Config: ```yaml
panel: true
cards:
- type: vertical-stack
cards:- type: horizontal-stack
cards: [ {{ mode_button('home') }}, {{ mode_button('away') }}, {{ mode_button('night') }}, {{ mode_button('nap') }} ] - type: custom:state-switch
entity: input_select.house_mode
states:
home: !include dashboard/home.yaml
away: !include dashboard/away.yaml
night: !include dashboard/night.yaml
nap: !include dashboard/nap.yaml```
- type: horizontal-stack
Each included file contains a horizontal-stack card which holds the other ones, btw.
Still can't make up my mind if it's useful or if it's easy enough to do the same thing with conditional...
@wheat current I dropped av-remote in sharethelove and made a PR. lmk if you need edits
hey so i'm trying to get the themes working on the frontend, I've added the below to configuration.yaml and then created the folder and put a few themes in there
frontend:
themes: !include_dir_merge_named themes/
I cant see the themes option in the settings menu to switch though
what am i missing?
Is it possible to make a picture elements label / icon be a link to the more-info for a different entity? I want to render the state of an entity in a custom way with a template sensor, but I still want to open the more-info dialogue of the actual entity when I click on it
nevermind foudn the option
After the gauge card became official, is there still a way to scale it? my old config doesn't do the trick, and I can't fit the gauges with the default size.
No. But I think someone is looking at making it scale automatically instead.
You can still use the old one, in the mean time.
Sure, thanks.
does anyone know how to change/force the width of the columns or a vertical stack?
I was doing it with https://github.com/kuuji/button-card, defining the width and it was working perfectly, until the last HA update.
hey guys , for picture entity to be smaller what size image is recommend i have tried to resize the main image before adding it to the www folder but it still ends up being pretty big on the ui?
Any custom cards for remote controls?
Have a look at the pinned messages which lead you to various repos
Hi, I'm struggling with a stupid (for me) thing in Lovelace within hassio. I need to upload a picture to use with a card, but can't manage to get the right path. I've read lot of tutorials but all make the assumption that you know where to upload your images to, which I don't. I've created a www folder inside the config folder and tried to call the image /config/www/PIC.png but no luck. Any hints?
Have you restarted hass after creating the www folder?
That would be accessible as /local/PIC.png @fleet condor
Yes I did
Note that pic.png and PIC.png are two totally different files
@split granite thank you so much ๐ I changed it to /local/ and it's working now
See https://www.home-assistant.io/components/http/#hosting-files @fleet condor
Just implemented an iframe into my frontend showing the dark sky precipitation radar, looks really nice! (I was going to upload an image, but it seems that I cannot)
Can someone explain what the error here means;
I think i'm not able to use a space in the
exclude:
- state: "Inget underlag"
But that is the state of the entity.. Hmm.. Any ideas? ๐
I've managed to fix it to change the state to Inget
But that's just a workaround, can someone explain why it's not possible to use a space in the state? ๐
I'd guess it's a bug in that custom card @winter leaf
I'd raise an issue in the developer's Github
Can someone tell me why i always get this error in log:
2018-10-22 12:49:15 ERROR (MainThread) [frontend.js.latest.201810180] https://hass-maurizio.duckdns.org/local/card-modder.js?v=1c480b:1:8 Uncaught SyntaxError: Unexpected token {
There's probably an issue with the custom card you're using
Yes, i found it... i was using the card with the .js type instead module....
Is this correct if i want a backgroud-color on one of my cards?
- type: entities
title: Il Meteo Oggi
background-color: " lightblue; "
entities:
Are you trying to use the card-modder?
No... i am trying to understand how to set backgrounds on normal cards
That can't be done.
Is it possible or i am forced to use that only with card-modder?
A few cards support theming in the new beta.
so i must change that card to use card-modder for having backgorund?
Or create a new home-assistant theme that sets paper-card-background-color to the value you want.
And this is appliable to the views or also to the cards inside views?
For now just for views. But I think it's inofficially possible to set theme: for button and glance cards in 0.80.3...
ok, i'll try it...
@foggy tendon being heartless, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/RTXN2CxBxJ/
but i don't get the proper colors... the log says nothing...
what is wrong?
@polar kelp I see for some seconds the frontend says to me custom card card-modder doens't exist---
sorry, wrong indentation.... now i get the proper style, but always get for some seconds the same error and then the card appear as i want
hope you understand my poor english
Do you get a warning that custom:card-modder doesn't exist or something like that? Edit: I'm blind
Anybody could give me some help, there is the monster card to show devices with low battery, that works and i know how to add extra label/icon to a picture entity card but how can i get the batter_level from this device tracker -> https://ibb.co/e74qqf ?
What version of home-assistant are you running @foggy tendon?
the latest 0.80.3
device_tracker.google_maps_00000_battery_level or device_tracker.google_maps_00000.battery_level doesn't work
device_tracker.google_maps_00000.attributes.battery_level
But you'll probably have to go through a template sensor or something
@foggy tendon That problem should have been fixed in 0.80.0. Do you use other custom cards, and if you do do they have the same problem?
thanks will try or otherwise try a template sensor
at the moment i get only from this card, but i'll investigate more
I see other custom-cards are not doing that problem... gauge-card, monster-card don't give me that error...
Where to start with lovelace? Ive been putting it off waiting for a more "final" version :p
@polar kelp Also, why if i add this style i don't get that picture?
"background": "url(https://www.pexels.com/photo/blur-cars-dew-drops-125510/)"
Because that's a web page and not an image
@gilded plume Like this; https://hastebin.com/ivifulomom.cpp
You are welcome.
hmmm.... i was thinking that was a direct link to the image.... about that error i already write i get only from card-modder
Is there any way change/force the width of the columns or a vertical stack?
I was doing it with https://github.com/kuuji/button-card, defining the width and it was working perfectly, until the last HA update.
For example, a horizontal stack has three vertical stacks, and middle stack is wider than the other 2 stacks.
I feel like all my questions should be able to found fairly easily in the docs or Google, but alas, no. Is it possible to have multiple entities on one row? e.g.
Garage Door [on/off] [battery%] [receivedTS]
Front Door [on/off] [battery%] [receivedTS]
Utility Door [on/off] [battery%] [receivedTS]
What type of card?
No idea, whichever will work.
glance, which will work until 0.81 at which point they're removing the ability to set the number of entities in a row
(don't know why, IMO it's dumb, but ๐คท
I suppose that could work, using some markdown for the label. But they're changing it? What will it do instead?
@split granite It now just auto fills the cards so there is no reason to use column width
Which is annoying
I've a bunch of use cases where I want to force 4 or 6
But hey, that's what happens if you discover too late that it's a done deal, you don't get to provide feedback
You could always submit a PR to change it back ๐
If I knew Python I would
Javascript/typescript
Unfortunately it's also typical any kind of development, where devs make the changes they think are relevant without there being any exposure of the plans to the user base
You could always just start a discussion in #devs_frontend-archived or the UI_schema repo. Always welcome for situations like this
Right, wall of feedback posted
Somebody else using a fire tablet and having issues with all cind of components?
Media card is for example a absulute no go - just like almost any other custom card
or is it my configuration
ok yeah fire tablets are garbo. they are still based on lollipop - But theyre so loveley cheap
( and i got 2 laying around - so ยฏ_(ใ)_/ยฏ )
a way around the outdated webview?
Buy a newer tablet?
Well.. Throwing working tek in the garbage isnt so my thing - Hell I used my pentium 4 untill 2014
Well, you've got a paperweight/door stop. While it technically works, it doesn't work for what you want ๐
I hate amazon for locking the booloader
Btw - how do you make the font italic?
underscore text underscore
test it out
Nice ๐
Btw - Its possible to root the 2017 Fire tablets - Its just a hell of a work - you open them and solder a sd card reader on the chip - to manually paste the SU binary
Oh also - Getting a hell lot chunk.js and more warnings - ignored them the last weeks
frontend_latest/a165dd73e19a69791eb4.chunk.js:470:674 Uncaught TypeError: Cannot read property 'card' of undefined
frontend_latest/app-5e219b20.js:91:305 Uncaught TypeError: Cannot read property 'entity' of null ```
google isnt helpful there
Hey folks! I'm having a hell of a time getting background images to work. Any suggestions?
@civic sedge those look to be errors in the card you are using, not the browser
or perhaps just the config
break down your config to a super simple example that is still broken and share it here
I have a stupid question
Where does one find the lovelace custom folder
Every custom card says to put custom-lovelace in the config/www folder
I don't appear to have such a folder
You have to make it.
And you need to restart homeassistant after creating it.
so inside .homeassistant I make config/www/custom-lovelace ?
config is the same directory that contains your ui-lovelace.yaml and configuration.yaml
So if your ui-lovelace.yaml is at .homeassistant/ui-lovelace.yaml , then you should create .homeassistant/www/custom-lovelace/
And then files placed in that directory will be referred to in the lovelace configuration through /local/custom-lovelace/any-futher-subdirectories/your-filename.js
Would you place images in a similar directory for backgrounds and such?
Or can they be placed anywhere?
That worked for me
I think they can be anywhere, as long as you put their location in the resources part of ui-lovelace.yaml
does mi flora work again and what's the correct config? because again, I'm getting those damn updating sensor is taking over 10 seconds
Hi, I have a small question. What values can be used for "tap-action" in the entity config? I want to bring up the "light windows (colors brightness)" on an picture-glance card
The default seems to be tap-action: toggle
In picture-glance you can't change the tap_action. For switches it's toggle, for sensors it's more info. See first line of docs: https://www.home-assistant.io/lovelace/picture-glance/
Is there an equivilant of this channel for the default interface ?
@visual hazel #330944238910963714 The default interface is just groups and views
Hey guys, does anyone know if it's possible to use any template values in a markdown card?
Cheers! I guess I'll have to look into custom cards more
It's not quite templates, though...
Nah I don't need templates specifically, was indeed just looking to use a sensor value. ๐
Is there a way to change icon colors in lovelace? I tried a template in the customize.yaml but that did not work for me.
I think you can do it with custom-ui, but I bever tried.
Does custom-ui work with lovelace? I threw away custom-ui when I switched to lovelace thinking it didn't work. Lets try
Does antingen know what โplease definie entitiesโ meen? I get the error when i try to use a version of dark sky weather card.
Means define entites
entities:
- entity.entity
- entity.entity
You should read the docs on the card. Im sure it tells you what entities you need
Thanks! got passed so many errors trying to implement this card but could not solve this. Ill give it another try and get back to you @raw brook
@polar kelp thanks for the answer. I have a second question. Is it possible to see "power consumption" as secondary Info in lovelace? I realized that before with Custom UI. But its not working in Lovelace
Is there a way to overlay buttons on a camera?
Any chance someone have created a picture-elements that can take an image_template instead of just a URL?
How do I organize lovelace cards?
One column has 1 card and one has like 4
Vertical stack? or are there better ways
weird I can only get two columns to show up
and when I use horizontal is squishes everything
I haven't messed with Home Assistant in like a year now. It just run great. Now I have updated my hassbian to the latest and everything is running. Now I want to mess with lovelace and I made a simple glance card. All I get is a red box with "entities need to be an array" message. I have checked my ui-lovelace.yaml file many times.
lets see if I can figure out these discord tags. ```title: Montgomery House
views:
- title: main
icon: mdi:home-outline
cards:- type: glance
title: Lights
entitles:- switch.aeotec_dsc06106_smart_energy_switch_switch
- switch.ge_12727_inwall_smart_switch_toggle_switch```
- type: glance
Never mind. Noticed my own typo entites should be entities.
@outer pendant try putting this: https://github.com/custom-cards/surveillance-card inside a picture-elements and then place your buttons on top of it
for anyone that cares, latest firefox has fixed the maps card crash
Hello! I was wondering if someone had a good way of keeping custom_updater and a couple of other lovelace useful plugins updated
I don't have things actually git cloned into my hass config. They are actually in a different folder and I have to move things manually after doing a git pull
I can write a shell script but just wanted to see if there was a better way
@eager pollen The main function of custom_updater is to update? ๐ค
@wheat current I haven't fully setup lovelace yet so in the old UI it doesn't have a button for updating. I just called the Service manually to see if it will take care of the update through the services UI
Ludeeus is away for 20m 21s with a message :point_right: working hard, or hardly working ๐คท
The custom card for it just calls that service ๐
@mild veldt thanks, didn't work ๐
Anyone know how I can put some semi-transparent box behind the icons on this: https://i.imgur.com/o11ckrs.png such that they are a bit easier to see. Lovelace code here: https://paste.ubuntu.com/p/8T93vrTffB/
style:
background-color: rgba(0,0,0,0.2)```
Any way to make it expand across all 3 icons?
Or maybe even expand the "Status" and "Batteri" boxes across the whole top
It's not the Right Way โข, probaby but padding-right: 100px or so on the leftmost one?
It does work kinda, but it looks like the color is on top of the icons
If i set "--iron-icon-fill-color": rgb(255, 255, 255) then they disappear, as if they are part of the background
Ah z-index: 100
I just noticed they are added from right to left in the yaml. So the leftmost icon will be on top of all the others...
Thanks that looks so much better: https://i.imgur.com/myeMwzn.png
Does anyone know if there currently is a way to disable (gray out) a switch/light control based on a condition?
@lofty summit you want to lock/disable it?
@mild veldt yes exactly
not exactly what you are looking for, but a possible compromise: https://github.com/thomasloven/lovelace-toggle-lock-entity-row
Cool thanks ๐
Hey i am trying to make picture-entity card for on and off images for a fan but the image keeps showing too big, i would like the image to be the size of the default button dimensions of the button card images, so how can i figure out or reduce the size of the pictures to match
https://www.home-assistant.io/lovelace/picture-entity/#aspect_ratio
HAve you tried this?
Other wise you will need to resize the image
i have tried resizing the image but on the ui it still comes out big i have tried by pixel and by dimensions
thats why i wanted to know if the button card icons have a default size that i can just duplicate
Hi again, im back with my problem from yesterday at 19:11 . I got passed the error "define entities" but now i only got a blank white background. This is the weather card i try to implement https://community.home-assistant.io/t/custom-animated-weather-card-for-lovelace/58338/164.... I do get a lot of sensors on the main page... where and how can i upload my configfiles?
~share
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
4 more spaces?
affirmative
does it?
in /config/www/custom_ui/dark-sky-weather-card.js ?
you are missing 4 spases on line 5 as well
yes, im using a windows client so its under install_path\www\custom_ui
@twin stag did you download the card from github?
he did, but has not told HA what type it is
right makes sense
i made a mistake earlier where i "saved link" on the JS file from github but apparently that includes a bunch of HTML code
I'm not sure that he/she didn't do that, but the placement of type are at least wrong ๐คท
Yes i did, from here https://github.com/jknoflook/homeassistant
Do you see any error in my code except from my spaceings?
I have not bothered to look for more ;)
And I will not untill you fix all of them and test after that ๐
Hehe fair enought, im on my way home now and will do the changes later. Do you have a guide on How to use spaceings in yaml?
Im all new to this ๐คท๐ปโโ๏ธ
YAML is the mark up language used by Home Assistant. Consistent indenting (two spaces per level) is key - read more at https://home-assistant.io/docs/configuration/yaml/
Thanks!
I just started using Lovelace and am really enjoying what it offers. I created a floor plan for my house and am using it to toggle lights throughout the house, which is fabulous. I would like to create a button (?) to trigger an automation but have not yet been successful at triggering the automation. I created a service button & was hoping I could use it to trigger the automation, but no joy. Can you suggest how I may trigger an automation? Thank you!
@winter hollow Your custom slider card is nuts. Blows mine out of the water
@polar kelp Is it possible to have two rows in the fold-entity-row card?
Is anyone using the custom card "weatherbg-card"
You mean have two rows as a header? No.
@twin stag get a text editor like VS Code and get a YAML extension to check your syntax
@raw brook link to this card?
oh "swiper"...
Yea sorry
np. Just curious. I had looked at swiper card only moments ago
@raw brook tech wise yours is better, I just included Swiper.js...
How can I change the colours in a gauge card? I've been trying using blue, green and red for my temperature room sensor, blue for 0ยฐ green for 21ยฐC and red for 35ยฐC, but when I try this the gauge is always blue, and no matter what colour I choose instead of blue
Cant switch colors other than your primary color in your theme. Or the red, yellow or green severity levels
Is there a way to get a card to span the entire to of the screen and have the rest of the cards fall into place without getting into horizontal and vertical stacks?
No
hey gang - anyone out there who can code fancy a crack at a custom:lock-card ?
started looking at various pieces (how smarttings or Wink do it) but absolutely no idea how to build a card!
Create a feature request in the UI_schema or polymer repo. We may get to it eventually
cool - thanks. Been looking around to borrow bits of code, but actually couldn't find an example of inputting any data into a lovelace card. ie if I was to type a code or user into a text box. I'll put in the request now :).
@dim jolt @raw brook I believe @half osprey has asked that feature requests go through the forum in the past. Correct me if I'm wrong though.
happy to send it wherever is best for the team
you're talking about a door lock, correct?
I'd rather the repos as I don't watch the forum but whichever works
๐คท
regardless, a door lock card seems like overkill
that's like having a light card
A light card is on my list haha
lol
well then, there you have it
But bed time. Have a good night
in which case, @dim jolt the request might not be necessary if it's already on the chief's radar
night
What are you envisioning for an input text element?
this would be for a user to input the user name (rather than user_slot_1), the actual code, and then the lock to apply it to
check out the very first picture
oh, part of the lock aspect. i see
replacing user_slots with user_names (well linking them to make it easier for the end user)
yeah
wink and smartthings for all their faults, handled the lock UI pretty well
I have a PR that uses paper-input that I'm currently working through if you're wanting to start work on a lock card
being able to set single use codes, time based codes etc
sadly I cant really create my own code - very good at borrowing, but i cant find enough examples ๐ฆ
Does HA support lock codes?
yep
here is a package from @jaunty narwhal https://github.com/edif30/home-assistant/blob/master/config/packages/lock.yaml
if we could accommodate that in a lock-card that would be great, but lock.set_usercode etc.I'm very happy to work with someone who can code ๐
I guess I never really considered a smart lock was anything more than a switch really TIL
oh yeah - cleaner code that only works on tuesdays and thursdays (alarm if not) - once use code for an impromptu contractor or dog walker.
i have a feeling that all the extra code for locks puts a number of users off
we're currently pushing on converting existing cards/elements to TypeScript/LitElements with a few side projects here and there for new cards, but we've got some good momentum. So hopefully in the near term we can start working on things like this
sweet ๐ thanks for the info. Not sure i'll be much help - but happy to help where I can
yeah, I imagine using locks with the current UI is near impossible
outside of lock/unlock
VERY long winded but is possible
totally
if anyone gets round to building and want testers i know a few folks who will jump at the chance ๐
same - night buddy! and thanks again
hello, can anyone here help me get transparent cards in lovelace? i installed cardmodder last night but i dont know how to css ๐ฆ
background: transparent
opacity: 0; filter: alpha(opacity=0)
I believe any of those will work for you
wow thanks ill give it a try
and how would i..? where do i..?
err
does this go in the lovelace-ui.yaml?
Look at the documentation for card_modder. But I believe you should be able to make your cards all transparent using a theme.
theme_name:
paper-card-background-color: '#FFF'
https://www.home-assistant.io/components/frontend/#defining-themes
well not really actually, i want them semi transparent, since i installed this mp4 background video addon
but im all sorts of confused tbh
theme_name:
paper-card-background-color: 'rgba(0,0,0,0.5)'
Read the docs for themes. Set up a theme with that line I posted above and your cards will be semi-transparent
thanks lots sir!
Hello - does anyone know if it's possible to change the color of a group icon based on it's state (on/off) when using lovelace?
@raw brook Is it possible to exclude the numeric keypad from the alarm panel, if it is not being used? Did not see anything in the config
No.
shoot...that was one of the options in the custom card.
both my panels don't use codes...so they are redundant
Yea. The integrated version is in 1.0 so they do not have all the feature as the custom card
would be nice to have an option to exclude the keypad (may be in the future)
Future PR ๐
hi friends. trying to get an iframe for kodi into my lovelace ui and feel like i'm missing something
- type: iframe
title: 'Kodi - Theater'
url: '192.168.1.101:8080'
the card shows up with the title, but no content inside of it
that same url is reachable from other computers
disregard, apparently i need to include http:// in the url
Please use code blocks @unreal urchin
~format
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Click on the link to learn how to format: https://raw.githubusercontent.com/skalavala/HassBot/master/format.gif
Hello everyone, Anyway I can create a group of similar entities that I can control color as a single entity?
I think there is a custom thing for that
"light-group"
@twin trout ^
I will check it out @lean nova. Thank you for your suggestion!
This answers part of my question but, the original question was probably badly posed by me.
How do I group 3 equal entities into a single one?
I've tried using the groups.yaml but lovelace doesn't seem to like it.
The real issue I have is that I have a ceiling fixture that contains 3 lamps. I don't need to control them individually but as a group.
Thanks in advance to anyone who can assist!
oh, yeah... the group component
This component does exactly what you want @twin trout
@raw brook @lean nova Thank you both for your assistance. I will now look that.
@raw brook @lean nova Problem solved. Thank you very much to both of you!
can anyone tell me why this view is now showing as one column whereas before it was showing 3?? https://codeshare.io/5O7AMW
it's 3 vertical stacks and was working perfectly
it's working as well in the iOS beta app but not in chrome on my PC or phone/ipad
gaaaaaa.... it's funny on b0 it was fine, even b1... I even downgraded to b1 again but the 'bug' was still there. So odd. I added the custom column-card back and it's ok again but I'll be waiting on the fix. Thanks for the info
no worries... just don't understand why I only saw it in b2 and reverting to b1 didn't 'fix' it
Was introduced in b2. Probably a cache issue
maybe but I did reset it.... but I was having issues with the media card as well and Maker and I were going back and forth so I don't know if I'm coming or going lol. anyway, I'll look for the fix. all good.
@mild veldt did that bug affect iFrame cards?
no, self contained. what are you seeing @tacit cave ?
Aspect ratio and I frame cards appears to be broken. Iโm not seeing it but I donโt use iframes. Apparently adjusting the aspect ratio ads a scroll bar instead of sizing the card.
Any way to change icon color in a glance card?
In beta you can theme the glance card. The feature will be in 0.81
Ok. Guess I'll wait then.. thank you for replying
@tacit cave I did refactor that card as well but that sounds like a different potential bug
I'll check i tout
@tacit cave card size changes for me in testing
@mild veldt Iโm not sure if these guys are refreshing the cache properly
This is alll second hand info
fair enough ๐
I was able to install a component but can't figure how to install a card, sorry really new to this all
@dapper veldt Alarm car is now part of HA, no need to use custom card for it.
It is officially released in 0.81 when that lands
which is moments away ๐
okay great i will just wait.
Anyone tried the new thermostat card in 0.81 successfully? For me nothing happens using tado as my climate entity. Nothing shows up, not even an error message
Explain nothing shows up
Does a card appear but nothing inside it?
Are you able to inspect where it should be?
No card appears & no can't inspect at the moment
@remote rivet errors in console or dev-info?
I have the same behavior
I was using the custom thermostat card before 0.81
app-b9179205.js:1 GET https://home.means.no/frontend_es5/329c690b3fed15d9916b.chunk.js net::ERR_ABORTED 404
webpack_require.e @ app-b9179205.js:1
(anonymous) @ app-b9179205.js:1245
app-b9179205.js:1 Uncaught (in promise) Error: Loading chunk 38 failed.
(error: https://home.means.no/frontend_es5/329c690b3fed15d9916b.chunk.js)
at HTMLScriptElement.onScriptComplete (app-b9179205.js:1)
this is with javascript_version: latest btw
Actually, that might have been a cached error. After shift-refreshing I'm seeing this instead: 197 Uncaught (in promise) DOMException: Failed to execute 'toggle' on 'DOMTokenList': The token provided ('Energy Heat') contains HTML space characters, which are not valid in tokens.
seems more relevant
@raw brook
it's a heatit z-wave thermostat
v1 or v2?
v2
No, but might be due to me setting too high logging level. Also the docs page for thermostat card says - type: sensor entity: climate.nest but think it should be - type: thermostat entity: climate.nest?
yeah, I also saw the bug in the doc
๐
sjabby: Maybe because you're not running it in energy heat mode?
- id: c26ca1b3056942ae885d77a346c0fabe # Automatically created id
type: thermostat
entity: climate.fibaro_system_fgt001_heat_controller_heating
ah yes probably
sorry, didnt see that ๐ฆ
๐
does anyone encounter problem with lovelace in 0.81? I have some entities which are updating as normal
but in UI are shown in red with 'Cannot read property "states" of undefined'
@raw brook graph and custom:gauge
Are they in a stack?
yes
Fix coming tomorrow in 0.81.1
confirmed btw, if I set the thermostat to heat instead of energy heat it displays
so it's already known. ok, thanks for the info ๐ will wait for update
So new thermostat card is hardcoded to display "Upstairs" ?
Yes. FIx coming in 0.81.1 tomorrow.
Is there a way to show the Lovelace UI without the sidebar, i.e. wanna display it on a tablet, but I don't want any sidebar options accessible/visible (Hassio, Configuration etc)
https://gyazo.com/c922b35f0545c9f1fb58cbc2b431bc7f
The hamburger in the top left collapses the menu but that the best that can be done
Hmm, so I'm gonna have to inject my own CSS to hide that menu
in the future there are plans to limit visibility of things like configurations for non-admin users
i imagine you could use something similar to kiosk mode
https://gist.github.com/ciotlosm/1f09b330aa5bd5ea87b59f33609cc931 Lovelace Kiosk by Marius
hey ๐
hi
getting my head in water trying to get a card working ...but no matter what I try ... keep getting the same error as "Uncaught SyntaxError: Unexpected token <"
Upgrade to 0.81 instead
well, in fact, i just did ...10mins ago
^
Right, so in that case, it means the config can be simplified ... right ?
by a small amount
Right
For future reference, though, you need to download the "Raw" version from github.
Yeah, i did that ... several times
from multiple browsers ... even tried to copy it to notepad ... before copying it to the config file ... but again... nothing i've tried .. really worked
Also tried with other custom cards ... and think same error message came back
Then it's probably that your cache still held the old version.
Is there a < at the start of the file you downloaded?
did the ?v=1 ... and increased the versions ... as well
Do you have other custom cards in your resource section? What if you go to the url of the js directly (your-ha-or-whatever:8123/local/whatever-path-you-chose/alarm_control_panel_card.js) in your browser - does it look right?
Yes, it does.
So, i've just removed the custom card ...to use the one already part of HA ...
so my ui-lovelace.yaml is now like this
title: home
name: test
views:
- type: alarm-panel
entity: alarm_control_panel.ha_alarm
Good news ... don't see the error message. Bad news... nothing renders
http://<ha_ip_address:8123/lovelace/0
this is where i'm trying to see the card ...
you have alarm_control_panel defined in your backend?
Yes
No. just to clarify ...this is the first attempt to use lovelace ... so have nothing but this card now
Excellent. That helps I think
So, you made ui-lovelace.yaml in your config folder
Did you restart after doing so?
and i have the alarm working fine in the normal UI ... etc etc ... so all configured as it should in the backend
Yes, the ui-lovelace.yaml was created while ago ... after that i've upgraded multiple times HA
and restarts ... etc etc
Today i'm just trying again to get this working , after all failed attempts
Let's try the simplest card we can:
name: Test
views:
- id: 0 # Automatically created id
title: Test
cards:
- id: 3aedc3f3b60b4305ac8b044b9fc7292f # Automatically created id
type: markdown
content: testing markdown
replace everything in your file with that
Done. and can see that now in the UI
perfect
the "testing markdown" message
now expand it to this:
name: Test
views:
- id: 0 # Automatically created id
title: Test
cards:
- id: 3aedc3f3b60b4305ac8b044b9fc7292f # Automatically created id
type: markdown
content: testing markdown
- id: 3aedc3f3b60b4305ac8b044b9fc7292g # Automatically created id
type: alarm-panel
entity: alarm_control_panel.alarm
double check that entity_id though
I see you put ha_alarm earlier
yeah, mine is ha_alarm
id: 3aedc3f3b60b4305ac8b044b9fc7292g # iantrich created id ๐
๐
Was just thinking that
Right, got an error "unknown card type encountered: alarm_panel"
I can't even imagine what the chances are you'll get two consecutive uuid4...
It should be alarm-panel with a dash
Same error ... with "alarm-panel"
you have an error now?
See what you did! You had us so occupied with your ids that noone noticed the mistake.
lol
๐คฃ
misdirection
Sorry. I shouldn't disturb your debugging tiago.
That's alright ๐
Not much else ๐คท
๐ค ?
to do/see here
It's like almost 2am there isn't?
Still have half a beer left :P
1.33 ๐
its' the same as above
๐ป
unknown card type encountered: alarm-panel
Are you sure that you have upgraderd successfully?
Are you sure you're on 0.81?
Go to dev-info and verify you are on 0.81

damn ... i'm not ๐ฆ
๐
๐ฉ happens ๐
just pulling new image ... for 0.81 version ... so shouldn't take longer to test again
๐ฏ
you should be fine now
Now I should write some documentation for new shopping list card
will test soon as get the upgrade completed
@wheat current want to help? I know your super power is docs
You're right! I'm going to put it off and work on other things
I'm digging the long-press action. Doesn't work on my ios app though - I get a system prompt asking if I want to save the image I'm tapping on: https://i.imgur.com/89yLp13.jpg
I think you just have to hold is shorter
It's defined as 300ms
I know that was a concern
any reason why we used the community alarm card, but not the button-card from kuuji? https://github.com/kuuji/button-card
seems more functionality
It's the first iteration of the integrated. If you would like a feature please request it on the polymer repo
@dim jolt
sure - the button card is very widely used (and a variety of uses) kuuji has been diligently answering and including requests on their github so could save the HA devs some time
also do you mean open a new issue here : https://github.com/home-assistant/home-assistant-polymer
Well it's a bit different when integrating into HA. We can't just take it and copy. But yes that is the repo
cool thanks @raw brook will raise now
We just need to get kuuji to start contributing to the official stuff ๐
anyone have luck with the thermostat card? it's only showing a blank white dial fo rme
@lament burrow link to the card?
anyone here facing issues with the new homeassistant.update_entity
i know its a breaking change, but i dont know how to use it
anyone else having trouble with vertical-stack-in-card with 0.81?
@winter wasp are you getting a red bar too?
iโm getting all kinds of errors in the UI. not sure if itโs limited to that custom card
yeah
im not sure how to do implement this breaking change Template sensors for which we could not determine what states to track to re-render will now only be updated when manually refreshed using the new homeassistant.update_entity service. (@balloob - #17276) (sensor.template docs) (breaking change)
media-controls inside of regular vertical stacks, too
hmm, thatโs not related to the UI, though
@granite prawn I was getting those and just added the entity id to the template sensor
that fixed it... no more errors
can you show me your code please @timid burrow
that would be very helpful, since the docs arent very clear at this point
- platform: template
sensors:
forecast_0:
entity_id:
- sensor.dark_sky_daytime_high_temperature
- sensor.dark_sky_overnight_low_temperature
- sensor.dark_sky_precip_probability
friendly_name: "Today"
value_template: >
{{states.sensor.dark_sky_daytime_high_temperature.state|round(0)}}ยฐ/{{states.sensor.dark_sky_overnight_low_temperature.state|round(0)}}ยฐ/{{states.sensor.dark_sky_precip_probability.state|round(0)}}%
entity_picture_template: >-
{{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon.state ~ '.png'}}
that's an example
so I just added entity_id for every sensor referenced in the template
the docs do show that but don't give any examples
then why are you getting a template sensor error????
here is my complete sensors file
i think youโre mixing up problems
templates are separate
the error message you posted up above said template sensor in it
count_confuciusToday at 2:20 PM
yeah
im not sure how to do implement this breaking change Template sensors for which we could not determine what states to track to re-render will now only be updated when manually refreshed using the new homeassistant.update_entity service. (@half osprey - #17276) (sensor.template docs) (breaking change)
ah.... it's not an error you are quoting the release notes
well what I posted is how you get around that
yes, my bad for not making that clear ๐
hahaha
@lament burrow thermostat is working for me
my bad mate, sorry
yeah I have the red screen in lovelace as well
@timid burrow @granite prawn @winter wasp hot fix for stack-cards will be released tomorrow
we need to wait for 0.81.1 according to @polar kelp who said tomorrow
hahahaha!! thanks @mild veldt got that lol
i made literally no changes to any of my files, but im getting this error Could not find ui-lovelace.yaml in your config dir.
and no gui at all
well that sucks...
well...is it there?
i sure hope so
there was a change to ad unique ids to your config
yes its there
so the file does get edited and then replaced
ui-lovelace is very much there
and now its gone :/
nope
i just restored from yesterdays backup
moral of the story, ALWAYS have a backup ๐
that's not good that it got removed though...
so true
@mild veldt yeah, very weird that it went somehow
like I said, the file is now being edited and then replaced now
so if there was a hiccup in that, that would explain it
but i wasnt editing it at all
and is the most likely explaination
i only had my sensors file open
the system is
crap, basically all of my UI pages use stacks ๐
hereโs hoping all my automations were designed well
@mild veldt let me know if you want me to replicate the issue ๐
@winter wasp I'm sorry ๐ฆ I introduced that bug
It's only if you have sensors in them, I believe
they don't like being given a hass object that is undefined
they kind of...blow up
@mild veldt iโm sorry if i hunt you down in my dreams ๐
in my defense...this is all still experimental ๐คฃ
ah huh! yeah all my red ones have sensors and in vertical stack
@granite prawn yeah, just try to do it once more. nothing to monitor beyond if the file is removed or not when you run the custom_updater
okay, ill do it again
@timid burrow you had me nervous there for a bit with that rage
hahahaha.... nah.... it's all good. it's just a pity they went straight to release with it rather than b3
does anyone know how I can add space between the tabs for my views and the entities? I have a two column page and they touch the view tabs
@mild veldt nope, no issues this time. file is still there
๐คท
yeah, my reaction precisely
@timid burrow our UI development flow could probably improve a bit
it's better now than it was in the past.
iโll take occasional red boxes over groups.yaml any day
I don't plan on making this a repeat event ๐
is the PR complete, just needs to be released?
hopefully 0.81.1 is out before most people upgrade...
yeah, balloob will make a tag tomorrow
it seems to be still open
yes it is. there were some backend fixes he is hoping will be addressed before he finalizes it
gotcha
does anyone know how I can add space between the tabs for my views and the entities? I have a two column page and they touch the view tabs
im not sure how to add in a blank card that would probably be close to what i want
can you post something on imgur and show me what you mean? There should be a bit of padding
i have that - same width as the column seperator on mine.... what is in lovelace for that view?
panel: true?
correct
that might be why..
so panel: true gives me the spacing but not the full width i want