#frontend-archived
1 messages · Page 151 of 1
is the lovelace file in .storage how I could save my current lovelace tabs for a fresh install?
is it possible to reload changes to binary_sensor: in configuration.yaml without restarting the server?
no youll need to restart for stuff like that
unless you set it up via Integration panel
You can reload everything at configuration > server controls and the input_* integrations (if you already added them) without a restart
yea dude
not gonna lie i was super happy for input_boolean in particular
but yea templates would be the next big thing
Yeah happy about input_* for sure
Hey all has anyone else faced a issue where there wemo no longer shows up
@keen quartz just start a new dashboardmisread. just open the raw config editor and save the yaml somewhere
anyone else notice the new slider under the media player in LL?
how do i get rid of the slider ?
Is there a way for Lovelace to display the user agent being used?
@mossy timber browser-mod
Thanks, @atomic glacier That wouldn’t work for me. I’m testing an odd rendering problem where different browsers show different results. Looking to test it with a few friends. Will just ask.
I'm not sure if this is the right channel to ask, but is anyone using the Xbox One smartglass media player from HACS?
I was hoping to get the current source image to show up in the media player card but I'm not sure how to go about doing that
the entity has a state attribute of "entity_picture" that is a url for the current source (game, app, etc) and when I click on the media player card, that picture shows up as the thumbnail
I would like to use this picture as the background of the media player card. Is this possible using a different lovelace component? Or does anyone know how to do it natively in the hacs component?
I might be missing something here. But I have made a default profile in light_profiles.csv. How do i make a switch in the front end abide by that rule?
Is this the wrong way to split up ui-lovelace.yaml so the views get separate files?
views:
- title: Home
icon: mdi:home
cards:
!include lovelace/homeview.yaml
I get an error in vscode that say it expect it as an array. So I tried add a - in front of !include, but then it seems not be able to read the file as it complain about there is no card type specified.
I just noticed in 0.108 there's a dashboard_path parameter for the cast.show_lovelace_view. However, I still can't seem to get it working.
My service data (testing in developer tools); entity_id: media_player.nest_hub dashboard_path: dwains-theme view_path: home
I can access the view I want to cast on my nest hub via https://<ha url>:8123/dwains-theme/home, yet, my nest hub shows 'Error: Unable to find a view with path home'. The home yaml file also has a path parameter; - title: {{ _d_t_trans.home.title }} icon: {{ _d_t_icons.menu_home|default('mdi:home') }} path: home panel: true
Anyone might have an idea what I'm missing?
in 0.108.2
seems the background color in the latteral frame is no more applied when changing theme
I'm trying to migrate my views from ui-lovelace to the configuration file but when I do I just get the default view. This is my code:
lovelace-yaml:
mode: yaml
title: YAML
icon: mdi:script
show_in_sidebar: true
filename: /config/lovelace_views/lovelace_system_view.yaml```
can anyone see what I'm doing wrong? I tried using !include before the /config but that made the whole config file error
will it ever be possible to get more precise trigger times in the ui? maybe hh:mm ? sometimes just having hours can be wildly misleading (assuming your just going on it visually from the top level).
or it might be called last_changed..
@viral sorrel do you mean the last time the automation was triggered? There's a last_triggered attribute with a value like this:
'2020-04-05T03:41:14.585199+00:00'
I'm talking more about how it shows in lovelace when secondary_info: last-changed is enabled
if there was an options to show it as hh:mm it would be great
Ah got it
Anyone can help me on how to reduce the image size?
- card:
entity: sensor.centralina_irrigazione
image: '${states[''sensor.centralina_irrigazione''].attributes.StatusImage}'
type: 'custom:hui-image-element'
style:
top: 45%
left: 35%
width: 5%
height: 5%
transform: translate(0%,2%)
entities:
- sensor.centralina_irrigazione
type: 'custom:config-template-card'
this doesn't seem to work...
@wheat current hi, i know it's somewhere in the docs: https://hacs.xyz/docs/publish/theme but can't find it. There's an update on my theme. It's in my git already pushed. HACS will re-scan on its own or i have to create another PR?
Cool, updated already. Dang mate you did a fantastic job with HACS 
Any help for me?
hey guys I have updated to 0.108.1 and now my media player cards for my sonos devices are unavailable. cogneato has mentioned possibly having to re-add them integrations , but I was wondering if this is something others are having to deal with.
hi all... what is the different between lovelace yaml and storage mode?
does more people have en error on HA? when i go to dnsname.duckdns.org:8123 i see a big HACS logo.... and/lovelace is not working
That's not a frontend issue, your instance is not running correctly
I get that as well sometimes during restarts.
i will reboot it again, thanks
Does Lovelace use different code to render things in Safari vs other browsers?
I think safari uses polyfills, but not completly sure
Not a clue what that means!
Same here! 🙈
I think there is a bug somewhere, which renders timestamps incorrectly in Safari.
But I’m collecting screenshots from a few friends to make sure it’s not a local issue on my devices.
Hi guys,
i‘m running 0.107.7 with duckdns.
Sometimes I‘m Getting the error „Unable to load the panel source: /api/hassio/app/entrypoint.js“
I have to restart my raspi.
And idea to solve this?
three times reboot gives the same error 😦 on booting i get error failed to start QEMU guest Aent)
You get that if the supervisor is not running corectly @cinder basin
Probably an issue with your install @sinful summit (ask in #672217570283094017/#330944238910963714) to get help
@wheat current Hm okay. I reinstalled my system yesterday behause getting this error. Without installing a Backup. But today, the error is back.
Do you know how to solve this?
no
anyone else having issues with sonos and media player cards after 0.108.1 update?
There is no errors and the breaking changes does not speak to this issue
@last compass YAML mode == you manually edit your lovelace config using the ui-lovelace.yaml file
storage mode == you use the raw config editor in the UI and/or the UI card picker
cogneato thinks I may need to re-add it, but looking to see if others are dealing with this issue as well.
@feral rivet "issues" is pretty non-descript
@muted inlet got it.. should I add lovelace setting with storeage mode? since raw config is default setting?
what do you mean?
the mini-media-player card is unavailable, no longer showing up.
I mean.. should I put lovelace setting on configuration.yaml with storage mode?
no
Thanks bro
hey guys is this a new card type: 'custom:browser-player'? I am just now seeing this since I upgraded to 0.108.1
@feral rivet make sure you have the latest version of mini-media
@feral rivet it is part of browser_mod
@mild veldt Installed: v1.7.0 not showing a new update
Is there a newer version out there?
is there a recommended way to display cover entities which also provide positional controls?
the only way to get both buttons as well as the slider seems to have an entities card with a custom-card slider row and the entity added twice?
that cant be right
my custom lovelace card definitions vanished
they are however still working
Please note that resources are not in the raw Lovelace configuration editor anymore, but in the Lovelace configuration panel.
i see
Hi all, is there a way I can have a table with rows/columns in one view?
How do I get an entity to change icon colour based on state i.e. switch: lightbulb grey for off and yellow for on?
@grim cairn use state_color in the card config
@muted inlet The crazy thing is I had it in there but VSCode complained and thus I thought it was wrong, need to ignore VSCode messages more
Which card is supposed to be used for displaying if a person is at home or not?
Sensor cards don't accept person.*entities
@grim cairn note that i said in the card config, not the entity config
@distant stag entity card
or glance, etc.
Like this:
- title: Bathroom
id: 'bathroom'
type: entities
state_color: true
entities:
- entity: switch.bathroom_light
name: Bathroom Light```
@muted inlet I believe that is correct and VSCode syntax checking is not updated with the state_color field.
I mean it works...
is there a way to make a unit in a Gauge card show as an int?
@modern plume create a template sensor
uhm yeah I guess that's an option. Kinda wish I could just set my input_number to be an int to keep things simple
Guys, when one wants to add cards to lovelace, some of them (button card, entity card) have the Entity (optional) which should be Entity (required).
Not a big issue but i thought you wanted to know
ChunkLoadError: Loading chunk 57 failed. (error: http://192.168.1.23:8123/frontend_latest/chunk.a4716173afdd33caad0d.js) I am getting this error from my conditional mini-media-player card. I am running HA0.108.2. iantrich mentioned making sure that card was updated, but currently there is no pending update for this card.
anyone know how to fix this?
🤔
All, I am trying to figure out why these custom cards aren't working after upgrading. I renamed the modules to /hacsfiles but still no luck. I tried clearing cache also... idk wtf.
what does that even mean
I'm on Docker HA image (latest), watchtower did an auto-update. Now; the Lovelace modules installed via HACS are not working in the UI.
@stark ivy what cards are you having issues with?
Example, the multi-entity-row card will not work.
I read through the forums and such and noticed that after upgrading people will have to change their modules from /community_plugins to /hacsfiles
So I went through and changed all of my modules to /hacsfiles to see if that helps, and it did not.
I have the latest HACS update I am having issues as well
ian, the version shows latest in HACS.
Generally when hacs breaks it really does, this time the entities are still showing but not being modified by the custom plugin.
Hence why I am in frontend. All my "plugins" used to be in the Lovelace yaml, now they automatically disappeared... curious if there was anything else we need to do.
@stark ivy you should have used HACS to move the modules
I would rename everything back to /community_plugins and then go to HACS -> Settings and in there you'll have the option to move to hacsfile, which will update all the references it has in its files
@feral rivet try reinstalling the card in question
There is nothing in settings about it
Will try it out again though. I am gonna revert to old versions if this doesnt work out I suppose
I reverted the card in question, and used the option in HACS to change it. Now it says the custom element doesnt exist 😮 haha
So I just noticed HACS has a pending updates sensor so I added it as a badge. Currently I don't have any pending HACS items with updates so it says zero. Is there a way to hide the badge when it is zero?
@woven jasper Is your time zone set right?
yes
my location is filled ion
current date and time
this was only a few minutes ago
yet the ending time in history is correct
hold on
all of the history ends at the incorrect time
so the time thinks it is some 2:45 am
digging the new androidtv screenshots in the media control card
@mild veldt so I reinstalled HACS and did a reinstall on the mini-media-player card and I am still having the issue where since the update I am unable to see my custom:mini-media-player cards. I have restarted HA at least 4 times this morning.
welp i give up
i'll try and get this working another day
i might just use an old pc than a pi
Does the map card's dark_mode option support templating?
Are there other ways of dynamically changing it to dark?
I don't know
@distant stag config-template-card
Since .107 I don't see triggered automations being logged. Anyone else see this? I didn't see anything in the release notes about a change here.
I see mine 🤷
ok, just me then 😦
0.107.7 here
had it since 0.107, still don't see them on 0.108.1
I'll have to do more digging
*had them gone since 0.107
@mild veldt Your module was pretty easy to set up and it does the job perfectly 👌
Finally my eyes are not burning after sunset
@humble jetty i'm on 0.108.2, no issues with triggered automations being logged
Hello! I am looking for a way to make the temperature configuration of the "thermostat" card configurable. The upper end is at 30°C per default. The documentation https://www.home-assistant.io/lovelace/thermostat/ does not mention such an option. Is there none or did I consult the wrong documentation?
And ... ""hello", this is my first post here.
get out
jk
welcome!
AFAIK an option like that doesn't exist. maybe check if your thermostat itself has a limit
or there could possibly be a custom thermostat card that has limits as an option
I am building an incubator for chicken eggs, therefore the need for high temperatures. I am using "esphome" as the integration.
Yes. My problem is: I can adjust the limits by clicking. But the nice sliders on that card are only capable to configure up to 30. SO what I need would be: Map the "right end" of the circle not to 30°C but to 40°C. Otherwise, It's much clicking the spinner.
i've gotcha. it looks like this custom card lets you adjust the upper temp: https://community.home-assistant.io/t/dual-thermostat-card/85798
i'm assuming you could just use the same thermostat for cool_entity_id and heat_entity_id
Thanks a lot for your help!
no prob! i've never used that card so YMMV
For custom cards: does it make a difference whether I use plain homassistant via Docker vs. using hass.io?
I am using it with Docker
nice, same
But I saw that some things are simpler with hass.io, but at the price of taking over the complete device
at least that was how I read it
sorta, yeah. but you could do the generic linux install to have the benefits and still have control over the host
but that's an unsupported method
tbh i've tried all four installation methods and settled on core on docker as the one for me
i wanted to learn about how the add-ons that i was using worked (NGINX, mariadb, etc.)
Well, supported, but if you don't know what you're doing you can screw it up bad
Do you know Linux, run venv, do you know docker, run docker, do you know neither, run supervised all has pros and cons
ah right, it's supported if you use Ubuntu or Debian as the host OS
Maybe I have to revisit my decision at some point 🙂 the installation method and the used distribution.
Thank you both for the valuable input, I am looking forward to give this custom card a try and more than that, I have been using HA only via the graphic capabilities and this is an excellent statring point to dive a little deeper.
By the way, esphome is awesome, building a regulator for a heated box with HA integration was a matter of several minutes (plus the soldering, of course), and my issue is only a cosmetic one. But I'll stop here as I am getting off-topic
Thanks and enjoy the weekend!
hello there i somehow deleted the default_config line in my configurations.yaml file. How can I fix this?
SSH in/use samba to add it back to your config
thank you for the response. My ssh is being denied and I was currently working on getting my samba configured because for some reason it was empty. Thats how all this started. But it was a complete accident to delete that line. I have direct access to the host. But I don't know enough to figure this out on my own.
@vapid field assuming you're running Home Assistant/Home Assistant Supervised, ask in #330944238910963714
ok thank you
I really like what DrZzs and tom_I has done with his WLED setup
I the wled native integration should be better and include the other wled settings like intensity preset and palette
In the meanwhile, is there a way to do this with the native integration manually?
https://community.home-assistant.io/t/wled-no-discovery/144196/8?u
I believe the Lovelace code for device_class: timestamp is flawed:
- It does not accept a timezone as input.
- It renders incorrectly on Safari, and only Safari.
anyone notice that the media player added to LL now shows a volume slider and a power button?
since the new 108 update?
Brief introduction at https://community.home-assistant.io/t/timestamp-timezones/181318/29?u=robdejonge. Who do I talk to about potentially raising a bug report?
@mossy timber Want to see what issues are open (or were open and are now closed)?
Check issues for the backend, issues for the UI, and issues for the documentation.
Hello
Can i use !include in the lovelace config editor to include views? Dont want to use yaml mode but still be able to easily edit the views using vscode
You can only use it in YAML mode
Hello Friends.. HAPPY EASTER! I just wanted to know if someone is familiar with layout card here? I struggle to get this working.. intents are wrong or I make something sompletely wrong
hello everyone, this morning while updating to 108.2 I noticed that the sidebar's color from my theme was not working anymore... Found that the theme propery paper-listbox-background-color has changed for sidebar-background-color
generally speaking, where to find documentation on the different properties / elements on the page, and how to theme them? The Chrome HTML inspector is not of a good help
also, I was not able to find a proper changelog highlighting this change
my home assistant sometime fail to start frontend everything works addons (i can ssh to it, browse samba, etc) but when i try to reach frontend it reads Unable to connect to Home Assistant. then it out of sudden work for like 5s and again Unable to connect to Home Assistant.
i have to do random restarts and it magically works again
theres no errors in logs
If the HA container is restarting you may be losing logs, try #330944238910963714
got it done thanks
Hi, I have weird lovelace custom cards issue. I have custom card is that is defined as resource in my configuration.yaml
now it works on my ui-lovelace.yaml
but when I created new dashboard from the frontend and tried to enter the same yaml code (using the Code editor in the UI Config)
I'm getting No card type found
and Cannot read property 'setConfig' of undefined
i don't see any errors in the logs
how can i find what is wrong?
found the issue... I copy the yaml with minus sign and this failed on my. 
What is the best way to use light.toggle in the ui?
On a card? 🤔
I am trying to get my hear around the different cards. The cards are the things like button or entity, entities?
They are all called a card?
Ok. Again sorry for being such a noob lol
https://www.home-assistant.io/lovelace/dashboards-and-views/#views is also relevant
It's fine, as long as you don't mind that I'll keep directing you to docs that cover most of this
If you want a button to turn a light on and off, then a tap_action on a Button card or a Glance card may be what you're after
Thank you. I will have a play with the glance and button cards.
anyone used the Kiosk script (https://gist.github.com/ciotlosm/1f09b330aa5bd5ea87b59f33609cc931#file-kiosk-js) ? I can't get it to show my tabs
@split granite Is it normal to get errors in the ui code editor even though it works?
Expected a value of type {entity,name,icon} | entity-id for entities.0.tap_action but received {"action":"toggle"}.
It does work though?
That may be luck, such as it defaulting to all entities of that type
So, fix the code to not throw an error
I am trying to understand what the error means but is jibberish to me.
I copied the parts from an example on the glances help page.
That is the actual code.
You have to tell it what to toggle
The example looks outdated
Actually, no, that should work. I've always made a service call though 🤷
I am trying that now to get a hold to set the brightness to 1%
Light service call
Ok. I have the toggle working which is just calling toggle. But the hold is not working
Is anything super wrong there?
ok
Isnt the service: light.turn_on the cane of the service being called by the action call_service above it?
Yes, but your arguments... they're not right 😉
They look more like a scene than a service call
Ok. I am trying to have it so that pressing it toggles the light on and off. Hold sets it to 1% brightness
Yup
action:
- service: light.turn_on
data:
entity_id: light.living_room
brightness: 255
``` from the docs for the service call
That you're using a card doesn't change the nature of the service call
hold_action:
action: call_service
service: light.turn_on
data:
entity_id: light.bathroom
brightness_pct: 1
Ah, service_data
hold_action:
action: call_service
service: light.turn_on
service_data:
entity_id: light.bathroom
brightness_pct: 1
``` (probably)
Hi everyone, looking for a way create a presence card with Life360 where is shown Location, Battery Status (if is charging the icon update for the charging icon instead of a regular battery icon). I was able to create the card with most of it but having problems with the icon for the battery. I'm a noob. Thanks.
A template sensor, with a device class of battery and a unit_of_measurement of % should cover y ou
I want a card or button to select various LED effects from an esphome controlled LED strip. any suggestions on how to approach this in HA?
I don't like the way the Light card just turns the LEDs on and off and stops whatever effect was running. I'd like it to toggle on/off but when it turns on, restore whatever effect it was doing before, or at least go to a default effect rather than just all LEDs on
That sounds ... more complex than just a card
ok, how do you suggest I approach it?
Probably snapshot the current state with a scene
You'll have to handle this with scripts, scenes, and input selects to pick the effect
And an automation
Use the input select to change the effect, the automation then handles snapshotting the current state, and setting the new effect
I don't like the way the Light card just turns the LEDs on and off and stops whatever effect was running. I'd like it to toggle on/off but when it turns on, restore whatever effect it was doing before, or at least go to a default effect rather than just all LEDs on
@manic harbor i use wled for rgbww strips
yes and wled effects within ha
i have esphome on sonoff switches, gosund plugs but for led strips wled do agreat job
wled has an native api integration with ha
@split granite Is there a built in function that double click on a button goes to full brightness?
Please don't tag to "ask" for help
It comes across poorly, and increases the odds folks will block you 😉
Just ask the question
If there is such a function, it'll be in the docs for the card
I know it seems harmless, but many of us get a stack of tags, each of which is a notification ping
Think about how you'd feel if your phone started pinging at you every few minutes - all the damn time 😉
Wouldnt be great.
@willow falcon thanks for the WLED tip. In fact I looked into it before at some point and totally forgot about it untul you reminded me
😉
hmm, i did something and now it doesn't show up in HA anymore. I changed the name of it? maybe that did it
how do i get HA to detect it again?
light.wled is marked as unavailable in developer tools
notice that the roku media player does not power on the TV when the power button is press in LL
Anyone else try it?
Also now in LL the media player card shows a volume slider. Is there a way to hide that?
@icy patrol no
hmm, i did something and now it doesn't show up in HA anymore. I changed the name of it? maybe that did it
@manic harbor delete and readd
how do I delete it?
You can try mini-media-player @icy patrol
@mild veldt Thanks. You think it will work for roku TV?
@mild veldt if the power button is not working that is a bug that should be reported
Interesting, I tried using the new feature of combo yaml \ ui editing of #frontend-archived but while adding a second view I get this after adding three sensor cards 🤔 and HA stops working overall 2020-04-11 15:33:18 ERROR (SyncWorker_21) [homeassistant.components.recorder.util] Error executing query: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/3o7r)
tinkerer. THanks for the help. I think I have it usable for now 😄
I am sure your set ups are more advanced. But for lights I now have tap as toggle. Hold will reduce brightness to 1% and double tap will turn on to full brightness.
I use anniversary module which allow to show the countdown date. However it also show more information like the age etc.. however its appear on attributes. How can I make it appear on the dashboard/card?
Can I restrict access to dashboards for certain users?
yes, make it admin only, and don't make the users admins
@wheat current s I mean like so one user can access a dashboard that is like designed for them specifically, then another user can access their dashboard, but they can't access each others, and neither of them are admins
then no, not by default, there may be custom options for it
ok
https://github.com/maykar/custom-header can do some stuff like that, from memory
Only to the header, not the dashboards (sidebar entries)
Does anyone now if there is such a thing as a CSS Style cheat sheet for HA or a guide that can show what is possible with these cards?
can someone help me get this setup? Trying to figure out where to actually put the yaml portion. Unsure if it goes in configuration.yaml or somewhere else https://github.com/jcrowegitHu8/home-assistant-icons
k thats what i figured. just wanted to make sure. then all covers will show that?
Using that, all the cover entities with _window_ in them
that was my next question, where does the window portion show?
i dont see that attribute anywhere
In the entity_id
That too uses customize_glob
whats that?
so ive used customize before, what does customize_glob do? not seeing an explanation there
# Customize entities matching a pattern customize_glob:
From the examples further down
@feral rivet handbook for most all things related https://www.w3schools.com/css/default.asp
@split granite sorry, im stupid this morning.
Any idea why its not working? Added customize_glob to my config, restarted. Changed my cover to cover.living_room_window. and uploaded the images to my local folder. But Im still just seeing the default icon
Did the state of the entity change?
yep
you ran a config check?
config validation shows good
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Show us what you did, then we don't have to guess
k one sec
this is my customize_glob
"cover.*_window_*": templates: entity_picture: > if (state === 'closed') return '/local/blinds/blinds_00.png'; if (attributes.current_position <= 10) return '/local/blinds/blinds_10.png'; if (attributes.current_position <= 20) return '/local/blinds/blinds_20.png'; if (attributes.current_position <= 30) return '/local/blinds/blinds_30.png'; if (attributes.current_position <= 40) return '/local/blinds/blinds_40.png'; if (attributes.current_position <= 50) return '/local/blinds/blinds_50.png'; if (attributes.current_position <= 60) return '/local/blinds/blinds_60.png'; if (attributes.current_position <= 70) return '/local/blinds/blinds_70.png'; if (attributes.current_position <= 80) return '/local/blinds/blinds_80.png'; if (attributes.current_position <= 90) return '/local/blinds/blinds_90.png'; return '/local/blinds/blinds_99.png';
this is my lovelace:
`entities:
- entity: cover.living_room
- entity: cover.office
- entity: cover.living_room_window
show_header_toggle: false
type: entities
`
sorry, missed the robot. i can report. what context do you need?
We need to see how that looks _in your configuration.yaml
What you posted clearly wasn't from there, or if it was was about as wrong as it gets 😉
one sec
homeassistant:
...
customize_glob:
"light.kitchen_*":
Yeah, no
?
homeassistant:
customize: !include customize.yaml
customize_glob: !include customize_glob.yaml
``` that bit is good
Oh joys, you posted all the files in one block 🤔
you want me to send you 3 seperate links?
Ah, never mind
I didn't read the whole page for those icons, and neither did you 😉
Note: My setup using custom_ui for home assistant to allow me to set all of my convering to use icon configuration.
Are you using custom_ui?
no, decided to do it a different way. How do I set a custom icon that is located in local? Think Im formatting this wrong
`type: entities
entities:
- entity: cover.living_room
icon: '/local/blinds/blinds_00.png'`
You can't
lol i guess thats my problem then
You'd need an approach like https://github.com/thomasloven/hass-fontawesome
@split granite can you give me some tips how to setup that? I'm on homeassistant event page but i don't see something about calling.
You want to be looking at the docs for your card
You'd use that to fire an event (https://www.home-assistant.io/docs/scripts/#fire-an-event)
Since 108, my left bar now has a white background and white text. I have custom CSS but any tips on targeting the new side bar styling to make it grey background and white text again?
did this happen to anyone else with a dark theme?
I think with 108.3 the themes are broken.
I'm on 108.2 still
I used to have a groups.yml that specified groups - with the latest update I got an error "view is not valid in groups" so I removed it. Now I don't see my tabs.. the page on groups configuration doesn't mention this any more: https://www.home-assistant.io/integrations/group
Tabs.... aren't a thing controlled by groups any more
That was a thing for the old UI
Views and Dashboards in Lovelace
ooh lookie there. Neat. Thanks @split granite
Are themes broken in 108.3? Should I hold off on the update?
Anyone have a good online solution for making the maps for the frontend in HASS?
I want to display the current state in my display. So I have a washer rule. Tells me when washer is done. But I would like to be able to see in the display visually the current state and how long it has been in the current state. Appreciate any advice!
I can't edit my scenes anymore. The Pencil inside the Scene Editor is grayed out
Then the scene likely doesn't have an id: needed by the editor (I guess)
Could be. I've imported them from a backup. They work tho
Yup, but the editor(s) require an id: so they can work with them
How do I ass this?
Edit them manually and add them?
Check your file system for them?
YAML files containing words from the entity_id 🤷
Well. I was dumb as always.
Just had to remove those Scenes from the Entitiys
Thanks @split granite
Is there a good way to move badges from the top, over into their own card?
-> Take control
Let me rephrase my question. :)
Maybe Copy Paste from RAW Configuration?
I'm editing ui-lovelace.yaml, are there any pretty examples of cleanly displaying badges inside a card?
Mostly looking for ideas here.
Create a Manual Card and Copy the Badge Inside it as an Entity?
Badges don't go in cards 😉
Badges are specific to the View
You can however move put any entity in a card
Entities support footers now, maybe that's what you're after? https://www.home-assistant.io/lovelace/entities/#footer
You can use those for headers too, or you can just use a Glance card
That looks like some custom card magic
Yeah, project on github hasn't been touched for a year.
How do I read the remaining time from a timer entity?
It has a remaining attribute, but that doesn't seem to be changing at all
question re 'moving' a lovelace card (via the 3 dot menu on the lovelace card) - is it possible to move to a new lovelace dashboard setup in the new Lovelace Dashboards feature? seems to only allow to move within the dashboard set its currently in? thanks in advance
Hello Folks I have being notice that the since 108 or the last 107 builds the Frontend started to became heavier
Slower?
How do I display an MQTT message from some point in recent history? I can display what the message state is right now, but I want to display a previous state. Anyone know how?
Not sure what I did wrong here on this card. I can't get the service to call. But when I do the service call in the dev tools it works.
name: rep
tap_action:
action: call-service
service: counter.increment
service_data:
entity_id: counter.tays_kb_daily_swing_total
double_tap_action:
action: call-service
service: counter.decrement
service_data:
entity_id: counter.tays_kb_daily_swing_total```
Best way to remove border from individual entities in entities card: https://imgur.com/a/lfgf0PY
@drifting horizon# you could recreate the example image you posted with custom:stack-in card containing an entities card, and a picture-elements card with state-badge elements.
the key thing being, that you can use badges in a picture-elements card
@grim cairn that doesn't look like an entities card - or if it is, are they custom entities? Usually, individual rows in an entities card wouldn't have a border by default
They are custom
I think it thus adds a border for custom cards by default
I garner I would need car modder or something similar to remove it.
you could try with custom card-mod (card-modder is now defunct). https://github.com/thomasloven/lovelace-card-mod
it can be applied to a whole card, or for entities card, you can apply styles to individual rows, not sure what styles you'd need though as I don't use the entities you're trying to change
hmmm... I think I will live with it, its more things that could break and more time on what is a subtle border
Not sure if this is frontend, template or integrations.. but i have a REST sensor that fetches a date (device_class: timestamp). And when it is presented in lovelace it is interpreting the date to text. So instead of writing 2020-04-20 it writes "In 1 week"
When clicking the sensor for more info it clearly states the actual date.. how can i get lovelace to show the date instead of text?
As usual, writing here and then searcing again for about 30 seconds, the answer is found.
https://www.home-assistant.io/lovelace/entities/
Setting format: date on the entity was the solution. 😆
Hello, how can I resize this image?
- card:
entity: sensor.centralina_irrigazione
image: '${states[''sensor.centralina_irrigazione''].attributes.StatusImage}'
type: 'custom:hui-image-element'
style:
top: 45%
left: 35%
width: 5%
height: 5%
transform: translate(0%,2%)
entities:
- sensor.centralina_irrigazione
type: 'custom:config-template-card'
The style doesn't seem to work
Hi everyone, new here. Just wanted to aks if there is some fix on the "Unable to load the panel source: /api/hassio/app/entrypoint.js" error?
That sounds like a #330944238910963714 thing
@split granite I did not posted there, because my installation was working for months, so no "installation" thing I imagine. Sorry, I am not familiar with the topic organisation here
No worries, but anything that refers to hassio or supervisor is probably best asked there
ok, thx
My dashboard is finally starting to look gut
Ngl lovelace is a godsend
I just need to figure out how to hold together a few cards that belong to one room
Possibly with like a title card kind of thing that possibly could display temperature/occupance
But I really have no inspiration 😕
@distant stag have you looked at custom:stack-in-card - it'll give you a header / title and then allow you to combine cards in horizontal and vertical stacks without borders, so they look like one customised card. https://github.com/custom-cards/stack-in-card
i put tasmota on a power switch device, but how do i now add it to HA? shouldn't it get auto discovered? currently it's not
and I can't see tasmota as an integration to manually add it
Nothing to do with the Frontend of HA though, more an #integrations-archived question 😉
@split granite 🖕
You are too fast.....
😛
That shortcut is in my history, because too many people seem to struggle finding it with Google 🤷
https://tasmota.github.io/docs/Home-Assistant/, but it's still not on topic in #frontend-archived , since the #frontend-archived can't display stuff that does not exsist
guys, i wasn't complaining you sent me the wrong link, just pointing out it seems to have moved
and thanks for letting me know its not #frontend-archived
There is a feature request section on the forum @split granite
You can find the community forum here
So I have some button cards, each representing a scene for my lights. Whats the best practice to change their colors to show which scene is active?
Scenes aren't active though...
So the method would be checking which one was ran last?
If that's possible, idk anything about scenes
Well, the problem is the moment you change anything the scene set, the scene's settings aren't current any more, so your scene ended
Makes sense
You could use the scenes to set an input select, saying which was last run
You'd need some way of setting that to a None equivalent
That's what I was thinking, but I don't think it's worth the hassle
I'll just flash the button for half a sec to indicate that the scene was activated
As far as I know, the button card's state_color only supports changing the icon's color
So if I wanted to change the background dynamically, I'd have to play around with config-template-card and the theme: option, right?
Not sure, I don't really use the UI like that
what are the small circular icons at the top of Lovelace called?
Badges
ah thank you!
Guys, i legit cannot enter spaces into the frontend. Just installed brand new Hass.io instance. Latest Chrome on Windows 10 x64. I can enter space into address bar, copy it and paste it and it works. Just pressing space on keyboard does nothing in Home Assistant text fields. Works everywhere else.
@dark dirge yes when editing automation or some configuration sections the browser process goes higher about 60% and make everything slower...
This only happens with ha page,
hello
https://www.home-assistant.io/lovelace/button/ and set a tap_action with the service call to turn off the switches
You could probably use a group to simplify that
Groups allow the user to combine multiple entities into one.
ty Tinkerer, I am way past that
my problem is a little bit more complicated
how can I add a picture to this channel?
Please use imgur or other image sharing web sites, and share the link here.
lol, ok. moment...
this is my fronted: 3D floorplan and some lights (actually only smart switches, added)
I want to implement a button: it will be an image with opacity and I want to toggle all the switches (sonoff touch T1 s) on and off
So, which bit are you stuck at?
I made 2 scripts: one for turn off all devices and one to turn on all devices
but I can't write the code for the button (image with opacity)
- entity: script.1586538341312
image: /local/btn_assets/btn_parter.png
state_filter:
'off': opacity(90%)
unavailable: opacity(40%)
style:
left: 12%
top: 75%
width: 20%
tap_action:
action: call-service
service: script.1586538406427
type: image
@blissful obsidian To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
this doesn't work as intended
🤦
EDIT your message
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
script does not have states
And... the key you're looking for is probably the one next to 1️⃣
The script will be on (running) and off (not running)
However, it'll run, and set all the lights, and then it's done (no longer running)
no ,that state is not what I want....
how can I make a global variable with a counter that holds the number of turned on devices
That sounds like a template sensor
no, that sound like a program. I can write it in other programming languages, but not in YAML for hassio
I am newbie, so I don't get this subtle hints 🙂
The following lights are on: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_lights', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
That will give a count of how many members of group.my_lights are in the state on
that is json?
Jinja
https://www.home-assistant.io/docs/automation/templating/
https://www.home-assistant.io/docs/configuration/templating/
You'll need https://www.home-assistant.io/integrations/time_date to allow the sensor to update, and https://www.home-assistant.io/integrations/template for the sensor (and obviously a group for your devices)
ok, ty Tinkerer/ give me a day to document myself and I will update my status 😄
did you see my picture with my home?
sensor:
- platform: template
sensors:
devices_on:
friendly_name: "Devices that are on"
entity_id: sensor.time
value_template: "{{ dict(states|selectattr('entity_id', 'in', state_attr('group.my_devices', 'entity_id')|list)|groupby('state'))['on']|length }}"
```I gave you the wrong template before, this should be the sensor you need
sensor.time is needed so that it updates
Hello!
I'm new in here. Love HA so far, what a great piece of software. Migrated from domoticz - waited way too long to migrate.
I have one question I fail to google an answer. Whenever I click for example a temperature sensor, I get the history graph displayed like this: https://imgur.com/a/qNklOCH
As you can see and I am sure all of you are aware, it only fills a tiny portion of the screen. This totally does not fit the general polishedness of home assistant, and I am looking for a way to get it displayed in the size it would actually deserve to be displayed.
Anyone of you went through this and would share with me how to?
Was just watching a youtube vid ( yes I know i shouldnt be doing that) and the guy adds an iframe card for his weather add-on. I dont see that option, in the UI, is it gone for good?
Which?
it's this video https://www.youtube.com/watch?v=QEtX0uboxQA&t=703s he shows the iframe at 12:19
So, you're asking if the iframe is gone for good, or the weather add-on?
sorry, yes my end goal here is to get a cool weather card on the front end. Hopefully i avoided the XY problem 🙂
All the stock cards are listed on https://www.home-assistant.io/lovelace/
there it is!
@safe mantle posted a code wall, it is moved here --> https://paste.ubuntu.com/p/46c4Mk7g4J/
~codewall @safe mantle
@safe mantle Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.
Please take the time now to review all of the rules and references in #rules.
That said, what error message?
Expected a value of type `{entity,name,icon} | entity-id
Had an update circle at the top of my overview. How do I get rid of it?
Something like:
https://www.home-assistant.io/lovelace/history-graph/
https://www.home-assistant.io/lovelace/sensor/
https://github.com/kalkih/mini-graph-card
@split granite Yeah not quite. I already use the Sensor graph in lovelace, but when I click it, the window looks as what I posted. Which looks like a relic tbh. The mini graph looks great too, but I'd like a detailed full screen graph when I click on any of those items. The graph that currently pops up is a bit underwhelming ...
even on my phone it does not fill the screen
The "more info" popup isn't a full screen thing, ever 😉
If you want bigger graphs, you need that in the UI
But would it not make sense, that when I click a sensor graph, that it actually fills the available real estate, instead of a tiny static graph?
You can find the community forum here
Feel free to raise a feature request there 😉
I find the popup is far less useful than the mini-graph-card
you make me feel like I'm the first person bringing this up 😅
I'll check out the mini-graph-card. thanks!
I don't think that that many people have cared about it
If you click the title, it takes up the full width FYI
you mean the mini-graph-card right?
ohh!!!
😂
well, that took me a seriously looong time to find out 🤦♂️
thank you!
I am now trying to install HACS, it wont show up in the integrations searchbox ...
yes I did clear my browser cache
alright, i have finally seen the big blue box about "assuming you have done the installation" 🙈
Any idea why I'm seeing the following error for my mini-graph
Cannot assign to read only property '0' of object '[object Array]'
Nevermind issue, resolved. Forgot that they moved away from the legacy community directory.
Hey guys! Anyone knowing how to change the icon of an entity? I want to convert to switch "lightning" to a "lightbulb" when I try it in the states section it disappears after a certain amount of time..
Great! Thanks a lot
Hi. I think this question belongs here. I've got several numeric values that are not being stored as numeric, thus they aren't generating graphs. How do I make an entity be stored and represented as numeric? https://snipboard.io/dYMokW.jpg
I've added unit_of_meaure into my customizations file which added the UOM but didn't change the representation.
If you look in
-> States does the entity have a unit_of_measurement attribute?
Yep. At least now it does.
Looking at the data in the SQL table, not all of the entries in the states table has a UOM, just the latest ones since I added that.
How do i force the color of a gauge in a theme
I have an automation that is tracking numeric state of wattage from an entity (an outlet). I have an automation that is changing “input select” for the entity based on several possible wattage levels on the entity. I would like to reflect the current “input select” in a front end display. Any advice would be appreciated. The line switching the input select looks like this:
- data:
entity_id: input_select.washing_machine_status
option: running
service: input_select.select_option
i'm trying to add a picture to the picture elements card but i keep getting the broken image link icon
i put the image in a folder labeled www, in my config folder
switched from JPG to png, and it worked!
I'm looking for a good looking easy to use (granpa friendly) "set your self time/day of week" card alarm clock to launch the script with the lights in the morning, any ideas ? thnks in advance
Does that show the status or allow me to select it? Resulting code looks like this:
type: entities
entities:
- entity: input_select.washingmachine_status
title: Washer Status
This is completely cosmetic, but is there a way to add a title on top of a card in lovelace?
I'm currently using vertical stacks to do this, but in some cases vertical stacks complicate things and aren't possible (for example, with the auto-entities custom card)
@tranquil nest some (most?) cards have a title built in
Yeah that's what i used to use, but they don't all have titles to to be consistent i was using the vertical stack card to add a title.
The vertical-stack card has the added bonus of placing the title above the card (i think it looks cleaner this way)
now that Lovelace supports vertical stack cards it's pretty easy to maintain, the downside is that vertical-stack cards are not supported in auto-entities custom card that i use quite often.
I have frequently come across a Hass.io panel in the left menu in tutorials/websites/docs. However my docker installation does not have that. I fail to find any documentation about it. How do i get it?
and whats the deal about it?
is there any documentation about this that I can just read through and get a clear picture about the situation i am facing here?
i tried googling multiple times and failed hard
The "situation" is that you didn't use the install method that provides that panel 😉
Home Assistant Core - #672217570283094017 - is what everybody uses
the "situation" is that there is a panel referenced in many manuals that I don't have and can't find any documentation about
#330944238910963714 (once called Hass.io) is one method of installing Core
Because it's specific to that one install method
It exists to allow you to install other software
If it's what you want, you have to use that install method
I am running ha on a NAS, docker was the recommended install method. That means I cannot use the esphome plugin? https://esphome.io/guides/getting_started_hassio.html
add-on
That's just software running in a Docker container, with a little tweaking to include in the #330944238910963714 UI
I'd assume that somebody somewhere must have done a Docker container for it 🤷
ah, alright. thank you, that info helps a lot!
I've added a glance card to show remaining toner in my printer and when I click on one it shows the percentage the last 24 hours. Can I change that to show 7 last days for instance?
You'd need something like https://www.home-assistant.io/lovelace/sensor/ instead - the more info only does 24 hours
How much ink do you use to need a 7 day monitor for it? 
I must admit I only care about order more soon and replace it now
Hardly any but that's the point. If I click Cyan there's a line at 34 % instead of showing the development over time.
Seeing that I've used 1 % the last 24 hours is pointless. But it would be cool to see how much i use in a month.
For that, you probably want to send your data to InfluxDB then
It's not stored that long?
I'm slowly moving from Domoticz to HA and in Domoticz I think logs are saved forever by default.
It's fun to see temperature history the last year
HA's own database isn't really intended for long term storage
Is this not work with lovelace?
entities:
- !include my_entities.yaml
- entity: switch.wathever
If you're using YAML mode, though probably not like that
I'd expect that you'd need to put them all in my_entities.yaml
Yes, if I only set my_entities.yaml this is working. But if I set other entities too, this is not working.
It's probably achievable, but it'll need some work testing out the formatting
entities:
!include my_entities.yaml
- entity: switch.wathever
``` maybe 🤷
I get mapping values are not allowed here in ...
Well, time to keep messing about then 🤷
I have testet so much thinks. I have no more ideas. I thought someone else have an idea.
I'm probably looking in the wrong places, but i can't find where to paste resources for lovelace.
I should not be adding them to the lovelace configuration, that gives me a popup notice about "The Lovelace config panel". But where's that?
-> Lovelace dashboards
For some reason the Resources view only shows up if you enable Advanced mode in your user profile
That's my issue, Advanced mode. I've been searching for a good two hours now. Thanks!
HA's own database isn't really intended for long term storage
@split granite I see. Is that why Logbook takes 30 seconds to load on my RPI?
Well, amongst other things, yes
entities: !include my_entities.yaml - entity: switch.wathever
@polar kelp would this be possible with lovelace_gen?
And without, with the right !include function, I think.
Can you please help me with this?
Hey guys, not sure if this is the place to ask. My intellisense in vscode is suddenly broken on my project, just stuck on loading forever. Any suggestions? Had two lit extensions running apparently.
Hello friends, I am trying to configure notification in HA config and facing the below error. Looking for help to find out what I am missing
platform: group
services:
- service: living_room_tv
data:
{ "data": {
"icon": "www/test.png"
},
"message": "Food Time...Come and Eat"
}```
That doesn't look like a card config
Did you mean to ask in #integrations-archived ?
Also, WTF with the JSON - just use YAML 😉
voluptuous.error.MultipleInvalid: required key not provided @ data['message']
#integrations-archived @drifting shell
Your question isn't related to the frontend
And try using YAML 😉
Is it possible to set Lovelace so it only displays 2 columns of cards?
Everything is too small
Change the zoom in your window
Browser zoom?
Yup
hi, I'm having issues with media_player card after adding my SonyTV (with Android TV), first, I don't see anything meaningfull in the Sources dropdown (only STREAM_NOTIFICATION:) and second, when I'm using let's say..Spotify, it does not show what is currently playing, just that Spotify is running
I installed ADB addon, because I though lack of it is causing it, but no, still the same afterwards
@solar laurel https://github.com/thomasloven/lovelace-layout-card you can set it to only one column if you'd like...
is there some way to have mqtt switches and sensors without having to restart home assistant for each and every change to those switches and sensors?
There is auto-discovery functionality
I am trying to make a new lovelace dashboard but the create button is greyed out
You problably logged in with a user without rights to do that?
#integrations-archived @short jetty (but yes MQTT discovery is the answer)
has anyone got a simple way to format the sensor.date_time output in an entity card?
I have a input_boolean shown on a entities card in lovelace. It shows a toggle button. How can I show the state (true/false) instead of the toggle button?
good evening,
I have a problem with the themes, the sidebar with all the buttons for the various screens does not take the right color, how do I solve it?
this is the theme https://github.com/RWGaMeR/itchsblogHA/blob/master/graphics/themes/DarkItchsblog.yaml and the color is this #37464f
Making the Garbage bin level indicator (Empty-Full) Do we have any standard /custom Lovelace card that will show the level empty to full in the scale of 0-100? which will depict the garbage level in the trash can
Trying to pull current temp from weather.home onto the mini-graph-card.
I can get this template to work in the Template sandbox: {{ state_attr('weather.home', 'temperature') }} but that doesn't work on the Lovelace card:
entities:
- entity: sensor.bom_[redacted]_max_temp_c_0
name: Max
- entity: sensor.bom_[redacted]_min_temp_c_0
name: Min
- entity: {{ state_attr('weather.home', 'temerature') }}
name: Current
Can someone help me with the correct templating call?
@zinc gorge you can't just use templates in LL. Some custom cards (and the markdown card) support them, but most do not. Create a template sensor and use that in the card
Thanks for explaining that @mild veldt.
I'll go in that direction 👍
- platform: template
sensors:
current_outdoor_temp:
friendly_name: "Outdoor Temperature"
unit_of_measurement: 'celcius'
value_template: "{{ state_attr('weather.home', 'temperature') }}"
That was easy. Thanks again @mild veldt
I have an entity list with a few scripts on it. Is it possible to change the icons of the scripts?
Oh, scripts work the same as entities here...
There's entities, services, and events
Subsections?
They're entities of the script domain
Like automations are entities of the automation domain
ohhhh
Or lights are entities of the light domain
I have a harmony hub setup in home assistant. Is there a way that I can have directional buttons and the device they control changes based on what activity is currently active. I was thinking that I could create a virtual switch (I don't know how to do that btw) which is turned on and off based on which activity is active (I have hue emulation setup for my harmony hub)
Using that it could determine which device I want it to be controlling
is this possible?
How can I trigger an automation with a button in lovelace?
Don't worry. I'm just calling the service
I was about to say to just move the actions to a script, but for a single service call, that's better
I'm using an automation because it has conditionsl
You do know that scripts can have conditions too 😉
How?
Let me explain what I am trying to do because there may be a better way than my way. So 2 input booleans, one it turned on when my satellite box is on and one is on when my xbox is on. I want to have a button which, depending on which input boolean is turned on, call a different service.
Templating would be the way to do that
I have never done anything with templates before. What would be the best thing to look at to learn how to do that?
https://www.home-assistant.io/docs/automation/templating/
https://www.home-assistant.io/docs/configuration/templating/
Thanks
Hey guys. Just recently switched yo yaml mode lovelace and I'm having a hard time debugging some 'unseen' issue. I have my views set-up as include_dir_merge_list and all but one are displaying properly. The last one is blank but no errors are reported anywhere. How should I approach debugging this?
How can i have a mobile app icon point directly to a lovelace UI? so my family can use it more easily than having to navigate to a specific section themselves
Depends on your mobile app...
apple
Are you asking for a shortcut to the web page, or about an actual mobile app?
Whichever, i just want to have a custom lovelace UI that i build that has a limited set of stuff so its more user friendly for less tech people in the house
Sounds like i should link to a specific URL and make an app shortcut to that
(alarm, a couple light settings, etc)
There is an #ios_and_mac-archived app - maybe that will do what you're after?
if its like the android app, it just takes provides me with the full home assistant experience
and not a narrow view
*just provides
I think you can set-up users with different views
You can limit one Dashboard to admin accounts, and another for all
sure but it still will give me everything else (the supervisor, addons i have, etc)
i don't want to show any of that stuff
(i'm assuming)
Assuming...
well thats why i'm asking 🙂
If it's a plain user it shouldn't.
ok
Try it out 😉
Hey guys. Just recently switched yo yaml mode lovelace and I'm having a hard time debugging some 'unseen' issue. I have my views set-up as include_dir_merge_list and all but one are displaying properly. The last one is blank but no errors are reported anywhere. How should I approach debugging this?
bump. this is frustrating. moved stuff from split files back to ui-lovelace.yaml still nothing. no error, view is completely blank
all works well, thanks
Anyone here know anything about the custom header?
I dont want to "disable" the sidebar, but I dont want that white bar on the side of the UI. I just want the hamburger menu to be in the left hand corner
I'm wondering how to change the color of the icon in the standard light light lovelace card?
Crap and now I am trying to make new lovelace dashboards and it caps me out at 2
Is anyone using areas for anything? are they useful at all?
No, and 🤷
In theory you can use them to turn on/off all lights/switches in an area
kinda how it looked to me.
Yeah I dont use areas for anything they are kinda useless unless you like to keep everythiung clean
There was discussion about using areas to format the auto-generated UI, don't know if that happened though
I don't even use the UI much I mean I have buttons of certain things in case I need them and I have some stuff in there I need to make some physical buttons and stuff for but, I try to not have to pull out my phone open an app and navigate to something if I can help it.
I use the UI on tablets on stands around my house
But other question, I try to make more than 2 lovelacd UI's and it wont let me
Anyone know why? Ive looked it upo and cant find anything
I have 3 lovelace UIs so not at all sure what the problem would be
@split granite thanks for posting that link. I just got a pi touchscreen and PoE hat and working on making a touch specific UI before I mount it on my wall. That custom header has the exact features I came to ask about
Tinkerer is away for 58m 16s with a message :point_right: Boldly going ... or not going 🤔
Hi, is there a way to prevent the icon to turn orange and stay blue no matter the state of the switch?
hi, i play around with auto-entities and was able to filter the plex media players. and they are shown as entities(i set card: entities). i wonder if there is a way to get them shown as media-control?
Hey all, I have my TV set up as a dlna media player. I have a mini media player card for it that has a volume slider, is there any way to have the same slider on a separate card away from the media player
You could link an input_number to an automation to control the volume, and vice versa
The examples on https://www.home-assistant.io/integrations/input_number show how to do that linking
Ok so I think I get it, I can set the volume with media_player.volume set with a range of 0-1, 0 being mute and 1 being max at 100. Do you know how I can make for example 0.25 = volume 25
Multiply by 100
I would assume a x100 thing
Oh. You can't change what the service call uses
but you can make the input number between 0 and 100 and divide by 100 in the service call
(that's what i do)
shia labeouf magic gif here
Hi folks, i have configured a MQTT Ligth with effects. I've added it to Lovelace but I can't set up effects until the ligth is on. I would like to power-on the ligth with an effect. How can I achieve that?
Can anymore point me to an automation example with maths in it?
That's just the way it works
@split granite Why "hide" effect selection when light is Off? At least we should have a way to select a default effect
You can't
If you want it to be different, feel free to submit a PR (pull request) providing that functionality 😉
If you want it to be different, feel free to submit a PR (pull request) providing that functionality 😉
@split granite I've already taken a look toschema_template.pythat shouldn't be so difficult. I just want to know if it make sense at all, not only MY use case
~irc @vapid field
@wild topaz Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
bloop
Yes, it makes sense, but I suspect it's not done because only a handful of integrations actually support it (the devices themselves)
One size fits all makes it less confusing for end users
Sorry for the @, kinda new to discord
yes, i've also seen different functionnal level between schema (basic|json|template)
No worries, it just gets old fast 😉
@Tinkerer
@muted inlet I guess the float bit does the maths?
| float converts the input_number state from a string to a floating-point number
all states are stored as strings, so you need to convert to a number before doing math
Ok thanks not sure I get it just yet but I will have try see if I can work it out, thanks for your help, really appreciate it
oh, this is the part i was talking about: {{ states('input_number.white_noise_vol') | int / 100 }} (line 156)
| int converts the state from a string to an integer, then that value is divided by 100
Perfect I'll give it a try, thanks
Is there a way to get the TV to report back to HA? I guess it's a limitation of the TV? Just checking I haven't missed something obvious
i suppose it depends on the TV, but it should... #integrations-archived for more
Did I miss something or did Thomas Loven archive all of his lovelace plugins?
Hello, HA is flooding my network with MDNS packages, anyone can help?
Doesn't sound like a #frontend-archived thing 😉
If you're running Supervised/Hass.io (have add-ons or a Supervisor panel) try #330944238910963714
Otherwise #672217570283094017
👍
I am using the picture elements card for my foscam with pan. I used the example picutre elements lovelace on the home assistant website. What I can't figure out is, to get the camera view to go to larger view when I can click on it.
What do I add to the .yaml with false to make an icon disappear?
show_icon: false i found it . Yay me
i updated my HA after a long while and no longer have my theme i had on it. is there a link to a new page of how to set them up? or a place that has some premade ones?
@bitter compass Have a look at https://github.com/hacs/integration you can install it as an integration from your HA configuration page. It's basically the best thing since sliced bread (for custom cards, custom integrations and themes anyway).
@lofty summit thanks. ill look into it tonight. been a while since i have messed with my setup and have a bunch of things to reconfigure since latest update changed a good bit of things.
Good luck. HACS basically makes installing and updating custom stuff super easy.
now to scrub out all the cobwebs of installation and my logins
cant i login winSCP via my username? or no? looks like i had it saved as root/somepwdicantremember but cant connect in. can i make a new admin user to access this via ftp?
@bitter compass are you working on a Raspberry Pi, or what device?
There are no shortage of guides on line mate. Search: Forgot Raspberry Pi password
I'll take a look, a while back I had forgotten and had to do a full reset
no need to reset
The Pi is not encrypted (is that even an option yet?)
so you can mount the SD card and make changes
Not strange. You set the password after all :p
I may have to go see if I wrote it down somewhere. Might have. I have far too many passwords of late
If you have more questions, it would be better placed in the #330944238910963714 channel too. Surely they deal with this a lot more than #frontend-archived. If you can't remember the pass!
I was really wondering more about themes in here. I'll get that install figured out tomorrow
👍
hi! is there a way to force a specific view of the history graph? It stubbornly displays temperature and humidity as bars, despite these entities having unit_of_measurement defined
what's the best dark theme for the front end?
@sullen stream depends on what accent color you like 😉 ...all of my 12 themes are dark and coded to intertwine, but can be used individually, so basically, only the main accent color changes...all of them are here: https://github.com/Dino-Tech/Home-Assistant-Main/blob/master/packages/theme_control.yaml
is there a built in way to get tiles instead of lists to show statuses?
or a recommended repo to add to get them?
@sullen stream Slate Theme looks pretty good to me
uhm..was androidtv media_player broken in latest update?
Hello, is the home assistant auth token service verifying the originating IP address? When I login using the android app at home it works.. the moment I move to 4g the app can no longer get a refresh token
Great for people who have different URLs internally and externally who don't know how to configure DNS but a bit of an issue when you have it setup to the same address on both sides of the network for ease of use
Ok this issue only appears to be relevant to the Android app, not iOS. I will ask them what's broken. Thanks for listening to my ted talk
i have a problem, since i upgraded to 0.108.4, my theme is doing weird... https://imgur.com/4mV3Rc6
this is my theme code: http://txt.do/1lj8w
Hi everyone... I don't understand why my hassio instance does not let me in... Always connection refused... Any idea?
#330944238910963714 would be a good place to go for help
Hi all.. Ran into a problem with the sidebar. Created two accounts for my kids, with a custom lovelace dash as default. They don't have access to the other lovelace dashes. Turns out in the sidebar they can still use logbook and history which shows stats for almost everything. How can I hide those for normal users?
Problem is, I'm divorced, want the kids to be able to control alarm and lighting scenes, but don't want my ex to be able to use their phones to see other stats
So I was really happy to see the multiple dashboards and the ability to differentiate between user types, but didn't foresee this. Someone knows of a way to work around this, or tell me if I'm missing something?
Haven't done it myself @fiery pulsar , but looks like you can hide the History easily enough: https://www.home-assistant.io/integrations/history/
I just upgraded my Hass.io instance from 0.107.x to 0.108.4 and now the front-end just says "Loading data". I've rebooted the RPi, checked logs and done what I can, but no success.
Does anyone have any ideas?
Nah, that is about hiding entities @zinc gorge, I was wondering if it is possible to hide the entry in the panel for specific users
#330944238910963714 would likely be the best place to ask @strange sundial
Thanks
Has anyone managed to make a scheduler to turn on/off lights via frontend?
The way I did it was using input booleans for each light, input booleans for each day and datetime for setting up hour. I then use nodered to compare the current time with datatime and automate things
Obviously is not efficient and I can't make more then one scene, unless I make more input booleans
There's an AppDaemon thing called something like Schedy, for heating
Interesting
But, light scheduler like that I've not heard of
I'd personally tackle that with light sensors and simply turn on the lights when the room gets too dark/off when it's bright enough
(indeed, that is how I tackle it)
I understand
I'm thinking of a way to a newbie user be able to change that on the go
Light sensor, and an input number for the level
Someone who just uses the app to turn on off things
So... move to smart switches 😉
Then people can control things the way they're used to, and you can build in logic around that to avoid annoying them
Anyone know of any good dark themes? I've been using one called 'Dark Green' but it's poorly made and doesn't work with some pages like love lace configuration page.
Does anyone know why my rest sensor for fully kiosk browser only works when my router has internet plugged in? My HA is always offline unless i have to update, and that's the only time it works??? I've been looking everywhere for answers, but nothing.
Yea its http:192.168.42.25:2323/?command
@glass marlin posted a code wall, it is moved here --> https://paste.ubuntu.com/p/HpMnB7zP3D/
2020-04-15 17:10:20 ERROR (SyncWorker_6) [homeassistant.components.rest.sensor] Error fetching data: http://192.168.42.25:2323/?cmd=deviceInfo&type=json&password=test1234 failed with HTTPConnectionPool(host='192.168.42.25', port=2323): Read timed out. (read timeout=10)
What's in the log (file) when that tries to update?
Just that timeout?
Is your HA system using the same IP range (192.168.42.x)
@flat nacelle ibid. Infact I dont know exactly why but I do now have an image and the camera buttons work but like you no way to enlarge from lovelace
@split granite Shopping lists get stored in .shopping_list.json in the config folder, not .storage
nice to know...
Hey guys.. anyway so that when connecting to the samba share for HA; it does not always prompt to login?
i have this in the samba addin
allow_hosts:
- 192.168.2.1/24
Interesting: I got the replacement States page to appear in 0.108 with this config from the Dashboards and Views docs :
dashboards:
lovelace-generated: # Needs to contain a hyphen (-)
mode: yaml
filename: notexist.yaml
title: Generated```
Is there any way to have the page alphabetize or otherwise control the sequence of badged entities?
The display appears somewhat random in layout among domains and lesser keys
(I took a leap and didn't create a notexist.yaml file. Should I have? What would be in it? Particularly if it doesn't exist
)
Schrodingers's file?
Hey
So im using a pi 2
and when i click on any entity to see the history, the page become unresponsive
But on the mobile app, it works fine
What could be happening here?
Schrodinger strikes again 😆
(it both exists and doesn't exists at the same time). Sorry , no help here for Rasp2...
Do Rasp2 still exist? Maybe not....
hey guys
I have a mqtt camera that I use for stills
is there a way in lovelace
when I click on the picture I get a full page picture?
using the picture-entity card
I'm more into automation. Maybe look into some of the "hacs" custom cards/plugins?
yeah, but the card has actions
just I don't which one is 'make it bigger and let me look closer'
Any idea why I can't access lovelace since updating hass?
but no description of what hte actions do?
@lime glacier check out custom:button-card. may have more insights on actions. Long discourse to look through.
What update v from what v
k, cool
Try restarting again,- not too soon if you have zwave.
YOu may also need to migrate your resources.yaml reference to config.yaml. see release notes
so, yam;l mode or internal?
step back
just rebooted machine, persists. I'll check the notes.
Your ui-lovelace.yaml file should still work and display tabs in - 0.107-0.108. Mine did. However, any "resources" from custom ... shall be included in configuraton.yaml now. Look through 107 release notes.
Now that multiple dashboards can be created, resources are moved up under lovelace: in configuration.yaml
maybe, maybe not your issue:
Don't see ui-lovelace.yaml
NA if you're not using yaml mode for lovelace: Sorry.
wow, the entity-filter card lets me filter states on a per-entity basis! that is awesome!!
hi
I broke my frontend somehow
// again
I set it up behind a reverse proxy server
and it does not give me a yaml error
but instead some undecipherable python
File "aiohttp_http_parser.pyx", line 523 in iohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: Invalid HTTP method
pls hulp
http:
server_port: 8123
base_url: https://homeassistant.leander.media
use_x_forwarded_for: true
trusted_proxies:
- 10.10.80.10
adding this to my configuration.yaml makes my core completely unbootable
I am using nginx as a reverse proxy and ssl management on a different host in my network
and i can't seem to get it to work, no matter what I do
it spits out a 20k line output of pretty much garbled nonsense
that magically fixes itself once i restore configuration.yaml to a state without use_x_forwarded_for:
I am really at a loss of what to do
the internet does not seem to have any clear answers either
Hey guys. I’m getting really frustrated with custom element doesn’t exist since 107
Reverted back to 106 a few times but figured I’d give it another go now
I’ve tried finding the info, installing the preloader etc but no luck
If I press “add Lovelace card” where it populates samples, the cards load correctly
But otherwise it complains about picture-elements card
carefully
There is only usage instructions not installations
Tyvm

