#frontend-archived
1 messages · Page 207 of 1
just copy the full yaml from the "raw configuration editor"
But that would just give me json, I would like to keep track of yaml, which would help me get back to a previous configuration easily.
I am tired of saving cards templates that I "might need" in the future in a separate view 😦
Also,
It worked 😄
the raw configuration editor is in yaml, not json
this I have to keep doing it manually whenever I add something.
Anyway the script by Ludeeus worked. 😄
I just love this community ❤️
Im not home atm, but is there a way to limit my wife to only seeing the dash oard i set for her?
Yes, edit the views in the dashboard, in the visibility tab you can restrict/allow users
Thx, ill try that when i get home
the other option is to create a separate dashboard and set it as the default for her
from her user settings on her device
I'm trying to make a custom panel but with vue.js, for testing purposes I'm running a local server and connecting it to the panel, the panel keeps reloading/blinking endlessly. Anyone have a good solution for this ? Can't find anything on google.
configuration.yaml
sidebar_title: Vue Panel module
sidebar_icon: mdi:vuejs
url_path: vue-panel-2
module_url: http://0.0.0.0:3000/main.js
require_admin: false
trust_external_script: true
config:
name: Test
main.js (using vue and vite.js)
import Custom from './components/Custom.ce.vue';
const CustomComponent = defineCustomElement(Custom);
customElements.define('vue-panel', CustomComponent);```
Error message in console:
client.ts:28 WebSocket connection to 'ws://homeassistant.local:3000/' failed:
(anonymous) @ client:186
client.ts:224 [vite] server connection lost. polling for restart...
client.ts:213 GET http://homeassistant.local:8123/__vite_ping 404 (Not Found) ```
is there a lovelace card that would be like post it note that you could write stuff on? I couldn't find one
any one has any clue as to why my I am suddenly getting Entity not available: sensor.nextsunrise and nextsunset ?
I dont know before, but looking at entity sun.sun I no longer see nextsunrise and nextsunset
I see next_rising and next_setting however .. did I miss a change to this ?
How can I insert text with the markdown card without a background?
I am sure that this has been asked hundred of times but I couldn’t find an answer in the forum and I‘d be very happy if anyone could help me with that question. I have a YAML Dashboard which I would like to set as the default dashboard, but couldn’t find a method to do that. Thank you
You can click on your account on the left bottom corner and choose a standard dashboard
short Q and prob in the wrong place again
i have a simple svg file as my floorplan and using inkscape to draw it up
the outcome in HA is about half to small as i want it, but i know inkscape has the right room messurements,
so i want HA just to scale up, can that be done?
type: picture-elements
image: /local/floorplan/examples/home/home.svg
If it is the only card in the view, are you running in panel mode?
ctrl + +
I'm getting Custom element does not exist only when trying to cast a view to my Nest Hub. It does not happen when accessing my instance directly. I have SSL/DNS set up correctly using Duck DNS. Any ideas on how to fix this?
Cast is a lot more picky about what it allows than the default interface. Custom cards need to be more or less built specifically for cast.
Which one is it? Layout-card?
Is there a best practice way to reference Lit?
I did come across this, I'm not sure if it helps; https://medium.com/@gurveer/debug-chrome-cast-receiver-play-errors-2f1ef5fbbd29
Hi need some help what would make the automations tab go away in the configuration panel
please don't crosspost
I notice that the default light card is slow to respond to tap actions, as it appears to freeze until the light is fully on (which can take a few seconds for some lights). Is there a way to have the UI immediately respond without forcing 0 second transition on the lights?
Base element with some utility functions: https://github.com/anoblet/home-assistant/blob/development/www/custom/base-element/base-element.js
Also has a slot mixin allowing you to define custom cards with slots that define children from the outside.
Interesting. I am a little lost at first glance but I'll figure it out as long as I have somewhere to start. Thanks!!
Yes but I meant globally
Best practice is to bundle the lit package with your thing using rollup or webpack or some such.
Does this mean that each custom element bundles it's own version of Lit? Wouldn't this unnecessarily create bloat as multiple versions of Lit would need to be downloaded (one for each custom element)?
I worried about that at first too, and found a way to extract a reference to LitElement and some helper functions from the prototype of some built-in elements. But Lit is tiny. Impressively small, really. So I don't think it's a problem.
Really don't recommend it, though.
Also, by bundling it you won't run into compatibility issues when Home Assistant upgrades.
I saw a similar solution here: https://community.home-assistant.io/t/home-assistant-cast-with-custom-cards/137457/5?u=anoblet
I agree Lit is small (~2kb). Their whole ethos is efficiency, which includes tree-shaking and publishing elements unbundled 🙂
I don't think hui-view even is a LitElement anymore. It was probably changed to an UpdatingElement.
I don't mind latching on to a baked in version of Lit if it will get casting to work correctly.
To be fair I've been working with Lit for ~4 years now and with HA < 1 year. If there's some restrictions on how I consume Lit in HA, that's cool with me 🙂
Is there a native element in HA that you suggest I rely on to see if using it's version of Lit would solve the cast issue?
I think there's one in cast called hc-lovelace that should be a LitElement and always present.
Outside of cast home-assistant-main should work.
is it possible to customize the android notification bar ?
Anyone have a favorite way to visualize an entity, where the unit is %, as a progress bar on Lovelace?
The gauge card is just so huge
A progress bar entity row would be a lot better in some cases.
All I've found is this, but it's kind of ugly (no offense if the author is here) and unsupported
This seems alright but would seem to need a decent amount of configuration
hey guys anyone else having issue with the james Fry MDI Icon Index. While the repo has not been updated in 4 years, this was working up unitll the latest update in October. Now when I click on the MDI Index sidebar I get this : '<!doctype html>'.
Just was wondering.... when will the creation (and editing) of groups be available from the frontend ?
Some time... maybe ... if anybody feels like working on that
is there an alternative to James Frye's Icon Index?
HA is on MDI v6 now, that index likely gives you a long list of invalid options
A quick Google found https://mdi.bessarabov.com/ - not sure if it's any more current than the actual source though
Yea I came across that one, but there does not appear to be a way of adding it to HA like the other one.
An iframe is always an option
is there a file that can be edited directly for dashboard configuration? I know there is an option in the browser for raw configuration editor I want to know if that file is directly editable.
Can I do an easy QR code setup so that if someone scans it they get access to a limited frontend screen with basic stuff like turning lights on and off?
Does anyone know how to get the room/group of a entity/device? using the hass object in front end. I get everything except the roomid/name
"entity_id": "binary_sensor.front_door_low_battery_level",
"state": "off",
"attributes": {
"friendly_name": "Batterylevel",
"device_class": "battery"
},
"last_changed": "2021-11-18T16:28:52.743704+00:00",
"last_updated": "2021-11-18T16:28:52.743704+00:00",
"context": {
"id": "392842094829348",
"parent_id": null,
"user_id": null
}
}```
Thanks Tinkerer, the Iframe option works great
afaik there is no guest access for HA and thus no separate view for guests
you can setup a simple php server which serves your own custom html page and can trigger actions within HA using server side curl requests to webhooks or the api
your qr code can then link to that page
Cheers @formal tide. Will just mount a tablet for guests and just set it to kiosk mode, it seems like the easier option without creating an extra point of failure
Anyone wanna critique my dashboard? https://imgur.com/a/bbKYySN
it's a work in progress, and I'm looking for ideas on how to lay out the light buttons in the lower right. This setup ends up being too tall for my wall tablet and I'd also like to include headers for each room's lights.
just updated HA to the latest, and now i cant seem to listen to events in developer tools
im trying to listen to zha_event but its not showing anything
....and now it is
This is what I did, I created a user that that device logs into, and it has one dashboard with the things I want to let them control and see, it's working pretty well. Though one thing that helps is they don't really need to use it - automations do the vast majority of the work.
looks good, however if someone doesn't know what light does what, they'll have to do trial and error 🙂
there's room left under the thermostat, maybe move the media player controls under it and have more room to deal with lights
you could also change it to use this one instead and save some real estate: https://github.com/artem-sedykh/mini-climate-card
you could go even smaller with https://github.com/piitaya/lovelace-climate-mode-entity-row it doesn't have direct temperature controls, but presets could be enough if you dont change the max / min to different values constantly
another option.. https://github.com/nervetattoo/simple-thermostat
With lovelace, how do I enable the admin dashboard. The one that has all the integrations prepopulated? I remember there was a link to it somewhere but I can't find it anymore.
No clue what you're talking about. There are no prepopulated integrations. Can you expand on what you mean.
Thanks for the suggestions!! This card looks nice, I've seen the other two but not this one! Unfortunately the room below my thermostat doesn't actually exist 😛 I just showed that to show the lower area that the tablet cuts off. The tablet screen actually ends just below the thermostat.
Yeah.... this is my main issue right now 😅 I wasn't able to condense these buttons enough to fit in that area. I might just have to resize the camera card as much as I don't want to. I do want to add labels to the buttons too.
Before you edit Lovelace it provides a dashboard that has entities auto populated as they are added to home assistant. Once you opt to edit Lovelace that view goes away. There used to be an admin dashboard that has the entities all listed.
Just make a new dashboard and it should default to showing all your entities.
@lyric iris also just maknig sure - you know about the Configuration > Entities page in the admin section as well? I assume that's not what you're looking for
Nah, I think what I want must have been removed a while ago. I can get the same functionality if I make a new dashboard. It's just the dashboard isn't auto updated as new entries are added.
I think I'm probably struggling with friday evening brain 😅
any suggestions on making this more funtional? ideally i'd like to just have the values, names, and legend all together.
https://imgur.com/6BZnI9p
Where can I find yaml code from full homeassistant backups? I had a corrupt SD card event, and have always copied backup files locally, as well as all the Yaml code I thought I needed should anything happen, namely lovelace.yaml. But upon rebuilding I'm missing an entire view, which I named 'brewer' and cannot find it in lovelace.yaml, though all other views are present. Is there another location or file that I might check? It did contain mostly custom component cards, if that could have anything to do with it? I'm at a loss where to look. My dashboard included: 'Home' 'Media' 'Brewer' 'iOS' 'Status' and I'm able to see all code as it was except 'Brewer'.... the one I need! Any ideas on where to look?
Is it possibly not enabled for your user?
I played with users a little bit, trying to setup a simplified user w/ less, but I am Administrator user, don't think I even ever logged in as other user and know it was present on both my PC & iOS app. Where would it be housed if it were only setup per user?
there isn't a "lovelace.yaml". Are you managing Lovelace from the UI or manually with YAML?
if the latter, there's ui-lovelace.yaml. If the former, there's a JSON file in .storage
I think you are onto something! Thank you for idea. I'm fairly certain I had a combination of both, per dashboard. My main being from UI, then I would copy elements to the second dashboard where I managed manually with YAML. Now to try and figure out what i can do with JSON file?
Found it! Guess it is time to learn a little about JSON. Any tips, what program to use even? Just notepad++? Can I just copy into my new lovelace.json file?
I'm not sure I understand the goal. If it's in .storage, HA is expecting to manage it
I don't know how you would simply relink the JSON, but you could convert it to YAML and paste into into the raw editor in the UI
the JSON format looks like it has data.config.views, and that last part could be converted to YAML
it is in .storage of old backups, when I began new homeassistant I started fresh (so as to not inherit the mess I created while extreme NEWBIE), including dashboards, views, users, etc. Only that particular tab was highly customized and never realized where it was saved, now I try to recreate it.
Thank you very much for pointing me in the right direction here, I was beginning to get quite frustrated, but now I'm happy to try things out and learn a bit more!
hi, has anything changed in recent versions with regard to frontend themes specification in the yaml?
Invalid config for [frontend]: [frontend.set_theme] is an invalid option for [frontend]. Check: frontend->frontend->frontend.set_theme. (See /config/configuration.yaml, line 14).
was working correctly before
that's a service call, and it looks like you tried to put in the frontend: configuration
I'm banging my head against a wall here. I have a binary sensor on a door. It reads open and closed in Home Assistant. I'm trying to get the badge representing the sensor to show two different icons for the different states. It used to do this by default not too long ago, but something unknown changed and I can't recover this behavior.
Ah, I'm seeing the issue. I had set the icon as mdi:square trying to recover the default behavior
or... that doesn't make sense. Somehow the icon got set as square over riding the default behavior.
thanks!
Any way to hide the list of pages? I have one page hidden for all users except guests, and I wanted to hide the little icon at the top
I've just got the one, and it's bothering me
What is a "list of pages" do you mean the view menu bar?
not that i know off
is that in the android app?
Try it.
i mean i never enabled it, do not have a need to
how do i check if its enabled or not?
ctrl + + just zoom's in, that is not what i was after
either that the image is full screen width or that i can scale it up in the card
Edit the view, change the view type to panel.
What's a good card to replicate the popular times in stores from Google search when using the hass-populartimes component? https://github.com/freakshock88/hass-populartimes
not sure how it's sensors look but maybe something like https://github.com/kalkih/mini-graph-card
Thanks. Unfortunately the sensor has attributes like popularity_monday, popularity_tuesday, etc... with values like - 0, -0, -0, -12, -30, etc... one per hour for 24 hours. That card doesn't seem to support attributes.
@halcyon stag posted a code wall, it is moved here --> https://hastebin.com/kicosenazu
Could someone help with where to put that ^ figured it out, god im dense.
sidebar
and panel both takes up more space than the screen
Masonry (default) is to small
I have on idea what you mean by "takes up more space than the screen". Perhaps some screenshots explaining your issue would help.
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images.
Hey folks. I'm working what I think should be a simple problem with my lovelace dashboard, but I'm having a hell of a time figuring it out. I simply want to display the time and date in a Markdown with the following format: Time: "7:40 PM" and Date: "Monday, August 5, 2065"
Is this doable simply?
Yes
I mean, we have like 44 years to do it
You can use timestamp_custom() with the formatting rules in the link here: https://www.home-assistant.io/docs/configuration/templating/#time, or now().strftime() with the same formatting
Time: {{ now().strftime("%-I:%M %p") }}
Date: {{ now().strftime("%A, %B %d, %Y") }}
Time: 7:18 PM
Date: Saturday, November 20, 2021
Thanks for your help. In Markdown, when I save and reload, the "content" section changes to " '[object Object]': null"
@dark dirge 🤷♂️ is my reaction too!
I don’t use the UI editor
This works:
type: markdown
content: |
{{ now().strftime("%-I:%M %p") }}
Thanks for your help.
Can I !inclue a markdown card as an md file?
Hello! in order to make like a card, with room cards, like in view, how would u do it?
I would use picture elements cards. https://www.home-assistant.io/lovelace/picture-elements/
i see i'm thinking more like with tabs, say a main card with tabs that change inside it
I'm not aware of such a tabbed card. You can put buttons on your picture elements card and display different cards (in that same card) depending on the state of the buttons (input_boolenas) by using the conditional card or better yet state switch card. Conditional: https://www.home-assistant.io/lovelace/conditional/ State Switch: https://community.home-assistant.io/t/state-switch-conditional-card-on-steroids/154706
I am trying to make a floorplan, some people use ha-floorplan, but there is very difference to get info, even on the website of the plugin, on what makes it better than a picture-elements card, what do you people use? What is the "point" of "ha-floorplan" if you can use picture elements? (using native functionality is also an upside all else being equal).
Masonry (default) https://imgur.com/a/V7mkwrh
sidebar+panel https://imgur.com/a/Pu8RLlp
with the last 2 i have to scrool down, i was after something that scales automatic so it fits both width and height
You need to change the aspect ratio of your original image to match your screen in panel mode.
I'd like to do some kind of colour indicator for temperature entities. eg a coloured box that is green if above a certain temp, red if below. But I can't work out if I can do this. Any suggestions?
yeah i guess, its just more easy to use inkscape and enter the messurements and be done with it
an autoscale option would be ideal in my case but i guess i have to scale in inkscape instead
is it possible to add the energy dashboard to the top-row icons instead ?
where are the views stored , removed one to many
small bug i think
anyone else seeing the new card-mod released just now doesnt show mod-card configs anymore? https://github.com/thomasloven/lovelace-card-mod/releases/tag/3.1.0 (with recommended install method followed) A quick downgrade restored them.
Updated via hacs, no error
Can anyone give tips on how to get the beautiful displays that seem to appear on the photos on reddit, etc
I can’t do anything fancier than just the generic style ones
no, the update went fine. It's just that with the new version, my mod-card configs are no longer showing.
Cache cleared?
yes I have, even restarted the mac... just retried it, and the new card-mod shows correctly in the console. No mod-card config though. Downgrade: mod-card is back. posted an example in https://github.com/thomasloven/lovelace-card-mod/issues/160
Found the problem.
can confirm mod-card is back. Thank you very much sir.
What is mod-card?
A sub functionality of card-mod which you should never have to use.
The Sonos integration has a set_option service where you can set bass level from -10 to 10. Is it possible to make that a slider in a Lovelace card?
Setting up a dashboard card with a list of entities. Is there any way to display the device Area? (I don't really want to manually put the area in the device name)
Template number or an input_number -> automation.
Nope, have to list manually
I'm very new to HA. Is it possible to put an attribute of my thermostat (current_humidity) on a gauge?
I've googled and read and can't seem to figure it out.
Not without custom cards. Gauge only works with entity states, not attributes. You can make a template sensor and use that with gauge. Head over to #templates-archived for help with that.
OK. I have to assume others have done this, then.
Hey all, I am trying to get my first HA-Floorplan setup. I have enabled yaml mode in my configuration.yaml file and created a dashboard there as well. I have also installed the HA-Floorplan from HACS and loaded the resource in the configuration.yaml. When I am trying to add the yaml code to display the card in a separate floorplan.yaml file it does not seem to load my svg file. I do have a css file as well so I believe it should display. I am going to include my configuration.yaml and floorplan.yaml. It seems like the card is getting loaded but not my svg file. Also I store my svg file in /config/www/floorplan/floorplan.svg but I reference it as /local/floorplan/floorplan.svg in the yaml code. https://www.codepile.net/pile/0D3j3OzM
Please do not edit posts to get past the line limit. This is your last warning. Thanks
sorry I did not know about a line limit. I tried to attach a screen grab and noticed it did not allow so I posted the text. I can try and find somewhere to repost the code if needed.
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
Please don't use Pastebin, since it can randomly add spaces to the main view.
not sure if its the good channel for it, but since this morning my web interface is not accessible. i can access it from the mobile app tho
what url are you using in both cases? If you can only access it via the IP or your external ddns then restart nginx
both internal(including ip) and external doesnt load on my pc. but both load on my phone
(assuming the app use internal while at home and external while outside)
Is there a way to control what items on the sidebar other users can see? I've added a user to my HA instance, but they can see all sidebar items.
Also more exactly, how much control over user permissions are there? I looked around a little and it doesn't seem like it's very fine-grained. For instance, the other user can see the calendar sidebar and all of my calendar events, the event log, and the history of every single entity.
I was able to successfully configure a Lovelace dashboard for them where they could only see what I wanted them to, but with the sidebar they're able to see everything else anyways. Did I miss something?
So... this is a thing
Was this a reply to me? I mean that's just cool in general but also would be helpful
Wouldn't that be publicly available though?
I'm also not seeing anything on google for "cardserver"
You can configure what’s shown in the sidebar on each device by pressing and holding on the Home Assistant title or by hitting Edit in the profile
There are no permissions and the configuration can only be done on the device/browser
Thanks, didn't know about the pressing and holding trick, though I knew you could do this via your profile. But like you said, this is specific to the device and they could always be added back
I am trying to make a floorplan, some people use ha-floorplan, but there is very difference to get info, even on the website of the plugin, on what makes it better than a picture-elements card, what do you people use? What is the "point" of "ha-floorplan" if you can use picture elements? (using native functionality is also an upside all else being equal).
ha-floorplan has more control of the SVG elements so you can do goofier things like making an element semmi-transparent. Or changing the color of an element. You cannot do that in picture elements.
well you can but it's harder.
tbh, both are complicated, so you're going to have an uphill battle regardless what direction you go
Lastly, I went through that whole floorplan crap a few years ago and it was fun but we never used it. So it turned out to be a waste of time. If you have a tablet thats mounted on the wall, it may be useful. If you don't. I'ts not useful at all and you'll want buttons / toggles.
Currently, no. But there is a PR that is exploring how to do that: https://github.com/home-assistant/frontend/pull/9946
Hi! Is there a way to dynamically set the min and max of a gauge card? I would like for the minimum to be the lowest electricity price today, and maximum the highest. I have these available as attributes from the tibber sensors
I looking for a card that I can't seem to find. I have a sensor that is only text, and I want to place it in a card so it fills it up from left to right. and if needed make the text smaller to fit it in. Does anyone have any idea what card I can use for that?
I think I found a solution - Nevermind, still have not figured it out fully yet
I am searching the chat history but I'm not seeing an answer right away:
The latest card-mod update suggests adding card-mod.js to frontend:.
Should I then remove it from lovelace resources or does it not matter?
is there a way to change the lock icon colors in a lock button?
(i'd prefer green/red to blue/yellow)
button-card will do that.
I didn't mean to say that. I have card-mod on my mind right now.
I think button-card would be more straightforward.
@prime perch posted a code wall, it is moved here --> https://hastebin.com/jibupemule
disregard the ticks in the pastebin
Is it possible to make an iframe card that points to an ingress url but hides the sidebar? I'm ending up with a double-sidebar situation. Just using the ingress button on the side is not ideal, it confuses the other users too much (somehow)
ingress-ception
This is wrong. Ignore it.
@prime perch posted a code wall, it is moved here --> https://hastebin.com/fezufototu
And that's my final offer.
Thanks!
Works like a charm! Thanks so much.
Is there a way to populate an input_select using a template? i.e. a dropdown list of all lights that are on etc...
@errant peak posted a code wall, it is moved here --> https://hastebin.com/cazumuropa
love the colored icons (backgrounds) on the new /configuration/ panel in Dev. Hope this will inspire to bring (back) colored icons in the frontend too.....
You can leave it in. Ignore the error this causes.
Hey Thomas. While v3.10 of card mod has fixed the card style loading timing issues it has caused this issue to reoccur, https://github.com/thomasloven/lovelace-card-mod/issues/66#issuecomment-788791065
I found some older posts online, but trying to get the best current view before I outlay on Cameras... Is there a way to live stream to the Lovelace UI, I'm seeing if I can replicate the experience of a Nest Camera and a Nest Hub where the image is close to real time and a decent frame rate. Possibly with Aqara Camera, but open to other options as not yet made the purchase
WebRTC
Hi every since after core 2021.11.03 my HA have been stuck on loading data screen after 00:00. I tried posting the issue on forum and gethub as of now no one have any idea how to fix it. Is anyone also getting this issue
There is no issue in my log. I also tried disabling all my custom resources cards. Still not fixing the issue
Check out the stream setting ll_hls: True
Thanks, reading through a long community post. Thanks for giving me the right search term
I'm relativly new on the HA journey, could you just point me to where 'stream' is and what the setting does and is applied too?
You can install it from HACS and it's nearly instant for me <2s
Ah, that's good news. What camera's do you use?
You need to update configuration.yaml with the LL hls value
Several. An Amcrest, a Samsung, and some Chinese one that I can't remember the name of
The webrtc solution.is fine too, I just know that not many users know about LL hls since it's not advertised
And you can use it without a custom component
I just now came across your mention of it in the community forums.
This needs better documentation because I know lots of people are struggling with this.
Lots of ongoing discussions on the topic as you can see
I see.
I also (in the distant past) had trouble with my reverse proxy being a bottleneck.
Did / does it support http/2?
It looks like many have it on by default now
How long ago was this?
I'm curious if this is something we'd consider solved now or still something we have to work through
I've been using nginxproxymanager and you need to turn it on in the SSL tab
Kemp had it on by default
https://hastebin.com/cazumuropa
Hello
what's the error here?
yaml files are for configurations
not errors
you might have some wrong indentation here, but definitely no obvious errors
Indent on first item?
- entity: switch.cameradaletto
state: 'off'
thats not a valid condition
neither are these:
- entity: switch.comodinoelena
state: 'on'
- entity: switch.mensolaelena
state: 'on'
?
you're missing the condition type.
How should it be ?
Have you looked at the docs
Yes. Can you suggest ?
Would you mind telling me how to correct it ?
Never mind
You all are superheros
dude, just take the time to learn it
this is what you have
- entity: switch.cameradaletto
state: 'off'
this is what the docs say
- condition: state
entity_id: "device_tracker.paulus"
state: "home"
what's missing
is that really that hard?
that's why you should look at the docs
If I write it for you, youll be back here again
It is, but spoon feeding isn't a thing. I pointed out what's wrong without giving you a spoon fed answer. This is yaml, if you have issues spotting the differences in yaml, then you should focus on that.
however, if that's what you're using for a conditional card then all of that is wrong and you can only use state conditions
meaning, you'll have to make a template sensor with all those and/or's into 1 sensor then use that to conditionally display
because https://www.home-assistant.io/lovelace/conditional/#conditions only accepts entity, state, and state_not. Which means your nested conditions will not work.
Still not working...
425647f8.js:3103 element conditional Error: Invalid configuration
at HTMLElement.setConfig (:8123/frontend_latest/baf72b33.js:1)
at s (:8123/frontend_latest/425647f8.js:358)
at d (:8123/frontend_latest/425647f8.js:358)
at c (:8123/frontend_latest/425647f8.js:358)
at o (:8123/frontend_latest/425647f8.js:358)
at n (:8123/frontend_latest/baf72b33.js:1)
at :8123/frontend_latest/19dab64f.js:1
at Array.map (<anonymous>)
at HTMLElement.value (:8123/frontend_latest/19dab64f.js:1)
at HTMLElement.t.setConfig (:8123/local/community/lovelace-card-mod/card-mod.js:6)
what kind of card is that? Conditional card? Automation condition? Conditional element?
if it's a configuration for a conditional card or conditional element, then see this response
This one
er the previous one
conditional cards do not accept nested condtions. Only single value conditions and everything in the list is anded together
so you'd have to make a template sensor if you have logic that requires more than 1 sensor
Templates are painful, so this is an example using your info in configuration.yaml:
template:
- binary_sensor:
- unique_id: conditional_comodino
name: Conditional Comodino
state: >
{{ is_state('switch.cameradaletto', 'off') or (is_state('switch.comodinoelena', 'on') and is_state('switch.mensolaelena', 'on')) }}
Then use the conditional syntax for cards (which is not the same as automations and does not require the condition type)
- conditions:
- entity_id: "binary_sensor.conditional_comodino"
state: 'on'
elements:
- image: \local\casa\comodino.png
style:
left: 30.1%
top: 30%
width: 4%
type: image
type: conditional
There's no way to do it without defining a binary sensor?
If this is a frontend card, no. If this is an automation, yes. However that looks like a card or element.
who would of thought the way to make a speaker have a mesh look style grill on it would be to slightly wonky some lines were mesh should be, love the way these icons came out.
hi!
I see that this entity has several data streams
how do I use one of them as an entity?
particularly interested in temperature set
Is there anyway I can enlarge the picture element for the browser mod?
It is a picture element
In a browsermod
hello everyone... wondering, is it possible to capture text in lovelace? I am building a remote and although its easy to make up, left, right etc and buttons for netflix etc, I am wondering if its possible to pop up a text box so text can be sent through to the device... the roku API suggests that you can send search terms though to it and it will search across the various apps etc
im guessing input_text with a text helper is the way forwards here
can we somehow prevent a fold-entity-row from showing if the contained entity list is empty? using an auto-entities with show_emtpy: false in it, which is empty on a regular base. Guess we can use a conditional in front of it. Maybe other options are available?
Hiii brooos!! 😬
some noob-questions:
- Can I somehow use the GaugeCard, which takes maximum and current value from a sensor?
Hi, is this the right channel if I have issues with the energy part of home assistant
I can't seem to be able to add my devices
thx can't believe I missed that one.... :S
Is anybody here using ApexCharts?
Gotta question?
Can somebody point me in the right direction, my google skillz are not giving me the results I need.
Trying to create a "log" on the lovelace interface of the button presses from the philips hue dimmer switch, which is connected via deconz. Trying to do this in node-red.
Why? Because some times when we press a button the lights dont respond, while the lights will then respond via the home assistant app. So the light and home assistant are still working. Logging when home assistant recieves events/button presses might help.
The problem is the hue dimmer switch only has a battery state, and thus cant select the button press events on the lovelace logger card.
I read the events in node red via, Events All node, filtered on deconz_events. How do I send these messages to a log on love lace?
Hello! I am looking for talented individuals who can do custom dashboard designs! (Responsive and beautiful designs, not messy home assistant default dashboards) Do drop me a pm as I have an offer for you!
Is it Nitro? Or maybe Bitcoin? Please say yes
Hello, I started having a problem, that I don't understand. I had all my entities named, I added names in the GUI to something more user friendly, like livingroom_light to Living Room Light.
Out of nowhere all my name's disappear and now when I add the name in the GUI and I restart home assistant, the custom names disappear and return to it's origal names. What could it be? I'm referring to friendly names, not Lovelace naming in the card's
what is the best way to center these icons in lovelace? https://i.imgur.com/bZb0S1N.png
relatedly, what is the best way to inject custom css without much hassle lol
I have solved my own issue
the shadow dom is my new mortal enemy
I can accommodate secure payment channels for you
anyone knows whats the new way of having multiple sensors' attributes graphs in one?
(mini-graph-card is labeled invalid in hacs)
What type of card are you using?
Most of them don't support templates (even JavaScript) unless you have something liek this installed https://github.com/iantrich/config-template-card
No, it does support templates and the yaml (although formatted incorrectly) looks wrong. Cant help further because it’s not formatted
#330990055533576204 please
sorry
hi all, The frontend.reload_themes service does not seem to work when using packages or is it only me ?
Why are your themes packaged?
I don’t see how they’d relate to a config. Anyways, it’s possible that themes cannot be reloaded in packages
I have different folder structure. I have include/themes.yaml within config folder. But to be hones I thought that this issue is already fixed - https://github.com/home-assistant/core/issues/30895
It’s possible it’s broken
But you can put all the themes in a single folder with a include merge dir named until it does work
It looks it started working again after I put everything into configuration file instead of including it. Now it works with packages again ... I don't get this behavior to be honest it cannot be on the client since I cleared cache every time.
Packages are ham fisted into HA
So it doesn’t work everywhere
The system needs to be reworked but it’s low on the list of things to do
Is there anyway in lovelace to have two columns of cards, but with each column not being the same width?
[-----][-]
[-----][-]
[-----][-]
like this
Ive read through the documentation of Thomas's layout-card and it talks about specifying columns and width for the entire layout but not for individual columns?
Hi, i have a curtain using the cover device type.
Is there a way i can extract the "set position" value from it?
It doesnt show in the state of the device
@coral fossil layout-card can do that. You specify the column width for each column in the layout individually, or you can set the width of one of the columns and the rest will split the remainder.
However, there is a built-in layout which does exactly this, that's used for the energy dashboard - https://www.home-assistant.io/lovelace/sidebar/
@gusty wing The entities card can display an attribute of an entity instead of it's state. Check under "Special Row Elements" in its documentation.
Didn't there used to be an option for reloading changes to theme yaml files?
There's a service. frontend.reload_themes
I tried from VSCODE but that one errors out
must be trying to use the old reload option that existed in server controls? 🤷♂️
Hello, I add shopping tab to my Dashboard and I want to add few cards with shopping lists but HA show me the same items on different lists. Why they're synced?
There's only one list.
There's been talk of adding more, but no one's touched that part of the code for years. Too many cool ideas. Too little time.
So I cannot somehow to group lists from different stores?
Not now
Thanks. Do You know any external app that can be add as integration to HA? Like Listonic?
I find integration to my Google Keep. I hope it will work.
https://github.com/klejejs/ha_keep_notes_sensor
If you want a lot of power and functionality you may want to take a look at Grocy.
Thanks
@sacred rampart posted a code wall, it is moved here --> https://hastebin.com/ixinegoceq
Why isnt my browsermod popup popping out
ignore the `
nvm figured out
hold action only
lol
Btw how do I make the browsermod header disappear and make it large in the code
@sacred rampart posted a code wall, it is moved here --> https://hastebin.com/abuvecoror
Nvm once again I figured it out hahahaha
Hi thomas, thanks for replying... I dont see any examples in the documentation which specify more than one column width?
@buoyant sable posted a code wall, it is moved here --> https://hastebin.com/uqehuwopit
im so confused by layout-card .... the docs talk about editing the actual layout and putting width and max_cols... but then no mention of width at all in the rest of the docs. I have found a post on reddit https://www.reddit.com/r/homeassistant/comments/ens44g/column_width/ which talks about column_num: 2 and coumn_width: 500 ... but I have no idea where the poster is entering this? on the layout, the card? if so, which card? how are you actually supposed to use this, there is so much assumed understanding and knowledge of where you are supposed to put this stuff
That was my issue you son of a bit flip💩
did you try http://ipaddress:8123 ?
Give me a few Seconds I tossed the setup in a plastic box for tomorrow :)
It works
👍
I am so blind, had the same issue a cuple month's back when i tested it on my main device. Do you know why it tells me on the host device port 24 while its actually 8123?
you sure its not saying /24? as in a 24bit subnet mask? 192.168.0.1/24 ?
the IP address of the machine will be 192.168.0.1/24 which means 255.255.255.0 so maybe you are just reading its IP address... the port is 8123, usually written 192.168.0.1:8123
replace 192..168.0.1 with whatever your own internat IP subnet is
Grid layout
- type: custom:layout-card
layout_type: custom:grid-layout
layout:
grid-template-columns: 20% 80%
grid-template-rows: auto
grid-template-areas: |
"volume directionpad"
@tacit cave so on the actual layout, I press the pencil and enter:
max_cols: 2
width: 1000
And then I add a card (grid according to your example) and edit eh card with similar to what you have pasted above ?
Read up on css & grid-template-columns and rows
but even if I read up on it, im not sure where its applicable to... the layout, the card, only certain cards etc
It’s applicable based on what the docs say
@coral fossil I am not very familiar with subnetting in ipv4... i am pretty early in training to work in IT, best i can do is ipv6 how similar is the subnetting part?
By the way any idea where my dns might be blocked because the Homeassistent.local:8123 and Homeassistent:8123 do not work for connecting, and i am expecting that whatever's cause the problem will come back and bite me later on
I don’t have it memorized, but grid-template-column is what you want
@buoyant sable usually, the DHCP server (probably your router) would register the IP address it handed out in its own internal DNS (I have given homeassistant.local to 192.168.0.1 etc), so if your DNS server on your local machine is google or something other than your router then google is not going to know what homeassistant.local is
try using your router/dhcp server as your DNS server, or you could just edit your hosts file on your local machine to contain homeassistant.local
this isnt really related to "front end" though, this is a general setup/OS/networking question
Thank you for helping me despite it being in wrong thread
I seen a card the other day that allowed the user to adjust some settings which i assume was for an automation. It had an on/off button, a slider to select the duration, an input to choose the time and some other options. Is there a card I can use for that or is it custom coded?
ohhh I think I will pat myself on the back, just added my 50th icon to custom brand icons 🙂
Is that person still using your work without attribution?
@coral fossil
Thanks !
Thanks!
I am collaborator that's all 🙂
This doesn’t explain how to have columns of different width though .. I’ll look through what Petro sent when I get home
Ah right. Well good job. The Repository owner was rather down at one stage about people forking the repository and claiming it as their own work.
...the columns in the screenshot are different width...?
I saw that so I started popping some icons across, latest few are pi, ha-blue, nuc, update to shield and update to ikea 5 spot and blinds
his image explains it in 1 line, my setup is more involved. You should use his... I think you're putting on "This seems super complicated" blinders. It's very easy from his image. column_widths. For the nomenclature in that field, look up CSS grid formatting like I said above.
Hello, Can someone help me with this template?
I want "circle_power_casa" to show the status it has (above 0) with the aforementioned entity "power_casa"
https://www.toptal.com/developers/hastebin/oyijamenic.coffeescript
on line 13, something like this?
circle_power_home:
custom_fields:
circle: >
[[[
if (variables.state | float === 0 {
Anyone know how to configure how often I want the energy sensors from my tuya plugs to be updated in HA. Because as it is now it does not update
Anyone know of a Lovelace card that cycles through other lovelace cards every <time period>?
I'm a blind user who is really enjoying getting into HA. I've noticed a couple accessibility issues on the frontend that look pretty easy to solve, mainly just uses of the ARIA-ROLE attribute instead of ROLE for HTML elements. If I were to open a PR to clean those up would that likely be accepted?
#devs_ux-archived is a better channel for that
ok I get it a bit more, like I said, assumed knowledge... 1fr means "one unit of the available space" so when he put 1fr 300px when the total width is 1000px this translates to 700px and 300px I think ?
cos 1fr is 100% of the remaining space?
Hey all! I installed fold-entity-row through HACS but see this in my dashboard:
Custom element doesn't exist: fold-entity-row
Any debugging tips?
Ended up finding my way to the resources tab, didn't do anything and it just works now 🤷♂️
Cache
Wonder if someone could advise on what I'm doing wrong here...
I've spec'd out a dashboard in YAML, when I go to the frontend, my dashboard appears in the sidebar, but I click on it, I just see the autogenerated dashboard
you put a dashboards: section under lovelace: in configuration.yaml and gave one a mode: yaml?
or made your default dashboard with mode: yaml?
@dark dirge So, in configuration.yaml I have:
lovelace: !include lovelace.yaml
In lovelace.yaml - I have:
mode: yaml
dashboards: !include ./dashboards/dashboards.yaml
and?
and then in dashboards.yaml I have:
home-dashboard: # Needs to contain a hyphen (-)
mode: yaml
filename: ./dashboards/home.yaml
title: Home
and that's the one that isn't acting like it's in YAML mode?
Right
and home.yaml looks like this:
except what I put in there ^ is largely irelevant because lovelace just ignores it anyway
do you see it in
-> Lovelace dashboards? And does it say that it's in YAML mode?
I don't think you can use a path there
filename string REQUIRED
The file in your config directory where the Lovelace configuration for this panel is.
You said I couldn't use a path there, but then quoted the docs where it says the filename string is required
I'm trying to figure out what you're implying.
a filename isn't a path with a file in some directory
So, "yes" then. It has to be in the same directory.
"a file in your config directory"
Oh, it has to be in <config>
Hm.
I guess that would explain why it wasn't working
One more thing
My configuration.yaml isn't in the top level
it has to be
Well it isn't.
It's included in the top level configuration.yaml
That way I can keep all my yaml files as one repo
My configuration.yaml isn't in the top level
that doesn't make sense
it has to be in your config directory
impossible
i think he means that the top level configuration.yaml points to somepath/configuration.yaml
There is A file called configuration.yaml in the top level dir
yes, I'm sure there is
but all it does is !include mystuff/configuration.yaml
It's less complicated than a huge .gitignore file
that way I can keep all my yaml files together and version them properly
anyway, I recommend trying to use a file in the config directory, as the docs say
okay, ill try it
okay, let's see
Yep. That fixed it.
@dark dirge guess that means I can't keep my dashboards where I wanted to. Bummer.
Thanks @dark dirge
yep, got that now thanks.... thing im stuck on now is that the cards dont seem to be obeying the layout options. I have specified max_cols etc and 1fr , 300px and total of 1000 but when I add two cards they are the same width ?
Not sure if this is the right place to ask this question
I've just switched browsers from Firefox back to Safari and I've noticed the camera feed from my OctoPrint instance doesn't work anymore
Still works in Firefox, so I assume it's got something to do with Safari / video codecs
in Safari I just get the little ? icon in the middle of the camera box
other cameras (UniFi Protect) work fine
**How to prevent caching webpage or force loading from directory?**I have set up an html page in the /www/alarm/report directory. The html page gets refreshed every ten minutes, but the name does not change. I load the page through a lovelace webpage in the frontend. This is correct the first time, but then loads from the browser's cache. On a laptop I can resolve by clearing the cache manually, but on a mobile that is cumbersome. Is there a way to prevent lovelace webpage loading from the cache? I have already tried including some javascript code in the html header to prevent caching, but this did not work. Also tried to add a random number after the file name: "_?nr=random". Apparently the caching intelligende only looks for the filename. Any proven tips?
Does anyone have a nice christmas theme for lovelace? I haven't found anything on google. Otherwise I'd make one myself
nvm i found the site on the forum. why wont it show on google though?
Hi. How can I put a cover's state onto the entities card? If I use just an entity card its shows the state, but if I use entities card (muliple entities) it shows the controls (UP/DOWN) and not the state itself
Try```yaml
type: entities
entities:
- entity: cover.my_cover
type: sensor-entity```
post your config
also, be aware that you may have to clear your cache for that to set
you should instinctually hit ctrl+f5 after every change to your lovelace.yaml. It may not always be needed but you'll never run into caching issues.
Does anyone know anywhere that accepts svg files for upload and retrieval for use in picture elements?
you can use fontawesome integration with custom icons but the svg files will be the size of icons (you may be able to size them). Otherwise you can use custom:button-card to do something similar but make the html yourself.
What are you trying to do?
I have a floorplan of my apartment that I'd like to use as the basis for a touch screen control tab
Thought so. Then you put that in <config directory>/www/floorplan.svg and refer to it as /local/floorplan.svg in the picture-elements card configuration.
hello
I'm trying to get my central heating to work for an hour
I've managed to set a button with an automation that get it going and stops after one hour
But I'd like to have a count down timer and the color of the icon with the state
as the button is set for an automation, and not for the device, the color stays on after the automation runs
Can anyone help?
thanks
Trying to use a template within a card (via the custom:config-template-card) so that I can display a media_player device of my choosing via an input_select list, that displays in a media-control card. Is there a smarter way to do this? I simply don't want a list of my 15 media players showing, but the controls for whichever one I select in the drop down of the input_select.
Here's an alternative, though not necessarily better, way to do it: https://github.com/thomasloven/lovelace-state-switch
Having some trouble with button doing multiple actions
- type: button
entity: switch.sonnof_vestiario
action: call-service
sequence:
- service: switch.turn_on
entity: switch.sonnof_vestiario
- delay: null
duration: 5
- service: switch.turn_off
entity: switch.sonnof_vestiario
saw it on some blog
A script is the answer, yes, if you want to perform multiple actions in sequence.
right, I mistook the code on the script for the code on the button
Sounds about right
working, thank you 🙂
only missing the timer
how do I get to a lovelace entity timer to start it from a script?
You make a service call https://www.home-assistant.io/integrations/timer/#service-timerstart
has something changed in the default Map settings, now showing only a tiny pin instead of the much larger circles from before? (using dev latest)
dont suppose anyone knows whats going on with the energy graph bars in this screenshot? I have used custom layout card to try make the graphs both fit on a page without scrolling
@sacred rampart posted a code wall, it is moved here --> https://hastebin.com/inepojebed
How do I build it in such a way where either of the entities states are "on" the backdrop box shadow lights up?
Hello, I regularly have this issue that I cannot access UIs in the navigation bar (like Glances or AdGuard Gome) through my own domain.name. This is what the log says : WARNING (MainThread) [supervisor.api.ingress] No valid ingress session None
any idea of what it could be
am I missing something here, created a button card template file uploaded it to my config folder
but when I try using what I think to include it I get errors
tried button_card_templates: !include button_card_templates.yaml
templates: - button_card_templates: !include button_card_templates.yaml and many others and it does not find it or other errors (excuse the noob)
Integration error: button_card_templates - Integration 'button_card_templates' not found
Looks like you’re out putting it in configuration.yaml when it should go in ui-lovelace.yaml
How does one set a default theme to be applied to all users? I've read the documentation on service: frontend.set_theme and I used the Developer Tools to validate my code, but I don't understand where/how to save it to be applied every time HA restarts.
Would anyone be willing to help me out with Apexcharts indentation... can't seem to figure it out and keep getting
value.series[4] is not a ChartCardSeriesExternalConfig; value.series[4].graph_span is extraneous
I have pasted the yaml here https://pastebin.com/3KtSKEsk
Hi, I have a problem
how do i put data into picture 2 entities? only one entity always works for me to switch the picture https://pastebin.com/x67mRGB0
is that new? TIL
What card is that? Some cards may not have the agility to be squished without adjusting the innards.
What? No? It's as old as the http "component".
N.B. it's not authed, though. If your HA is exposed to the internet anyone can access /local without logging in.
hi Thomas, any chance you can have a look at https://github.com/thomasloven/lovelace-fold-entity-row/issues/192 ? if its not a bug, but user error, Id love to understand what/why.
I was referring to using SVGs in pictureelements
should have clarified
Oh.... I... just assumed that was possible...
Petro, you're still using dev?
Just confirmed it does work
did you also see a change in the Map cards, showing tiny pins now, instead of the bigger circles we used to see for the mapped entities?
yah
im a few days behind because zwave js2mqtt isn' t compatible with the latest build
to be sure, I ask not about the left menu Map item, but a Map card with entities like: - type: custom:auto-entities card: type: map title: Map Home card_mod: *map_header show_empty: false filter: include: - domain: person state: home
all of a sudden these maps are zoomed out much more, and the entities are reaally tiny...
yah, i see that too
and no pictures
its probably a bug or change to the map card, might be an in-between change. Have you reported it?
I don't use auto-entities, so i'ts not that.
no not yet, first ask here to see if I am alone...
~~will post ~~posted an issue: https://github.com/home-assistant/frontend/issues/10725
I’d edit that and remove your custom bits
Just regular ole map card config
just added that, thanks for preventing an issue about custom....
The energy cards, gas usage, elec usage
btw, can we still use this device_id in frontend? not exactly sure of the syntax anymore, but I need a template to show the current devices path.
Those are new, they probably don't have the ability to squeeze much vertically.
^bot no squish ?
yeah I have to as I want it to fit on a tablet, I was hoping the bars would fit ?
making it exactly 325px
fit/compress
right, see my previous commments
so if the card or whatever had the capability to be responsive then my code would be right ?
no idea what you mean by responsive
you're taking a card and changing the size. If the innards do not have the ability to "compress", then all you'll end up doing is compressing the outside while the innards stay the same size
which is what you're seeing
it's a graph and graphs are usually limited
ok, so its not a case that my code is incorrectly setting the height and the innards cant respond accordingly, but a case that innards simply dont support it
maybe ill try a swipe card or something and have the graph fill the screen.. been looking for an excuse to use a swipe card
how do I use 2 switches per image?
- entity: - switch.vchod_svetlo_garaz - switch.vchod_svetlo_vonku image: /local/vypvchodsvetlovonku.png state_image: 'off': /local/vypvchodsvetlovonku.png 'on': /local/zapvchodsvetlovonku.png
you can't, make a script and call the script from the tap action, or make a group and use the group, or make a template switch that adjusts both switches together.
need something like: {% if states('sensor.this_device') not in ['unknown','unavailable'] %} {{state_attr('sensor.this_device','path') in a jinja template for the frontend theme menu bar, see https://gist.github.com/Mariusthvdb/9069c8c4dcad6324035a679244bbfdf1#file-custom_header_template-yaml-L9
I tried to create 2 independent entities in the screens but I always only have the last entity to switch the image
it is not possible without templates or script?
hello, I don't know whats happening with my instance of home assistant, but all the friendly names that I add to entities in the frontend don't restore after a reboot.
is there a way to embed a youtube stream and also specify the height/width of the iframe? i'm having a hard time figuring out the right way to do this
I used group works properly
You need yaml homeassistant: customize: !include customize.yaml in your configuration.yaml.
I think.
homeassistant:
customize: !include customize.yaml
I have it 😕
Is there a way ro add a thick margin down the center of the grid card?
Would it be possible to create a dynamic dashboard that shows everything that's "on"
You can use Conditional Cards: https://www.home-assistant.io/lovelace/conditional/
For those you can define filters for the states that entities need to have in order to be shown there.
I previously had a sensor template with device_class: timestamp, that did just show the elapsed time in lovelace. Now with a input_datetime, I get a date but I want time elapsed. Is the best solution to format it in lovelace (couldn't find an example) or is a sensor template required/recommended for this?
the UI is very slow.. i wondering if i have too many entities.. is there a way to clean it up?
could it be the recorder sending too much to the database?
Entities Card can show relative times for timestamp sensors, so that would be an out of the box way: https://www.home-assistant.io/lovelace/entities/#format
You could check in the browser dev tools (e.g. network tab) if there is something that seems to take quite long.
they show relative as default for timestamp sensor 🙂 I need to format a input_datetime state, but I guess best way is just to create a timestamp sensor template for that.
Anyone know of a place to find a Christmas tree SVG for Mattias' a different take dashboard? I can't figure out how to add little lights that blink on
hacs custom brand icons (i know as I put it there myself).https://user-images.githubusercontent.com/87599807/140897550-3c022470-310a-4c2a-9c7d-f5e0453be02e.gif
Hello, I use custom banner-card and add some emoji icons in header but don't know how to make more space between them. Can somebody help me? I'm not any programmer and don't know any programming language.
Regards.
@calm plank Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.
Hello,
I am using Home Assistant together with the Rhasspy add-on to control HA by speech commands. I am listening for Events in HA to switch lights on or off.
Is there a chance to get the Event of the hotword detector and visualize this in the Lovelance UI?
what are you trying to post here,
use imgur instead
If you want to view events in the front end, take a look at developer tools -> events page and subscribe to the event. Otherwise you'll have to make a template sensors that use triggers to show the data in your UI, you'd have to put the data into an attribute to avoid the 255 state limit. Then display that information in a markdown card however you see fit using templates.
hello, i have a question about icons -> i wanted to add some with more than one color but i cant get behind this. it should be possible because fontawsome did it in their integration...
use font awesome integration to add your custom icons, it has a whole custom icon section and documentation
hi
I'll like for a frontend button to start a script and if is already on start another, is that possible?
With "another" you mean a 2nd different script or a second parallel instance of the same script again?
second different script
The only thing I can think off with HA vanilla (without custom elements) is to create a "main" script that checks if the first "sub" script one is already active and then based on that check calls the other "sub" one, so basically a script calling other scripts.
Then the button can just always trigger the "main" script and not care about the details.
is it possible with a custom button?
make a template switch where the state is pulled from the on/off status of the 'turn_on' script. and the turn_off script is the script you want to run only when the other is on.
then expose the template switch entity as a button in the frontend
switch:
- platform: template
switches:
my_script:
value_template: "{{ is_state('script.xyz', 'on') }}"
turn_on:
- service: script.xyz
turn_off:
- service: script.abc
Hi, I want to add space between icons:
https://imgur.com/a/pI9U2aJ
it is, so it goes in configuration.yaml
I don't believe you can, you should contact the author of that custom card.
I don't think it would work.
The switch goes to a boiler, I want to have a button to turn it on or off
and another buttun that turn the boiler on, start a timer and shuts down after one hour. if the button was already on, stops the timer and the boiler
if I do it on the switch, the 2 buttons will do the same thing
I'm having problems with light groups and making them look how I want, the manual shows what I'd like: https://www.home-assistant.io/integrations/light.group/ shows a card with all the lights individually
I created a group for some of mine:
name: Den
unique_id: 81fdc5d5-2f2a-4e6c-b33c-7fa7ff0c3fb7
entities:
- light.den_1_level_light_color_on_off
- light.den_2_level_light_color_on_off```
And added it to lovelace:
tap_action:
action: more-info
entity: light.den
hold_action:
action: toggle
But instead of showing the component lights it shows the sum: https://imgur.com/a/8BAuNSl
What am I missing?
I'm surprised that the docs show that - I wouldn't expect it to list all light.group entities
the point of grouping is typically to manage a set of entities all at once, both for status and control
Checking random blog posts it's definetly how itt worked when light groups were introduced
( https://bonani.tech/three-different-approaches-for-grouping-light-entities-in-home-assistant/ being the blog post i'm referring to)
I suppose what I can do instead is change the hold action to be to navigate to an entities card and maintain the list by hand
no they won't, switches by default only perform the opposite action based on the state. If the switch is on and you click it, it will run the turn off. If the switch is off and you click it it will turn on. So if your on script has a delay, the script itself will have an on/off state. Using that state as the template switches state will ensure that on will be on and off will be off and the state will be determined by the status of the running script.
my vision basically is 1 level of heirarchy like:
Inside
Downstairs
Den
Den 1
Den 2
Kitchen
Upstairs
Craft Room
Craft Room 1```
And have each group be able to show the components 1 level down incase i want to control a subset
fold-entity-row can do that
oh that's cool
I was thinking of just having it 1 level but that's pretty cool
Is there a collection of useful 3rd party things like that? Discoverability seems to be a problem
HACS
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out. They even have a Discord server for issues with HACS itself.
i was literally just opening my hacs to see if it was there 🙂
but was also hoping for more curated
yah it's not in my hacs frontend
pretty sure it's in the default list
you're looking in the "frontend" section?
ok if i select add a repository
then i see there's a fold-entity-row repository
i thoguht the list of cards there in 'new repository' was all of them
which means I have a bunch more things to look at 🙂
you were searching the ones that you already had installed
I can see it from your image
in the ones you've already installed
unfiltered it shows a buncvh of 'new repositories'
and I thought that was 'all repositotires'
if i scroll past those in green THEN installed ones are there without a banner header
which version of HACS are you using?
I see that your image says "Search for downloaded or new repositories" and mine says "Search for downloaded repositories", which is limited to the ones that I've already installed
i hit the dismiss button on the 'new repositories'
maybe you don't have any frontend repos installed? The page will normally just show the ones you already have installed
and now mine says 'Search for downlaoded repositories'
ah, got it
It was just my confusion over the UX that I thought that was the full list in card format
anyway, point is that you need to hit the button in the bottom right to search for and install new repos
yep 🙂
I was previously just picking them from the cards but got it
Thanks for your help... Still going to poke at this light group thing 🙂
it's behaving as I would expect, and I don't see the behavior that you're looking for at that blog llink
they declare a light group with two entities and the Lovelace view only has the name of the "Ceiling Lights" light group
Hi guys, so I have a smart z-wave power plug connected to an air conditioner and I want to see if it's on or off.
But I want to define 'on' as being 100w+ because there is a constant draw of around 50w when it's not on. Also I want to see the past 24h history of the on/off value.
I honestly have no idea how to start as I just got into home assistant, so I hope someone could guide me a little to get started.
the easiest way to do that is to create a template sensor that defines "on" and "off" as per your definition, and then a history_stats sensor that aggregates the "on" time
your template sensor would use a template like {{ states('sensor.something')|float > 100 }}
Thanks, I will do that.
or just a history card in the UI, depending on what it means to "see" the history
Awesome. I ll try the history card in the UI to see what that gives me. First ill play around with templates. Thank you, appreciate the details.
np
HI, I'm very puzzled about how to properly apply the dark theme on Lovelace. Specifically using Back End Selected. Apparently something is broken with that. I found out so far that if the theme has both dark and light the themes does not apply correctly. Anyone can confirm that behavior?
I don't think you can
dark vs. light mode has to be selected by the user in the profile
But.. there's the Auto mode... as far as I understand, the default is the ligtht.. but if tere is a Dark mode selected, the dakrk mode should be applyed
But.. if my profile seays Auto. And I set the service as Dark, it does not work
ok, I don't use themes, so hopefully someone else will know
I have this working with separate themes.. one version light, one version dark with the mode set to dark inside the theme. That way it works as expected. But if the theme has both modes it is not working properly
There should be a front end state to get the current theme and mode. That will be very useful to automations
how can I call this switch from a button?
make a button card
I have a button card, in the action I have to turn the switch on and off... right?
How do I call it from the button?
ahhh, 🙂
Hey guys, I made an oopsie while trying to add stuff to my HA installation and now the frontend is inaccessible. I can SSH in, the SMB share is up, everything else seems to be functioning just fine (observer all green). I just can't figure out why the frontend is hiding from me. I'd prefer not to have to restore a backup.
There's nothing in home-assistant.log -- how can I retrieve the correct log to figure out what's wrong?
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
- HAOS & Supervised use
ha core check - Container uses
dockercommands - Core requires you to activate the venv first
Thanks RobC, that's good to know! I did use the UI check. I think I'll submit a suggestion/request to add a 'help' command to the command line, it feels a bit dumb to have to ask such simple questions and it takes so much time going through all the documentation online.
I found the log and was able to solve the issue, cheers.
There is a ‘help’ command if you’re at an ‘ha> ‘ prompt, and you can use ‘ha help’ elsewhere, but adding a simple ‘help’ script that calls that wouldn’t be hard to add
I've tested the both scripts and they do their job
but when I toggle the switch from within a button, it only turns it on
´´
type: button
entity: switch.sonoff_caldeira
tap_action:
action: call-service
service: switch.toggle
service_data: {}
target:
entity_id: switch.my_script
´´
your value_template is wrong then
when you turn on the switch, does the switch turn on?
''
- platform: template
switches:
my_script:
value_template: "{{ is_state('script.caldeira_on_timer', 'on') }}"
turn_on:
- service: script.caldeira_on_timer
turn_off:
- service: script.caldeira_off_timer
''
yes
then it should work
with just
type: button
entity: switch.sonoff_caldeira
nothing else
it's within the switch field, I have more switches
but that won't start the timer
only turns on the boiler
then add turning on the timer in the turn_on of your template switch
turn_on and turn_off accepts mutliple services
you also technically don't need a timer if you use a script
you can just use a delay
script a: turn on boiler, 1 hour delay, turn off boiler. script b turns off script a and turns off the boiler. Then make a template switch from those 2 using script a as the state for the switch.
downside is that the script running will not survive restarts but a timer will
so if that's important keep the timer
ok then you have an automation that turns off the boiler
I've run them, and they work
So I don't se the problem then
er wait
I do
what I said before
your switch doesn't actually turn on when you turn it on
because you don't have a delay in the script
so the value_template is wrong
your value template should work based on the timer being on or off
Np
now lets mix it up again...
can I get the count down timer in the button itself?
instead of being a separate entity?
I mean, it’s possible but it’s usually really complex and the outcome is lack luster because the frontend will not update every second
right
What can I use to show an indicator that there are updates available? Is there a card/HACS integration etc that will do this?
Is it possible to create a markdown card, in which family members can add strings onto the markdown card with a text box and use it much like an message board?
Hey tempus, have a look at this https://hmas.swakes.co.uk/home-assistant-system-dashboard/
thats handy. thank you very much
had to add a script.turn_off to the stop script so it killed the start script, or it would have to wait for the delay to be over before I could run it again 😄
is there a card I can set multiple states?
summer, winter, spring and autumn?
Yah thats only needed if you use delay. If you use a timer, that's not needed
but using the timer means you have to update the value_template to use the timer as the on/off state
oh, I used delay
you can use whichever one you want
I'm not sure what you mean
I want to set a state, summer, winter, spring or autumn to decide if an automation runs or not and for how long
ah
and I'd like to set it visually
I used to have 3 switches that turned the others off
that's a season integration
not exactly that
this October, the temperature was low, but last year, in the beginning of November it was hot
just make an input_select then with items that you want, then in your script use choose based on the state of that input select
is there a sensor where I can get the min and max temperatures of today?
there's plenty of weather integrations
thanks, there's one for my country 🙂
Anyone have experience with frontend cards through HACS? I downloaded this one: https://github.com/amaximus/transmission-card It shows up in "manage resources" but I can't seem to add the card to lovelace
ok nvm there was a weird hash thing at the end of the resource url which messed with it
Hello, is someone here using a popup card together with HA Cast? I'm trying to cast my dashboard with lots of popup cards using browser mod to my Nest Hub 2 but the popups aren't working.
They won't.
Ah damn, thought it would work looking at the readme
Every now and then I make a push to make stuff work on cast too, but then something changes and it's really really annoying to debug stuff on that thing.
I can understand that! The weird thing is that when I try to cast my dashboard, a white screen appears. Then I change the URL of my dashboard, cast again and it'll work. But never directly without changing the URL of my dashboard.
@polar kelp in lovelace_gen, could a reload config service be created to just reload the config under lovelace gen without reloading the integration?
Probably. Haven't touched it in ages, but I know that's been on my list.
I don't know enough about the reloading yaml operations to know if it's possible. If it is, I might investigate it and do the work. I'm sick of my configuration being stored in jinja. requires extra effort when creating dictionaries and lists of strings
I never looked at it either, but it's a very simple configuration and data structure, so I can't imagine it couldn't be done.
For browser-mod, when one has a popup card called through a script, could someone point to what style commands I can use to make the popup window wider?
large: true
So it's yaml title: whatever large: true card: ...
Hey! Hassbot learned to accept ellipses!
And if I wanted to change the layout of cards in the popup based on screensize, is that something I could do in the layout-card? I want to have two cards side by side but on the phone they should be stacked.
Oh I may have overlooked grid mode. That might be what I need. :)
Yeah Im looking at it now... Must resist the urge to redo my entire dashboard with these new options 😅
Huh. So Im playing with popup cards - it appears that the custom:collapsable-cards messes with the grid layout when it is open. If I close it, everything returns to normal. Would I need to set the view_layout inside the collapsable card too?
Yeah I’m testing it in a normal dashboard. Using edge
Heres a better idea of what i mean: https://imgur.com/a/p3uLGec
anyone have any tips on making a momentary switch for lovelace?
i have a garage door relay but it doesn't seem to want to momentary it only wants to toggle, i'd like to have a button on my dashboard that i can click that will turn the relay on and off
i was trying do
switch.multirelay_2_2:
widget_type: switch
entity: switch.multirelay_2_2
title: My Momentary Switch
momentary: 300
in my config but i think i'm way off base
What type of card is that? You cant just go making up options that you want. Follow the documentation for the available cards. How was your switch added to Home Assistant (which integration)?
Is that a HAdashboard config?
Haven't seen that in years.
You cant just go making up options that you want.
Except in custom-button-card. There it'd probably work.
Hi Guys, Quick Question about the custom mini-graph-card. if I can. How can I Reverse a state map ? Instead of having a non numeric value up in the graph having it down ( and the other way around) and is there possibility to have more than two state_map ?
reverse the order of the list
can anyone push me in the right direction , my doorbell automation is set to TTS on my google speakers , but want to make a selector so I can set different chimes (mp3/wav) ?
Hello! Is one of you know what the "auto" mode in theme user config do ? ( I would expect some day / night switching automatically, but its not the case)
hello
I have made card and I'd like to move it inside a new one
Is it possible using the graphical editor instead of code editor?
Thanks
input_select
You can only do that with "manual card" in the UI, which is yaml.
Hi,
oh, thanks
them I have to cut and paste the code, right?
How can I secure SSL proxy witch container with Home Assistant authentification like HomeAssistant Addon ?
Lots of options. Traefik. Nginx, Swag...
This seems fairly popular https://github.com/linuxserver/docker-swag
i added it via zwave js
it's a zwave multirelay
disreguard, figured out my relay had a momentary action on it which is pretty sweeeeeet
Is there a list of breaking changes for themes in 2021.11?
Hi guys.
Ever since i started I've been managing my Dashboards with the UI and the Raw config editor.
But I've found some code I want to use which uses quite a lot of !includes and realised I can't use that with the UI.
So I've seen instead of changing it all to yaml I've seen there's a storage option as well.
Am I right in thinking if I change it to storage and define just the one dashboard I can leave all my others as UI and my existing UI dashboards won't be affected
Or am I best in the long run changing all of them to yaml.
Thanks
I trying to build a dashboard but the it doesn't expand...
it's a grid with 3 columns
why doesn't it expand to fill the page?
Click the little pencil at the top left and select Panel from the dropdown
thanks 🙂
Just make a new dashboard thats yaml mode
I thought if I changed it to yaml in my configuration it would wipe all my UI dashboards not just the one.
Cheers
That's in the UI. I'm saying Add another dashboard and make that dashboard yaml.
you can have multiple dashboards
Configuration -> Lovelace dashboards -> + Add Dashboard
I think I'm having a senior moment.
If I create a dashboard there it's just another UI dashboard isn't it?
I'm struggling to work out which method I use to change just the one dashboard but leave the others intact.
Cheers
Just add the second dashboard then make a button that navigates to it from the first. This would be "the least amount of work" for what you want to do. Otherwise you have to copy/paste into your current dashboard.
i'm trying to install https://github.com/custom-cards/surveillance-card
using HACS, if i do that via hacs do i need to install stuff to the www directory?
also, trying to install a kids friendly quote of the day on my daughter's dashboard view and i'm looking for a way to embed this.
what is the point of HACS?
I'm also having trouble installing custom card
(different error= custom element not found)
I just got my HA setup this morning and I'm just trying to get a proper roku remote interface setup
the native card that comes with the roku integration doesn't seem to have full funcionality or i just don't have it setup right
HACS gives you access to community created content. not just from the primary developers of HA
home assistant community store
downside is that it has no guarantee that it will function or that it won't break things
nor is support for said integration guaranteed
Hello. i am not sure what the best way of doing something is.
I have about 80 philips hue lights. i have grouped them in to floor 1 2 and 3. made a grid card to controll the floors. now i also wish to control each light individuality. but i dont want the 80 lights sitting on my dashboard. is there some sort of card where i can have 3 big buttons floor 1 2 and 3 and a expand option to show all the other lights.?
Hello, I've googled this problem about 20 times in the past few weeks and tried a hundred and one solutions so to speak, but I'm still having this issue.
When I login to my HA (either using my username/password or the trusted network login) and I select 'Keep me logged in'. It doesn't keep me logged in. I have to login EVERY TIME. Even when I open a new tab after logging in. I have to login again, and every time it creates a refresh token.
No matter what browser I use or what address I use to access my HA instance (directly through IP with HTTP or with a reverse proxy with HTTPS), I have to login every time. I've cleared my cache, installed new browsers, used other devices, it will not remember me.
Hello, does somebody know what command is used to open Xbox Sidebar/menu? I want to achieve same function as Xbox logo on Xbox controllers. I have tried Xbox,Menu,Select, nothing worked.. Is that even possible? (Xbox One S connected over MS servers)
It's possible to make custom cards responsive? They are not fit in smartphone or tablet when I set on laptop.
alright. someone must know. i just switched to using HA with Firefox 94 and when I try to create a blank automation in the UI, it flickers but never opens the page to edit the automation. what's the deal with Firefox and HA? Do I need to turn something on/off?
Try turning off "Enhanced Tracking Protection". The shield icon in the address bar.
I think I did and it didn’t help. I’ll try again tomorrow. Thanks!
I've been having these issues where the frontend goes unresponsive, does not load anymore browser or mobile app while the raspberry pi is still accessible via SSH. A reboot fixes the issue but I would like to find the problem and fix it because it happens every couple of days and it's pretty annoying. Looking at my /config/homeassistant.log I see these errors:
2021-12-01 19:33:06 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548166926496] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds 2021-12-01 20:00:21 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548154095312] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds 2021-12-01 20:48:06 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548126263568] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds
could these have anything to do with my problem?
I do have 2 iOS clients connecting to my HASS server and I see people are reporting similar issues on Github https://github.com/home-assistant/core/issues/26724
Hello how to add resources using yaml mode? I used to use this resources: !include_dir_merge_list ../lovelace/resources/ but now i'm getting awarning because expected "arrau"
Yes, the backend can’t keep up with all your frontend client requests.
I've seen some discussions on various older github issues where people were having similar error messages when leaving a tab open with the homeassistant dashboard. Could it be related to that? I use Chrome and sometimes I do leave tabs open and walk away from computer which may or may not be going to sleep.
🤷♂️
If you have sensors that are report heavy, it might cause problems. I leave 900 tabs open all the time however I have a fast pc running everything not a shitty pi
You should find the first error in your logs that occur prior to the repeated issues and see what that is
2021-12-01 12:31:00 ERROR (MainThread) [frontend.js.latest.202111090] https://myduckdns.duckdns.org:8123/lovelace/default_view:0:0 Uncaught 2021-12-01 13:24:17 ERROR (MainThread) [frontend.js.latest.202111090] https://myduckdns.duckdns.org:8123/lovelace/default_view:0:0 Uncaught 2021-12-01 13:25:35 ERROR (MainThread) [frontend.js.latest.202111090] https://myduckdns.duckdns.org:8123/lovelace/default_view:0:0 Uncaught 2021-12-01 19:10:16 ERROR (MainThread) [frontend.js.latest.202111090] https://myduckdns.duckdns.org:8123/lovelace/default_view:0:0 Uncaught 2021-12-01 19:10:54 ERROR (MainThread) [frontend.js.latest.202111090] https://myduckdns.duckdns.org:8123/lovelace/default_view:0:0 Uncaught 2021-12-01 19:26:06 WARNING (MainThread) [homeassistant.components.automation.fan] Fan: Already running 2021-12-01 19:26:12 WARNING (MainThread) [homeassistant.components.automation.fan] Fan: Already running 2021-12-01 19:26:17 WARNING (MainThread) [homeassistant.components.automation.fan] Fan: Already running 2021-12-01 19:26:21 WARNING (MainThread) [homeassistant.components.automation.fan] Fan: Already running 2021-12-01 19:33:06 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548166926496] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds
That fan automation has just been added and I was actually sending some manual overrides for that relay at 19:26. System was fully responsive at that time and these problems I've been having go back about 2 months ever since I’ve setup this instance of HASS.
Actually it looks like your front end can’t keep up with the backend. Most likely due to those frontend exceptions. Clear your cache and refresh the page. Next time it happens look at the errors in dev tools on chrome, f12
Same here.
It's not straight forward.
Anyone have a step by step guide to add a decent roku remote ?
hacs is to install custom integrations, front end cards, appdeamon apps, and themes
things that are not provided by home assistant
things that are provided by random people in the community
it merely installs things, it does not configure them
it tells you when you need to update these custom items
It's like the google play store or the apple app store
downloads*
yah yah yah, but they don't think like htat
the process is: Install the custom integration from hacs, then configure it through integrations. Front end cards are very similar process. Instead of configuring it through integrations, you add it as a resource. Theme's just work if you have it set up before hand. Don't worry about appdaemon apps because you don't use them.
When you know how to do it, it's easy.
But the first time..ughhh.
So it finds my roku and I can switch Chanel's but there is no visual remote to switch programs so I have to switch to the roku hand controller which is pretty pointless as I may as well have used that from the start.
Is there a beginners step by step to add a on screen roku remote ?
No because remotes are one of the hardest things to do
Look for custom integrations that do this for you or custom cards that do this for you. Otherwise you have to create scripts and buttons by hand.
The only thing I have used is turning lights on and off as it fiund my isy994i, but I could already do that with the phone anyway.
What's lovelace ?
the ui
I recommend you take a look at the documentation page
it seems like you're trying to swim before you know how to doggy paddle
watch current videos on youtube, nothing older than 6 months
Yes...it seems way complicated.
it's not. Learning something new is always challenging. If you aren't up for that, this isn't for you.
I learn stuff all the time as I have run Linux and BSD's for 20+ years.
I am just not sure I am up for another long learning process when I already have systems in place for lights and media.
I was hoping to combine and simplify, not make things more complex.
More integrated might be a better word.
you just arn't used to the pieces that do that.
Yes, I agree
you want the custom roku card. So install hacs (there's videos for that). Then download the frontend card "roku card"
through hacs
Hacs is installed
then add the card to resources
then configure the card in your UI
that's it
so you have 3 steps
- Install/download "Roku card"
- Add "Roku Card" to resources: Configuration ->Lovelace dashboards -> resources
I will take another look tonight. Have to get ready for work.
Thanks for the advice Petro.
- Add the card to your interface
step 3 will require you to read the documents on the custom card
I should be retired by now. Sucks I still have to work.
Maybe in Two years when I am 63.
Hi ho, hi ho off to work I go. 😀
Hopefully an easy and quick question on changing an icon's color. I would like to change the color to Red when my fireplace switch is on, but then use the default theme color when off
In my configuration.yaml under customize I have the following:
templates:
icon: mdi:fireplace
icon_color: >
if ( state === 'on') return 'rgb(255, 0, 0)';
return```
trying to figure out what I need to return when state != on to use the default color
@clever meteor posted a code wall, it is moved here --> https://hastebin.com/evomazakan
Hi, i'm using custom button card lovelace and want to change the icon color of my climate entity by preset_mode (eco, comfort) but it doesn’t work. I tried this:
https://www.toptal.com/developers/hastebin/onapitosop.kotlin
And get the following error:
ButtonCardJSTemplateError: SyntaxError: missing ( before condition in ?if is_state_attr(?climate.heizung_buero?, ?preset_mode?, ?comfort?) return ?orange?; if is_stat??
Some ideas ?
Thanks !
As the error states, you're using a Jinja2 template were a JavaScript template should come. It should be like <if states['climate.heizung_buero'].attributes.preset_mode == "comfort" return "orange">
Hi Everyone, So im trying to use Dwains Dashboard and starting to configure the files for it but totally confused about Areas vs rooms vs groups. also this is supposed to be auto generating but it seems like theres a lot of configuration into YAML files i will need to do no? thanks for the help
Hey, I'm trying to figure out the roku care/remote thing again
I'm glad I'm not the only one that finds it a bit complicated
I read through a bit of a tutorial on the basics of YAML so I can interpret those files a bit now (I hope)
and I know a bit of python so I can understand what's going on with those to a fair degree
I think my main crux now is that I just don't understand what the normal process of interacting with/using HA "should" be
I feel like maybe I should install in another way rather than docker
Are you trying to display the roku remote on your UI or struggling with just setting up Roku integration @dull kernel ?
It is a great looking dashboard, but requires a lot of initial setup. I believe the documentation covers your questions, and would venture that you'll likely want to create groups, but it's been a long time since I looked at it
I've integrated roku
I thought the remote that came with it should be fully functional but it isn't..
Or... it "should be" ...
and it isn't "for me"...
i'm sort of wondering whether i should run HA a different way
I have it on a docker container now... but can't use the addon store like this
The integration provides a list of service calls that can be used to control the Roku
someone said u can just run docker containers in lieu of "addons" ... I'm trying to find the container version of an ssh add on right now and can't seem to find one
Ok, so I should be able to get full remote functionality via the "vanilla" roku integration
You see remote.<roku name> in your list of entities?
To do service calls... does this mean I need to configure a yaml ? or that I need to write/edit some script (python im guessing)?
yes i do see it
let me double check, i think there are 2 roku entities
You'll have to build a remote or use a custom card, like my roku-card, to display it nicely on the frontend.
https://github.com/iantrich/roku-card
I actually don't personally use my own card and just use buttons
yes, there is a mediaplayer.MYTV and a remote.MYTV entities for roku
wait did u write that roku-card ??
yes
I just linked it above
oh shoot thanks
ok so it says to use the .js file
but i only see a ts extension
but they are sort of the same thing it seems like?
it's in the Releases, but I'd actually not use it if I were you
typescript is a "flavor" of jss?
js*
not use the roku card?
glad to talk to you by the way
Nah, just go to the Lovelace UI > Edit UI > Add Card > Manual Card
and put this in it, replacing the name of the media_player and remote
https://gist.github.com/iantrich/2a0879f27e90f6ef54f43b5f4f418b2f