#frontend-archived
1 messages Β· Page 90 of 1
clean yout browser cache
my lovelace ui is completrely gone after the update but mu configuration file is still there
ok got the bells now on pc
@patent jay year lot of braking changes
so was cahe?
yes i know
thnx @worn torrent
I'm fixing it right now as well. I guess you dont have https://www.home-assistant.io/lovelace/yaml-mode/
but if i opt the gui version do i loose evrything ?
don't know someone else?
or is it a migration ?
Year and I straight went for the yaml version π because config is already there
i cant use ui-lovelace code in that seciotn
unable to parse yaml, yamlexeption: unknown tag !<secret> at line 48 , column 42:
can i change my desicion later ?
need to replace !secret i guess
the thing with the automations is repeating hihi. when the gui came out, the first thing was to not use it, because well everything was there already, but now I'm sloly migrating
Hey! Don't blame me for the UI editor.
People have worked very hard to make it awesome, but I'm not one of them.
i tought this whole lovelace was youre project?
woah woah woah! No no no no no
Thomas is a legend
Just remember if you have any issues with the editor or Lovelace. Go to @polar kelp π
like a good ghost you can call and he comes to rescue?
fixed is by replacing all secrets to hard values
Btw @worn torrent In the latest release the service data was changed to require explicitly setting EntityID
THis is because some services do not need entityID and break it given
year I realized, but now there is some redundancy in most of the cases, so a default that would again remove the redundancy could help
Some of my templates arenβt responding as well as the status of the zwave device itself. Is this because of Lovelace being in the works ?
Im not sure what you mean
I guess specifically my locks. I have templates that take the generic information (user1) and translate it into actual data.
Locks show locked even when unlocked
Or visa versa
@honest cliff .storage/lovelace
@worn torrent passing entity_id by default literally breaks some service calls. You will have to be explicit in your service calls.
I see, so it would need different defaults per service to be usefull.
per service-call I mean
im using the lovelace gui now, to edit and shit, it seemd my automations.yaml doenst worrk any more, do i still need to inject the second mothod?
@worn torrent, correct, and we're not going to do that
I see
@fiery temple are you saying you had an automations.yaml that you included in your ui-lovelace.yaml?
yes
please read the release notes for 0.84 as it describes breaking changes and ways around it
btw no i dint include ity
it
u just had the file automations.yaml which also loaded
i just have a folder calles packes. and it hat folder i have several yaml files
are you confusing configuration.yaml and ui-lovelace.yaml?
also the autmoations.yaml
It seems like it's been somewhat discussed today already but I'm not seeing specifically. I've just started a fresh install of HA, and am trying out lovelace w/ the GUI, which is rad af. There's somethings I can't seem to tweak in the GUI though (ordering tabs, for one). I tried enabling yaml mode but everything I've customized goes away when I do that. I don't see anything written out to the ui-lovelace.yaml file. Should it be saving my GUI-configured settings to a file somewhere I can modify and rearrange items? Switching to yaml mode disables the GUI, and I feel like there's a need to go back and fourth depending on my present need and/or mood π
im running into a strange issue, im trying to set up a conditional card, but not matter what i seem to do i get "no card type configured"
@graceful dagger you could use the raw config editor instead of the yaml mode.
- type: conditional
conditions:
- entity: media_player.shield_android_tv
state_not: "idle"
card:
- type: entities
entities:
- light.master_bedroom_lamp
am i missing something
@cinder rapids Oooh I hadn't thought of that. That looks to do the trick for re-sorting the tabs. Thanks!
@dire dome try this ?
conditions:
- entity: media_player.shield_android_tv
state_not: "idle"
card:
type: entities
entities:
- light.master_bedroom_lamp```
..it helps if I format correctly.
oh
Did you guys know you can have emoji's in the lovelace config?
i see
I was just messing with a conditional card as well. I think you just need to knock that "- " off of the card type.
@graceful dagger you mean exactly like the documentation shows π
amazing how blind i can go to shit if i read it too many times
Dude my eyes go cross too.
@graceful dagger storage mode and yaml mode do not share/sync configurations
I don't recommend switching between them
pick one
The UI editor is still evolving. There are some things you can't do yet with the GUI editors along, but you can always use the raw editor that is accessible from the UI to do manual edits, just be careful, things like comments are not saved and will be removed on save
@mild veldt Gotcha. Good to know regarding comments. The raw editor seems like it will do the trick for now, thanks!
@graceful dagger if you do decide you want to use yaml mode, you can copy what is in the raw editor and paste in your ui-lovelace and vice-versa
Yup, I figure that'll be end-game once I get shit dialed in how I want for the most part and just have nitpicks to make.
@mild veldt i did as suggested, deleted the add-on, deleted the ui-lovlace-yaml file, clear the cache (again), rebooted my hass. But still the same issue. I dont have anyting in any file now saying anyting aboute lovelace. And after reboot and log in i did not get any question about mode. everything looks the same. in dev-info i still get the same message when clicking "try out the new lovelace UI" (Error while loading this panel). I think something is really fucked up with my hass!
@mild veldt I found the lovelace json file, here is what was in it:
"data": {
"config": {
"views": null
}
},
"key": "lovelace",
"version": 1
}```
@honest cliff I would just delete the file and then your dashboard will be autogenerated again
@hybrid bobcat check if you have a .storage/lovelace file as well
nope. no lovelace in .storage @mild veldt
one note; you won't be asked about mode. don't expect that.
as for what's wrong. i'm out of ideas
you checked your logs in
and in your browser console?
@mild veldt that got me running again. I put my ui-lovelace doc into Raw config editor and it shows again properly. Then I click configure ui, click the plus to add a card, on card configuration I am not able to use the editor, but when I type the thermostat to use it says YAML Error: YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 3, column 1: ^ and wont save
@mild veldt damn! π well the logs give me nothing...just an error regarding a custom component in 
Is there a way to set a range for the history graph? Like min/max to display so its always showing 100%
@mild veldt found this in chrome https://imgur.com/a/MRsk4oy
Would anyone be able to share some screenshots of their Lovelace UI for inspiration please π
So.... every time i try access either Lovelace or my configurator i get the same error in chrome: bootstrap:129 GET https://xxxxxxx.duckdns.org/frontend_latest/74210f7068b283428136.chunk.js net::ERR_ABORTED 404 (Not Found)
Brezay. This one is my favorite: https://www.reddit.com/r/homeassistant/comments/9ycr63/my_lovelace_frontend/
@honest cliff I started to make my own like that(https://imgur.com/a/Jbv0Dvq ) but quickly realized that it would only really work on tablet. It's a shame there's so much potential otherwise.
@honest cliff fix your syntax error at line 3, it looks likr
@hybrid bobcat I can't make out what is in that image on mobile
@mild veldt that was my first thought but no matter how I change the raw config I still get the same thing. It was a resource call to load a card, so i changed the way I did it. Still the same error.
Then I removed the lines entirely, still the same error.
Now I am restarting HA to see. Not sure what it is hitting thats the issue though
@slender pond I was running into the same issue, so i started doing my font sizes in vw so that it would adjust to the screen size and it got a lot more manageable!
There are still some quirks, but Im banging on it still
@mild veldt it says "bootstrap:129 GET https://xxxxxxx.duckdns.org/frontend_latest/74210f7068b283428136.chunk.js net::ERR_ABORTED 404 (Not Found)"
maybe i should ask i hassio insteed
Yea I'm gonna make a usable lovelace interface then once that's done I'm gonna take the leap of faith and attempt to make my own dashboard ;o @honest cliff
@slender pond I feel ya on that. I like wasting all my time on flashy stuff and forgetting to do the nuts and bolts...
whenever i load lovelace up initially, i get a red screen with errors but then when i go to one page and back to the original page, it's fine again
@mild veldt nevermind, I just didnt understand how to properly input the imformation into the card configuration.
@mossy otter custom cards?
yeah
I'm sure you're wrong π
haha...nostalgia is a funny thing
@kind loom being inconsiderate, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/hS8XKZr4Nv/
This button from a picture-elements card stopped working after 0.84(i transfered to the new format), does anyone know what might could be wrong? thanks π
- entity: light.stua__kjkken
image: 'http://XXXXXXXXXXXXXX.com/assets/images/light_bulb_off.png'
state_filter:
'off': brightness(80%) saturate(0.8)
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
state_image:
'on': 'http://XXXXXXXXXXXXXXX.com/assets/images/light_bulb_on.png'
style:
left: 50%
padding: 50px 50px 100px 50px
top: 45%
width: 10%
tap_action: toggle
type: image
oh nevermind, why didnt i think of the release logsπ«
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 @kind loom
@kind loom 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-
Question: is there an order to the way camera's are displayed in Love-lace? (HA 0.84.5) I had my camera's named: 1 - name, 2 -name, 3-name.. etc.. to get them in an order in the default UI
My things in lovelace are ordered in the way they are in my ui-lovelace.yaml file. Yours aren't?
Sometimes it moves columns around when the display width is not big enough, but this you can steer with vertical and horizontal stacks.
@livid ruin I'll go and check. That will probably be it
Does anyone know where I should place the resources-reference to be able to access a custom component through the new UI editor? It's no longer placed in ui-lovelace.yaml, right?
I think i discovered why my camera's don't always appear in the same order on the love-lace UI. I think they get orded by response-time! (i have 2 ip-cam's and 2 webcams) they show up on the UI in "random" order. I tried to order them by name ("1. name","2. name") i tried to order them by the tag "order: 1","order: 2", etc.. None work. For good measure i have to mention that my axis-ipcam is discovered automaticaly, my samsung ipcam doesn't, (i use wget to grab an image) and my 2 webcams are in configuration.yaml (platform: mjpeg) All the cams appear in one card.
@cloud sundial depends on what mode you are in
I am trying out the editor mode
@vapid field look at the tips and tricks in the main docs on how to define order
@cloud sundial you'll use the raw editor that is available when in edit mode
@mild veldt I did that you see. But now I found my fault. I'm pretty new to this system so.. I missed the "custom:" before any custom cards. It's working now, thanks π
has anyone been using Lovelace-gen.py with any success, even copying the script from the example gives me errors! π¦
From 0.84 there is no need to use it
really π you can split?
Was thinking of another thing
I think there are some support, but not sure
oh thats cool, so i could set up in a similar was as groups with different files liked to each page?
way not was sorry
in yaml mode you should be able to do anything you can do in your regular configuration.yaml files. you won't be able to use the UI editor, however
that's brilliant, i don't use the UI editor anyway. perfect, thank you
I have used lovelace-gen with some measure of success...
@polar kelp jinja2 is still the main benefit of the script as I see. Does that sound right?
That's the only reason I still use it.
Oh, and the automatic cache invalidation of imported scripts and images.
That's awesome
If I dare say so myself
how to show up a switch in gui?
Which gui? Lovelace or states?
lovelace
For lovelace you put it in, either via editor or yaml file.
But... why is it gone?
@viral root how are you navigating to states? It is still there
If states is 404 something is wrong.
as for a switch, you have a lot of options on how you can represent things in lovelace, but to mimic states, it would be an entity within an entities card
In lovelace there is also a handy button in the top right corner where you can click "unused entities" and get a nice list.
The switch is represented by HASS as an entity.
ok
Or what do you mean with "should have an entity"?
Entities is the name for all the things that you can control in HASS. A light, a switch, a climate control are all entities for HASS.
Did you check in the list of all entities? In the "states" panel of the sidebar, for example.
yes, no switch
thanks @polar kelp it is awesome, i thinks its just me use of it :/
Is there any error in the logs? Usually, if you define something in the config and it's not added, there is a reason for that and an error is thrown.
@viral root head over to #330944238910963714 if you need help setting up the actual switch component in Hass
config/packages/switch.yaml is
switch: !include_dir_merge_named ../switches
and in ../switches i have a file switchname.yaml with
---
- platform: command_line
switches:
switchsource:
command_on: 'curl -d "" "URL1"'
command_off: 'curl -d "" "URL2"'
friendly_name: 'switchname'
This channel is for Lovelace discussion.
The switchname.yaml has the wrong format. Look into the docs we linked! And go to #330944238910963714 with that problem.
@molten crag being cruel, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/CfVy9YfPyk/
should there be commas?
or rather, are you missing a comma after image?
I haven't played around with that at all, but that discrepancy stands out to me
could be, not showing that on the sample, and i am obviously looking too deep and missed the basics, will give it a go lol
sadly not
I want to use the sensor card, but I don't see the graph in them https://imgur.com/5A74Ok8
any ideas?
~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
Use the correct Tick
Next to the 1 key
But I know your problem
CHeck the Docs for the graph variable
- badges: []
cards:
- detail: 2
entity: sensor.hourly_gas_consumption
name: Gas Consumption
type: sensor
- detail: 2
entity: sensor.power_consumption
type: sensor
icon: 'mdi:flash'
title: Power
found it!
~edit @olive forge π
@olive forge 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-
thanks for educating me ;). Anyway, I think it defaults to
graph: line
right? If I add that line, it still doesn't work. The sensor has history data available
It doesnt default anymore
Adding it should create the graph unless the sensor has not unit of measurement
tried to add resource info in the raw editor in the new lovelace but now i get only a white screen. using mode: yaml i can use my old file but how can i erase the text in the raw editor when i cant see it anymore? i can see my text in the home-assistant_v2.db. how can i edit this database?
Integration of Ring Doorbell as a camera in HA. What is SUPPOSED to happen when you click on the image presented in a Picture card when the entity is a camera object presented from Ring?
anyone know any suggestions why lovelace-gen.py may be struggling with a macro. error is
while scanning a simple key
in "<unicode string>", line 5, column 1:
{ type: picture-entity,
^
could not find expected ':'
in "<unicode string>", line 6, column 3:
entity: light.0720005768c63acb609c,
^
Run `lovelace-gen.py help` for help.```
I have modified the AV Remote card from sharethelove.io to be a Sony Bravia remote without the dependency of the harmony remote component, the method I've used could actually replace the harmony remote functions for any device that connects to Home assistant
I'm looking for someone that can help me share this
Where is the data from the lovelace ui editor stored? i need to revert an entry which broke lovelace
.storage
thank you Zac problem solved
Folks, I want to create a card to display in LL, but it doesn't actually use any HA entities - it's kinda like a separate reference tile. I've seen we have the iframe element, could I just create an html file, stick it in my www/ folder and reference it that way?
Ah yes I can
Is it possible to hide the blue top header in lovelace? I'm looking to use it on a Raspberry PI touchscreen on the wall and screen space is a premium. I'm currently using HADashboard but the new lovelace UI looks so much better and easier to customise
right now when i click tryout lovelace.. it says "error loading page"
jjust updated to 84.5
got it to at least show up by setting it to yaml mode but toggle buttons dont work
Probably want to check out the changelog
Anyone know why I have entities in lovelace that aren't showing up?
https://pastebin.com/D0JAjzsY
the binary sensors and graph are not showing up
I've likely missed something, but try as I might, google, searching the home-assistant.io site, or searching here, I cannot find the answer.
Is there a repo or collection of standard images that are present for lovelace? It seems to be referenced by a lot of cards I'm finding that I want to use, but they're not on my install, and I cannot find any linked anywhere.
I'm running Hass.io, and just migrated to trying lovelace today, and I love it, but i get the feeling I'm half-configured. Any help would be appreciated!
@dense thicket are you talking about icons?
Indeed. I know I can just go find some but the way so many are referenced it feels like there must be a standard collection of them somewhere.
yes they are mdi icons or you can use your onw and place them in a www folder in config
That's it :) I simply didn't know where to look. Thank you!
np
@copper sandal can you be more specific on what your issue is with the card?
hey hey
can anyone point me in the right direction with adding battery status from my phones?
I've got the battery level coming through with icloud
would love to show it on my lovelace interface
can you share the full config for that view
the image you are showing me and the configuration you are sharing with me do not line up
~vem
what version, environment and mode are you running lovelace in?
Yeah I know and it was working before with .82 I am on .84 now
and its running in raw mode
yaml mode?
yes
i don't get it...you don't have badges defined, you don't have a thermostat card defined. something is not right here. are you 100% sure you are in yaml mode and you are 100% this is the yaml?
No I'm not since that is kind of new terminology to me I can tell you this is from ui-lovelace.yaml file in config. but it is a fresh install on a vm
How can I check to see what mode I am running lovelace in?
Ahh ok
the ui-lovelace file is ignored
i would suggest reading the 84 release notes the specifics
Ok I will do that thanks
but for now, when you got to 'configure ui' open the menu again and select 'raw editor' and that will show you what your config looks like currently
you can then copy what you have in ui-lovelace into there
Ok yeah I say that was different than what I was opening in notepad++
the release notes should make clear the pros/cons of the different modes and let you decide which works best for you
where do i get a good tips and tricks of lovelace i have all my stuff on there just ready to make it look good
@storm ruin checked the pinned messages
didnt even know tht existed lol thanks
will monster card make it into lovelace as a standard card?
It was (a limited version of it, but is was removed) so I doubt that. π€·ββοΈ
were should i find the UI editor?
Monster card was a response to the entity-filter being nerfed.
UI editor is behind the three dots at the top right corner, @hybrid bobcat .
@polar kelp ok. i dont have any dots...but that is just one of my many problems right now... I cant even get to use lovelace at all....i just get "error while loading this panel" https://imgur.com/a/KcEdoKa
https://pastebin.com/4NgPgT50
This is the error i get in chrome.
Hi long time user of HA (hassio on Raspberry PI) I was using the default web interface of HAΒ but now wants to start to use the lovelace one ! I'm just not sure about best way to do: Should I do everything using the tools in webinterface of Lovelace ?Β or should I go with the yaml config file for it ?Β I would prefer the yaml file as it's easier to backup π thanks
anyone have some problem with the shopping list on lovelace? I'm trying to add some items but it seems don't work
I have sorted it
π
any one here using a timer, visible in the frontend ?
I'd ask in #330944238910963714 (or #frontend-archived if you're referring to the Lovelace UI)
is there anyway to tell HA to "save" the current lovelace to the file? right now my ui-lovelace.yaml is just a blank file but I'd like to start customizing it and having the "basic" view that displays everything would be a good start
When you say current lovelace. Do you mean the auto generated lovelace?
Well if you are still in Auto Mode you can click configure UI and go to storage mode and use the UI editor as a way to customize it
Lovelace Modes Explained: https://www.youtube.com/watch?v=BAgPPdH42Ko
Can a mod please pin this ^
QQ: Trying to use a picture entity card and I hosted the image in /images/picture.png and used the reference in my entity card but the picture does not show up?
type: horizontal-stack
cards:
- type: picture-entity
image: /images/wife.png
entity: device_device1
- type: picture-entity
image: /images/me.png
entity: device_device2
I'm a total noob but is that /images under the /www folder? I believe it needs to be to show up
CHaotic is correct
Ah ok. I see. Thanks
@tame gazelle once you have your path as www/images/wife.png you'll want to update the path in your card config to /local/images/wife.png
Could someone get me a direction whats wrong with the tab to calla script part?
type: glance
entities:
- entity: binary_sensor.zigbee2mqtt_service
tap_action:
action: call-service
service_data:
entity_id: script.shell_zigbee2mqtt_restart
service: script.turn_on
- entity: binary_sensor.mosquitto_server
WORKING YAY
ah.. Thank you (meight have that deleted a half hour ago)
Hi another QQ: how can you get the unavailable entities to not show as yellow error text?
Remove them
Use an entity filter. π€· currently not possible to change the unavailable text
- entity: light.shower__right
tap_action:
action: toggle
state_filter:
- on
- off
for example?
Well you wouldnt have both state filters..
Entity filter card will hide the entities that are unavailable
State filter would be on
Hmm so would only work without tap_action
Trying to display a glance card for all my lights.
Also wanted to add toggle for tap
- type: entity-filter
entities:
- entity: light.light2
tap_action:
action: toggle
- light.light1
state_filter:
- on
card:
type: glance
Try that
Something like that anyway
That doesnt make sense
If they are off you said they were unavailable
Also there would be no point in using a filter card
You may need to put on in quotations "on"
off = switched off at power
So with my lifx builbs. You can turn them off using "Soft off" (App, Google Assistant etc...) But they also get powered off at the switch
Powered off = State Unavailable message.
Then sure you can do that
OK Cool π Ill give it a shot now
thats one of the main reasons I switched from bulbs to switches
i have bulbs...i hate them. should try to sell them
@raw brook π Works Perfectly π
Nice!
Isn't there a way to make the picture in a picture-elements card bigger? Original its 2500x2500 px, but kinda small in the GUI.
panel: true
Oh, thanks π
Hey guys, did the behavior for picture-elements change? The tap_action toggle doesn't respond to taps, but will respond to long press. I have a light entity I want to toggle on tap and show more-info on long press.
You beat me, let me read
Ah let me try that nested configuration
@cloud latch All fixed. Thanks!
π always read the release notes on updates. π
Of course, I did read through the main page and focused on the storage options and must've gleaned over the one paragraph on actions. Next time I'll read the comments too π
Don't even need to read the comments. π
There is a link in the Lovelace section
You're right, I didn't know there was a separate changelog. I'll pay attention next time π
I found something interesting while configuring a history card. I have a humidity sensor with all lowercase entity name. When I use an uppercase letter for the entity name in the card's config it falls back to its default. When I use all lower case, then it overrides the name.
The graph works either way
since is upgraded to .84 im getting this on the gui edit:
Your config is not supported by the UI editor:
Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received "toggle".
Falling back to YAML editor.
when i remove that tap_action it will open a popup instead of toggling the button, how can i prevent this?
Screenshots: https://imgur.com/a/qYxj3oJ Also, should the order in the config match the output?
@fiery temple take a look here https://www.home-assistant.io/lovelace/changelog/
its not possible anymore?
Actually read the changelog
change it to toggle? im not sure
it says tap_action can now be toogle, but that exactly what errors me
sry i dont understand it says tap_action: toggle right/
sry my english vocab is shit
i did, i changed it to :
- type: entity-button
entity: switch.main_lights
icon: 'mdi:lightbulb'
name: Main Lights
- type: entity-button
entity: switch.kitchen_light
icon: 'mdi:lightbulb'
name: Kitchen
tap_action: toggle
YAML Error: TypeError: Cannot read property 'startsWith' of undefined
~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
sry forgot about that
Anyone recreate the unexpected behavior I'm seeing with the graph names?
- type: entity-button
entity: switch.main_lights
name: Main Lights
icon: 'mdi:lightbulb'
- type: entity-button
entity: switch.kitchen_light
name: Kitchen
icon: 'mdi:lightbulb'
not sure whats wrong about it π¦
@polar jackal Entities are always entirely lower case
Use them as they show in 
Hippo is not the same as hippo
@fiery temple Have you actually looked at the example yet?
Because if you haven't, we can't help you
And if you have, only your optician can help you π
Tinkerer: Got it. The graph probably converts to lowercase first then. π
yes i did
- type: entity-button
name: Main Lights
tap_action:
action: call-service
service: switch.main_lights
service_data:
entity_id: switch.main_lights
entity: switch.main_lights
YAML Error: TypeError: Cannot read property 'startsWith' of undefined
I really don't know why you're finding it so hard to find that example, since you've been pointed at it repeatedly by more than just myself, but π€·
even if i copy that whole example im getting this error
YAML Error: TypeError: Cannot read property 'startsWith' of undefined
What you posted isn't formatted like that
- type: entity-button
name: Turn Off Lights
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.turn_off_lights
entity: script.turn_off_lights```
if i copy that example, to card config, im still getting that error
Look at the pretty indenting
I got the startsWith error when copying many types from the old yaml. Leave a single type and get rid of the - indentation
Correct indenting is pretty critical too π
@split granite I'm checking the entities list doc, nothing on sorting. Should my entities appear in the history-graph card as configured or is there a way to hardcode their positions?
I don't think you can
Lovelace reflows things automatically, unless you use Horizontal and Vertical stack cards to lock things
@split granite how about if give you 50 euros right now, paypal perhaps for you to look at me settings and make some adjustments? xD easy money for you?
I know @polar jackal - I'm saying that's the only way π
@vapid field Alrighty π
@fiery temple 5 minutes of my time... don't think it'll be that quick π
Share your config on Hastebin or similar, and folks can help
I'm not interested in being paid to help. I chose who I help π
i can only learn from a working situation im so bad with this trying to hard
~share
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
@fiery temple Just paste a screenshot of the configure UI
Well, if it's outdated we can't use it to help you π
this screenshot was working on older version when i used yaml files
Again, with the outdated stuff
If you want help with your current problem we need the current config
tap_action:
action: toggle
ok ill upload it anyway
What you posted also looks nothing like an actual entity-button card config
@fiery temple Now get rid of the " - " on line 1 and adjust your indentation
ok the error is gone now but it only toggles on not off
type: entity-button
name: Main Lights On/Off
tap_action:
action: toggle
service: script.main_lights
service_data:
entity_id: script.main_lights_on
entity: script.main_lights_off
got IT
type: entity-button
name: Main Lights On/Off
tap_action:
action: toggle
service: switch.main_lights
service_data:
entity_id: switch.main_lights
entity: switch.main_lights
thanks!
Where's my moneys
hahaha
π
if you willing too
same deal for you if you help me out with a few things
i donate on front
No thanks. Just paste your issues one at a time
how do i add a second button on this card by adding " -"?
and 2 spaces on each line? then the second code the same?
nope getting that startWith error again then,, i feel stupid D
so i need one card for reach but
ok
@raw brook yes it is possible if we use a entities card
cause i have another card, entities, with a speak on off switch with others scripts in that
so it should work right that way
ah, then i get the popup again ok so no not working that way
Trust me, if @raw brook says that it can't be done, he's not likely to be wrong
Slightly more likely that the Easter Bunny will pop over in a few days and leave you a little π©

Ian checks on chat over his lunch break...silently backs away
@fiery temple if you define your action as toggle you don't need service and service_data. Those are only used when the action is call-service
Also, if you want multiple buttons on one "card" use stacks or picture-elements
will look into this thanks
thanks guyus got it all working now
@fiery temple Change the card type to entities to check that the thing you think is missing really is that one
ok haha changed it
no fade working, but light orange isnt π
see right screen is card type: entities left is glance
https://www.screencast.com/t/SdWe0N95n
Now you know the actual problem, rather than jumping to conclusions, again
how you mean? i still dont see it
let me search this what you mean i take anotherr look at my files first
The problem isn't with the fade entity
i found that orange not really excist xD
The problem you can now see is with the orange entity
That's why I said you were jumping to conclusions before
no script for that
You didn't actually know, you'd just assumed...
i never got a warrning about this on prrevious version, so indeed is assumed it worked
youre right
so i rremoved the oragen from the glance card, but its still give me that entity not available in fade, im going to check on things, maybe restart ha
You don't need to restart HA
when i remove it from the glance card config pressing X and save, its still there when opening, maybe try change it by toggle editr
You need to check your Lovelace config and fix spellings
It's just about checking you've not mis-spelled anything, and that you're actually reading the docs π
kind of autistic, sry, going to psycholog 3days a week starting next month to get myself fixed, this might look easy for you, for me its freeking hard, sorry and thanks again for you help, really really love this community and you are alot invovled, thanks il will try shut up and try fix things first
I get that it's hard, but honestly, just take it a bit slower. Check things before asking for help to ensure the problem isn't something like a typo
willdo
π€ that this all becomes a lot easier for everyone as we start rolling out full UI editors for each card type
It should, at least for all the standard stuff
can someone give me a hint? how do i install thomaslovens lovelace plugins?
Plugins, or custom cards?
i would like to use the slider entity row
yup
General logic is covered in https://github.com/ciotlosm/custom-lovelace/#lovelace-custom-cards
resources:
- url: /local/slider-entity-row.js?v=1
type: js
Having put the card in www/ in your config folder
thank you. i'll try that
i have to create the folder www in config share if it doesnt exist, right?
@split granite mapping values are not allowed here in "/config/ui-lovelace.yaml", line 80, column 19
Tinkerer is away for 24m 29s with a message :point_right: Watching the blinkenlights and trying to ensure no more
s are created
ok. found it. typo
Any tips to easy know top and left percent in a picture-element when try aligning lights?
I really could've used that a month ago
It's been in the pinned messages for a very long time
Fair enough. I'm still discovering all these resources, even discord
so lovelace now reads groups by default?
No
kinda not been using it since keeping groups and ui-lovelace is a pain in the ass
It auto generated based on the entities you have initially now. Hit not based on groups
so where is that auto generated file
dont see one
lovelace just seems terribly chatty
What does that even mean
There is no Autogenerated file
Groups are not needed for Lovelace
Light Groups which is different from normal groups are still leveraged
i know..but it must read the groups file somehow..it looks identical
Nope it groups based on entity domain
iow seems to ignore ui-lovelace (whjich i had but didnt really use)
umm no...
the layout is 100% same as my current old UI...which isnt domain based..
got groups with 8 diff domain sensors..it shows in the lovelace now
it just highlights sensors that doesnt exist anymore..only difference i see ..and the climate cards, etc.
this is auto converted.....must be.
views, tabs etc are same
I think @raw brook , is one of the devs....just saying.
yeah well..then something is foobared, cause my lovelace is all *group" based
just saying
Maybe they just did a darn good job
some weird hybrid π
got the lovelace menu right hand..so not crazy ,)
/lovelace etc..
Auh, the refresh, unused entities ect.
The upper right drawer.
Looks like Balloob did take into account groups for this generation
not complaining..wanted it to look like my old..but not sure if i can save this setup to a lovelace config somehow.. too much work to do manually
well when u goto configure UI..it askes if hass wants to take control over the UI
will that leave u with a "empty" setup
yeah i meant if i want to control...
ok if it copies what i have thats fine..
dont want auto generated ui π
sounds like it would be messy
Since it works just like states it seems. Idk why?
Β―_(γ)_/Β―
It just saves you from having to add an entity to the frontend when you add it to the backend
Some people seem to want an experience like they get with the current states UI
These though are usually the same people that complain about things showing up they don't want π
preferences..i just like to control exactly what i see
not saying its a bad thing ...choices are good
So then take control or use yaml mode
id keep the old UI if i could but..wont be an option for long i guess
I went straight to yaml mode. I too like the control. I think you can flip flop back and forth as long as you backup UI-lovelace.yaml
i use groups for automations also, so need to maintain more
Once you get Lovelace configured, it is so much nicer. So much more control
yeah ive used it some to test but..not extensively
How much of groups is going away?
just seems a lot more chatty to the server ..
Groups are staying
I got rid of all my groups as they pertain to views but I still groups that use in automations and switches
Groups for the UI will go
But other uses are staying around, they're just no being abused any more
π
certainly cant drop groups..would be silly
imo
nice for certain automations where dont need to access tne triggering entity
Correct.....I wasnβt on the old UI so I never really got used to it. To me it was a mess and very confusing. I didnβt understand why I had to create a group and then create a view.....seemed like overkill. To each is own but to me lovelace just seems so simple. It is what it is....I guess views can be related to cards.......
Anyway, the horse is dead lmao
πΊ
heh yeah..so used to it myself, since ive used ahss since very early on
but surely lovelace has cooler stuff
Yeah, I was using it for nearly two years, but heck is Lovelace easier and nicer
but seems to me its a lot more chatty to the back end...
not sure if in such a way its a negative performance impact on the server
Doesn't seem to be, I'm not seeing any real impact on the Pi
Though, I'm not really a heavy UI user
It's there for admin, and checking up on things, not as a "daily driver"
use it mostly on my phone...
On the phone, mostly we use the Google Home app π
would like a native APp but..doesnt seem like thats ever coming to android
If you listen to one of the old podcasts on the iOS app, you'll hear them say how hard it is to develop an app that does it's own UI
i try to avoid google whenever i can π
yeah..i heard that podcost
cast
i bet
Man, google Home is really cool when it comes to HA....and pretty sure I am only scratching the surface.
Yes, but you donβt need the mini to use the app
I love the Home Mini, and the Home Hub π
All the sudden, voice control takes on a whole new level
There is a Android app
i just dont like any cloud service really
Oooooh. I wonder if it'll have any useful features to allow me to replace other apps
Still want a thing that'll replace GPS Logger and provide notifications
From the dev
Guess the app is pretty much complete now apart from some code cleanup but not sure yet what I'll do with it
But its only for Oreo and above
I think I have it
That's fine, I've got a Pixel π
I just never put the effort into setting it up
1 min and Ill let you know
https://community.home-assistant.io/t/alpha-ha-client-native-android-client-for-home-assistant/69912
Iβm very proud of this UI but also I know how many issues it hides. Please remember it is only an alpha version. To join alpha testing you need to join HA Client group in Google Groups. After several minutes you will be able to download the app here: https://play.google....
I think this it it. Not 100%
Ah yes, I'm on that Discord server. When I'd joined it the app looked like going nowhere fast, so I've kind of ignored it
never really used the UI for media control and such..too clunky..basically want quicker access
ofc, the goal is always to require as little interaction as possible.
π
Seems like the app has some more progess that needs made but I did get it to work (kinda)
any way to hide a card in lovelace? dont see one...
got some i want to keep, but currently not using..etc..
Delete 
that was kinda the point, not to delete ,)
guess im still thinking groups π
there is always # π
and the ugly yellow "entity not available"..please drop it π
heh
UI editor is getting quite good thou....
Its ugly for a reason
And that reason is you are using something that does not exist, remove it
well
sometimes u got entities that doesnt show up...especially when using eventstream..bit buggy..would rahter is just hides them
make it an option
it is an option https://www.home-assistant.io/lovelace/entity-filter/
no..thatts a state filter..
i meant entities not known..just ignore em..globally.. π
but im just picking feathers..nevermind
The state filter works. I helped someone today use it for that exact reason π
But people would not know what happened to the entity if we just had it.
im sure the state filter works, still not what i was thinking. π
but nevermind ..not needed
guess i still have to create my own ui-lovelace , as even if you take control in the UI, it uses a json version in .storage
talk about picking your poison π
Correct. Which allows the Ui-editor
Is there a reason that it seems the syntax is backwards in lovelace. I'm sure its correct but just wanted it know if I should be formatting my code the same way?
What?
I'll show you an example hold on
You should include that first next time
- binary_sensor.warmer_outside
- device_tracker.b4f7a1e4c3ae
cards:
- entity: climate.stuarts_room
type: thermostat
- entities:
- light.stuarts_bedroom
title: Light
type: entities
path: stuarts_room_tab```
Those are the entities that belong to that tab
Still dont know what you are talking about
So before I would have thought that the title and stuff would be at the top
oh. It doesnt matter
PRetty sure you got that from the storage mode
The JSON to YAML formats it that way
Oh ok just wanted to know if I was following the wrong syntax but if it doesn't matter then I will probably switch it since it hard for me to find stuff this way
Yee
Hello, I need some assistance setting up lovelace. I am currently running HaasOS 1.13 and created a ui-lovelace.yaml file, but not seeing the changes made in this file. I have also selected Lovelace as default. Any ideas what I am missing?
Home Assistant - Lovelace Modes I will be explaining the differences between Lovelace Modes and how to switch between them Lovelace Docs - https://www.home-a...
Thanks, so am I understanding correctly that I will still use the configuration.yaml and group.yaml files. Lovelace is just used to easily manage the UI?
No..
Lovelace is the UI
There is an editor with it
Your Lovelace file isnt doing anything until you are in YAML mode for lovelace
oh, so if I do not use YAML mode there is no need for the ui-lovelace.yaml file?
correct
perfect thanks. How can I update to 0.85?
ok, good to know. Thanks for your help, you have been very helpful tonight.
one last thing, do I still use configuration.yaml to add devices and group.yaml to create groups?
I must be missing something, how would I add a thermostat using auto generate? Or setup an automation without using automation.yaml?
Automations are seperate
Should I be able to see /Lovelace without setting it to default?
Atm it's just blank
Go to
and click try love lace
@compact cypress You add a thermostat card and give it your entity for the climate component
Is the try reversable?
but dont you have to create the entity manually in configuration.yaml?
@maiden atlas yes click it again
Its only a link @maiden atlas you can go back by hitting overview
Yes you have to have it created @compact cypress
lovelace is just the frontend
It just send my to /Lovelace again which is blank
hmmm What version of HA are you running?
ok, so we still have to manually create entities and groups using the yaml files?
0.83.3
Technically. @compact cypress But Groups are almost unnecessary for lovelace
if you control it.
If not then groups are needed
@maiden atlas I cant remember when lovelace started creating its self
one sec
ok, gotcha. So best practice would be to create entities in configuration.yaml and take full control by using lovelace UI. Is that correct?
Yea if you are confident in your technical skills
Its pretty easy with the editor
So I would say taking control is the best bet
I created a notify.yaml too, I assume that needs to be manually maintained.
@maiden atlas Pretty sure 0.84 is where Lovelace auto gens
So it will be blank
If you dont have the Lovelace YAML file
awesome, I was initially editing and creating new things by using the raw config editor. Every time it would create a blank overview page. Obviously I didnt understand how this all was supposed to work.
is there any documentation on how to stream feeds from arlo cameras or ring doorbells?
Use a picture glance or picture entity card
Tried that using entity: camera.kitchen
and entity: sensor.arlo_cameras
I was able to get a picture using picture entity card, but no live stream. Is that possible>
Anyone know why when I edit my lovelace-ui in storage mode it keeps reformatting everything every time I restart?
Hi, is it possible to change the size of the sensor card?
I have a picture-elements card. And the code is identical for all entities beside the entity-name/id tho. But I cant press some of the lights to turn on/off, but some works. If I manually turn the light on, the picture-element card updates with the light on. Any tips?
@compact cypress There's no live stream support in Lovelace. However there is a custom CCTV card that can update the snapshots every half second
morning all, silly question, is there a way to customise the size of a card?
Not really
You can make one a panel, filling the full size of the window, but that's about it for the width
You can cheat a bit by setting something as a panel, then using vertical stacks inside
But you can't make it fixed
ah ok, the picture-entity card kind of takes lover lol
Takes over even...
all custom cards are broken this morning has somebody else the same experience
Did you update Home Assistant?
yes to the latest version 0.84.6
Climate cards doesn't seem to have the away mode toggle ...
@short dagger In that case, check the Lovelace change log to see if there's anything in there you need to be aware of
@short dagger what version were you on previously?
Does Lovelace not update on the fly now?
Since updating to v0.84.6 I need to restart HA for changes to Lovelace to take effect
You use yaml mode?
Have you splitted up the lovelace-files?
If you make changes in ui-lovelace.yaml, does it work?
I have :
lovelace:
mode: yaml
In my configuration file
If I update ui-lovelace.yaml and click refresh he changes do not load.
If I restart home assistant they do
.yaml is not split
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/
Thats wierd. It worked on 0.84.5 ?
I updraded from 0.82.x to 0.84.6
Worked fine in previous version
Ok, im on 0.84.5 and it works for me.
Google is drawing a blank....surely I'm not the only one of this is a bug?
I let someone else answer. I have no more ideas.
π
hi, i wonder if i have done this correctly: https://pastebin.com/vK4X8Je0
action is lights on, when wife is not home, AND after sunset
but sometimes when i come home the wife is home, but shes asleep, then i needs to enable the lights, ,is this possible?
@fiery temple Questions about automations belong in #330944238910963714
any one here using a timer, visible in the frontend ? Does it countdown properly for you? What about if you restart the timer while it is counting down, what does it display ?
Anyone happen to know if using card-tools / custom:layout-card should work in the 'storage mode' of LL? (I get "custom element doesn't exist: layout-card" but this is my first attempt at card-tools) Many Thanks!
@vapid field try the refresh found in the menu
@mild veldt tried that, same problem
@restive lance timers is states and Lovelace donβt show that info to my knowledge
@mild veldt then why https://github.com/home-assistant/home-assistant-polymer/issues/1996 π€·
Since upgrading to 0.84 tapping on an entity configured like this does not result in the scene being activated. It actually makes all of the lights go crazy and cycle on and off then turn off.
type: glance
entities:
- entity: scene.lights_on
tap_action:
action: call-service
service: scene.turn_on
@restive lance thatβs what I meant. They should, but donβt
@mild veldt ahh, i see. Well it isn't working in non-lovelave either :p
@mild veldt Ah, thanks. Seems to work. This does seem a bit repetitive though:
type: glance
entities:
- entity: scene.lights_on
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.lights_on
Anyone have any suggestions for a tablet for wall mounting that would run Lovelace in fully kiosk?
@cloud escarp While you wait on any response, have a search of the channel - it's been asked a few times and there's likely some answers already there in the history π
@spice ocean there are some service calls that do not expect an entity_id to be passed and will error
Why do i get the "default_view" of lovelace, with having a ui-lovelace.yaml? I did input some things, but it just shows every object/device with the url "default_view". Help?
@sour thunder read the release notes and check the pinned message on modes
okay
Did only find that id was changed to path, but it changed nothing changing it
views:
# View tab title.
- title: Example
cards:
# The markdown card will render markdown text.
- type: markdown
title: Lovelace
content: >
Welcome to your **Lovelace UI**.```
Copied this, doesnt work either. Or is there a new thing that i need to restart for it to work?
Okay, now it works. Added the ```
lovelace:
mode: yaml
to my config and now it works. Didnt need to do that before, so i didnt knew it even existed
@mild veldt I know the last working version custom card worked was version 0.84.4
Yeah seeing someone saying something similar on reddit just now.
Will have to review changes but have a pretty busy day with holidays and what not.
After searching the chat for tablet recommendations, I basically see that I should not get a fire tablet. Was looking for something similarly priced. I was thinking about using a rpi with a touch screen, but they would either be way more expensive and bulky, or not very nice looking and bulky. If anyone has any suggestions for tablets or other solutions, I would love to hear them.
Something with a newer OS should be fine
Android or Apple iOS that is
Or Linux or windows
I.e. not fireOS π
Unless itβs an older fire tablet that you can root and put a custom rom on
Can someone help to view media player status when the media player isn't online (TV is off so Chromecast has no power)
Any way to override the "unavailable" status? Or at least show it when unavailable?
I'm using a filter to display detailed media control when they're playing but i still want to list their statuses for some reason
They donβt exist. They have no state
Yeah, I just figured since they're on my HA states tab still that I could use them in Lovelace
Is there a way to make a popup using https://github.com/thomasloven/lovelace-popup-card when the doorbell rings? (sensor.doorbell is true). I need it to show the camera image, as big as possible. Maybe using Markdown image?
@kindred moon it is in your list of entities in entities view?
@sour thunder technically possible but not available with anything currently available that I know of
Yeah. If I turn on the TV so the Chromecsast gets power they'll show up no problem. I was just hoping to get it listed there as "Unavialable" because I can see that state in the States <> screen in HA
Would need a card that listens for an event of that type
Hmm. Not sure @kindred moon If it has a state it should be listed. Maybe that does it a different way than we are in Lovelace
@mild veldt okay, maybe with a custom card?
the only thing would be to show when the state of an entity changes
@sour thunder i have something planned for after the holidays...
Really? Would be awesome! Would help, if you need some π
how do I force a reset of the lovelace UI to default?
From storage mode? Remove .storage/lovelace
there is no such file
ah. okay it wasn't the lovelace UI which contained an invalid state
nvm then
@polar kelp how am I not surprised that you would be the one to provide that π excited!
Does anyone know anything about panels. I saw @split granite refer to them and would like to see if I can use a panel with a picture-element.
cool thanks I looked but didn't find it I'm sure I just didn't look hard enough
how the heck did I miss that???
Is there a way to check if an specified entity changes its state with a custom card/js? Want to make a small custom card that shows only when the entity's state specified is true for example
@sour thunder https://www.home-assistant.io/lovelace/conditional/
thats the best I can think of
Right after writing ive remembered this: https://home-assistant-lovelace-gallery.netlify.com/#demo-hui-conditional-card
Thanks @copper sandal
Yep glad I can help rather than just ask questions all the time because thats most of what I do;
Yea, me too π
But with asking we learn, so we can more and more help others π
Yep I guess we have to start somewhere.
Just very grateful there are people around that know so much and are willing to help us learn
Yea, definetely! Without them, my home assistant would not exist, because i would have given up π
The secret is, none of us really know anything
We're just really good at remembering where to find the answer π
π
Trying to build this popup image showing thingie, how do i get the image url of an entity? I made it so you can specify the camera element in the config, now how do i get the img url in JS?
const imageId = this.config.image;
const state = hass.states[entityId];
const stateStr = state ? state.state : 'unavailable';
this.content.innerHTML = '
The state of "${entityId}" is "${stateStr}"!
<br><br>
<img src="${imageId.entity_picture}">
';
Made it like this, building on top of the template/example
Need to get the image url from imageId
Found the answer myself exactly at the same time π but thanks!
Ive just console.logged this.hass etc and found the hierarchy
anyone have advice on how to get arlo and ring doorbell cameras to refresh using the surveillance card?
used instructions from https://github.com/custom-cards/surveillance-card but card is only showing an image, not refreshing feed.
I know what you mean, just had the same issue with my custom card, wait, ill search π
I think you need to change the card's js π€
The image url has to be /api/camera_proxy_stream/camera.<id>?token=<token>
the stream is the only thing that has to be changed
I'm using it, let me check what the config looks like
cards:
- type: custom:surveillance-card
thumb_interval: 10
update_interval: 0.5
cameras:
- entity: camera.front_camera```
line 84 for reference
still not refreshing, only updates when new motion is detected.
the initial moment when motion is detected, does not refresh
I manually created a /config/www folder and added the js component, plus added resource at ui-lovelace.yaml
updated lovelace to be in yaml mode
@compact cypress being pitiless, posted a message that is more than 15 lines. It is now available at: https://paste.ubuntu.com/p/SYXWhmjkXy/
~rule6 @compact cypress
@compact cypress 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.
i tried to past in my ui-lovelace.yaml code, is there a way to do this? sorry!
~share
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code.
Doesnβt update even after 10 seconds as that is your thumb interval?
no, it only shows an image of the last time motion was detected
this goes for the arlo and ring doorbell
i edit the config bij the raw editor, somehow the old config got back, am i missing something?, not sure if thjis is a lovelace question do
Just saying... I HATE THE NEW "RAW CONFIG EDITOR" so hard to use !!!!!!!!!!
too easy to make errors and when it tells you there's a error you have to count every line to find out where you've made the mistake
and it doesn't keep the formatting indentation so it's easy to get lost
Use YAML mode
How do I put one of the mdi icons into a custom card? I feel like I'm missing something obvious...
@raw brook how does one get back to the YAMAL mode?
@heavy cove do you still have the Lovelace ui file in your confit directory?
put
wait a second that wasn't supposed to happen
mode: yaml``` in your configuration.yaml file
It should then use the lovelace file instead of the raw config editor.
ok... that should be default π
as the config file editor in lovelace itself needs A LOT of work
So you got it working?
yeah.. it works... I just want to mostly complain because I think the ppl responsible for writing it should scrap it and rewrite it to atleast be aomething like configurator
Still trying to figure out if I should be able to see live feed from arlo and the ring doorbell cameras in home assistant or lovelace. Or is it only video feed from when motion is detected?
something*
@compact cypress What do you mean by home assistant or lovelace? They are the same thing. There is a surveillance card that I use for my cameras at the moment that works great.
sorry, I realized I should not have called them out separately. I am not able to get feeds to work in lovelace or not using the lovelace UI. I am using the surveeillance card and only see an image from the cameras.
0.84.6
I created a config/www folder and placed the surveillance-card.js file. Then used the script I pasted above. Is there anything else I need to configure?
I donβt believe so. I am on mo Ike at the moment and canβt look at my configuration. But yours looks correct. Can you view your camera feeds normally without the card?
I can view them from the native Arlo and Ring apps on my iPhone, but not within HA.
do I need to include ffmpeg?
I am creating the www folder in the same folder as my configuration.yaml file is found. Is that correct?
Ummm I see on the main page that it says that it canβt live streaming camera feed, it just plays the most recent video capture. Yes that is correct.
Is the ring giving you the same issue?
yes
I cannot event playback the most recent video capture. Just an image from the most recent video capture.
Both Ring and Arlo don't provide streaming feed. Please read the docs carefully
Also this channel is only for Lovelace
Thanks, I am still not able to view the most recent video captured using the surveillance card. All I see is an image of the most recent video captured.
@raw brook was wondering if there is any plan for Raw Config Editor having some personalization, like some style theme code colours for be a little more easy to look into it and some space in between cards wouldn't be a bad idea...
i know that you can use yaml mode etc,,,, but if Raw conf editor could have some personalization it would be awesome move....
Strange; none of these entity-button's work.
https://paste.ubuntu.com/p/gYY9ZsDB9s/
(manually triggering scenes work fine)
AH nevermind.
https://www.home-assistant.io/lovelace/entity-button/#tap_action has a breaking change since 0.84.
why does this happen
(the three vertical rows are in a vertical-stack
columns are in horizontal-stacks
Hey @polar kelp - please could I run something by you re: card-modder?
You've seen some of my project already on the HA subreddits - now that I'm more or less done with the layout I've tried running the page on a RPi-Zero-W, and it's throwing a couple of errors:
- 'Custom Element doesn't exist' - each card then updates with the error
- 'Can't find card-tools. See (Url to your Github repo)'
PC and Android load everything fine, but the Pi Zero can't seem to find it. Per @tough quiver 's suggestion I've looked at the browser version, but Chromium seems to be at the most updated version for Rasbian Stretch 9.6
Edit: Also now tested on Firefox-ESR under a full-fat Raspbian install. Same error.
Pi Zero results - https://i.imgur.com/9PF374q.jpg & PC / Android results - https://i.imgur.com/nuvHdfO.jpg
Nabbed the console output for you if that's of any help - https://pastebin.com/raw/Sw1Sp607
@rose sluice What version of chrome are on each?
(because i got this problem with old chromes)
@tough quiver PC is Chrome 71.0.3578.98, Pi is running Chromium 65.0.3325.181
Okidoki, let's give that a crack. Guessing the version of ChiliPie Kiosk I prepped may be a little out of date.
Yea. you should just be able to sudo apt-get update sudo apt-get upgrade
@heavy cove thanks for your super helpful advice... /s
@prime umbra FRs can be put in the forums or ui-schema repo
It's almost almost like the configurator for lovelace is in early testing.
Who knew.
It's also almost like it's free.
@mild veldt ?? lol
To be blunt, if you think you can do better, please do so
The devs would love help, rather than complaints, I'm sure π
I mean, heck, constructive criticism can be useful - but that's not constructive
@split granite if I knew how to program I would.. but I'm sure you don't want a broken program... My satatement was more... if you are going to force something that is hard to use at least make an obvious alternative is all i'm getting at.. cuz i didn't know of one and I was truly lost
PS I lost my job today.. so thx
Losing your job sucks, my commiserations
As for the editor, nobody's forcing you to use it - and this is the first version
@tough quiver So here's a kicker. Chromium-browser is apparently at the most recent version for Raspbian Stretch 9.6
It seems show_header_toggle doesn't work in this card:
- type: custom:card-modder
card:
type: custom:group-card
show_header_toggle: false
card:
type: entities
title: Google Fit
group: group.google_fit
@foggy tendon Would it not be..
card:
type: custom:group-card
card:
show_header_toggle: false
type: entities
title: Google Fit
group: group.google_fit```
Wherever I've used show_header_toggle it's with the same indent and nest as the title value.
Hey guys, does anyone know if there's a way to edit the CSS template lovelace uses? For example I would like to disable the shadows around each card.
@rose sluice doubt.
looking at the repos im pretty sure latest is 71.
eh maybe im wrong.
Perhaps try getting a deb file?
@tough quiver I suspect you're right - vers 65 was released at what, end of last year? and yet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
chromium-browser is already the newest version (65.0.3325.181-0+rpt4).```
First time I actually updated everything and then had to reflash the image I'm using because it killed some of the kiosk/reboot autologin functionality, but yeah.
@rose sluice π 
@tough quiver Ironically, it looks like Chilipie-Kiosk's image is designed not to auto-update in case any chromium updates break anything π
lmao.
@rose sluice Can it be updated?
Damn, altest version august this year still using chrome 65.
Chiliepie is at it's most recent, yeah.
Although of course not all JS is made equal - seems to have no qualms about running the custom:list-card I've got in conjunction with feedparser
Cant you just run a pi with a wpa-supplicant.conf in the /boot parition for preconfiguring, ssh empty fule in there to enable ssh and then instal chromium and run it with chromium-browser --kiosk
Yeah, If this is a chromium problem rather than a custom JS problem then I'll likely switch to another method. Was simply hoping to use Chilipie as it pre-configured everything I needed by trimming most of the fat, and without me having to run any custom maintenance cron jobs. As a Linux/GNU semi-newbie Chiliepie is very much enabling my laziness π
Aye, reading through it now, might have to go with the super-lite variant as it's all off an itty-bitty RPi0-W.
..unless I just buy more RPi3s and use my 0's to make some custom sensors..
lol.
I haven't made any yet but im going to make my custom sensors with esp8266es
which is a way better idea than rpi0s.
I've seen those mentioned on the subreddit, but they're not something I've looked into much at the moment. As far as a magic mirror build goes, all of the information I'm pulling is external to my house.
Anyone happen to know if using card-tools / custom:layout-card should work in the 'storage mode' of LL? (I get "custom element doesn't exist: layout-card" but this is my first attempt at card-tools) Many Thanks!
Hello all running into some issues using custom cards in the UI editor for lovelace.
Im using the following in the card itself.
card:
https://paste.ubuntu.com/p/WxzQvqwktx/
Getting the following error:
Custom element doesn't exist: slider-entity-row.
The js file is directly under my www directory
Any thoughts
@forest pebble move the js file at the start of the file
ex:
resources:
- url: /local/light-entity-row.js?v=0.2.4
type: js
card: --> this needs to entities:
entity: light.lr_fan_lights
type: 'custom:slider-entity-row'
conditions:
- entity: light.all_lr_lights
state: 'on'
type: conditional
Trying to get this code to work.. what am i doing wrong? ```
- type: state-icon
icon: mdi:lightbulb
entity: binary_sensor.lys_vaskerom
tap_action: call-service
service: homeassistant.toggle
service_data: {entity_id: light.vaskerom_2}
style: {color: white, left: 90%, top: 94%}
@pallid flame
resources:
- type: js
url: /local/light-entity-row.js?v=0.2.4
entities:
- entity: light.lr_fan_lights
type: 'custom:slider-entity-row'
conditions:
- entity: light.all_lr_lights
state: 'on'
type: conditional
Error in card configuration.
resources:
- type: js
url: /local/light-entity-row.js?v=0.2.4
entities:
entity: light.lr_fan_lights
type: 'custom:slider-entity-row'
conditions:
- entity: light.all_lr_lights
state: 'on'
type: conditional
Same error
Try this way
type: conditional
conditions:
- entity: light.all_lr_lights
state: "on"
card:
type: 'custom:slider-entity-row'
entities:
- light.lr_fan_lights
resources:
- type: js
url: /local/light-entity-row.js?v=0.2.4
type: conditional
conditions:
- entity: light.all_lr_lights
state: 'on'
card:
type: 'custom:slider-entity-row'
entities:
- light.lr_fan_light
Ok no error, but now the card is simply blank and displays nothing
Oh woops the conditional was off. HAHAHAH
Ok now I am back to the original issue .
Custom element doesn't exist: slider-entity-row.
you need to add that one to under resources section. I am assuming you have slider-entity-row.js file in your 'www' folder.
- type: js
url: /local/slider-entity-row.js
yes the JS file is in the www directory.
Where exactly are you asking me to add what you typed above?
@pallid flame Ok I get what you mean.
Everytime I save, it reorders the Card Configuration.
card:
entities:
- light.lr_fan_light
type: 'custom:slider-entity-row'
conditions:
- entity: light.all_lr_lights
state: 'on'
resources:
- type: js
url: /local/light-entity-row.js
type: conditional
I still end up with
Custom element doesn't exist: slider-entity-row.
oh!, by any chance are you using lovelace GUI option?
Yes
I am talking about adding to ui-lovelace.yaml file
I was originally trying to ask if its not working correctly with the UI editor