#frontend-archived
1 messages Β· Page 98 of 1
- blah
- blah
you need
entity: blah
entity: blah
then, under the one you want to change
tap_action:
action: toggle
does action toggle work for every type of entity. So Hue bulb, IR blaster, smart plugs etc?
Should look like this: https://imgur.com/a/6mPcSEE
only if service supports it
I don't use hue
You can find out in services panel
Please follow the rules, @cloud osprey! You have 5 warning(s) left. You posted a message/code that is more than 15 lines. It is moved here --> https://paste.ubuntu.com/p/4M7VdM7SNd/
like here, you can see fan does. https://imgur.com/1W2rETt
oops sorry HassBot
if not, you will have to do a service call...
so there is a light.toggle service. so do I use that?
use the correct domain, light toggle only works if the entity id is light.blah.blah
toggle should work with anything that has a toggle though, so switch, fan, light etc.
hey guys i just updated to 0.86.1 (or at least tried to) - it hung after waiting 20 mins so i rebooted the vm
and now no pages loads
any ideas on this one?
#330944238910963714 @icy patrol
Am trying Lovelace for the first time (beyodn the auto-generated stuff), I have this in my configuration.yaml : lovelace: mode: yaml and a ui-lovelace.yaml file in my config folder, yet I cannot seem to see anything in that file. Do I have to activate the drag and drop mode first or whatever? Sorry if this is a dumb question.
@icy patrol ssh into your instance and look at the home-assistant.log.
@latent moss if you are using yaml mode, you need to add stuff to that file.
So, after updating to .86...nothing looks different. Shouldn't there be some sort of change?
@leaden vapor the Auto generated view is very close to the groups you had
So you may not see the difference
@raven nacelle I worded it wrong, there is stuff in that file (example code from the docs), but when I go to the web browser I don't see the contents of that file there. It's showing my old states UI but auto-generated for lovelace.
What does your URL read?
Did you restart your ha after adding the yaml mode?
Hamburger menu -> take control MUA HA HA HA HA!
Now let's see how I can screw things up. ;).
@latent moss my guess is that you are still using the storage mode
That won't work if you are using yaml mode
Well, it's gotten easier to configure... ... still have dreams of a drag and drop collection of doo dads.
Hm this is odd then
@leaden vapor those will come soon π
Maybe do I have to select the NeverMind option for Yaml mode to work? I have checked the 3 dot menu thing and saw the prompt that came up, but never made a choice on the screen there.
:). And a selector for icons. I can't remember all of that stuff. ...
what do you see when you click Configure UI from the three button menu?
I've never made a choice on that screen yet, just always pressed Esc cause I was afraid of doing the wrong thing. I thought if I had the yaml mode it would bypass that stuff anyway.
ok, click take control and then youwill use the storage mode
that also means you are not using the yaml mode
Uh oh
I get an error, saving failed: not supported. https://i.imgur.com/V5P4qbn.png
after pressing take control
ok, that is the first time I am seeing this
ok...refresh the cache
and try again
CTRL+SHIFT+R
a few times
No luck still, i'll keep trying that though
are you on .86.1?
yes
restart HA and try again
you can see in this pic the progress bar on the take control button, then that error shows up top. https://i.imgur.com/Y6GGoQ5.png
ok
yeah, but that bug was fixed in .86.1
So how well does this interface work if you want a kiosk style interface on a tablet mounted on the wall?
im definitely on 86.1 according to the dev-info page
i went from 0.85.1 to 0.86.1 earlier today(skipped 0.86.0)
did you restart and try again
sure
sorry, got to go....but, if that does not work, try the yaml mode again. I am not on Hassio, so not really sure what is messing up, but scroll up and a few others have talked about that error
Same error after reboot and many refreshes.
Thanks for your help I'll scroll up and see.
Also check in #330990055533576204
will do, thanks
Can I add just the effect selector from a light to a card in the front end?
like, attributes.effect.light.aurora ? idk
with the embedded broker, how do i clear out old messages from a nonexistant device? i have an autodiscovered tasmota that i would like to remove from the system
fk wong channel
hey guys. got a little issue. Ive upgraded to 85.1 (yes I know im one release behind) and Im just getting around my lovelace tap_action changes.
- type: entity-button
tap-action:
action: call-service
service: switch.turn_on
service_data:
entity_id: switch.early
entity: switch.early
~format @weary karma
@weary karma 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
problem is that i always get presented with a popup box
i din know that about the code @split granite
learn something new
You've been told before π
oki.... I dont ever remmeber that, but I stand corrected
There's also an edit button, so you still have a chance to fix your message.
Anyway, your problem may be related to indentation. It's impossible to tell without propper formating, though, because discord mangles your spaces.
I think your first line is still not right, right?
Anyway. I was wrong. It's not indentation. It's a typo.
It should be tap_action.
Hi, have been running hassio for a few weeks, upgraded and switched over to lovelace yesterday. On my /lovelace/default_view I now have a bunch of red "not found" badges that I don't know how to get rid of, any suggestions?
@polar kelp thanks...... of all things I was looking at the "call-service" with the hyphen when I was writing this so thats where the error has crept in
hyphen in call-service vs underscore in tap_action
Understandable. It's always _ left of the commas, but often - to the right
@marsh fractal are you running custom components?
@marsh fractal did you try restarting your Instance? Most of the times this helps.
(Restarting you Pi/VM/PC)
I've restarted HA many times since
Could you copy and paste the error message from one red box for us?
Check HassBots message about formating above, and paste it like code
At least the first few lines
it's just a red badge (from web page code: <ha-level-badge label="not found"> ... Nothing happens if I click it
Oh! I thought you were talking about cards. My bad.
Sorry, I might not know the correct terms for the elements
you can remove badges in the view edit screen, click the pencil next to the view tab
No no, you were right. I just didn't read carefully enough.
@winter hollow Excellent! I did not see that tab before!
(the badges tab)
Ok, that fixed then, thanks!
hi everyone! i've a question about the lovelance in 0.86.2: i prefer to use the automatic creation and recognize from configuration, without modify the interface with the customize graphic interface. I've the two history graph defined in the configuration.yaml, but in the interface i can not see it individually like the old interface. This is a bug? Without use the interface customizer, there is workarunds?
I hope I explained myself π
here the example of my group definitio in default_view
view: yes
name: Home
icon: mdi:home-assistant
entities:
- group.living_room_group
- group.bedroom_group
- group.bathroom_group
- group.guest_room_group
- group.temperatures_group
- history_graph.temperatures
- history_graph.humidity
- group.mediacenter_group ```
has anyone had the same problem?
~format @vapid field
@empty dawn 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
sorry π
I will add it to the automated mode, would you mind creating an issue?
@winter hollow sure, i create an issue in github. do you prefer a specifical object of the issue?
As long as it includes history_graph and auto mode
so I am trying to call the notify service for a lannouncer message when you tap but its not working
entity: switch.garagedoor1
hold_action:
action: toggle
icon: 'mdi:garage-open'
tap_action:
action: call-service
service: notify.housetablet
message: Press and hold to open the garage door
type: entity-button
thats what I have right now
error:
Your config is not supported by the UI editor:
Expected a value of type `undefined` for `tap_action.message` but received `"Press and hold to open the garage door"`.
Falling back to YAML editor.
Thats not an error, but a message that your config is not yet supported by the UI editor
You can use the yaml editor
@winter hollow great! i'll create it soon
Thats the yaml editor...
I am aware
what I am saying is the service call is failing
when i tap it this error pops up: https://content.timothyhoogland.com/files/ShareXUpload/chrome_2019-01-25_03-46-42.png
the notify service is working outside of lovelace
Message should be in service_data
that works
THANK YOU
I dont see "service_data:" in the docs
thats why I was confused..
https://www.home-assistant.io/lovelace/entity-button/ it is in there
if I edit the lovelace file in the .storage folder is the only way to have the changes show to restart HA?
ohhh I read that wrong...
i feel tarded now..
to be fair its 4AM here lol
Raw editor
Thanks
im glad I moved this to a real PC instead of a Pi. It runs so much better
can the tap_action call multiple services?
like have it TTS and make a popup?
It can call a script
No, not pop-up and tts
With @polar kelp events you could btw https://github.com/thomasloven/lovelace-browser-commander
You can make it call a script that does multiple things.
From a script
π
does lovelace not pop up the persistent notifications?
oh its in the bell now..
No. There's a bell at the top. It gets a red badge when there's something new
Wouldn't want them to mess with your layout
Conditional card then, possibly with the monster card inside
monster card?
Is there a way to make lovelace cards wider?
I have some history graphs I want to display but they're so narrow.
You can set panel: true for the view.
@polar kelp Does the pop up from "lovelace-browser-commander" only show in bell or does it make a new pop up window?
It makes a popup window. Abuses the more-info dialog.
OMG guys great work!!
Love the new UI editor
soooo much better than editing groups and customise etc
few ideas/feedback
- I take it some of the cards in the UI editor are still yet to be made WYSIWYG vs Code
- when you click an entity - to beable to customise from there would be NEAT!
rather than via the configuration menu
1: Correct
2: The time spent configuring vs the time spent using the interface should be vanishingly small. Adding configuration options to the interface would needlessly detrement the common user experience for little gain.
But feel free to post your suggestions to the forum to open up a discussion about the correct balance.
I take it there is no way to make cards wider π¦
How do you get those links?
Perhaps that's some magic mod thing, because I only get the three dots on my own posts, and there's no copy option.
I think there may also be a setting required in the app
Let me check
Yup, probably Appearance -> Developer Mode
but the links dont work on mobile π¦
That was it. Thanks!
@polar kelp Re:2 - fair point
How do you use panel: true in lovelace?
So stacks only and must be first card.
If I put this in an arbitrary stack is it going to suddenly get wider?
yes
does the stack type matter?
I tried horizontal and put it as the first card and it's still the same width.
cards:
- type: history-graph
title: Ping
entities:
- sensor.speedtest_ping
hours_to_show: 48
panel: true```
panel: true should be set on the view, not the card
- title: View
panel: true
cards:
- type: vertical-stack
cards:
- type: history-graph
title: Ping
...
will Lovelace evolve to cover usecases like wall mounted tablets like what Tileboard/HAdash does?
true
The button card, and some care, will work for tablets though
it woudl just be easier to be able to do 90% of what they do. I started with HADash, then Tileboard showed up. Tried that some but didnt finish
Hello ehre, when i try to save UI with Lovelace ````Saving failed: Unknown error```
Are you on 0.86.0?
Update to 0.86.1, or refresh/restart HA
Hi
Lovelace does not load any "module" resources (such as gauge-card.js) while "js" type resources (such as compact-custom-header.js) load correctly. In the browser console, I get the message "Failed to load for the module whose source is" http: // localhost: 8123 / local / custom-lovelace / gauge-card.js? V-0.1 "." and "uncaught exception: /local/custom-lovelace/gauge-card.js?v-0.1", nothing more. Tested with firefox and chrome. Home assistant (v.0.86.2) is installed under windows 10.
Can anyone help me ?
gauge card is build in, no need for custom
thanks, but is just an example, I have the same problem with surveillance-card.js or button-card.js or weatherbg-card.js
Iβm using Lovelace via the storage option. Do we still need to have ui-lovelace.yaml in our config directory in order to correctly use the custom tracker card?
Only if you're using YAML mode
custom tracker card won't update your version in storage mode
@late breach what browser versions do you use?
Firefox : 64.0.2 (64 bits) - Chrome : 71.0.3578.98 (Build officiel) (64 bits)
Check this first https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins
What does it start with?
gauge-card start with "Class" and other js module start with "import"
π€·π»ββοΈ
then gauge-card is "js" type ? but why other js module start with "import" dont' load ?
I'm pretty sure ? V-0.1 should be ?v=0.1
?v=0.1 even
Yup :D
demn you mobile
I knowbyour pain
change made, but the concern remains the same
the other modules give the same message :
Uncaught (in promise) /local/button-card.js?v=0.1 8ee9235β¦.chunk.js:5609
Uncaught (in promise) /local/weatherbg-card.js?v=0.37 8ee9235β¦.chunk.js:5609
to me it looks like a 404, but if you say you can reach it at that url... http://localhost:8123/local/button-card.js?v=0.1 π€·
yes, it's the way
with localhost i can reach it
but not with local ip (192.168.0.2)
nope i can reach it (bad url with the local ip, but after correction, it's good)
Hi, I am having problems, was in home assistent group but they sent me here
I added asuswrt and it found all my network devices and added them to sensors now I can not remove them
removing asuswrt: does not help
I have deleted known_devices but now all show up on UI not found
this is how http://albireo.se/2019-01-25_161322.png
anysuggestions how I can fix this?
did you try turning it off and on again?
probably won't help, just making sure π
Try the three dot menu, and the Reload/Refresh option
they might come back haunting, who knows π
If you are in storage mode, in the view editor is a tab to edit your badges
thanks!
@polar kelp Your color picker card would be a great tool to edit the themes from the UI.
Yeah @polar kelp you should make an UI for creating themes π π
Have you another ideas or ways to explore to fix my issue ? π
Nope...
@polar kelp using browser commander can I group multiple commands? I have one command to open a more-info pop up but then I want to wait a minute and have the pop up close and go back to the default view. Is this possible?
Hey guys, is it possible to do multiple "when" filters with monster card?
type: 'custom:monster-card'
show_empty: false
card:
type: entities
title: All Lights that are on
filter:
include:
- domain: light
state: 'on'
when:
- entity: group.family
state: not_home - entity: input_boolean.guest_mode
state: 'off'
~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
I guess I can wrap it in a conditional card?
Please follow the rules, @tight canopy! You have 5 warning(s) left. You posted a message/code that is more than 15 lines. It is moved here --> https://paste.ubuntu.com/p/JrBMRPBGMS/
If there a way to force the order custom cards load?
I am not sure if others are seeing this, but I am having an issue where card-tools doesn't load before certain cards (vertical-stack-in-card, pop-up-card,), if I load my main page, I get "popup-card TypeError: card.setConfig is not a function" error for pop-up-card (and sometimes vertical-stack-in-card, but not all the time, wierd) , then I see "CARD-TOOLS IS INSTALLED".
But, if I load a page that loads card-tools first, then navigate to my main page (or any page where error happens), everything loads ok.
EDIT, now I am not exactly sure the order may even be the problem, as I just seen card-tools load first once, and I still seen the errors.
@polar kelp any idea what could be happenning? On 86.2, and all cards are up to date.
Using Entity card and "Secondary_info", would it be possible to initiate this value to "Never" instead of 0 minutes after last state change?
Since after restart of Hass all sensors becomes like 5 minutes since last change just becuse of a restart
@simple jolt havenβt thought about closing popups... Iβll take a look at it once the kids are asleep tonight
Anyway, itβs easy to make a script with a delay
@polar kelp I added a 1 min delay and then another command to move to the first view but itβs not working.
Moving to the current view wouldnβt work. Moving to another and then back might...
@polar kelp adding a delay and then changing the view works but it does not close the pop up card.
Can anybody help me by explaining what I have wrong here? https://pastebin.com/et9p4wWx The handlePadClick is never called
resources:
- type: module
url: /local/content-card-example.js
can the thermostat card be edited to include other entities?
@thorny verge I have the same error. I haven't had time to debug it yet
@mild veldt
I am trying right now, but not sure where to go, just trying to pull out code and find patterns.
@primal sundial @click will not work in a HTMLElement
@winter hollow on that note, do you think we should be using Lit for custom cards? Seems that we're colliding with core when trying to use Lit and maybe we should be using something else. I think I saw balloob recommend react (have never used it myself)
found the convo, makes sense now. (too much cough medicine yesterday π )
btw, digging the new branded icon
I tried this to import it:
import 'https://unpkg.com/wired-card@0.6.5/wired-card.js?module';
import 'https://unpkg.com/wired-toggle@0.6.5/wired-toggle.js?module';
import {
LitElement, html
} from 'https://unpkg.com/@polymer/lit-element@^0.5.2/lit-element.js?module';
but then get 404's for the files
Also tried:
var LitElement =
LitElement ||
Object.getPrototypeOf(customElements.get("hui-error-entity-row"));
var html = LitElement.prototype.html;
You donβt NEED to use Lit
You can also just use plain HTML
onclick should work
No, that is not a Template strings
I'm assuming the answer is no? You can't edit the thermostat card?
To add additional entities...
Uncaught ReferenceError: handlePadClick is not defined
at HTMLElement.onclick ((index):1) .... as the handlePadClick is part of the class
this is where I started
must admit not used classes in this manner before
Whats the right love lace component for hue colour bulbs?
Just the entitity one I'm guessing
light doesn't appear to do colour
<paper-button noink raised onclick="this.handlePadClick('bbc1')" }>BBC1</paper-button> and <paper-button noink raised onclick="handlePadClick('bbc1')" }>BBC1</paper-button>
same results as the button is not part of the main div it's added in as part of the innerHTML
so the button isn't aware of the class
was hoping for some kind of magic binding but no luck
thinking about this maybe I could define the button as an extended HTMLElement
right I have to go thanks for info so far maybe next week I will have this sussed
Lit would be the magic π
What can be the cause that LOVELACE doesn't always have the correct on/off status on a light when I enter my HA dashboard?
hey all. just getting things going with Homeassistant. running 86.1
quick question on lovelace. Do i need to add something to configuration.yml in order to start using it? was just messing around and trying to add a gauge but do I add this code to configuration.yaml or to ui-lovelace.yaml?? and guidance would be super appreciated
but shouldn't my script be searchable?
It'll be listed in
if it exists
If it doesn't, then you need to fix it so that it exists
ok i'll try again
~check if it doesn't exist
Always run the configuration check command when you make changes (https://www.home-assistant.io/docs/configuration/troubleshooting/#problems-with-the-configuration). Don't trust the UI check - it misses some problems.
hmm seems like i need to add my script file somewhere first before it turns up
That'd do it π
@fiery sail add other entities? Like other sensors? No
@mild veldt ...no, looking to add an input_boolean
@fiery sail not sure what you're after, but adding to the card, the answer is no. But perhaps building up your own generic climate is the answer https://www.home-assistant.io/components/climate.generic_thermostat/
@mild veldt great idea...only I'm using the MQTT climate component....I may look into the vertical stack card? Just trying to come up to speed on Lovelace since .86 dropped....
So what does the input_boolean do that isn't in the climate component?
There is remote sensor for the thermostat that allows setpoint to be controlled by the intake or from the wall controller.
So I'm looking at the vertical stack card and I'm confused as to what's the necessary input for a proper config.
Can't see to find any clear documentation either....
I see ---> type: vertical-stack
But what's the next entry type? I've tried ----> card: thermostat, but it doesn't seem to like that.
hi, is it possible to change the default backend-selected to another theme by default?
really frustrating to have it setup whenever i clear the cache to make sure a problem isnt a cache problem
automation:
- alias: 'Set theme at startup'
initial_state: 'on'
trigger:
- platform: homeassistant
event: start
action:
service: frontend.set_theme
data:
name: happy
Anyone have any guidance on how to configure the vertical stack card from the frontend?
@winter hollow found that...but it's not very helpful when trying to configure via the frontend. The directions given there are for the yaml manipulation...or am I missing something?
i have a entities card with weblinks, and I can't click on the links (still with 0.86, had it before too). What can I do?
It is the same, just drop the - in front of the stack itself
@fiery sail Maybe ask a bit more specific if you are stuck.
@desert delta are you in storage or yaml mode?
@winter hollow now I'm in storage mode, with 0.85 i was in yaml mode.
So it is the Lovelace weblink and not the backend component weblink?
Sorry, I did earlier. So I'm trying to add the thermostat card to a vertical stack and then add an input boolean beneath it using the front end configuration. So after adding the vertical stack card, I have the type: vertical-stack entry in the editor but I'm not sure what to add next. I tried adding card: thermostat but that didn't work.
@fiery sail for example: ```yaml
type: vertical-stack
cards:
- type: entities
...
@winter hollow I don't know what you mean. I cant find anything weblink lovelace specific.
I listed my links via "weblink:" in the conf.yaml and listed these entities on a entity card
ok probably should work that way, still it should work with usual weblink-entities too? I mean I get the proper layout for links (with the open in new tab symbol), its just not clickable!
Maybe, but it will be deprecated soon
@winter hollow thanks for that perfeect, i think happy is the actual name of the theme?
Yes
thanks for your help, I'll move them all then
do you have such an automation to set languagee to eng?
No, that is user specific
cause it always takes my dutch google chrome browser language i think or system language idk
to what language does it look?
system or browser
What your browser sends
i might change that language to english then cause i have 1 fc identity that doesnt translate, may we can fix the problem instead of work around if you wanne take a look?
Whatβs wrong with Dutch? π€ͺ
@placid geyser ...thanks dude
i was thinknig youew dutch xD i mean bram
You can do translations yourself in Lokalise
this is the problem: https://www.screencast.com/t/aGVcUqqbyq
i already use this:
binary_sensor.google:
friendly_name: 'Internet PING Google'
icon: mdi:web
value_template: "{% if is_state('binary_sensor.google', 'on') %}on{% else %}!no-reply, please check!{% endif %}"```
but it doesnt apply, the friendly name does but the value template not
as if we cant use value templates on binary sensors... this is the only binary sensors, normal sensors work with this
this could be an pebcak
You can't put the value template in customize π€¦
i use this for all my sensors and those work
Then, you found a feature
al do it seems a little bit different xD
sensor:
- platform: template
sensors:
defprn01:
friendly_name: DEF-PRN-01
value_template: "{% if is_state('device_tracker.defprn01', 'home') %}Connected{% else %}Offline{% endif %}"
icon_template: "{% if is_state('device_tracker.defprn01', 'home') %} mdi:printer{% else %}mdi:lan-disconnect{% endif %}"
would this do the job?
binary_sensor:
- platform: ping
host: google.nl
name: google
value_template: "{% if is_state('binary_sensor.google', 'on') %}Connected{% else %}!no-reply, please check!{% endif %}"
i supposed it should worked cause the friendly did work with the customize, and in the deprn01 sensor i have value template below the friendly_name so i tough it would work
@gray lance im not sure but make sure the type is js not module
id dont know the card that further then that this look good, if the file is present in youre folder
Config is ok, files in www and restarted after creating the folder?
has anyone used a Lovelace card to make a desktop widget for OSX or Win10?
maybe just a borderless browser page that can sit on the desktop with a transparent background?
so im 30 min later, i think its not possible to template the binary_sensor ping?
@fathom tree there are extensions out there for Chrome that make the browser page borderless. And then if you have a view with a single card and utilize the custom-compact-header plugin, you should be golden
Iβm gonna try that. Thanks!
hey, when clicking on "Take control" in the configure panel I'm simply getting "Saving failed: Not supported"
@fiery temple #330944238910963714
and there is no error message in homeassistant logs, unfortunately, which would help to start debugging it
@dim harness you on 0.86.0?
any ideas? google didn't help much
@mild veldt hmm. seems that I have a prerelease still: 0.86.0.dev0 says the about panel
update to 0.86.2 to fix. then clear cache
browser's cache? I'll update to get current dev right now
yes, browser
@fathom tree Also, if you're just looking for ways to turn things on or off from desktop without having the browser window open, I use vbscripts to Invoke-WebRequest, then make a .vbs shortcut so cmd prompt doesn't flash, and then get pretty icons and create shortcuts on my Win10 taskbar. Works great. No feedback, but perfect for turning lights on or off quickly while working.
@mild veldt thanks, looks like rebasing on top of dev helped π
@fathom tree that could be really slick with an always-on-top utility
Ok now @thorny verge you ready to join me on a live stream and show everyone how you do that?
@fathom tree Hah, I am at work, but I can show you if you want, very easy really.
Awesome. Not right now (cuz Iβm at work too) but maybe in a few hours?
Yep
Vbs scripts and web requests are foreign to me
Very simple, especially if you have a sample to start from.
Anyone using home-setter, seems to be broken on 86, circle just spins and spins...
Is it possible to use a core card within a custom card?
@thorny verge check out compact-custom-header instead, should be able to do what you want...I htink
@lucid pumice lovelace-card-tools ftw
So, not really, no.
ye, been over that one. any examples would do too
So, your answer depends on what you mean.
If you want a custom card that extends a built-in card, that's class MyCard extends HuiGlanceCard for example.
I could remake them, but if I dont have to... I want to put multiple gauge in a card along with history graph
If you want to put another card inside the html for your card it's a bit more involved, but as Ian said card-tools does all the heavy lifting for you...
const networthGraph = window.cardTools.createCard({
type: "custom:mini-graph-card",
entity: "sensor.pc_networth",
hide: ["icon", "name", "state"],
group: true,
});
networthGraph.hass = this.hass
with cardtools
then just put that inside your html
For gauges, you'd probably want to just import the gauge, not the entire card. You can take a look at this: https://github.com/thomasloven/lovelace-color-picker That uses the internal color wheel.
And I'm sure you know this by heart already: https://github.com/home-assistant/home-assistant-polymer/blob/dev/src/panels/lovelace/cards/hui-gauge-card.ts
<ha-color-picker ...>
i guess a list of them would be good to have in the docs. will do some diging
Hm... actually,it seems the gauge isn't quite such a neat package as I thought it would be...
Get on it @raw brook ! I want <ha-gauge> by next week, ok?
I do plan on working on HA again. Going through a Transition at work currently so its taking a lot of my time.
Nice! Take the time you need for life stuff. We all do this because it's fun.
@mild veldt I actually use compact-custom-header for kiosk mode, but hadn't seen the new features yet. I'll check it out.
Do you know if it can be used like home setter, where you can just set it per device, from the device, or do you have to use it programatically?
Hello... not sure this is the right place to ask, so let me know if I should ask somewhere else. I just upgraded to 0.86.2 and now my UI is completely blank in Chrome. If I load it with Safari it loads up fine, also seems to work fine in Chrome on my phone. Any ideas on why chrome wouldn't load the new lovelace UI? I should note that /states seems to load up just fine
Right click and choose "Inspect". In the window that opens, select "Console". Refresh the page. Does the console say anything that seems relevant?
yeah, I'm getting a js exception:
app-3b4bb4ed.js:365 Uncaught TypeError: Illegal constructor
Have you activated any experimental chrome features?
yep, that was it... so sorry, thought I searched the issues
@thorny verge reviewing the configs I don't see what I thought I remembered π¦
thanks so much for your help!
Hi. if i want to make a card in lovelace that is a turn off all lights button, but only turn off what is on, and not turn on whats off. Is it a conditional card i should use or something else?
calling homeassistant.turn_off on group.all_lights shouldn't turn them back on if they are off
beat me π
thank you. Would conditional card be the prefered card for this?
Shouldn't be necessary
Use a button that calls a service
unless you only want it to show when a light is on
no. want it to show all the time
then no conditional needed
@simple jolt browser-commander now has a close-popup command.
okay. will try and return if more help is needed. thx
@polar kelp thatβs great. Thanks a lot.
updated to new version, trying to use the ui editor, always get this error YAML Error: TypeError: Cannot read property 'startsWith' of undefined on trying to setup a picture glance card with my front door camera
Please post your yaml
- type: picture-glance
title: inkom
camera_image: camera.front_door
First of all, no - when you're using the gui editor. (There's ongoing work to remove them from all documentation)
Second, be sure to enter all required configuration variables: https://www.home-assistant.io/lovelace/glance/
@mild veldt no wories, at glance I think I can do what I needwith it for now, at least until or if home-setter is fixed. Thanks.
@low parcel sure you don't want picture-entity?
otherwise you need entities along with what thomas said
Is there a bug that is stopping name: being used with entities: on cards?
nevermiind, figured it out, gui editor has other markup, no indents needed anymore apparently
should have been more clear in the documentation
and I used picture entity indeed, more suitable
Please follow the rules, @safe pilot! You have 5 warning(s) left. You posted a message/code that is more than 15 lines. It is moved here --> https://paste.ubuntu.com/p/Vqhszvvwbj/
For example, using name: as per the documentation doesn't work for me, big red YAML error
- type: glance
title: Better names
entities:- entity: binary_sensor.movement_backyard
name: Movement?
- entity: binary_sensor.movement_backyard
Does the error only appear when you have name: Movement?? If so, try name: "Movement?"
I'm not sure but ? might be magic in yaml.
Nope
type: entity-filter
entities:
- device_tracker.michaels_iphone
name: "mike"
YAML Error: YAMLException: bad indentation of a sequence entry at line 4, column 9: name: "mike" ^
It's not that, I've added one space at a time and it still erros
and add entity
@mild veldt That's the chicken! Thanks!
... there was entity: in the first code you posted...
Probably a very stupid question, but how do I make 3 columns in the gui? I've 3 cams, and I would like them one row next to each other, or is that not possible?
@polar kelp as soon as it was pointed out to me, my tired eyes saw it π
Horizontal stack
@low parcel Put the view in Panel mode. Add a horizontal stack.
I think there might be a bug with weblinks still in Lovelace. I was simply trying to edit a card using the UI, to uncheck the header toggle button (which imo doesn't make sense, since there's not a single toggle switch in this card). But I get a weird error message, pic: https://i.imgur.com/1upuzDi.png Additionally all of my weblinks seem to appear on the "hass-unused-entities" screen, even though they are in use.
Yeah... weblinks work totally differently from before. The ones in your configuration.yaml are pretty much ignored unless except in auto mode.
The error is because the entities GUI editor doesn't support the special row types yet.
Oh ok. I think the error message/screen there could be a little more newb-friendly though, I had no idea what that meant tbh.
Also I feel like this stuff could maybe still be in the UI editor part (ie a field and toggle):
title: Links
show_header_toggle: true
and then just have the YAML fallback mode underneath. Just a suggestion, not sure if there's technical reasons for it to be that way.
Error messages are hard. There's one way things can be right, and infinite ways things can be wrong, but yes. We're getting there.
Yes first time using Lovelace for real and very impressed with it. Very simple to use for the most part, that error message was one of the few things that confused me a little bit.
gui is flipping now, have done something wrong, how do i reset and let Hassio manage the lovelace page again?
Delete /config/.storage/lovelace
@polar kelp Is layout-card broken on .86? Just getting "cardTools is not defined" errors.
Did you update card-tools?
this gui thing doesn't work, I added two pages (flowers and cams) and I now have 2 cams, messed it up, I didn't do anything else than adding the page and giving them a name and an icon
@polar kelp Yes, all cards are up to date.
Browser?
Chrome.
What does your browser log say?
You need to click save before copying the link
that's a very nice feature "move card", excellent
@polar kelp Crap, I did, hastebin isn't working right now
https://pastebin.com/P1rzQWqF
FYI, fold-entity-row isn't working for me either.
That's not the latest version of layout-card.
Updated with tracker-card, and did a diffchecker compare.
v=297fcc
Not sure if it has anything to do with it, but tracker card was showing one of your cards as up to date (I think it was card-tools, but it was this morning,), I had to update it manually, but still doesn't work.
Sorry, number I put was card-tools
You're running layout-card version a97cc8 according to the log. That's an old one.
I just updated a few hours ago, so perhaps the custom-updater hasn't caught up yet.
Yes, my ui-lovelace file shows v=a97cc8, but that must be the card I updated manually, as I just did a byte compare and they are the exact same.
sorry for my noobisch question: I just migrated to .86 and did some changes with the ui editor, is there anywhere a yaml file where thoses changes are added? I think i might switch to yaml editing...
and can I delete my groups include?
if you are not using the yaml mode, the default location is .storage
you can delete the groups that you are not using elsewhere....I have only two groups now
Question about "unused entities" -- using lovelace yaml mode on 0.85.1. I use the picture-elements card to show a bunch of entities on a floorplan image. Despite these entities being included on the picture-element card, they still show in unused entities. That supposed to happen?
hm so I can change to yaml mode and copy over the file from .storage?
yes, you can, although you may have to format them
ah
@polar kelp I had card-tools defined at type: modules, not sure how or if it used to be a moduel and changed (couldn't find it in docs), but I just changed it to type: js and it works..
you should be able to use some json to yaml converter https://www.json2yaml.com/
cool
thanks again
everything changed in the yaml should be live without a restart right?
when using the yaml mode can I use the ui editor too?
is there a way to populate a entity list of all (frontend-)unused sensors? (just like the unsued entities page - but I cant copy things from there. also show source does not actually show the stuff)
edit: well at least with internet explorer its possible to select and copy the whole page.. at least something
No.
i was surprised that i could copy my whole lovelace yaml to the ui editor at once and it just worked despite having some custom stuff in it.
How do I get the alarm-panel card to show the keypad? Using Envisalink alarm component.
@polar kelp It seems all of your cards are not updating with custom updater, is there possibly an issue just at my end, or is there a problem with custom updater. If I update card to v1, it then updates and gets newest version, but doesn't show newest version. Not sure how custom updater works, is it a manual list of new version of custom cards, or is it automatic.
Lots of people had that problem the last few days.
I don't really know how the custom updater works or how often it updates its lists, though.
It's supposed to be automatic for my cards.
@whole heron open the raw config editor, copy the text, and paste into ui-lovelace.yaml if you want to use yaml mode
you cannot use the ui editor when in yaml mode
@polar kelp Ok, I manually updated everything and seem to be working for most part.
One major issue I am seeing now, seems to be the order of how custom cards are loaded. None of my views work right now. Seems if card-tools doesn't load before certain cards (vertical-stack-in-card, pop-up-card,), if I load my main page, I get "popup-card TypeError: card.setConfig is not a function" error for pop-up-card (and sometimes vertical-stack-in-card, but not all the time, wierd) , then I see "CARD-TOOLS IS INSTALLED".
But, if I load a page that loads card-tools first, then navigate to my main page (or any page where error happens), everything loads ok.
@mild veldt thanks, just used the json2yaml converter and it worked
@polar kelp @thorny verge it was last updated yesterday https://github.com/custom-cards/information/blob/master/repos.json
@thorny verge do you have the most recent popup-card?
I do.
you likely have things in the vertical-stack-in-card that require card-tools, as it itself does not
@thorny verge not according to custom-updater, but actual source?
Yes, did a byte compare
Yes, and am trying everything incognito to be sure
what's in your popup card?
@mild veldt inside the popup card I have a vertical-stack-in card, problem seems to be tied to that card.
If I remove my popup card, I still see the errors, as I have a layout-card inside a vertical-stack-in-card, if I remove the layout-card, or vertical-stack-in-card as well it loads.
But, on a different view, it doesn't load because there is a different custom card (tiles-card, that I don't think needs card-tools) inside the vertical-stack-in-card. If I remove the vertical-stack-in-card, it loads.
The vertical-stack-in-card is trying to create cards that hasn't been defined yet. It might help to put vertical-stack-in-card.js first in your list of resources.
No, wait.. last in the list
I'm going to bed now, but in the mean time, feel free to ping me with whatever you'd want to change about monster-card, and also if you have any good ideas for a more descriptive name for a replacement.
I already did actual regex support, so you won't need to say that...
obviously the new name should be magic-card
trevor
why am i not able to find notify under my services?
want to be push a notification to my iphone
@solid sage #330944238910963714
@polar kelp You may not see this, but I already tried vertical-stack-in-card both first and last, didn't make a difference.
trying to add an icon to an LED light but not sure were to add it.#### Sofa LED ######
light:
- platform: mqtt
schema: json
name: "Sofa"
command_topic: "sofa/setpower"
state_topic: "sofa/setpowerpub"
rgb_state_topic: "sofa/setcolorpub"
rgb_command_topic: "sofa/setcolor"
brightness_state_topic: "sofa/setbrightnesspub"
brightness_command_topic: "sofa/setbrightness"
optimistic: false
thanks but got it edit customisation menu. Sorry in the wrong group but we have to learn
anyone else have this happen to thermostat when they move it? https://bin.cajun.pro/images/firefox_NhUPAIh5WI.png
also... why do entity buttons shrink when clicked
https://bin.cajun.pro/images/firefox_mawxbx3kjb.png
I would recommend button-card over entity-button right now https://github.com/kuuji/button-card
@primal verge my theremostat card does the same but only when in edit
I have a Fritz Netmonitor sensor activated which shows me some info like current downrate, uprate, etc. I wanted to add a history graph of these rates but I can't seem to use the internal variables of that sensor. Is that even possible or am I out of luck?
Like for example sensor.fritzbox is fine (shows online/oflfine state) but trying sensor.fritzbox.transmission_rate_down doesn't. Not sure if that's possible to do at all
That's an attribute, so, not directly no
You'd want to pull that out with a template sensor, and graph that
Thanks! I'm going to try out template sensor then
I've created a template to test out and it works like a charm. Pretty easy to do. Thanks again!
No worries
Is this correct with 0.86.2?
- platform: time_pattern
minutes: '00'
seconds: '20'
- platform: time_pattern
minutes: '30'
seconds: '00'
I still get errors
Wrong channel
Sorry....
Sorry for asking the obvious, but I'd like to use a custom lovelace UI card. Going through the docs I can't find any instruction how to install a custom lovelace card
This should be it: https://developers.home-assistant.io/docs/en/lovelace_custom_card.html
Thanks. I guess more specifically : https://developers.home-assistant.io/docs/en/lovelace_custom_card.html#referencing-your-new-card
almost there.. I specify the custom plugin using the raw editor option when editing the UI with this:
resources:
- url: /local/lovelace-slider-entity-row/slider-entity-row.js
type: js
But on reopening the raw editor the entry is gone... somehow
I put the /lovelace-slider-entity-row/slider-entity-row.js inside the www folder inside the config folder
What version of home assistant are you on?
Hi. has anyone tried homey yet?
@robust barn If that's not a Lovelace question, you're asking in the wrong place π
once again your right. sory
I want to use secondary_info: last-changed in the online lovelace editor but he says yaml invalid
or is that only working in the yaml version
can someone tell me which component is used for the time in the information section
That one with the cars
Oh man, we should put this in the docs really big: The YAML and UI mode can do exactly the same, there is no functional difference.
@dusk wyvern you have an error in your YAML probably indentation...
``title: Gang
type: entities
entities:
- entity: binary_sensor.motion_gang_sensor
- entity: sensor.motion_gang_luminance
- entity: sensor.motion_gang_relative_humidity
- entity: sensor.motion_gang_temperature
- entity: switch.vloerverwarming_an158_switch
- entity: switch.gangswitch_voordeurlamp
- entity: switch.gangswitch_sleepswitch
- entity: binary_sensor.neopir2_sensor
secondary_info:last-changed
YAML Error: YAMLException: bad indentation of a mapping entry at line 12, column 21: secondary_info: last-changed ^
~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
entities:
- entity: binary_sensor.motion_gang_sensor
- entity: sensor.motion_gang_luminance
- entity: sensor.motion_gang_relative_humidity
- entity: sensor.motion_gang_temperature
- entity: switch.vloerverwarming_an158_switch
- entity: switch.gangswitch_voordeurlamp
- entity: switch.gangswitch_sleepswitch
- entity: binary_sensor.neopir2_sensor
secondary_info: last-changed
YAML Error: YAMLException: bad indentation of a mapping entry at line 12, column 21: secondary_info: last-changed ^
Secondary info should have the same indent as entity
thx oh stupid mistake
I created a Node-Red tab and setup a single iframe card on that tab. How do I get the iframe to use all of the available screen area?
Set the view to panel
was wondering with the lovelace default will we still need group.yaml file?
Not when in storage or yaml mode
And if your are not using them for other things like automations π
ya true
@winter hollow Thank you. That helped, but now it is so large that I have to vertically scroll to see the entire Node-Red window. Is there a way to restrict the vertical size?
@winter hollow Never mind. I actually like it this way.
Hello all
I am thinking about updating HA to 0.86. Do I need to migrate something to get the lovelace ui? I have a rather large "Group" setup for all cards/groups in the old UI. Are they automatically taken over?
You don't need to do anything - see the various blog posts
Where is the lovelace "config" saved if I don't use the yaml mode?
It'll be stored in .storage/lovelace
Is it pretty much the same as when using yaml? So could I just copy it out and switch to yaml mode?
I think storage uses JSON - you can convert that to YAML easily enough though, but it's not a case of copying the file as is
okay thanks.
So what would be the appropriate way to redesign my UI as it was with 0.85? Now that Im running 0.86.2...?
Just to get to the same place I was, and then slowly shift into the new possibilities lovelace has to offer
The auto-generated UI will be "vaguely close"
Start from there, and all the stock (and custom) cards, and work out what you want to do
Its vaguely similar :P
That is, I have three sections in my main tab - few sensors, few scenes and media players, and on top 20+ sensors. and thats it. nothing even similar to what I used to had
Its vaguely similar :P
That is, I have three sections in my main tab - few sensors, few scenes and media players, and on top 20+ sensors. and thats it. nothing even similar to what I used to had
I've not really used the auto-generated view in Lovelace myself, I've always customised it
Just migrated myself, except for the history graphs, everything looks pretty much as before
and the thermostat
@mental crystal are you sure your groups are loaded? With the slugify breaking change groups often dont load in 0.86
Check your groups for entities with double _ or starting or ending with _
wdym, i dont have '_' prefix/suffix. what exactly else can i do?
@split granite the best way to switch back and forth yaml and UI is the raw config editor
Are your groups loaded? Or is the states UI the same as it was before?
I still have my groups defined as part of the many different yamls (packages) I have
If I go to settings, general, and validate, I get an error. Below, where the "reload" buttons are, there is only the ability to reload core
Having them defined is not the same as loaded
I can try and restart the entire process, would it by any chance make a differnece?
Well fix those errors and your Lovelace should be better
But how would I know what to fix, if on the previous version it was defined good enough / with no errors? I mean, how do I know what to look at if for all I know, they are all properly defined?
Check your logs, the console, and like I said, your groups.
And the breaking changes, this is in there.
is the history_graph component now also obsolete with lovelace?
Effectively, yes IMO
cool
It will be deprecated soon
Hi. i hope someone can help me out. I have added a picture element card in lovelace with an image from 300x800 pixels. But HA is showing the picture almost double the size. I am using version 0.86.1. What can i do to display the pictre in the real size?
You can't really. Lovelace doesn't allow you to set a fixed size
but why is it so big, the image is not getting smaller when i make my browser window smaller
It is for a floorplan, and when i watch other floorplans all the pictures are nicely shown in the browser, my picure has also correct sizes but it is rescaled so it does not fit in my screen anymore
Share a screenshot so we know what you are talking about
when it was shown in real size you had seen my whole floor π
Other screens are fine : https://ibb.co/cwz166D
You have panel on?
Question: History graph cards are no longer enlarged when they are clicked. Is this intended?
Thatβs not in panel mode right?
Good morning! Been keeping busy @winter hollow ?
Are you finally here? Well Iβm out! See ya!
is it possible to make a monster-card conditional, so that if there are noe entities showing, the whole card will be hidden?
Sure, wrap it in a conditional card π
I should be working on my new study room... but...
Lol
Anyone noticed the same thing?
I donβt even know what you mean... the more info dialog?
I don't know if it was called that possible. I mean that when you clicked a history graph in home assistant, it popped up and displayed a much bigger graph.
Hi, I've seen the demo LoveLace here https://demo.home-assistant.io/ and like the look of the floorplan cards. Does anyone know what software was used to create the floorplan images?
There are a few paid options (Room Skecher, Room Scan, Smartdraw)
I guess he means your demo! What did you use? π
Luckily for me, I got it from my builders website
so, no effort required
Most builders use third-party providers to render these floorplans. If you have a newer house and you know the name of your floorplan, you should be able to find it online
ah thanks, unfortunately my house is about 100 years old so no true plans. I have a basic plan in AutoCad but it's no where near pretty enough. I'll take a look at those suggestions
I created my own in Inkscape
@rare badger lots of people use http://www.sweethome3d.com/
It's not as pretty, but it's simple, and I like it
I'm not very artistic unfortunately
I have about zero artistic skills π
sweethome3d is very easy to use
this was posted on the forums and can be replicated
it is....I saved it as a reference for myself
oh wow, they both look great
I think I can dig it out
If not, don't worry, I'll track it down now I know it exists
Thanks
oh cool, I'll take a look at that
lol....looks like that is @winter hollow works
and here are the dropbox links https://community.home-assistant.io/t/floorplan-for-home-assistant/17394/278?u=arsaboo
Much as I love Lovelace, I find it's not as good for creating actual floorplans that are pretty
Those though... that's somebody with some artistic flair, or lots of patience (or both)
LL is not for creating floorplans, it is for using floorplans π
Sorry for the random question, how do I round my floats from template sensors?
Guess @winter hollow will just have to start taking requests to make gfx for us deadlies
π
Hey - could anyone help with this JS question? https://community.home-assistant.io/t/tileboard-new-dashboard-for-homeassistant/57173/1746?u=simplygardner
@trail bane use a template sensor to round values
Well, yeah, but the picture element card doesn't lend itself to nice floorplans like HA floorplan
you cannot do it in Lovelace
Picture elements is 95% there
and it is so easy to implement
I haven't tried it in months, but the last time I got frustrated fast - but then I was trying to replicate what I've got
@raven nacelle Yup, using that. I have bytes / 1024 / 1024 but I need to round it or else it's like 0.134525 MB/s π
you should try again Tink....there are so many elements to be used
You need to round in your sensor @trail bane π
Yeah, but I'd need to start from scratch, or I'll find myself in the same hold - trying to replicate rather than create functionality. And that post may give me something fresh to work from
if you have your plan ready, it is quite easy to get started
Oh, that is, I agree
But, I've got "unusual" shapes and stuff on my floorplan, like lights that are a long bar
Replicating that in Lovelace, cleanly, I couldn't get to work well
I don't have a floorplan anymore...
I love it for the whole house overview, not for control though
but I did like the svg
yeah, I would like it back some day
when I have time to work on my own interface...
π
I was aware that I need to do it in my sensor. I forgot that it was the round(x) function so I'm good again
@raven nacelle i love that floorplan pic you posted. i've had it bookmarked for about a year and have been meaning to try to replicate it
I started working on changing my colors to replicate that one
but I am so bad at this thing....even that was difficult for me π
we all need bram to rescue us
I was about to say that...would be cool to have open/close door animations, etc.
yeah, that was in...
so it has to be svg for the animations to work?
did you post your final version on that thread?
I think I did post the animations and theme somewhere
have you shared your config on git?
Haha nothing works anymore π
does the old floorplan work with hass today?
as a panel?
Please follow the rules, @winter hollow! You have 5 warning(s) left. You posted a message/code that is more than 15 lines. It is moved here --> https://paste.ubuntu.com/p/ncXQrBZXCC/
HA Floorplan works fine, I still use it
yeah, that seem to work. The first card was in a panel
would be nice, if I could add two cards in the panel mode
then, I can put both the levels on one view
actually, stack in a panel may work
so, @winter hollow so, you are using the @keyframes in which element? state_image?
how are they responding to the states?
no that was from the svg floorplan
I added tabs to my floorplan html, so I has a tab for every floor
and that was LL right?
was a custom-panel
Need to get HA floor plan devs to work on and perfect picture elements
no this was before lovelace
small animations in picture-elements would go a long way
I would want to create something in Lovelace where you could do this
yeah, I also want to stick to LL and hope that some elements will become available now that feature freeze is over
Feature freeze is not over yet
gulp
you do have some cool things on the shelve right?
Need to finish our UI editors and bug fixes first
I have some potentially cool things
@split granite π¦
π€£
On a serious note though, you've all been doing some pretty awesome stuff, speaking as somebody who's viewed the UI as the least important thing in HA...
That view may be drifting a little now ... π
We did it guys! Thatβs a wrap! π
Haha great to hear Tinker
Well, the old UI was "fugly" (functional, but ugly). This now though... now it's a thing I can see being useful on wall mounted tablets and the like
People putting in lots of effort into these custom cards is what is huge to me. Thing like the mini-media-player and upcoming-media-card just look so damn good
Those guys should join the frontend team
I keep trying π
Many of these folks will be ones who're out to scratch an itch, and have no long term interest
Most donβt want to give up the freedom of options they can add to their cards
Which I get. Core is a bit more rigid/simple
But beyond just porting cards we could use smart devs to help shoring up the front end overall
Yup, there's lots of little - long standing - pain points that could do with some love and attention
the upcoming-media-card is pretty cool for sure but the Kodi integration has a little problem that Kodi needs to be on when Hass launches or it doesn't load the sensors π¦
That has nothing to do with the card
I know
And that's the nature of HA. Components are attempted to setup on boot. Failed ones are not reattempted
@split granite Thanks.
@honest elbow Sure, delete .storage/lovelace
thank you.
is there a way to manipulate lovelace to make certain cards bigger?
trying to get recipe videos on my kitchen tab so i can pull them up quick from my tablet
trying to make an embedded video bigger
Use the panel setting in the view
would that stretch all the cards on that view?
ignore that...just read it
π
This renders the first card on full width, other cards in this view will not be rendered
You can of course use the horizontal or vertical stack cards to work around that π
has it always been this way? i was sure before it used to render everything else full width?
Nope, always been like this
@mossy otter how are you changing out the videos?
The idea is to use use an input_select and conditional cards
High there.. after upgrading to 86.2 all my zwave devices are only showing as Ready and I can't switch them. I fixed the zwave entity names, but cant' figure out what is wrong in the config.. anyone know where to point me.
sample
entities:
- entity: zwave.zooz_zen21_zwave_toggle_switch
show_header_toggle: false
title: Office
type: entities
That's not a switch., so you can't switch it
but it is a switch on my light... they used to be switch....... but had to change to the entity zwave.....
I suspect that might be some of the issue, but how do I fix this...
I have quite a few zooz device.. dimmers and switches
You fix it by not randomly changing things to zwave. π
I honestly didn't do it randomly.. seems they are now that in the entity listing...
Does 86.1 still have That typo That prevents some cards working?
For any Z-Wave device, there's a zwave. entity that represents the Z-Wave node itself. Then there's the switch. entity for the switch
I only did that in the UI so it was found...
So, look in
and check what the actual entity_id is
ah.. ok.. will look for the switch one then.. I didn't see it in the list..
ok.. will check there..thank you
hmmmm.. no switches showing...
I maybe have a problem in my configuration.yaml or something...
It might no longer be switch.zooz_zen21_zwave_toggle_switch
0.86 brought some changes that changed a few things up
it used to be _level_switch and I had to edit...
Try turning the switch on/off locally
ok.. I may not have toggled any since my upgrade shortly ago
My few other wifi plugs and switches are gone as well... trying to sort it.. thanks
mostly zwave so started there.. cheers
@mossy otter makes me want to make a dynamic iframe card that could integrate with @polar kelp browser-commander and you could just send a message to like a telegram bot with the new url or something and have it updated
Cant get compact-custom-header To work.. It used To work but after update no longer works..
Unexpected token <
o/
Can these cards be updated with wget?
yes, you can use wget to get the udpated raw file
Is there any documentation describing the fact that "localstorage:defaultPage" is not working anymore ? (it seems to loop on loading lovelace when set)
Raw file? I just copy file link from github and wget it, is it wrong way?
Only if you're using the link to the raw file
@potent fjord I use curl
Otherwise you get HTML
something like curl https://raw.githubusercontent.com/kdschlosser/samsungctl/master/samsungctl/application.py -o application.py
is it possible to use badges to turn on/off lights? (edit: just by tapping on it)
Ah ok, seems That i have www content lol
no....badges are just for information @mossy otter
thanks @raven nacelle
Thnx @raven nacelle @split granite
how to disable yaml mode after activating it?
is there a "default" card size...trying to make these (https://imgur.com/a/s2ZaEna) go in line with eachother but figure i need to resize the local image to be the same as the light toggle
nvm figured it out
@sharp pulsar https://www.home-assistant.io/lovelace/yaml-mode/ - basically comment out those two lines
i did and it didn't work, even restarted home assistant, had to go into lovelace top right and refresh
@vapid lance no, it should only contain states or lovelace, no paths other than panels
mdi:speaker?
ehhh
i have a ton of media players so its nice to be able to quickly look for the sonos icon
well there isn't one...so
ya π¦
other question: https://community-home-assistant-assets.s3.dualstack.us-west-2.amazonaws.com/original/3X/3/f/3f34c76a6c83c3dbee8549f6fd624e06124be413.png is there something like that for lights?
alpha-s-circle-outline
no, i don't think there is anything like that for fans in LL yet either. But I don't have smart fans so haven't probably paid attention
that's a custom ui one, right?
eck, I always hate those threads of ever changing attempts at coding a solution...
please put it in a repo if you do
so it can evolve fluidly
I seem to remeber hearing about a lovelace plugin to show cards/pages to only specific users, but I am not sure what to search for to find it again
honestly i would just love to have a quick-to-use button to select hue scenes, such as white/yellow, low,med, and high brightness on a lovelace card
currently there is a slider but it's just slower compared to tapping a button. Sure, it sounds pathetic but when it comes to sliding it down to the middle each day it becomes tiresome.
@high canyon custom-compact-header
state switch was the one I was thinking of, thanks guys
how do I get a custom component from github in my Hass?
Custom components aren't to do with Lovelace, so I'd ask in #330944238910963714
sorry
@old whale you can view the configuration
typically said custom component plugin has the instructions on github. ask #330944238910963714 like tinkerer said π
everything in the demo is editable
until you refresh
so with lovelace, where is the UI actually saved? Under what yaml file?
Im new to this, and I want to understand how I can quickly move around groups and definitions I had related to UI, from the old web view to the new one
.storage/lovelace if you're not using YAML mode
@mental crystal if you're the UI editors it is stored in .storage
and you shouldn't touch it
so I should configure everything related to the UI.. solely from the UI?
or use yaml mode
from the ui as ewll
What's yaml mode?
YAML mode == ui-lovelace.yaml and full control
GUI mode == editor, and leave it the heck alone
https://www.home-assistant.io/lovelace/yaml-mode/ @mental crystal
In the docs π
auto mode == i don't care, let's get crazy
But in terms of functionallity or ease of use?
@mental crystal subjective question. as a dev who wrote many of the ui editors, of course ui is better π
Functionality - all the same
Easy of use - depends on you π
Start with the UI editor, see if it works for you
Cant seem to find any way to set the column width for a vertical-stack, any ideas?
Haha, the begining of your sentence (as a dev) should yeild - yaml π @mild veldt
If it doesn't, you can switch
only refresh, no longer restart?
lovelace requires no restarts for changes
I need to rebuild my entire configuration from scratch so I wonder what would the better direction π
You can do raw edits in UI mode anyway, I dont see much of a benefit to yaml at this point
Even in YAML mode π