#frontend-archived
1 messages · Page 14 of 1
Thanks, I’ll do some research on that and see if I can figure that out. Thanks for leading me in the right direction
Is this a frontend issue or a “Helper” bug? Also, where would I report it?
When I put a timer from the “helper” into the Lovelace, sometimes it says “Active” sometimes it gives the duration of how long there is left; how can I make it so it always shows the duration?
I have created an automation within Node Red that triggers the timer helper to start counting, and I need to see the duration on the Lovelace as it counts down.
Sometimes when it triggers it shows and sometimes it just says “active”, there is no option to toggle from duration to active or visa versa.
Hey! Should there be any options for unit when I open the settings for my standard MET weather sensor? There are no options there.
Stream Deck integration: My Denon AVR has a entity volume_mute, but I can't figure out how to get it to working in there. I think I need to work with Service data, but I don't know what to add there.
I've got the Stream Deck Home Assistant plugin installed and setup so that I can for example, turn off the light and see entity value. But I have no idea how to get that volume_mute to work.
is there a way to show line graph history as vertical bars instead?
like, quantized by minute or something?
this is for numerical data
i'd rather see this as vertical lines, not jagged slopes
A statistics graph card can do that
I think it can do 5 minute intervals
hmm. i'd prefer 1 minute but let me check it out.
anyone know where to get an RGB Lightstripe colour light object for sweet home 3D ? like this:
hi, got a strange fault. My layout-card, set to "grid" doesent work right: the vertical stack dosent match the heights of the other cards. How to set it to the same level?
🙂
Anybody have a nice weather dashboard they want to share?
I just setup openweathermap integration and am, working on a dashboard.
second question: is there a way to make a double wide card?
here is my mobile weather dashboard.
nice. Did you just do a webpage card for the map?
type: vertical-stack
cards:
- type: custom:sun-card
- type: custom:weather-card
entity: weather.openweathermap
number_of_forecasts: '7' - type: iframe
url: >-
https://embed.windy.com/embed2.html?lat=56.750&lon=-111.483&detailLat=56.750&detailLon=-111.483&width=650&height=450&zoom=5&level=surface&overlay=rain&product=ecmwf&menu=&message=true&marker=true&calendar=now&pressure=true&type=map&location=coordinates&detail=&metricWind=km%2Fh&metricTemp=°C&radarRange=-1
aspect_ratio: 120%
i cannot select sum or state here, which is what i want
they are "greyed" out
maybe that means that measurement isn't available for the chosen entity?
anyone here know layout-card ?
having issues
i want to move the "fireplace" button to the right of thermostat card
@unkempt kernel I converted your message into a file since it's above 15 lines :+1:
trying to make it look like this
would have been more appropriate with the whole card-code, and grid-template-columns: auto 30px 25% , doesn't seems right with 2 columns
umm... that wont work.
A through E are a horizontal stack of mushroom-template-cards.
I only want to edit the line wiht F &G
do you need a stack ?
with grid layout u can often create flat layout without going deep with those stacks
anyway you can just use last 2 cards
but it might be harder to pixel-perfect align with existing cards
layout card needs better documentation
I did not add it in the example, but layout-card when stacked needs often needs margins removed to align visually well
when it's a card, not main layout
That link is for fixing it.
i noticed it was an edit link.
i dont think the person asking for help is the best person to add examples
This reminds me... have you considered adding card_margin: option to work with grid-layout as well (it currently doesn't)?
This was requested and even a pull request was added
it would be nice to modify cards spacing using only grid-gap: param
try toggling fill container option on Fireplace card
fixed fireplace first by removing decimal
now the opposite
trying to set height for thermostat card via layout-card options
- type: custom:simple-thermostat
entity: climate.thermostat
header: false
decimals: false
layout:
step: row
control: false
view_layout:
grid-column: auto / span 4
layout:
height: 300
the thermostat card shrunk a bit? ok i did not expected this
that thing you just posted isn't a valid yaml
when i removed the decimal on temp, it moved the MINUS button back to normal place
it has 2x layout: param
??
my current code
thermostat : show header
fireplace : fill container
this works.
thermostat is a bit chunky, but it works
you didn't had to add title, on the themostat, just use padding
would love an example
I see you already fixed thermostat height
fixed by adding "thermostat" header
not perfect
If u have card_mod installed just add to the card:
card_mod:
style: |
ha-card { height: 100% }
finally add the negative margin around layout card
layout:
grid-template-columns: repeat(5, 1fr)
margin: '-4px -4px -8px' # not perfect solution, but should work
..to align it with the rest of your layout
my next annoyance...
template card : icon color
if i use the "light color" to set icon color, the background circle vanishes
icon_color: >-
{% if is_state('light.living_room_lights', 'on') %}
{{ state_attr("light.living_room_lights", "rgb_color")[0] }} {{
state_attr("light.living_room_lights", "rgb_color")[1] }} {{
state_attr("light.living_room_lights", "rgb_color")[2] }}
{% endif %}
where
icon_color: >-
{% if is_state('light.living_room_lights', 'on') %}
orange
{% endif %}
results in this
only 4 of 15 rooms have color lights, so it gets inconsistant if there is a circle or not
probably because the color values needs to be separated by comma
anyway I'm gonna head out to eat something, good luck 😉
thanks for all your help!
tried adding commas
{% if is_state('light.living_room_lights', 'on') %}
{{ state_attr("light.living_room_lights", "rgb_color")[0] }}, {{ state_attr("light.living_room_lights", "rgb_color")[1] }}, {{ state_attr("light.living_room_lights", "rgb_color")[2] }}
{% endif %}
color goes away
Question. I was adding a sidebar card to one of my dashboards. I was pasting the code and accidentally included "hidetopmenu". As a result, I can't access the edit button. How can I access the code again to remove this line?
removed the commas...
now it works
WTF?
ok...
removing 1 comma fixes
lol
{% if is_state('light.living_room_lights', 'on') %}
{{ state_attr("light.living_room_lights", "rgb_color")[0] }} {{ state_attr("light.living_room_lights", "rgb_color")[1] }}, {{ state_attr("light.living_room_lights", "rgb_color")[2] }}
{% endif %}
oh, ik what's wrong just dunno how to fix it 😉
file editor > home assistant config folder > .storage folder
file : lovelace
the value from template is converted into array for some reason
all fixed
rgb 0 NO-COMMA rgb 1 COMMA rgb 2
worked
o.o
cick the 3 dots , in top right corner, edit, click again " raw-config-editor
i dont think he has the 3 dots anymore
that is supprising, I did not expect it to work without comma
feels like a bug
but where? lol, stacks upon stacks of nested cards/addons
the problem is the automatic value conversion in backend templates
icon_color: 250, 0, 0 # this is red color (in Mushroom card)
vs
icon_color: |
{{ "250, 0, 0" }} # no longer a color, because it was returned as array of value not string
so... I see people putting templates into dashbaord cards... how do I do this?
I want a card that outputs a string based on a sensor value...
{% if is_state('sensor.openweathermap_uv_index', "unavailable") -%}
UV Index is unavailable.
{% elif states('sensor.openweathermap_uv_index') | int >= 5 -%}
The UV Index is high, wear sunscreen!
{%- else -%}
Use your judgement.
{%- endif %}
But I have no idea how to add this to the dashboard
HACS > frontend > mushroom cards
after installed, you want "mushroom-tempate"
@unkempt kernel I converted your message into a file since it's above 15 lines :+1:
conditional cards can be fun too
type: conditional
conditions:
- entity: vacuum.bitch_vac
state_not: docked
card:
type: custom:vacuum-card
entity: vacuum.bitch_vac
map: camera.bitch_vac_cleaning_map
only shows card if bitchvac is not docked
type: conditional
conditions:
- entity: alarm_control_panel.system
state: triggered
card:
type: alarm-panel
states:
- arm_home
- arm_away
entity: alarm_control_panel.system
show alarm panel when armed
you can wrap your UV-tempate card in a condition, so it only shows when above a threashold
nice vacuum name... lol
i laughed my ass off when google said it back to me that first day
starting bitchvac
Template Sensor for low Batteries
Thanks for all the tips everyone. My weather dash (as of now)... I'll be playing around with the mushroom cards now.
windy is nice, eh?
yeah, I like the view it gives, although, interacting with it seems... sketchy - as in... doesn't navigate as I'd expect
yeah not designed for this,,, but great site
agreed. 🙂 Thanks!
@sick lichen I converted your message into a file since it's above 15 lines :+1:
Hello all...
I want to display the values of two sensors side by side in my picture elements card
in the moment I am doing this by using two state-label`s with different "left" position
is there any possibility to do this with one state label?
entity: sensor.solar_ac_leistung
style:
top: 1.4%
left: 29%
- type: state-label
entity: sensor.zaehler_og_leist_og
style:
top: 1.4%
left: 70%```
Hello, how can i change the radius of the “home” zone if the name of the zone has been changed?
To all those who helped me with my dashboard questions earlier... this is where I landed using mushroom cards and templates... I like it a lot. Thanks!
title: Home
icon: mdi:home
path: home
type: custom:dwains-dashboard-layout
cards:
- type: custom:homepage-card
what am I doing wrong, i'm trying to setup dwain's dashboard
Hey 🙂 Can you please help me on how to install custom lovelace card? I'm all stupid now 😉 Trying to install this: https://github.com/Yevgenium/weather-chart-card - I've installed it via HACS but doesnt work. I still get a message that "custom element does not exist: weather-card-chart" 😦 Any idea?
the thing is that I had this running but stated to have issues with it and wanted to reinstall. Now its all f..up 🙂
Have you read the page? Where does it say to install via HACS?
Is that the exact error message you're getting?
If so, try type: custom:weather-chard-card instead of type: custom:weather-card-chart.
Question, in particular about Input Number, back in 2022 we were able to switch between sliders and box in the frontend and we also had the ability to set the initial and steps.
Why was this removed from the frontend and is this something that will be coming back?
I find it extremely tedious to having to add the different types in configuration.yaml, when it was possible to do in the frontend before.
Reinstalling this card will most likely not help you, as it's not maintained (look at latest commits)
You mean this?
Ah. I see. Go to your profile settings (bottom left) and enable Advanced Mode.
Thanks, I had it enabled before, it must have been disabled at some point 🤦
I now see it as it should be 😅
Thanks again
you're spot on! I'm an idiot and need to learn how to read. I had a typo of "chart-cart" vs "cart-chart". Although... that was old config and I only reinstalled it. Whatever it works now! Thanks 🙂
suddenly notice device_trackers listed with their name doubled:
even though the device is named only once.... anyone seeing that too?
Hi not sure if I'm in the right channel, new on Home Assistant so any help would really be really appreciated.
I have a water heater that I can turn on and off in the Home Assistant UI. If I want to make a graph in the UI that shows 1 or 0 depending on when the water heater is on and off, how can I do that ?
My first thought is using the log book since it records when the water heater is on and off but I'm not sure how to read informations from the log book to a graph...
If a graph is too difficult, something that simply shows when the water heater is on and off would be nice
@proven nest I converted your message into a file since it's above 15 lines :+1:
See the History Graph Card for that.
hey guys, i'm struggling with using the mini media player and card mod - i just cannot get my head around how card mod is meant to work and how to navigate it
i'm trying to make these icons bigger so they're easier to press on my phone
this is all i've got for my card mod so far, which is making the height good, but i can't figure out the final step to make it also increase the icon size
style:
mmp-shortcuts:
$: |
mmp-button {
height: 90px;
}```
if anyone could help, that'd be appreciated!
i did find where it needs to go (see picture) but i can't for the life of me figure out how to tell card mod where it lives
This is the most simple card-mod i have ( the others are more "complex" )
card_mod:
style: |
ha-card div.overlay-strip{
box-shadow: none;
font-size: 10.5px;
margin: -25px 0px 0px 0px;
background: rgba(0,0,0,0.0);
}
:host {
--banner-card-entity-value-size: 12px;
--banner-card-spacing: 4px;
}
Ah good stuff. Don't have any thoughts about how put each battery status on a new line?
What ?, you want 3 lines per entity ?
I only have 1x entity which displays all the battery status' under a certain value. I would like a status per line.
1 entity (2 lines ... Name | Value) <> per | 1 row | , unless you want both entity-name and value on same line ... what is "per line" in your "view" ?
As you can see ideally I would like each battery level item to be in a list like it is in this conditional card
ok, yes seems like you need a vertical-stack, or whatever card with that structure ( maybe entities-card ), or battery-state.card ( with exclude etc. ...NOT a "Horizontal" banner-card, with Rows(columns), or flex-table-card ( if you have 1 "template-sensor" with all the entities ) you have to think what you actually can use for type of card
if you have an entity that already has the list, maybe markdown card
I have a Markdown Card that lists the batteries in a nice list as per the second image but it's less colourful. I'll have to experiment with formatting in the markdown 'content' box.
As TimO mention, you have apparently 1 sensor you want to use for this purpose, which limits you, OR make life more complicated, Most likely are all these sensor/values attributes, so you could also use templating to place them in more optional cards, picky work, autoe-entities an conditional cards you can also make as colorful as you like with card-mod ( i don't know your reasons, but i would ditch that sensor"
Right, it's html/templating, which implies CCS 🙂
Does anyone know how I can enable the default popups (Like this screenshot) to appear on hold of a custom:button-card card?
presumably this, from the docs:
Yeah I know that much, however I am unsure about what should be inside that action
the link there points you here: https://github.com/custom-cards/button-card#Action
Well yes, but what there will make that standard popup appear?
hold_action:
action: more-info
this is one of the examples in the docs:
- type: 'custom:button-card'
entity: light.living_room_lights
icon: mdi:sofa
color: auto
tap_action:
action: more-info
you want hold_action:
oh yeah that works. Thank you!
Well... that's kind of neat... ```yaml
type: gauge
entity: sensor.0x00178801086c6fed_battery
segments:
- from: 0
color: var(--gauge-gradient)
needle: true
card_mod:
style: >
:host { --gauge-gradient: url("data:image/svg+xml,%3Csvg
xmlns='http://www.w3.org/2000/svg' width='100'
height='100'%3E%3Cdefs%3E%3ClinearGradient id='linear' x1='0%25' y1='0%25'
x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='red'/%3E%3Cstop
offset='50%25' stop-color='yellow'/%3E%3Cstop offset='100%25'
stop-color='green'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E#linear"); }```
Without knowing the specifics of card_mod, anything stopping that from being a pure CSS gradient rather than an SVG embed?
The bar of the gauge card is an SVG line which doesn't accept CSS gradients as a stroke color.
Ah.
How do you handle sensors that use a battery that reports voltage instead of percentage? I'd like to convert it to a percentage somehow.
with collated enough long term statistics You can observe the voltage when device "dies" (stops responding) and the voltage of fully new/fully charged battery as reference points. Based on that it should be possible to create (e.g. template or compensation integr.) battery sensor.
possibly a simple question, possibly not, but is there a way to have a history graph card show a time period like "today", vs. "last 24 hours" -- i.e., show 1 hour at 1am, 2 hours at 2am, 8 hours at 8am, 12 at noon, so on?
I suspect I could do something batty like have 24 conditional cards in a row but that seems... non-ideal, obviously
this might what you need? https://community.home-assistant.io/t/new-interactive-history-explorer-custom-card/369450/706
Thank you for sharing! This card looks interesting 🙂
@chrome river Suggested using an entities-card to display your battery levels. I use custom:battery-state-card to display battery levels under 50% and another that show entities that are unavailable (maybe dead battery).
@tribal galleon I converted your message into a file since it's above 15 lines :+1:
Hi 👋 I have a dashboard and would like to share only the dashboard (no navigation menu etc.) with readonly access to a few people - preferably without creating an user account for them. How can this be achieved?
there is a kiosk mode addon for hacs, but you need at least a normal user account for that
I will have a look at this. Thank you, @opal geyser
So you are telling me to play the long game on this one? 😂
it's how battery % is usually estimated - based on voltage dropping as battery discharges.
This is usually done by manufacturer and it's rare not to provide charging level info.
I would investigate if it's really the case (manufacturer's fault, or integration not exposing the right entity).
Otherwise creating entity yourself is always an option
(albeit pain in the butt especially to calibrate % formula to scale somewhat linear)
It's 2 ecowitt weather sensors that are reporting the voltage so maybe it's just how they report.
Why would a mini graph card show up on my desktop but when viewed on my phone app, it says "custom element doesn't exist: mini-graph-card
without connecting devtools console to it - it's up to speculation
but it's always worth to try force close + clear app cache
not guaranteed to solve anything but it's fast 😉
Has anybody come up with a 5-speed fan lovelace card?
Hey folks! I've got a 'statistics graph card' on my dashboard. It's configured to show 1 day only, but it's showing WAY more than that. Is this a bug in HASS or am I misunderstanding something?
hey, im trying to make an auto entity card based on the state of an input select, but as soon as I add the template it just stops functioning how i expected
@frosty flower I converted your message into a file since it's above 15 lines :+1:
and th e problematic line in question:
{{this.entity_id in area_entities(states('input_select.rooms'))}}
Not sure I follow. You want to compare the same hours for different days, somesuch?
you could probably do this with apex graphs
Anyone know if we can get the old card back for RGBW bulbs? The new setup with brightness, color, and color temp all on different "pages" is certainly prettier, but much slower to use. I've been looking through the settings and can't find anything.
Are button cards broken? I used one to show the charge sensor of a UPS. But as soon as i add the status (percentage), the button disappears.
Custom button cards?
No, regular buttons
The first one is without status toggled on, the second one with it toogled on (which used to show the percentage below).
I've seen this issue reported before, it shows up if your sensor is unavailable at the start time of the graph, it includes the most recent available time before the sensor went unavailable, even if it was months ago.
It should resolve itself once a day elapses.
I've tried to convince some core devs that it is unwanted behavior, but have not been successful yet:
https://github.com/home-assistant/core/issues/88757
Hi All, I'm new to the discord channel (and relatively new to HA - 3 months in but loving it!). Would this be the right place/channel to ask about a lovelace challenge that I can't figure out for one of my dashboards?
Shoot (says I who's just about to go to bed, so pardon me if I'm rude and not responding for a good long while 🙂
So am I the only one who is experiencing that none of my custom-cards work after the new release? (All of them are updated)
Hey Kris, sorry just saw the reply, many thanks - don't worry if it's too late but I can't seem to get the customer state switch card working using the device ID from browser mod.
I know that I'm using the deviceid that HA recognises as I add this too a dashboard and it returned my device ID in the bottom corner:
type: custom:browser-player
entity_id: media_player.your_media_player
deviceID: your_device_id
but when using this custom state swicth I get nothing:
Is '/kiosk?' not working for everyone else or is it just me on the new update?
type: custom:state-switch
entity: deviceID
default: all
states:
50dcfa90-7ad1d87b:
type: light
entity: light.bedroom_3_lights
name: Name
hold_action:
action: toggle
double_tap_action:
action: more-info
Some of the docs / previous FAQ make a reference of adding the device by an entity in the configuration file but I think that's out of date as it's no longer reference in the latest docs and there seems to now be a UI interface to add devices..
It should be working with 1.7.8
Make sure it's updated and not old cached version is served
(check dev console - most custom cards/frontend custom modules will print their own version when reloading)
Do you have a link to an updated kiosk-mode GitHub? The one I have only goes up to 1.7.2 🤔 thank you!
How do you reset this?
Kiosk Mode repo comes with hacs defaults, try "Update Information" from 3dots menu to force refresh meta
anyway, the repo url is: https://github.com/NemesisRE/kiosk-mode
Usually HACS is doing it while updating. Both updates the actual files on disk and alters Resources urls
(by changing hacsparam= in url, to force HA update it's caching mechanism)
Well. In my chrome browser button-card is still version 3.4.2. However my firefox says 3.5.0. By hacsparam= do you mean this?
yes, this should be changing automatically when card is updated
I don't know if it did do that. But I just tried changing it, and refreshing my chrome browser. It still says 3.4.2...
Thank you. Turns out I already had 1.7.8 installed.. it's still not working for me though after a reinstall and restart. If I add ?kiosk to the end of my URL then the header and sidebar remain. Worked on the previous update 😔
I think there are some issues with the new update:
https://github.com/NemesisRE/kiosk-mode/issues/27#issue-1647324294
I'm gonna roll back for now... Is the best method to roll back to a previous HA version to restore from a backup?
I noticed the new tile card in ha looks a lot like the mushroom cards. Is there any really difference? Mushroom cards still have more customizability right
hey guys, i've been banging my head against a wall for a few hours now trying to get this to work - maybe someone else has fresher eyes than me! i have a dashboard that i'm using layout card (with grid mode) on and trying to get the icons centered in the view here
i think the solution to it is putting justify-content: center into this somewhere (based on playing around in the inspect menu) but i'm not fluent with css and card_mod and layout_card and whatnot and nothing i'm doing is working! if anyone has any ideas, that would be greatly appreciated!
EDIT: for anyone trying to find the answer to this later, i found the solution - it's not justify-content: center, it's place-content: center, and i put it in my layout options section of my layout-card (grid) (the section you get when you click edit on the grid part while in visual editor)
How do I use the new cover features made available in core 2023.4.0? I have 6 curtains with position control and like one of the new display options in the release notes. Now I just have to figure out how to get to this.
I tried adding the cover as an entity card but this has none of the features shown above. Is this a new card option? I can't seem to find it in the existing cards
@half pawn I converted your message into a file since it's above 15 lines :+1:
It creates this, but I like the new cover option beter
Hi, so I got the polymer warning in the logs. How do I find out which frontend cc is using polymer?
so uh, life hack
if you're like me and you have a smart garage door setup with a shelly relay and a reed switch
you probably have two entities in home assistant for that unless you discovered a better way to expose a cover to home assistant
a while ago i was trying to find a way to conditionally display an icon and i ended up using card-mod for it
but it turns out there's an easier better way
make sure your binary sensor is displayed as a garage door (you may need to modify the logic of your sensor for the open and closed to match)
then just add a normal button and change the tap action to a service and make that service a button press
can't believe i only just now realized this
Not sure what’s causing it but since the latest update I can’t swipe the side menu to appear on the iOS app. I don’t have any swipe navigation integrations, I changed to the default theme and made sure browse mod did not have any settings. Also cleared app data. Anyone have the same issue?
Update the iOS app
Pretend like this version is 2023.4, it's been a busy month of March for me!
- Works around iOS 16.4/16.5 issue where attachments in local notifications do not work. Notifications will be delayed when this occurs, but they will end up being delivered over APNS instead.
- Adds app support for opening the sidebar with a gesture in core-2023.4 beta 3 or later. In core/frontend, the gesture was removed; this reintroduces a basic one to open it and in the future will be refined to be more interactive.
It may just be a TestFlight/beta version now
Ah, I see there is a update to the app for this 🤩
Is there any solution for themes? Since the new Update all themes are Not working for me. Does anybody else have that ?
hi all any solution for kiosk mode broken?
Hey !
My wife have an issue with the iOS app. It keep disconnecting her and she have to re-add the password multiple times a day.
Can someone point me to a solution or a reason behind this ?
edit: my bad. The stable update is not out yet.
its just the more-info card
um are hex colors not working for the tile card?
this card gives me no color when i enter a hex value
entity: this.entity_id
name: null
content_info: name
use_entity_picture: true
layout: vertical
features:
- type: light-brightness
color: ffa657
card_mod:
style: |
ha-card {
margin-bottom: 0px;
}
just looks like this
color tokens work fine
hi, how to paste code like this?
hi mates, how can i put this attribute's value in lovelace? separate card, card's title or other doesn't matter.
{{ state_attr('sensor.termometro_status', 'IPAddress') }}
solved
is it possible to get the streams from a Hikvision NVR on the home assistant dashoard? Also is their some card that when pressed in the camera feed that would make that feed large/full screen
I want to organize entity rows into css grid (using card-mod obviously).
I have assigned a class to individual rows.
The problem is with Entities Card wraps each row in a <div> element preventing me from
efficiently targeting them using selectors (other by "nth-child") and e.g. assigning them to grid areas.
Is there some trick to assign each row a css grid area?
hey guys, i'm working on the next step of my dashboard - a tv remote
i want something that has the ability to pause/play, turn then tv on/off, adjust the volume (probably with buttons - my tv isn't working with volume_set for some weird reason) and have customisable app pictures to use (netflix, youtube, plex etc)
does anyone have any examples of something that they use on their dashboard that might fit the bill? i'm struggling to find something on hacs that does everything and looks nice, but wouldn't mind making something if it exists out there
So I really like the tile cards and have been augmenting them with some mushroom cards, but is there any way to group them with a title better? I tried the mushroom title but those are massive
On an Entities card, is it possible to make a 'select' entity read only? So it appears like a 'sensor' entity with the label and value, rather than a dropdown?
- type: sensor-entity # or "simple-entity" should work as well
entity: input_select.xxx
Awesome. Thank you.
Hi, how do you know if your frontend integration uses polymer? thanks
HA frontend no longer does. Some old custom cards might.
I guess searching their source code is the only way
(especially deps from package.json)
any of these use polymer? 🙂
¯_(ツ)_/¯
why, (as non-developer) care? If they do they are likely having it embeded with their module.
only few cards were depending on extracting it from frontend
(Idk but i guess that's why they got broken)
well, this why I asked:
Source: components/system_log/__init__.py:257
First occurred: April 5, 2023 at 9:50:16 PM (5 occurrences)
Last logged: April 5, 2023 at 9:51:05 PM
WARNING: Polymer will be removed from window in Home Assistant 2023.5. More info: https://developers.home-assistant.io/blog/2023/04/04/deprecating_polymer
fair, there is at least one that uses old way
it's still a headache for developer
searching for "window.polymer" in the code might give out some results
awesome even I can do that. thanks
but e.g. Mushroom card is the only one swohing in results but it doesn't spawn the warning for me
and it works even on latest release
really, mushroom uses polymer? that a pretty famous CC
so maybe it's not that easy to single them
anyway it should only apply to cards that uses the framework but does not emebed it (expecting HA to provide it)
hopefully they'll update it by 2023.5
looking at code... no it doesn't ... but likely one of it's dependencies does
probably a false flag since it works ok with this release
anyway gotta go, afk
In the states tab of developer tools on a narrow screen (e.g. phone), is there any way to force the entity attributes to be shown?
Just curious, how did you learn this or figure this out? I don't see anything like this in the entities card documentation.
other than Fully Kiosk Browser app on Android, can someone refer me to a addon/hacs that can mimic the same results with using the camera as a wake the tablet screen.
While I use FKB on my Fire tablets, I do not use the motion detection feature. Instead, I use a nearby motion detector and an automation to wake/sleep the screen.
I have samsung android tablets
Anything capable through SmartThings?
Found references to a Wall Panel app. https://www.facebook.com/groups/2091834914421201/posts/2946512378953446/?paipv=0&eav=AfYLVCcBd6TzPXcTOcx2lf_pwdInOmkrC3tkk3A2quRPXJj3RXTOCJDt0ndZE1RbfCs&_rdr
The Wall Panel app uses the camera as a motion sensor that can wake up the tablet when you walk towards it.
Someone else mentioned
I use a combination of HA + Tasker + AutoRemote. Gives complete control over your device. That way I can turn my tablet off whenever I'm not home or asleep and turn it on as soon as I walk into the room.
the tasker approach seems a bit much
I just want to use HA and any addon that can hide side/top bar since this will be mainly a community tablet that will be on the hallway towards the front door.
I was just checking frontend code when I was figuring out some stuff for card_mod
Normally row type is automatically assigned based on entity type
That's helpful, thanks. Maybe I'll try to PR that for a documentation update.
it's probably not very useful info, outside of Your user case.
most special rows are bound to work with selected entity types only.
I think I've seen that question once or twice before how to make "read only" values in entities, and not have the selector.
Trying the type: simple-entity thing on a different entity and ran into a little hiccup. It renders fine but I'd obviously like to fix the YAML so the visual editor is happy. The value is a time in the format HH:MM:SS.
Any recommendations on HA YAML tutorials greatly appreciated.
you can't fix it. it's not supported for the visual editor
Ah, ok. Thank you. The visual editor was happy until I added the type: simple-entity. Is it an issue with the integration definition for the entity?
yeah, it's one of the pains of overvalidation
if it bothers you can workaround this by wrapping it in "empty" condition row
- type: conditional
conditions: []
row:
type: simple-entity
entity: <entiy>
or:
- type: custom:hui-simple-entity-row
entity: <entity>
will also pass validation
Thank you.
Every time I go back to try using card mod for anything remotely complicated I always feel like I'm starting from square 1
How do you inject a sensor value in to a Mushroom Title card please?
The default card includes Hello {{ user }} !.
Is there a different syntax required for entities? Or do I need to create a helper/template?
title: HelloWorld
subtitle: 'Last Updated: {{ sensor.entity_name }}'```
{{ sensor.entity_name }} is no value.... {{ states('sensor.entity_name') }} ... do check https://www.home-assistant.io/docs/configuration/templating/
hi all, by any chance could anyone point me at a good spot to get support for ui_lovelace_minimalist? their discord appears to be pretty dead (and the latest update for HA and the integration seems to have borked my entire dashboard lol)
hmmmmmmmmmmmmmm
actually that looks a lot like my dashboard rn lol
i updated ui_lovelace_minimalist, updated HA, updated the IOS app and now it looks like that
yup
Make sure you updated all your custom cards
I'll try that
really what i should do is ditch minimalist and just rebuild the whole thing in Mushroom since i can get like, 90% the same look
but i'm so lazy
didnt fix it unfortunately
on mobile i'm getting this
yeah it seems to be specifically on mobile it's broken
desktop/web seems to work fine
it worked fine, but then i refreshed and it was broken on desktop aswell
yup clearing cache did the trick, thanks @dark dirge
how do i clear the cache ont he mobile app?
oh nvm found it
yep fixed it for me too
@tidal vale by any chance, since your'e using minimalist, do you know where all of the color templates like "blue_on" are defined?
(also, do you know of a way to make it change the color of the main icon in a room card but not the card itself?)
uhhhh unfortunately i dont know both of those, sorry
dang. more google it is 🙂
trying to make it so just the circle on the left lights up when someone's in the room, not the whole card
@night hatch can you share your yaml for that button? I'm curious how you put it together.
oh, FYI i found it - they're in custom_components/ui_lovelace_minimalist/ui_minimalist/ulm_templates/colors/
Sure, it's using the ui_lovelace_minimalist_ addon, lemme grab the code just a sec
@tribal galleon here ya go
now that i've got the colors fixed that results in:
I am trying to get a button in my Overview that shows if I have an event Tomorrow in my Google Calendar. I tried the following but I get an error message :
- trigger:
- platform: calendar
event: start
entity_id: work
offset: "-24:00:00" - platform: calendar
event: end
entity_id: work
offset: "-24:00:00"
binary_sensor: - name: work Tomorrow
state: "{{ iif('work' in trigger.calendar_event.summary, iif(trigger.event == 'start', 'on', 'off'), states('binary_sensor.work_tomorrow')) }}"
- platform: calendar
@night hatch Thanks. Looking at the docs a bit more. It looks like UI Lovelace Minimalist is a "theme" with included templates.
yep it's like a "theme++"
everythingsmarthome did a good video on it not too long ago
it's all done in YAML so if that turns you off you can get 90% of the same result with mushroom
I'll have to go check out the video and the "theme". I want to see how the templates are made. I don't mind editing in yaml; rarely even use the UI editor. (Wish there was an option to go straight into the yaml editor and bypass the UI...)
there is...sort of :). i have the SMB share turned on for the config directory and then i added it as a folder in VSCode
and then i just edit directly from vscode on my desktop and bypass the UI entirely
that's true, but I feel that way lacks the visual representation of the code as it is being edited.
ah, that's the other half of it - i have a window open to the dash i'm editing so i can refresh and see changes in semi-real-time
Taking a different route. Installing looks very "intrusive"; a bunch of prereqs (most of which I already have). The majority of my dashboards use custom:button-cards so I'll just look at the yaml for the templates and pull out what might be interesting. https://github.com/UI-Lovelace-Minimalist/UI/blob/main/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_room.yaml
i have a quick question, i have a custom card, how do i set the pixel of the font ? i mean the font size ?
type: custom:list-card
entity: sensor.xrel
title: Engineering Feed
feed_attribute: entries
columns:
- title:
field: title
style:
- white-space: nowrap
row_limit: 10
Looking at the docs, it seems the style is applied to each column. From the example this might work yaml columns: - title: Title field: title style: - font-size: 20px
ill try, thx 😄
@tribal galleon thx ! it worked !
sorry im a noob, started few days ago 🙂
oh, ure so fast for this 😄 with installed card-mod 3 how can i set an card to transparance ? 😄
with this: added at bottom, only 1st of each row is transparent 😄
style: |
ha-card {background: transparent; border-style: none; border: 0px; box-shadow: none;}
is it possible to use the same style as new alarm on other entities?
i want a scenes selector in the same style (home, away, day, night etc.)
No. Try Mushroom Card it's close in terms of styling.
thx!
hi, using state switch and was wondering if there was option for like "preserve last state"
example, im using hash for state switch. if theres no hash i want state a, if its #light i want state b, and if its any other hash, i want whatever the last state was
is this possible or nah
add a helper and track the state?
Greetings all! I'm attempting to integrate the LCARS theme into my HA, and I'm running into a bit of a stumbling block. I've tried retracing my steps for the install process, but so far, nothing is jumping out at me where the wheels might be falling off. And yes, I'm still cutting my teeth on the whole HA/YAML process. So, if anyone out there has been successful with this (or wants to help a newbie figure out where he made a wrong turn so he can learn from it), please let me know. -- Basic problem is that I can get the theme to load, but the classes are not loading properly at all. Thank you very much!
State-Switch from hacs
(repo: https://github.com/thomasloven/lovelace-state-switch )
ye i was looking and i dont see anything about a preserve state if unknown, just a default
oh, my bad
dunno if there is a out-of-the-box solution here
probably you can do this with custom code (e.g. button-card templates + state-switch)
Guidance question on device naming. My Meross entries are very long when captured in Home Assistant. I know I can rename them to shorten. But then I lose their respect association. In the integration view of all the boxes are limited with viewable information. Who or what is the controlling factor when display information is cutoff beyond the windows of the box when the mouse is placed over and entry ?
I have no idea on what names are you refering to, and what exactly prevents You from changing them if they are to long...
But in HA there are separate names for integration / device or service / and entities (those are usually based on device name + suffix).
And You can change any of them.
(usually, except for some very legacy, read-only entities)
Those are just names for intergration instances. ik those appear only on this screen.
Click on any of them, then select rename from 3dots menu.
(the device or service name(s) associated with those integration should remain unchanged - those can be renamed in devices details tab)
I've noticed without fully selecting the entries on other integrations, when you hold the mouse over the entry, full length information appears highlighted by other integrations. Is this function a developer's control ?
? I'm confused on what popup you're referring to now...
ik entity names sometimes (inconsistent behavior) have tooltips on lovelace cards, is this it?
In the full view of all your integrations in Home assistant are presented, by moving the mouse over various boxes of the apps, sometimes additional info appears "highlighted" about the entry or it reflects a website hyperlink of the HA address /config/devices/device/"entry address"
Thanks for the dialog, I think I'll pursue with the developer of the custom item for expanding viewable information.
ok. To be fair not a single one of my integrations displays any popup you described, so I was confused.
Either it's some new thing that none of my integrations supports or some custom UI uou have installed.
Hello, Is anyone able to help me get this integration working with just a super basic config? I put my home assistant back at a clean slate with just HACS and the Sidebar-card integration installed.
Sidebar-Card: https://github.com/DBuit/sidebar-card
Configuration.Yaml: http://pastie.org/p/1lQPWXkYG1yYhQ9CikVoXA
ui-lovelace.yaml: http://pastie.org/p/7l7ZQYPDeBHlm2ykrshV3A
hey, it says card mod supports templates, but doesnt say where to put it.
here's my card mod
style: |
ha-card {
margin-bottom: 14px;
}```
and the template i want to use
``` {{ '14px' if area_entities('Living
Room')|select('match', 'binary_sensor')|reject('search',
'vacuum')|reject('search', 'c11f')|reject('search',
'lightswitch.iaszone')|list|count > 2 else '0px'}}```
if you want to paste this monstrosity, then place whole thing exactly where "14px" value is now (don't remove semicolon).
But this could be more readable with using some variables, eg:
card_mod:
style: |
{% set is_found = area_entities('Living Room')
| select('match', 'binary_sensor')
| reject('search', 'vacuum')
| reject('search', 'c11f')
| reject('search', 'lightswitch.iaszone')
| list | count > 2 %}
ha-card {
margin-bottom: {{ '14px' if is_found else '0px' }};
}
lmao ty
and I'm not sure if this part: reject('search', 'lightswitch.iaszone') is correct
that's a bit unusual entity id, is it valid?
oh it should be lightswitch_iaszone
whole thing is binary_sensor.lightswitch_iaszone
ok makes sense.
I couldn't figure it out what you're aiming for, other then you're counting binary sensors in a room
so I named variable is is_found ;)
haha, if you were curious, im tryina make an auto-entity based page with all my devices. for this in particular, ive got an entity list with the swipe card, and the 14px is there for the swipe card to accomodate the scroll bar so it doesnt sit on top of the entities. so if there arent enough entities for the scroll bar to appear, i dont want the 14px space
but ty
hey, my Background of the Dashboard is not fully in my set color is this a known issue? in HA 2023.03.X it was all black now on 2023.04.1 it looks like this.
me staying on browser mod v 1.5 because this screen is so scary
Trying to go about it but how can i show what is playing on my TV on my dashboard and have the ability to play/pause it...
what type of TV? android?
check dev tools > states and see what your TV shows for info.
then use the entities, states and attributes to build a card.
media player card would usually do what you want, if the tv, and controls are the same device in home assistant.
My tv is android, but i control the home entertainment system with logitech harmony hub, the audio is an AV system, cable comes from an STB, so channels and volume are different devices as well. so that card doesnt work for me. custom is the way i have to go.
every tv situation is unique tho.
more info helps
Hello, https://paste.debian.net/1276717/ is what I currently have. Is there any way to hide the player if no media is playing? I've tried to search through the info for mini-media-player and cant find anything specific to hiding the entire player
I believe the home assistant conditional card can do this. If not, check out State switch
Hi how to get negative value on sensor card?
Hi. How do I fix the following issue: I access my homeassistant at ha.example.com and sometimes what happens is that after typing login and password instead of logging me in it offers me to start over. I click on that button, type login password and same button appears again. Clearing cache and deleting all browser’s data sometimes helps sometimes doesn’t. Sometimes changing the browser to a different one helps and sometimes doesn’t. Even when being logged in refreshing the page kicks me back out and offers to login again. What can this behavior be related with?
I tried clearing all refresh tokens sometime back. But it seems like HA creates a token each time the same device connects and keeps it in that list. I can see several tokens from the same IP.
Any suggestions regarding translations not working after last update? Only on the frontend it seems, weather, card showing my family members tracker-state (home, away etc), my entity-filter, are now all in English. Checked the profile and all other settings and they all show my native language as selected.
Many languages have not been updated to string changes from 2023.4 liekly because contributors were busy.
You can always volunteer to help 😉
That's the gauge card. Is your sensor negative? It shows negatives in english...
no sensor info are not negative
I don't understand your question then?
7157w "effekt hus" should negative value, I sell so much power
Ok so the sensor is positive, but you want it to appear as negative? In that case I would create a template sensor that flips the polarity. Or maybe something with card-mod can do it, but I don't know about that.
yes
Do you what to do with 'last_reset' missing in energy view? Iam trying add my sungrow values in energy view
Do yaml mode dashboard trigger the lovelace_updated event? When the file is saved or some other point?
I'm trying to setup an automation the uses browser_mod.refresh to automatically refresh when needed
yes and no
lovelace_updated if fired when any user loads that yaml dashboard first time after modification.
I'm guessing the mod.date of root yaml file (usualy ui_lovelace.yaml) needs to change and it's checked when a request is made.
Blergh alright. Thanks for the info. Is there anything else I can key off of that you're aware of?
that's all ik about them... been yaml dashboards occasionally anyway
not sure if it counts as trick but you can use secrets.yaml to store resuable small parts of data and You can have multiple of those files
Example use?
Store parts of css and card_mod that I use in different cards (and button-card templates).
Hello! I updated my HA to 2023.4.1 but i cannot find the new Alarm Control Panel with popup pinpad, how do i get it? I still have the traditional with full pinpad opne
I think what you're thinking of is the Tile Card, with an alarm_control_panel entity.
Hello, I can't seem to find the Configuration file to make changes. I'm running in a VMBox in Windows for context. I checked all the locations I was told to look and Windows couldn't locate it for me either. Any help would be greatly appreciated.
Are you running HAOS?
This is the version
Ok that means yes. I'm not familiar with all the ways to access it, but probably simplest solution is to install "File editor" or "Studio Code Server" addon, then you will be able to access the config within home assistant.
I'll take a look. Thank you!
some translation keys were changed recently as part of work to do more state translations. I believe it requires contributors to re-submit some translations.
Is there an easy way to make an sensor show logbook history in the ui popup?
hi all
i have seen this from Swakes but im not sure where the background image is from? ive seen a few people use if? any ideas?
did anyone get the gauge card mod Thomas posted in the community to work? Id love that gradient on the gauge, but it complete disappears when I try 😉 please see: https://community.home-assistant.io/t/gauge-card-how-to-get-a-gradually-changing-color/486987/13?u=mariusthvdb
what do you recommend for a Spotify card that has the ability to choose the speaker.
other question is how do I enable the sound for a tablet for when someone presses a button on my dashboard
best way to cast a dashboard to a google hub?
Same issue here
BTW, I tried to set HACS in 'experiemental features' and then hell broke loose, everyhting went slow, also my other docker containers unreachable. Not sure if this is related to 2023.4.1 Although all my integrations and cards are working, I could not add anything. It only showed my own customer repo's. Have now set back everything (non experiemental) and am re-installing all cards /intergation so that they at least 'show' in HACS
Swipe right in Chrome to bring up the sidebar is not working anymore?
I have a sensor value, but before displaying it on a card I want to do some maths, how would one do this
use a template and make a new sensor with that value
I have this in config yaml assuming its correct, how do I reference it into a card
template:
- sensor:
- name: "Doorbell Battery Percent"
unit_of_measurement: "%"
state: "{{ states('sensor.doorbell_battery' * 10)}}"
syntax is wrong, try this:
- sensor:
- name: "Doorbell Battery Percent"
unique_id: "sensor.doorbell.battery.percent"
unit_of_measurement: "%"
state: "{{ states('sensor.doorbell_battery') |float * 10 }}"```
and you have to reload HA
yep
Nope doesnt show up
Does the whole HA need restarting? or does YAMl reload work?
i allways reload all, dunno
i'll edit in the code above
yep thats worked thank you
Hi all,
Perhaps a silly question, but is there a way to assign a theme to a full dashboard?
I can select a theme in my profile and I know I can assign a theme for a view, but it would be great if I could do a single assignment at dashboard level rather than to assign the theme for every single view that is part of it...
since last update I'm gettin error on all button card which use button_template_card
cannot read properties of null (reading 'config')
what's worng
Update button-card
update to 3.5.0 still the same
Clear your browser cache
did it
You can by going into: "developer tools/services/" in the services type: "Home Assistant Frontend: Set theme". Select the them you want to apply and hit " call service". You can add it to a button or automation if you like since it's just a simple service call. Also make sure that on your browser or devices you have "use backend preferred theme" selected. I hope that helps 🙂
Is it possible to create a similar looking graph in home assistant? The default history graph is not sufficient because sometimes the entity can have the same value for a week. Then it can change 5 times a day, etc. So i want to be able to view the events with the time and entity value in a similar manner to this
https://pasteboard.co/zPhxbJIlpjR6.jpg
I would call that more like the logbook than a graph. If you create a sensor without a unit_of_measurement, it should track state changes as logbook entries.
I would like a button on my dashboard that sets all my cover at a specific position - the covers are grouped in helpers...
anyone familar with the custom:button-card ?
I have a custom:button-card that only navigates to another page with other entities of the same domain(fan). I have been able to change the icon of the entities (make it spin and change color) on the page it navigates too, but I am stumbling to change the initial card to represent the state of the entities on the navigation page
Since the initial button card doesn't have an entity, I change change the icon
@tame dove I converted your message into a file since it's above 15 lines :+1:
How do I round a value on my dashboard ?
any other suggestion about button card template not working since update
Cannot read properties of null (reading 'config')
what is wrong with this:
-
platform: template
sensors:temperature_indoor_roundet: friendly_name: "Temparatur Indoor" unit_of_measurement: "°C"
{{ (sensor.al7002022041414_total_load | float * 2) | round(0) /2 }}
IM NEW 😉
Is there a way to show on a card the status of what is happening to a cover like opening or closing or its opened or its closed
Does your cover report this status as its state, or in an attribute?
I believe so
Then it seems like an entity or entities or glance or any type of card can show that state? Or is that not working for you?
havent tried yet
just wanted to ask
now that a card can be shown, how can I make it make a sound or talk on my tablet on what its doing
How can I make it to where the card is Garage is (state)
If you want a card to display custom strings, you can use markdown card with templates.
Anyone have some ideas for organizing this up a bit?
Omg!!! U are amazing! Thank u so much!
Can you toggle between to "call services" in a dashboard ?
Is there a way to add the browse media button for a specific device (sonos) to a dashboard?
Is it possible to edit the more-info card for a cover. The current card has a purple slider and has a lot of icons and fields I don't want to use. I just want the name and the slider itself.
So I want to lose the up and down arrow at the sop, plus the two arrows at the bottom and the 'attributes' field
Plus of course if I could change the colour and make the whole card a lot slimmer that would be useful
did you solve this?
After updating to 2023.4.1 i can no longer display states in button-cards from humidity sensors (state value is in xx.x %) . Other cards show the expected value. Anyone else experience this?
Example from other cards that show the correct state from the same sensor
anyone knows if the multiple-entity-row can be configured with templates?
I'm trying to put a template in "secondary_info" that would be based on a macro.
Anyone know if there is a way to create the card I designed? This is my ideal card for my plant dashboard. I searched HACS but i'm not seeing any custom cards that come close. I would like the icon customizable so I can change the type of plant icon. The default gauge card is too plain since you cant add icons. Thanks!
use a grid card with Custom: button card ,
might take sometime formatting it with YAML but very dooable
So I made the mockup with this site https://jscharting.com/editor/# can I use JavaScript somewhere and reference the HA entities?
I think at this rate you're creating your own custom card
Yea, which I am no where skilled enough for that. Is there a place I can make requests for custom cards? Maybe I need to find someone like minded that has the skills. 😄
Anyone got an idea how not all my custom cards are showing?
lovelace:
mode: yaml
resources:
- url: /hacsfiles/button-card.js
type: module
- url: https://fonts.googleapis.com/css?family=Comfirtaa@display=swap
type: css
- url: /hacsfiles/bom-weather-card/bom-weather-card.js
type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/PlantPictureCard/PlantPictureCard.js
type: module
This is from my configuration file and only the lovelace auto entities show and a weather card. THe other ones doesn't show. Restarted multiple times.
And I can't create them manual in the add card manual -> type: 'custom etc.' it's saying that it doesn't exist.
I've checked the file location and naming, but that is correct.
I am trying to load an image in my custom lovelace card and can test the http image is accessible in my browser but home assistant card won't load it. My home assistant is https, how do I get the image to load in my card.
Im trying to make a button on the dashboard that can toggle two services
action:
- service: water_heater.set_operation_mode
target:
entity_id: water_heater.egevej_8_tank
data:
operation_mode: "off"
and
action: - service: water_heater.set_operation_mode
target:
entity_id: water_heater.egevej_8_tank
data:
operation_mode: "heating"
I would do either:
- Create a template switch that calls one service on turn_on and the other on turn_off, then you get a nice little frontend toggle switch
or - Create a script that runs one or the other based on the current state, and call that script on button press.
This should help you start.
you need custom button card installed.
should look like this
Well I was mostly looking for the gauge around the icon. I already can get the other buttons. Thanks though 😄
ahhhh ok
I see
I should have cropped better, the 4 bottom cards are the ones I already use, I tried to design something that would give more info without having to have a gauge card and a status card.
you mean the card from the top?
Since it's a custom button card you can add as much stuff as you like in here.
for example something like this?
How do I put my services in this
switch:
- platform: template
switches:
blind:
friendly_name: "Blind"
value_template: "{{ is_state_attr('switch.blind_toggle', 'sensor_state', 'on') }}"
turn_on:
service: switch.toggle
target:
entity_id: switch.blind_toggle
turn_off:
service: switch.toggle
target:
entity_id: switch.blind_toggle
are there any other options to hide sidebars as browser mod?
First, please format your code:
To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
I've posted here : https://dpaste.org/vb0Ke but maybe the help should come from #templates-archived
@frosty flower I converted your message into a file since it's above 15 lines :+1:
ive got an entity binary_sensor.dishwasher that this card isnt detecting
but if i remove area: Kitchen it shows up
yet the area assigned to the entity is Kitchen
so im a tad bit confused on this one
"binary_sensor.dishwasher",
"light.kitchen_lights",
"button.kitchen_light_2_identifybutton_2",
"number.kitchen_light_2_onlevelconfiguration_2",
"sensor.kitchen_light_2_smartenergymetering_2",
"sensor.kitchen_light_2_smartenergysummation_2",
"light.kitchen_light_2",
"sensor.motion_sensor_illuminance",
"sensor.oldmotion_sensor_battery",
"binary_sensor.motion_sensor_motion"
]```
but its picking up an entity thats no longer in that ({{area_entities('kitchen') }}) and not picking up binary_sensor.dishwasher
Is there any component out there that would cycle through the views on the Home Assistant UI?
I’d love to have a dashboard displayed on my chosen screen that would rotate views every 15-20secs.
Cameras > Energy > House Temp etc.
i've been digging abit but not sure if BrowserMod or Kiosk via HACs is the best approach.
a combination of state switch and a template sensor would probably be best
or easy at least
i'll give it a gander
How much of a dashboards performance is affected by server specs vs client?
Put another way, will a complex dashboard setup run better on a low spec client if server is beefy?
I dunno. Probably not noticeably faster.
probably in general, fetching of data is affected by server beefiness, but the rendering won't be. Probably most of the time the client will be the more impactful side of that unless the server is very weak or the client extremely performant
Hi . Any help so to find the program involved with the polymer deprecation ? I think we are many to try and anticipate the next release polymer suppression and we don’t know how to find how . Thanks
program?
i have issues get a background theme for my home assistant.. I just made a clean install of home assistant within docker and installed hacs & downloaded ios themes. But the background still doesnt chhange.. Thought it would just be install the theme and edit it here
Am i missing something else?
I’ve got some smart lights working with the standard light card. I want to add scenes to the bottom of that card, so I can set it to reading / bright / purple etc.. I’ve made the scenes but not sure how I can add some buttons to the bottom and switch scenes.
Heya. Im working on getting incomming sms messages into HA. Does someone has an idea how to display them and be able to remove the messages. I was thinking of misusing the shopping list.
someone else has a idea?
Hi i downloaded nut mushrooms and yt video said i should download the theme too but according to the descritpie of the front it says it is not necessary so i didn't.
I also added the url to dashboard and then recourse and there is still nothing. I still have the same dashboards and if I make a new one there is nothing of mushrooms. can someone help me?
Is there any way to round sensor values for a card?
I would like to know that to 🙂
You sure You have actually installed the " Mushroom " cards ( https://github.com/piitaya/lovelace-mushroom ) and not " Mushroom themes " ?
No the cards doesn't need special theme to function
That screenshot is from themes repo
You can round values in more info dialog > settings > Display precision
Most sensor entities should supports it (except "read-only", legacy ones)
Yeah this
so idk why
oh sorry, I looked at the screenshot and thought it's your actual dashboard 😄 (long day, tired & stuff)
are you not having any "Mushroom" cards in "add cards" dialog?
is the Mushroom visible in ur browser devtools console during loading?
yes no cards
were can I see the console is it f12?
yes, select console tab and reload
most custom cards will advertise itself and version number when loading page
no i dont have anything
Could I get a hand from anyone familiar with Expander card?
Having trouble pushing the 'Bedroom' expander across to match the rest of the buttons
YAML - https://pastebin.com/qZJfwhk1
Solved: Added 'padding: null' in line with 'title-card:'
There is not a single message from custom card... is that all you see there is when you reload page?
Yeah I dont see anything. Maybe doing something wrong?
I just intalled the Mushrooms via HACS and reloaden HA and I saw that it didn't come so I just looked into the description and sam that you can do it manual. So I tried that also but still nothing. Did I do something wrong?
I advice against doing it manual and sticking to default.
HACS should update your configuration on each installation or upgrade of modules.
Show me ur Settings > Dashboards > (3 dors menu) Resources
When I installed it via HACS I had nothing there so I added it manually and this is what I added
Hello, With a last update 2023.4.2, I've my frontend is ko . my whole interface is in error. Do you know what the problem is?
here is my advice:
aa) make sure /config/www folder exists
a) if you have just recently installed HACS itself and haven't restarted Home Assistent after, do it one more time
b) remove this configuration you have added manually to Resources
c) remove Mushroom,
d) reinstall Mushroom again
(this time hacs should add configuration for you)
I will try now
Btw thank you so much vor helping me out
oh, and make sure /config/www folder is created befoire u restart
that should go before a)
Wdym /config/www folder
it's a folder in the root where all the HA config (configuration.yaml ect) is located
This?
ok it's already there I see
Oh now I can see the cards finally thanks alot but why is not every card showing ? (green)
Do you have any smart Humidifers or Locks or Covers / Shutters devices added to HA?
No
that's why those type of cards are empty. Mushroom have a cart type for most common entity types
(and general one without controls for others)
Ah okey but Yeah it finally works thanks to you so thank you
yeah the extra restart after following configuiration does the trick
it's an long standing bug with hacs that apparently has not yet been fixed
yeah but now it works finally
Does anyone know why the line color of my mini graph card is orange when I set it to lightblue?
type: custom:mini-graph-card
entities:
- entity: sensor.envoy_122150035447_last_seven_days_energy_production
show_state: true
show_graph: false - entity: sensor.envoy_122150035447_today_s_energy_production
show_state: false
hours_to_show: 168
name: Opgewekt Week
points_per_hour: 0.25
line_color: lightblue
try defining it as list
line_color:
- lightblue
(i sus it's a bug since docs mention it should have worked)
Anyone know if I can use a template to change the icon for the Mushroom Climate card?
no.
a) you can only do it using mushroom template card.
where you have to provide exact values for states / icon / colors ect
then, "glue it" to mushroom climate card, with primary, secondary and icon hidden (using card_mod or stack-in-card) to get controls.
b) or you can use card that supports templates (e.g. Button Card) and place Mushroom Climate inside it.
Good to know. Also, thanks for those options, I'll see what I can do!
is there an easy way to disable relative date formatting in different cards, or across the board? I have a simple card rendering sunrise and sunset, and instead of 7hours ago, I'd want it to say 6:33AM or whatever.
When googling about this very problem, I seemed to find more results for people trying to render relative time, not the inverse
Not generally. What is a "simple card", exactly?
entities card has some control over the format, I don't think others do
I think it was an entity list?
I just picked diff entities, and it could choose icons and stuff, but it just rendered dates for me. Saw no place I could change formatting in the UI. Code editor may allow me to do that
(I'm new to home assistant, but have played with configurations and added sensors and things)
Wow I finally figured out why state-switch and auto-entities are so flaky:
https://github.com/thomasloven/lovelace-state-switch/issues/86#issuecomment-1236523057
oh actually that would only work for a timestamp sensor
I kinda suspected as much that it had to do with resources being lazy loaded
I'm really surprised more people don't report flakiness with those container cards. It's been really frustrating for me
Tim0 that actually did exactly what I needed
I would think auto-entities could have some kind of retry logic for cards that aren't loading
I have the same issue here with the custom:button-card since updating
Updated today and after that it stopped working
can you confirm that BC v3.5.0 is loading in your browser > devtools > console?
this should not happen if hacs is managing resources for you
e.g.: changing hacstag= part of path after each update
I went to load firefox because I like to use that for devtools and it loaded no issues there.
SO then I went back to safari, dumped the cache, and it loaded fine. I mean it kinda makes sense if they updated the javascript that would cause it.
Try blowing your cache away
I have a bunch of sensors that deliver a whole host of entities and I wish I had an easy way to bundle them up into a less ugly view. Does anyone have advice about how to deal with that? (For example, my stove and my air quality sensor both dump a TON of entities into my namespace.)
Question, if I'm on homeassistant.local/lovelace and I go to homeassistant.local/newpage and then homeassistant.local/newpage#expanded, if I press the back button it will take me to homeassistant.local/newpage but I wanted to take me to homeassistant.local/lovelace. Is this possible?
Highly recommend swipe card. Alternatively, you could haven a minimized card that only shows one or two entities and then a drop down using state switch that expands to show all the entities
(i combined both onto one lol)
Thanks, I will check it out!
(Currently trying to figure out why a Tradfri ZHA pairing didn't produce a light.XXX entity.)
Is there a way to set up input_numbers and make gauges in the front end change to different input numbers based upon a drop down selection?
am i missing something, this seems simple, just set the guage to be the entity of the input_numbers?
quick tip when having issues for me is to either use reconfigure or re-pair. fixes is most of the time
I'm setting up my bbq for slow cooking, I want to have a drop down based upon what I'm cooking so when I change it changes gauges and input numbers for other entities to what is needed for that particular meat
is the drop down always linked to the same things that you need
I will create a drop down (I've not done it yet) but for example :
Chicken - ill want a certain prob to reach 70degrees and prob 2 to reach 100
Beef ill want a Probe to reach 78 and prob 2 to reach 120
Then based upon a selection will change the entities as required to preset numbers
built in way is to use the conditional cards to show only when the input_number has each desired state. easier way if it gets complicated is to use the state switch custom card
Thankyou - I shall take a look into this !
is there any way to configure multiple columns fairly statically, but via drag and drop? I'm really not the best with yaml configs and it seems like I get more than a couple cards on the screen, adn things start going badly quick
it seems like all thats really supported from editor ui is a mansory view
what is theme you use with swipe card
The theme I'm using for my cards is mushroom theme but I'm not quite sure if that's the question you're asking
As far as I know the only way to reorganize cards through UI is with the up and down buttons which really leave a lot to be desired. That said, I recommend to layout card as it gives you a lot more control over positioning elements on your dashboard
I started using the vertical layout of the dashboard and added break-cards, this nicely puts the cards in the for-me-wanted-columns without the infernal switching. Drag/drop would be nice but not more than that...how often does one change a dash?
Hi guys! I am in the process of installing 4 tablets with HA through wallpanel in my home. How/what can I do so that after navingating away from the default view for each tablet - the tablet automatically returns to it's default view after a preset amount of time? I know this is possible with fully kiosk but I would rather not have to pay for that software. I am open to any suggestions you may have! Thanks!
I get not wanting to spend extra money, but, IMO, FKB is worth its weight in gold. FKB unlocks a lot of features and options that you would otherwise not have. Additionally, being able to automate the tablet via FKB is nice too (such as turning off screens when no one is home or turning on/off power plug to the tablet to extend its battery life).
While FKB is pretty cheap, you can use the software for free, technically. Grab the software and load it onto a tablet and check it out. Basic features (which is still alot) does not require payment. You can even try out the Plus features to decide if you do want to spend the money on it. FKB will enable the feature but put a watermark on the screen. At less than $10USD/screen, it is hard to beat.
But to answer your original question, I imagine you can probably accomplish something similar with Tasker. Another option could be to use a browser plugin such as Tab Reload or Tab Auto Refresh.
Well I use WallPanel - which is a completely free alternative to FKB with 95% of the features. I figured it out using browser_mod...so a bit of searching, trial and error - and I saved about 40$. Thank you for your help though!
Can you post your browser_mod code? I'm curious how you did it. (I have heard of WallPanel but never looked into.)
Layout card that is like mansory(layout-card)? I have that stuff all installed, but seems like configuration for that you can no longer get via UI editing... as far as setting column widths etc. And I dont know how to tell which card to appear in which column
Is break-card an addon? Because honestly I think that might be what I need even for the mansory stock stuff... just being able to say these cards are first and display in column 1, these cards display in this order in the next column (or rather after the previous break)
@small light Thanks. It's back to normal with clearing the cache! cool !
You can do all of the same editing as the regular built-in cards by UI, the extra functions need to be done in yaml but you can do that by clicking on the edit Tab and putting the custom code in there. Check out the documentation, not much is required in terms of getting it set up to work better. For example with my cards the only yaml I use from layout card is max-cols
Documentation also describes the big differences between the layout cards and the default cards and honestly at least for me those two things are really the only thing you need to know
I've an another issue . With my person card, I can't color my gps icon when I'm at home and I can't make my geolocation point appear either.
I use the minimalist card_person_info and popup_custom_card_person
I am creating a minimalist UI for my house. My ceiling lights are not light entities, they are switches (I have smart switches and dumb lights). Is there any way I can use the mushroom light card with switches?
I know I can use the template card, but I'm not sure how to get the light icon to toggle colour based on whether the light is on or off.
Thank you!
is there any gmt timezone option for the US Northeast? it seems like there is no options besides the caribian
How about America/New_York?
there is no New York Option
there was before but since i upgraded from Docker, there just has been no option
Use GMT-0500 Eastern Time. (That's my time zone, Ohio, which is technically GMT-4 right now because of DST.)
okay! ill try that one out and ill report back if any of my Automations fire off to early or late
@woven bramble you can double check sensor.time to see if it is accurate.
would that be in devices services where i can serch for it?
Go to Developer Tools > States and then Filter entities (to show sensor.time). (I can't remember if Developer Tools is enabled by default or has to be turned on somewhere...)
hm
Hello does anyone having problem with button card since HA latest update ?
I remember now. These sensors need to be enabled via configuration.yaml. https://www.home-assistant.io/integrations/time_date/ From mine: ```yaml
sensor:
- platform: time_date
display_options:- "time"
- "date"
- "date_time"
- "date_time_utc"
- "date_time_iso"```
thank you~
Lots of people have had issue with button-cards and mushroom cards lately. Kinda of a mixed bag of ways to fix from restarting HA to clearing browser caches. Also, ensure the card is updated.
ok thank you for the info, will do the tips
windows is telling me i need to reformat my drive. obviously, im not gonna so i take it i can only open it in a linux os
Do you mean when you try to edit configuration.yaml? How do you have HA set up: on a Pi, Promox, etc? You can use File Editor or Studio Code Server add-ons to edit the file. Or use the Samba share add-on to edit on another machine.
sorry, i have it setup for RPI 4
Did you take the SD card out of the Pi and try editing it on your Windows machine?
Yes, when i try to open the drive it tells me to format.
Yeah. Windows doesn't like Linux-formatted cards. It can be done but the suggestions above (with the add-ons) is a better option.
okay that will work better, thank you again
Maybe you already got the feedback, I did not check the rest of the chain but it is a regular card in HACS, it shows only when you edit the dash
hi, someone has tasmota ir in use with a clima?
Has anyone used the decluttering-card to template a mushroom-cards chip? I suspect it's not possible because it's wrapped by a mushroom-chips-card, but the chip still inherits from ha-card, so maybe I'm wrong?
the br eak card is actually part of layout-card, not a de fault part of home assistant
caps lock is amazing i wasnt trying to tell i swear 😅
Hello! I have a theme that I'd like to include some additional elements with and I'm wondering if it's possible.
• A custom toggle entity
• A custom .js file
I'd like to minimize the work that the user needs to do to enable all the features, so if I can automate the creation of the entity and the inclusion of the .js file, that would be ideal.
I suspect I am veering outside of simple theme territory and getting into Integration or Add-on territory.
For reference, the theme is https://github.com/th3jesta/ha-lcars
I appreciate any input for how to move forward with my goals.
hi
i have created a generic_thermostate.yaml but when i try to add a thermostat card i can´t find the entity.
Is it included in configuration.yaml, and did you reboot after doing so?
so i shouldn´t create a new folder called climate/generic_thermostat .yaml ?
that's up to your personal preference if you want to do that. but ultimately you either need to put a generic_thermostat in configuration.yaml, or create it in a separate file, and then tell configuration.yaml to include that file.
if you just created that file, but did not include it, it will not take effect.
aha ok just like the automation: !include automations.yaml for example?
something like that
🙏
you'd probaly have climate: !include generic_thermostat.yaml, assuming these are your only climate entities. if you have multiple, might need to reorganize them somehow
Yeah, I'm pretty sure you can't do this. I ended up using a YAML anchor to get rid of most of the repetition.
i get this message when trying to reload YAML files
Failed to reload configuration
Cannot quick reload all YAML configurations because the configuration is not valid: Invalid config for [climate]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 15).
use a codeshare site to show your configuration.yaml and your generic_thermostat.yaml and someone can look at it.
Ehm, what do you need to do add a shadow under the header? i'm using ui lovelace minimalist and can't for the life of me figure out how to add it
I'm trying to implement this: https://redd.it/12jwk4c and am having an indentation problem. I've nearly got it except for the conditional on whether it should show left or right. I have no idea where the - type: conditional line should be indented to. I'll post what I've currently got below, but it just prints out my conditional block as plain markdown (which makes sense) but if I try to change the indent it yells at me for bad indentation.
@shadow nymph I converted your message into a file since it's above 15 lines :+1:
sorry to bother you, but i got that fixed and now when i have added the card it doesn´t show the sensor temp or switch the plug off or on when controlled through the card..
Best thing you can do is post screenshots to an image share site, post your code to a code share site, and someone can look and see where you might be going wrong. you haven't provided enough information for anyone to know how to help you.
Actually I forgot you can post image snips in this channel, so you can skip imgur and just post them here.
climate:
- platform: generic_thermostat
name: greenhouse
unique_id: 12345
heater: switch.tz3000_2putqrmw_ts011f_switch
target_sensor: sensor.lumi_lumi_weather_temperature
min_temp: 5
max_temp: 40
ac_mode: false
target_temp: 10
cold_tolerance: 2
hot_tolerance: 0
initial_hvac_mode: "off"
away_temp: 10
precision: 0.5
now i can see the correct temp and manually turn plug on/off but its not turning on automatically when below 8🤦♂️
wait this is a briliant idea
Same issue here
Same here, my entire dashboard is made from buttons and they are no longer visible after todays update.
have you tried clear cache reload?
there's a couple issues reported related to buttons on github, one got a fix submitted that hasn't been released yet, some of the others are unclear if they are the same issue or different issue.
you might also clarify if you're talking about default button card or custom:button-card
For my part it is the default button card, currently using the HA app on ios. Im not able to reload cache until i get in front of a computer
I know of the issue where buttons with percentage values no longer where visible but after todays update every button-card is broken regardless of value
Default button card
I don't have any frontend stuff installed through HACS
Tried opening HA in the webrowser and reloaded the cache. Buttons show as intended. Thanks
Anyone know how to refresh the cache in the ios/android apps?
I think you can do it inside Chrome settings for android?
clearing data did not help me
i'm just staying on previous version until fix is released
praised be the skip button
Deleted the cache from HA app and from Chrome, restarted the app a few times and now it works as it should
Dashboard broken for me as well. brr.
Would be interesting how to clear the Android app chrome cache without the need of reconfiguring everything (the whole app) brr
Ok the "normal" webversion is broken for me again. Even after deleting the chrome cache. WTF
Well I talked to soon. But I found out a work around, the cause I don't understand. If I press the account button, your name on the left below, then the button card does work. If you close the app, it stops working
i just tried this, weird but true, same in Edge, but oddly its only one grid card with buttons in, others are fine
hey guys, i want to make a qr code for my wifi network so people can join and add it to a card in HA - is this something easily doable? if so, how has everyone done it?
Hi. Is it possible to make a particular view visible/invisible for all users depending on the status of some input_boolean?
Hi there am kinda new to HA and trying to install a Mushroom using HACS but am getting this warning and the mushroom cards or buttons are not showing up if proceed.
i need to know what to do next after the download
Add the part after url: here manually https://my.home-assistant.io/redirect/lovelace_resources/
just like that?
Yes
Hi! I updated my HAOS to the newest version and now 'buttons' dont show in my dashboard anymore. Anyone else with this issue?
But I found out a work around, the cause I don't understand. If I press the account button, your name on the left below, then the button card does work. If you close the app, it stops working
Yep, same issue with buttons/cards disappearing from the both the mobile app and desktop browser. Clearing cache or trying a different browser makes no difference.
Some cards are still visible. However I had 12 light toggles in a grid card which have all vanished. They are still there in the yaml, but not displayed.
Was working fine on v 2023.4.2. And disappeared as soon as updating to v203.4.3 - April 12.
Have tried to downgrade using the command ha core update --version 2023.4.2 and it says the command is completed successfully, but it's still running v2023.4.3 after a reboot.
Fantastic, thankyou - I hadn't found that article previously.
Setting the locale's to something other than "auto" fixes the issue.
Is it possible to make persistent notifications through HA that don't go away until a state changes?
This is dependent on particiular notification service used.
Global notifications that appear on HA interface (persistent_notification integration) are, despite the name, not persistent and are dismissive by any user.
Companion App (at least on android) supports creating actual persistent notifications.
Thankyou I'll look more into the persistent notifications with android- can I make it though so once a state changes and only then it goes away or not possible?
Yeah it should be possible. You can send command to dismiss the created persistent notification by it's tag attribute.
Fantastic thankyou for your help!
I cant seem to find tag attribute on persistent notification, can you please point me in the right direction?
Thankyou!
Take a note that tag: acts like id for notifications in Companion App (equivalent of notification_id: in standard HA notifications).
It's not required to set it to exactly "persistent" like in the example.
This fixed it for me in Firefox, Brave, and the Android app. TYVM!
For me, performing a Reboot system was the fix. Firefox on PC had issues (even after clearing cache) with various cards (some custom:button-cards, some mushroom cards, and apex charts, but others rendered fine) but FKB was fine. The weird thing was the cards would be shown in the Preview when edited but not on the dashboard (FF on PC).
I feel like recent cache issues just proves that UI mode is superior 😉
btw HACS can perfectly manage Resources tab as long as main dashboard is NOT in yaml mode.
You can still make as many additional yaml dashboards as you like.
HACS changes each js module url slightly after it's updated in order to force invalidating cache
if this is not done it's just asking for loading old versions issues
Cache busting UI is an age old problem heh
I set back to the default theme and it started working again
Is there a way to restart the webserver of HomeAssist? Pointing my browser to homeassistant.local:8123 generates an empty page, but HA core is running
I dunno if there or what command restarts the webserver.
It's usually recommended to restart HA "core" (ha core restart).
If the webserver is not starting the home-assistant.log is the first place to start investigating for errors.
(also you can run config check from command line ha core check)
The solution for now with the button card issue, is to go to your profile and don't use auto for the time, first day of the week and the figure notations. So change the settings and don't use auto. And solved with the newest update
What's up with the frontend? I have been using Minimalist UI Mobile Theme. When updating to 2023.4 it started to mess up. The buttom navigation was screwed. I have just now updated to 2023.4.4 and can no longer open the side menu with a swipe action and effectifly lost access to the menu
If I want to update a date/time helper with the current date on button press, do I need to create an automation that runs, or is it something that can be done in the card YAML?
There is a new ULM update available in HACS. Once there where a handful of people maintaining the theme but they all left the building. So for now only @lyric prairie is keeping the theme up to date and trying to fix as many “bugs” as possibles but note that most of them are fixes for recent drastic core and frontend changes. I hope there will some more help in the feature so we can keep this amazing theme alive. Btw, the sidebar have nothing to do with ULM, you need to update your companion app.
So timetimes when i update home assistant on some devices some cards disapear. I got a dashboard made for mobile devices and on one phone a few of the light buttons are misisng while on the others the button shows
is there anything like a templated repeater card? I'd like to provide my own daily forecast that includes descriptions of the conditions (and do it vertically)
also any way to make data display more dense?
Does anyone have any strategies on how to include multiple icons where one would normally go? On some dashboards I'd like to keep things as terse as possible
Can you paint us a picture in mspaint?
mushroom lets you do that with template card I think. the icon can use a template
I assume the template would still expect it to resolve to the name of a single icon though, no?
And to clarify, I mean multiple icons at once.
oh you want multiple icons at the same time
Yeah, sorry
We might’ve gotten a mspaint masterpiece but now we’ll never know
lol
lol
I mean I don't se how it would be rendered still yet
like let's say you had 2 icons you wanted
how would you show that in the space of 1 icon
Why can’t you use a nested grid card
Or multiple of them
Like oldschool html but slightly sexier
I'd be fine with it taking up extra space. I'm hoping to preserve screen space by using icons to describe something instead of words. For instance an icon showing the state of the upstairs bathroom light would be like an up arrow, bathroom icon, and light icon (i don't actually have an upstairs, but just an example)
entities card button row maybe?
That could work. Main worry there would be the space added between cards, but that could probably be fixed with card_mod
What are all those icons doing @vast crane
nothing just added it for a mockup for purposes of this conversation.
I'm impressed with what you can do with home assistant, but find doing ANYTHING remotely custom as far as user experience and layout to be a pita
but essentially you're asking if there's a way to output icons
Yep
And worse, breaking changes to custom ui are common
So I steer clear as much as possible myself
sorry I'm not trying to bash or be... unappreciative or ungreatful
I'd say being able to do custom things is fairly easy. Definitely a steep learning curve though. I still forget how to use card_mod every time I try to do something
I just wish I had something like grafana. Will I be changing layout often? No. but it would be nice to ahve stuff where I didnt have to constantly drop into yaml editing
Things can’t be easy and also have a steep learning curve
and
Calculus is easy you just have to memorize 5000 things
right now it seems like my dashboard wastes so much space, no more room to drop cards
That's a good one, would only work in an entities card though, right?
but its really not all that dense with information
You can have conditional cards that only pop up when needed
There's a grafana addon
Like low battery, bad weather, etc
When only an entity is provided the button will attempt to toggle it by default.
Optional The entity_id of the entity you want to show.
Yeah honestly dashboards are almost an antipattern, but if you do want them, you should be using conditionals all over the place
Basically people fall into two camps- either you spend a ton of time constantly tweaking dashboards or you just make basic ones and rely on automations and voice control for most of the smarts
Like if my dishwasher, washing machine, dryer isn't on, why would I want it to take up space on my dashboard?
Depends. I prefer to have an all in one dashboard and then purpose built dashboards
and I want a bit more control of stuff like there are plenty of weather cards ou tthere
It looks cool, and I definitely went through that phase, but now I just want my dashboard to be a slim as possible
I mean for this dashboard I'm building, its to serve data to an inkplate10
which is non-interactive at all
just displaying info from integrations
I meant it's an "entities row" not a standalone card, right?
cept even in that shot, I cant get my dashboard to be even half as dense as that
even at high res
Speaking of conditional cards, does anyone else run into problems with auto-entities or state-switch where it won't display custom cards?
I dont know if there are settings or special themes or something (though if I'm honest, I'm not sure I've seen differences in themes
I finally figured out what the problem was, and it seems like a pretty glaring bug with both of those cards, but I guess more people don't run into it?
switching between the different minimalist themes
The problem is that custom cards load async, so if auto-entities tries to load a custom card before it's been loaded, it errors out.
is there a card where I can pull data from a list (say a forecast) and render data from the template for each day in the forecast (preferrably vertically)
(sucks coming from web dev background where I'd just have template repeat for n items in an array)
Like 90% of that information is useless though
Like why do you need to know sunrise? Or even sunset? Much less needing a giant graphic
Worst cast, have it display sunset only if it's after like 3pm or something and then hide it after the sun has set
this is my current dash
I feel like a lot of those widgets like sunrise/sunset, and living room temps shoudld be smaller, same with garage door status
seems like I should be able to combine my solar banks
(also I wish those sensor cards could be since midnight, instead of just last 24hr)
There are more advanced graph cards that can probably do that
honestly I feel like if thre was a way to set scale, or do like a zoom out so that they cards themselves arent so large
thats why I was saying something like grafana
not that I want grafana here
just drag drop
if I want this graph to be smaller, I just resize it smaller
lol don't get me started on drag and drop. I still think the most glaring problem with HA is how you have to rearrange cards on a dashboard with arrows that move things to completely unintuitive locations
their reflow as much to be desired
but I think of it like they have room for improvement on the UI friendliness front
the power of it is in the flexiblity/yaml atm
Someone took a swing at it a while back who works for nabu casa. It worked fairly well
I've built shit like that from scratch not so much dashboards, but interfaces that wre basically designers
I work on software essentially for people to design dashboards lol
where you lay shit out, components fill up the container size you gave it
It sounded like there were some technical challenges
we ended up supporting multiple layout types
some people want a fluid one, some people want exactly this dimension / resolution etc
and even in the fluid one they want configurations per device type
like they want reflow to happen like x for tablets and like y for mobile
after trying to get this dash that looks the way I want, I actually got to the point where I was wondering if there was a way I could just use homeassistant as an API and build my own frontend
Omg Becky that’s so responsive
its pretty, and generally works pretty decent
I wonder how hard building custom cards is
instead of bitching I could just do that
Depends on what you want to do
well say for just rendering weather the way I want it to display
slap together yet another weather card
but rather than bending some existing one to get what I want in it, I could just create one that serves my needs from the get go
I mean do you want a 3d animated ray traced sun graphic that winks and smiles at you when you walk into the room?
no not at all
Are you offering?
I mean if they had some kind of way to have you define reusable cards in home assistant and then be able to embed those into other solutions
then you could have people use x, y, z dashboarding tool to lay it out maybe
Because the "the way you want" is kinda the crux of it lol
That could be easy or it could be hard
reuse of cards would be nice too
There's decluttering card, but I've actually kinda found it useless since it only works per dashboard
Can't share across dashboards
I don't want to go yaml cuz being able to play with things in the UI I think is pretty important. It's too bad some of the advanced features aren't available there
At least now that we have macros that can reduce a lot of duplication
thats the other thing I like about something like grafana
Btw are you familiar with the grafana addon?
oh I want to display this metric, I can pick the formatter, and the label stuff, maybe create an expression that translates data
no because I dont literally want grafana or anythign from grafana here, I just like the way you layout and configure items on dashboards there
Curious what folks use to display "alerts" or temporary messages?
For example, I have a temp controller. If the automation that controls my temp high phone notification fires, an alert should show on the dashboard.
I could create a conditional card for each case, but I'm wondering if there's some HACS add-on where I could just fire a service and have a single card that compiles all alerts... If that makes sense.
I kind of like an entity-filter card for showing anything that I might consider an "exceptional state". I use a glance card as the type.
so my first card on my home dashboard has a little icon for anything I want to show as sort of an alert.
Check out the "Alert" integration too if you're not familiar with it. It handles repeating notifications and giving you an entity that tells you if something is in an alert state or not.
Yeah could you clarify, are you using the alert integration or just alerting manually?
I have something like this for my alerts using a template. Roughly this:
states.alert
|selectattr('state', 'eq', 'on')
|map(attribute='entity_id')
|list
Hi all should the following not work to turn two light bulbs on? If used in an automation.
target:
entity_id:
- light.bulb_l
- light.bulb_2
data:
brightness: 100```
what does it do?
It only turns on bulb 2
maybe try it from the dev tools / services tab and see what happens
try bulb 1 alone too... looks okay at a glance to me though
call service works ugh
data:
brightness_pct: 100
target:
entity_id:
- light.bulb_1
- light.bulb_2```
maybe I will try swapping where data is. as services created, see what happens thank you
👍
the order doesn't matter
it's more likely to be something else in your automation if the service call works in
-> Services
or another automation
but also brightness vs brightness_pct
maybe it's setting it to 100 / 255 for the first one and you don't think it's working heh
(or it doesn't support that)
true, brightness: should work, but maybe it's too dim
sounds plausible but still did same thing, I will show entire code
@foggy fox I converted your message into a file since it's above 15 lines :+1:
if you're single why do you have a wife
I wonder if you can figure out what's happening with bulb_1 when that thing runs
since you see bulb_2 lighting up from it I assume
yup everything works except bulb 1 doesn't light up
trying 3 bulbs now see what happens lol
same brand bulbs same light fixture
switch in overview shows off and states shows off as well
my bad forgot to reload the brightness change seemed to resolve it. Thanks @sonic rapids got me on the right path
Oh man I'm such a noob I didn't even see the alert integration. I will look into that. Is that what you're example uses?
How does it handle cancelling an alert?
Ok thank you. That helped me tweak my search query and I came across this. It's exactly what I'm looking for!
https://community.home-assistant.io/t/simple-and-effective-alerting/394027
I use custom button-card.
Now, i want hide the row Gió Nhỏ - Gió Vừa - Gió To when Quạt Trần is off, and showing when Quạt Trần is on.
How to do that
can Someone help me.
Thanks
Wow so many things connected in your kitchen
Pretty cool stuff in that post! I'm actually considering migrating away from alerts showing up on my dashboards though since sometimes I can't resolve things for a while. Don't want them crowding up space on my dash. Instead, I'm thinking of having it create a persistent notification daily or something, just so I don't forget about them.
One drawback of alerts is that the action is restricted to notifications. It would be nice if you could run arbitrary actions such as scripts or service calls. I recall seeing Frenck calling this out as well on github somewhere.
thanks worked like magic
Hi, I’ve just upgraded to the latest and notice the mushroom entity card is now showing my Eve door Sensor as on/off, rather than open/closed.. any ideas?
Is anyone using Power Flow Card ?
i have a header of type buttons which shows a lot of binary sensors. is there a way to only show the active ones?
instead of header i used a separated card: entity-filter of type glance. works exactly as i wanted.
If I want to use card mod to get rid of the header for a tablet UI it has to be done in a theme.yaml? I don’t want to change the theme, just get rid of the header. How?
Kiosk Mode (available through HACS) https://github.com/NemesisRE/kiosk-mode
i would like to add a virtual numpad on home assistant to use to enter numbers into the input boxes how can i do that
I would imagine there is probably a custom card you could find that does something like that. If you want to stay with pure stock HA, then I think you'll have to create a 3x4 grid of button cards, and configure each button to append a digit to input_text
you couldn't use what home assistant uses for alarm
That came to mind, though I know recently it seems like the alarm keypads were being ripped out in favor of a dialog that pops up when armed. So I'm not sure how repurposable that is for a generic keypad. Or maybe that's just for tile card, and the alarm control card will stay as is...
I don't have a clue how to create the code
therefore there is no virtual numeric keypad for home assistants ready to be entered
i tried looking everywhere i cant find anything like to create it
Can I somehow only change the app-header-background-color on smaller screen devices with card_mod in the theme?
This will make the header red but not sure how to get to the app-header
card-mod-root-yaml: |
.: |
@media screen and (max-width: 800px) {
.header {
background-color: red !important;
}
}`
guys, I think I stumbled on a bug....
I use a subview with a single webpage card. The more I click on the website rendered, the more times I need to click the back arrow at the top to exit the subview. Basically the back arrow at the top of the subview just acts as a "browser back" function, rather than a "go back to the main dashboard from which I came"
Looks like exactly what I need. Thanks.
if I remember rightly as I have always done it this way add alarm_code: your numeric code into the secrets.yaml file.
I don't know if that's a bug but certainly it's always been that way for me throughout HA. It's actually unexpected for me too really
If I want to look at the attributes of an arbitrary entity, is the only way in the developer tools? I know I could make a template sensor to display it, etc, but just to view them one-off, there's no way from the details popup or anything I'm missing, right...? that's always seemed weird to me
There are several ways, but the developer tools is the easiest and most comprehensive IMO. You can also hit "e", find the entity, and hit the cog
I suppose the answer to your question about there's no way from the details popup is "hit the cog"
Hi, where has the configuration gone to disable certain dashboards per user? I made a guest access for one of our friends and built them a slimmed down dashboard to control some lights when they're here. Now they can see every single entity in our HA and even gets thrown on the default Overview dashboard when logging in. Not exactly what I had in mind.
okay, found it. It's per view, not per dashboard.
There's no attributes listed under the settings menu of more-info
looks like it depends on the entity
there was an effort a few releases ago to redesign the more-info dialog and simplify it, which also involved moving or removing attributes
dev-tools is the comprehensive and authoritative source
for instance:
Well then I hope for the better. I have all, Home Assistant and HACS Add-ons/Integrations updated to their latest version, but currently I am not able to scroll or swipe on my mobile apps interface, which is a strong limitation. I can not enter the sidebar and cannot scroll on pages which are larger than the phone's screen...
That's weird. None of my entities have that. And yeah, the Cog is just renaming and stuff.
I think they moved the attributes to the cog and then maybe moved some back?