#frontend-archived
1 messages · Page 8 of 1
Or the slider might be buggy
Yeah it definitely has something to do with the swiper card
Having an annoying issue wondering if anyone knows what may be a solution. My main dashboard consists of may mushroom template cards that I use to be able to color the icons, have badges in certain circumstances, and multiple data presented. Anyway, often times, the icons are blank until I exit the dashboard and go back in. Happens on mobile and desktop
What kind of icons are these? If it's a custom icon set then it may not be loading correctly
vs
its a mix, some MDI, some PHU,
PHU might be causing the problem
hmm Ill reinstall phu maybe
On another note does anyone know how to remove the borders around a card?
I want to remove the lines on the kitchen lights card
You mean the title?
no, like the lines around each button, kitchen overhead, kitchen sink etc..
Well that's CSS, it depends on the card and your theme
Oh im not at the CSS level of creating buttons yet
I got a script that turns on the water heater for 30 minutes and sends a notification to my phone when it's done.
Is there a way to turn the script activation button into a 30 minute countdown while it's running?
You can do that by using ‘card-mod’ that you can find in HACS
Can anyone help with aligning the content of this iframe to be centralised, this is the only way I can get the content centred, which does not change based on window size?
type: iframe
url: >-
https://www.fctables.com/teams/norwich-190914/iframe/?type=team-next-match&lang_id=2&country=67&template=10&stage=32712&team=190914&timezone=Europe/London&time=24&width=350&height=200&font=Verdana&fs=12&lh=22&bg=FFFFFF&fc=333333&logo=1&tlink=0&scfs=15&scfc=333333&scb=1&sclg=1&teamls=40&sh=1&hfb=1&hbc=ffffff&hfc=000000
aspect_ratio: 3/1
card_mod:
style: |
div#root iframe
{
transform: translateX(15%);
}
Hey, someone did a multiple dashboards with ui-minimalist ? When doing that I have : n.setConfig is not a function. Like the config cannot be set into the apexchart component. Please let me know if someone has an idea 🙌 @polar kelp ?
@fathom schooner yes 🙂
all the the pictures i saw were for mobile (:
sorry if it was a dumb question 😂
Use : minimalist-desktop theme 🙂
hey all, merry xmas,
Having a horizontal card with 2 columns but want one column 25% and the other 75% any easy weay to do this
Anybody has an idea about this bug ? 😦
try this
<iframe src="https://www.fctables.com/teams/norwich-190914/iframe/?type=team-next-match&lang_id=2&country=67&template=10&stage=32712&team=190914&timezone=Europe/London&time=24&width=350&height=200&font=Verdana&fs=12&lh=22&bg=FFFFFF&fc=333333&logo=1&tlink=0&scfs=15&scfc=333333&scb=1&sclg=1&teamls=40&sh=1&hfb=1&hbc=ffffff&hfc=000000" width="350" height="200" frameborder="0"></iframe>
<style>
div#root iframe {
display: block;
margin: 0 auto;
transform: translateX(15%);
}
</style>
Hi There - is there a way to have contextual confirmation text on a button Entity? At the moment im using the following to confirm the action, but would love it to say “Turn On Away Mode?” Or “Turn Off Away Mode?” Depending on the entity status 🙂
tap_action:
action: toggle
confirmation:
text: Toggle Away Mode?
tap_action:
action: toggle
confirmation:
template: "Turn {{ state_attr('away_mode', 'on', 'off') }} Away Mode?"
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
When adjusting lights from the dashboard via the More Info view, is there a way to make it so that changes have a 1 or 2 second fade-in as opposed to doing it right then?
Sadly no that doesn't centralise it inside the iframe.
I'm trying to output a train sensor attribute in a markdown card but I don't know how to use the right syntax so I can only show departure times.
This is the current output from the attribute.
[{"departure": "13m 56s", "delay": null}, {"departure": "20m 56s", "delay": null}, {"departure": "28m 56s", "delay": null}, {"departure": "35m 56s", "delay": null}, {"departure": "43m 56s", "delay": null}, {"departure": "52m 56s", "delay": null}, {"departure": "1h 2m 56s", "delay": null}, {"departure": "1h 12m 56s", "delay": null}, {"departure": "1h 23m 56s", "delay": null}]
I just want to display the first 2 departure times.
like this?
{% set data = [{"departure": "13m 56s", "delay": null}, {"departure": "20m 56s", "delay": null}, {"departure": "28m 56s", "delay": null}, {"departure": "35m 56s", "delay": null}, {"departure": "43m 56s", "delay": null}, {"departure": "52m 56s", "delay": null}, {"departure": "1h 2m 56s", "delay": null}, {"departure": "1h 12m 56s", "delay": null}, {"departure": "1h 23m 56s", "delay": null}] %}
{{ data[:2]|map(attribute='departure')|list|join(', ') }}
-> 13m 56s, 20m 56s
Would I be able to substitute my sensor attribute into this?
{{states.sensor.mbta_coolidge_corner_to_park_street.attributes.upcoming_departures}}
the whole first line is just your data
so, yes
{{ state_attr('sensor.mbta_coolidge_corner_to_park_street', 'upcoming_departures')[:2]|map(attribute='departure')|list|join(', ') }}
That doesn't seem to output anything unfortunately.
The first bit worked but didn't seem to like when I combined them.
time to debug
Would departure be an attribute in the output of the attribute upcoming_departures?
Trying a combination of commands in the template.
Currently getting 'str object' has no attribute 'departure'
I have an obscure integration called mbta predictions.
It has a card that will display the info but it doesn't scale well.
jeez the ui is so bad for configuring a device
it cuts off half the text
how is it so bad
Can you share a link to this integration?
I can get the closest train times through standard entity card but nothing beyond that.
This is the card. https://github.com/dhanani94/mbta-card It can read properly but enlarging it is messy and not clean.
Define "enlarging" for me
I'm editing the font size with card mod to make it readable from a distance. It ends up bunched together. The vertical lines spill off the card.
Well that's more of a styling issue. If you want readable from a distance, consider using a theme based around larger text for that dashboard/view
Didn't think any themes were built around that.
I can guarantee someone out there will have made one, at minimum for accessibility
Embiggening
But as well as increasing the font size, also increate the line height and tweak the padding/margins for the card and for the rows. Consider using it in a panel view instead of one card in a masonry dashboard
{% for train in state_attr('sensor.mbta_jfk_umass_to_alewife', 'upcoming_departures') | from_json %}
{{ train.departure }}
{% endfor %}
What it currently looks like. Forgive the photo but I only have discord on mobile.
This works by the way
I installed the integration and configured it using the defaults in the docs.
That in the markdown card?
I did it in dev tools, but I suspect it will work in the markdown card too
Bonus mode: {{ train.departure }}{{ train.delay | iif("(delayed "~train.delay~" )", "") }}
Granted none of the options in the examples from GitHub seem to have a delay, so I have no idea what it looks like, but it seemed like a good thing to include.
That works. I've never seen a delay in the card either. Usually says null.
Well, either you have exceptionally lucky trains, or the integration is failing to get the data
Though having spent 2 minutes looking at the code for the integration, I bet you can DIY with the RESTful integration: https://api-v3.mbta.com
I've been poking at other transit cards/ integrations trying to see if they would work but they seem to be tailored to their individual transit systems.
What would I need to add to limit to 2?
As in you just want the first two predictions returned?
Yes.
You can add a limit parameter to the integration 🙂
(At least according to the docs)
(state_attr('sensor.mbta_jfk_umass_to_alewife', 'upcoming_departures') | from_json)[:2], but this works too
Just edited the configuration before I saw that. Sorry for bothering so much. My knowledge is overall patchy and just trying to figure out things as I go.
And if I ever visit Massachusetts I now have some transport stuff set up in HA 😂
My goal is to intermittently display the train times on my nest hubs so I have a passive idea of when I should leave for the train.
Finger's crossed you get there. I've made a PR to that project to add the template now we figured it out: https://github.com/dhanani94/mbta_predictions/compare/master...RosemaryOrchard:mbta_predictions:patch-1
Thanks. I found a way to cast using a blueprint so I think I'll be fine. A lot of my setup is put together using duct tape.
Duct tape is a good starting point, you'll figure it out
Still not answer to my question, can someone has an idea ? 😦
I believe this is fixed in upcoming 2023.01
really not a fan of how many buttons you have to click just to get to devices tab
can i remove the energy and map tabs, maybe add a shortcut to devices page?
yes
You can also press C in a browser window and then start typing a page name to jump to it
Is there a trick to fill the full card width in a markdown card? I have a table set up with right justification but there's a huge gap on the right side still.
Maybe also worth sharing in here since it’s sort of front end related: Issues with number of decimal places on a Helper Number #energy-archived message
In the css you can put: width: 100%;
@karmic tendon I converted your message into a file since it's above 15 lines :+1:
is there an way to turn on that you first have to put in a code to get in your lovelace dashboard/page? I have an ipad on the wall with hassio on it but my kids can also control it and i don't want them to control everything like the curtains! 😆
Have a look at the hacs 'restriction card'...I use this to prevent accidentally swithing off power plugs (supplying the passccode in the message) but that is just 'me'
thanks!
is it possible to change the color temperature of a light with tile card?
and for some reason I can set the color temperature to a ridiculously high number. My light does not support RGB as well, but the tab is there for some reason.
Probably warrants a github issue.
not sure, it only applies to that light which is a cheaper Chinese made one.
all my other lights are not from Chinese brands, except that one that has the issue
I am guessing they cheap out on the firmware and it reports that it supports color while it doesn't. and maybe it reported the wrong max color temperature number as well.
Is there any way to fix it on my side though
I would look at the developer tools attributes, I think that should have some details about what it supports. Does it have anything like this?
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 9009
yes, but I think it has the wrong number
and it definitely does not support xy color
is there any way to override this?
What you maybe could do is create a template light, and then with an automation mirror that template to this light.
The template light could be defined with the correct properties, should make the UI behave better.
Is the bulb through zigbee, a custom integration, ?
Any idea why my garage door turns purple now when the door is open. A couple of weeks ago, it was yellow. I'm just using a standard Button Card:
show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: cover.garage_door
show_state: true
It stands out from all the yellow light bulbs, but I'm curious why it would have changed.
What version? The colors have been churning a lot throughout December.
Home Assistant 2022.12.8
Frontend 20221213.1 - latest
is it possible to do this without using an automation?
thanks, @vast crane and @midnight island. That seems to be it.
As noted, don't particularly care all that much, one way or the other, was just curious why.
They basically standardized the colors because they were all over the place before. Now purple means open and grey means closed. My shades are also purple/grey
I'm not aware of an obvious way to force attributes of an integration provided entity to be something else. Again I ask, through what method is this particular bulb integrated?
It seemed consistent before: grey=off, yellow=on. Just had to remember to think that for a door=open=on which is... weird... at first.
Yeah I think solving that weirdness was part of the goal. There were other states that didn't make much sense. iirc presence was red/green in the state history
ZHA
I haven't tried this, but it might be a way. I would consider this somewhat advanced. https://community.home-assistant.io/t/how-to-setup-local-zha-quirks/341226
Otherwise you might go file an issue here: https://github.com/zigpy/zha-device-handlers/issues
If this value is wrong for this bulb model, ZHA can override it with a quirk.
hey guys any idea how i can make the mushroom light card default to the color slider instead of the brightness one ?
is there any state variable i can set with card mod or something like that ?
Default as in always use? Per card it's show_color_control: true
i looked at the code it defaults to the first entry in the active controls, that is brightness because of the way the code is written https://github.com/piitaya/lovelace-mushroom/blob/main/src/cards/light-card/light-card.ts#L157 i'm interseted if i can change that behaviour
You can't change the order of the controls for your lights. No.
sad 😦
File an issue or a PR if you want to see a change. If you've found the relevant line of code, you're already halfway there 👍
writing the code wouldn't be hard , but i'm not sure how you go about developing on these things 😄
thank you will take a look ❤️
how do I do this think got a wrong indentation or something entity: light.baby_room secondary_info: '{{ states.sensor.hue_motion_sensor_1_temperature.state }}°C'
Secondary info should be an attribute name in most cases. Not a template.
Also, states. will error at startup, use states('sensor.hue_motion_sensor')
can it be an attribute of a diffrenty entity?
E.g Light but want secondary to be temperture of device in that room
I assume I have do add this into my config to put the attribute into the entity then I can display it like ```light:
- platform: template
lights:
living_room:
friendly_name: Living Room Light
value_template: "{{ is_state('light.living_room', 'on') }}"
turn_on:
service: light.turn_on
entity_id: light.living_room
turn_off:
service: light.turn_off
entity_id: light.living_room
secondary_info:
sensor.hue_motion_sensor_1_temperature:
attribute: temperature
unit_of_measurement: '°F'
That won't work. Secondary info can't be another device unless you're using a custom card/similar. Thomas Loven has one for entity rows I believe.
Thanks got it Secondary Info is off entity only
will go use this https://github.com/benct/lovelace-multiple-entity-row
Taa 🙂
Hey guys,
does someone know if it is possible to add a Graph to a group ?
i would like to add the temp sensor as graph to my climate group, so i can see the difference better, is that possible ?
How to use the URL in the View to show the energy dashboard? Since im hiding the sidebar
trying again if someone knows this issue : Hey, someone did a multiple dashboards with ui-minimalist ? When doing that I have : n.setConfig is not a function. Like the config cannot be set into the apexchart component. Please let me know if someone has an idea 🙌
Do you mean a card? The entities card can have a graph in the header or the footer
Did you try opening an issue (or checking the issues) on this card/theme?
Yeah but the graph is "unlabeled" in the header of the entities card.
my Goal was it to add a graph to:
Thats the normal group card.
The issue with my card management is, that the should temp comes from another sensor and not from the E1
No I did not, just wanted to debug, it hpns only when using multiple dashboard, can be a strategy missing from the card ?
So add your own chart and put them together in a stack 😉
Yes, it could be.
You have an idea how to integrate strategy with UI-minimalist to debug it ? 🙂
I don't use that at all
A way to debug perhaps ? 🙂
As I've never used that card or seen a problem like that, no
This is why I suggested opening an issue on that repo
The people who use it and develop are those best suited to help you debug
Oh shit, thanks for your replies I will do that 🙂
Does anybody know why the mushroom chip template is not showing 0 (zero) and it does show every other value (the sensor gives also zero in the developer tools)
type: custom:mushroom-chips-card
chips:
- type: template
content: >-
{{ states('sensor.woonkamer_total_covers_closed') }}
Can someone help me with a lovelace dashboard I want to cast on a nest-hub? I used the card-mod, but it the changes in the css are not casted on to the hub.
I found several thread there are problems with custom cards but no real solution
Can the url part in a view be used to show the energy dashboard?
someone used the cardPower on nspanel / lovelace_ui allready with home assistant?
When i have a dropdownlist list i can't tell there are more items to scroll down. There is no visual indication.
is it a browser thing? Or is it in HA?
hi there, I'm newbie to HA and I am struggling to get some "basic" stuff working. Right now I am trying to install this theme https://github.com/basnijholt/lovelace-ios-themes and have it working but I am stuck in the automation section from the README since I do not know where to add those inputs, can I get some help?
I also don't know where to enable the newly installed theme 🤔
Hi, in the docs I see this message: https://ui-lovelace-minimalist.github.io/UI/setup/custom_cards/
Since the release of v1.1.0 support has been build in to select custom/community cards that are available in the main branch on our Github Repository in the custom_cards folder. This Removes the need for copying over files from the Github Repo and put them in the /config/ui_lovelace_minimlist/custom_cards folder.
How can I reference them in a yaml file without copying?
HI, to be horribly honest, I use this channel for techy stuff and do not have the time for basics.... but I do know that people on the HA forum are a lot nicer than me 🙂 Try there https://community.home-assistant.io/
Hello all !
I've looked around for an answer but maybe I'm missing the obvious here.. : can we use the long-term stats in lovelace (apart from the stats graph?) like the whole time energy from a shelly PM device ? (that resets everyday)
I've seen I can use stuff from the recorder (history?) but it only keeps a fews days worth of data..
Yeah, history is in line with your recorder, usually 10 days max. For graphs I have seen that plotly allows to dig into statistics....but from where I am standing, not a lot
I catually do not want graph, in that case, the sensor is coming from the shelly integration, energy in kWh, that gets reset everyday (by the device), so the only way to keep the total is via the long-term data, which I get, as bars for the daily consumption graph... but all I want is how much kWh from the beginning, seems simple though impossible to get 🙂
it is not impossible but you have to create a SQL sensor and dig into the db. Often it is easier to create a new sensor on the side, here you can e.g. use utility meter for day/week/month
alright I'll endup doing that then 😅
I have influx and grafana but though I ditch all those now long-term stat has been around for a while
maybe I can have a look at the source of the stat graph, see how it gets its data ?
With influx/grafana you can achieve most (?) of what you need...but just as a dashboard and not for re-use in HA (you know that )
it depends a bit on what you want, ploty helped me a bit(!) but not with all graphs...let-alone the data itself, hence new sensors (not bad, jst tons of them)
yep
actually, after looking at the source of statistic-graph, I thought, ok I just need one number, so let's look at the source of the entity card
and I "stumbled" on the statistic card... which displays only one stat...which is what I'm looking for, so it was there all along ^^
sorry for the bother !
it has to be a separate card though, cannot be one number withing the entities card for example
type: statistic
entity: sensor.energy_consumption
period:
fixed_period:
stat_type: change
as long as it is a card/graph one is largely covered, if you want to use statistics data for other purposes .... less easy
I am using vertical stack to use multiple cards but want them to appear to be a single card, is there a way with card-mod that I can remove the gaps between cards?
I already tried adding padding-top, padding-bottom, margin-top & margin-bottom to the style for ha-card
scratch that, I forgot to put them in :host
How did do it? Can you share your yaml?
Interesting, I achieved the same look without that haha
Is anyone aware of a ui slider that when linked to things like the brightness of a light, applies the value continuously as the slider is held/dragged rather than applying when the slider is released. I watched a few people in our house use a mounted HA tablet over the holidays and i notice many found it a little clunky with the default sliders which only apply on release, leading to the user performing hold, drag, release, hold, drag, release, until they reach the desired value.
@supple bear I just noticed the same behaviour yesterday when I slid a slider whose value changes are monitored by an AppDaemon app - as I moved the slider I received about 10 TTS Announcements (as the AppDaemon app processed the changes) before I even released the mouse button
Oh nice. Whats the name of it. Ill use it for lights / some volume sliders i have set up. Cheers!
As much as i dont like to use google homes ui, this continuous slider was something i liked when i do use it.
What I'm saying is that the native slider already seems to exhibit this behaviour - is appears to send updates to the backend before mouse/touch release
Oh, hmm ill check why its not working for me. Perhaps its the slider in certain views that doesnt do it. I just tested clicking the name of a light on my dashboard and on the page where it shows the name, brightness, colorwheel. The slider here for example doesnt update a lights brightness until finger release, right? Im testing on the android app btw.
Same for me for the new tile slider when used for light brightness. Only updates on finger release.
The tile for example still says '100%' under the light name as i have it dragged to about 50 but not released yet. It seems neighter the light or % text updates until release. Is it android specific i wonder.
Hey Guys, I am a total noob at home assistant but gettig there, i am trying to create a custom sensor but keep getting the following error.
Invalid config for [sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 15).
My sensor.yaml only contains a single entry.
`template:
- sensor:
- name: "BYD Battery Watt Hours"
unit_of_measurement: "Wh"
platform: "state"
device_class: "energy"
state_class: "measurement"
state: >-
{{ (states('sensor.byd_battery_box_premium_hv_current_dc') | float) * (states('sensor.byd_battery_box_premium_hv_voltage_dc') | float) }}`
- name: "BYD Battery Watt Hours"
What is 'platform' doing there?
It doesn't belong there
This is an #integrations-archived topic, not #frontend-archived BTW
Seems doubtful
Oh, you can't put template: into sensor.yaml
That goes in configuration.yaml
ah okay
perfect that worked, thanks
just wondering if anyone knows a why of doubling up a drop filter
I tried the normal styles:
icon:
- filter:
- drop-shadow(0px 0px 6px rgb(128,0,0) drop-shadow(0px 0px 6px rgb(128,0,0) but it does not seem to work no more
colors work fine drop-shadow(0px 0px 6px red) drop-shadow(0px 0px 6px red) to make color more bold but not anything else
long time since I visited my media_player view, to find out my auto-entities card config with filter: include: - domain: media_player state: /playing|paused|'on'/ options: type: custom:hui-media-control-card does not show any card and renders emtpy (and even kicks in the new else: parameter (thank you Thomas!), where commenting the options: section shows correctly
changing the filter to: - domain: media_player.* makes no difference, so it must be the type: custom:hui-media-control-card ?
Hi
How to integrate ptz on frigate card?
Hey! In the "add helpers" menu in the configuration I don't have a "group" option. I can add "toggle" and "text" and other helpers, what do I need to do to add a group via the UI?
Is your HA out of date? Group helpers were added back in April
Indeed it is, I thought I'd updated the Docker container, apparently not. Thanks!
With that big of a version jump, you have a higher likelihood of running into breaking changes. Ideally you should check all of the release notes from whatever version you're on up to the current one
Google has decided that my home assistant frontend is a deceptive malware site and broken mobile web access and android app access. Has anyone else faced this?
Seems like Energy dashboard cannot be set as default dashboard, do you know if that is a design decision or it just haven’t been implemented?
I usually just risk it, not that complicated a setup. Seems to be fine except for some minor things. 🙂
Ha ha
Is there consensus on displaying dashboards on amazon show devices? I've seen various issues with certain versions, etc.
Hello. I’ve been banging my head against the wall a little trying to get a UI navigation tap to do two separate things. I’d like it to trigger a script, and then navigate to a different page after tapping on the item. I've searched a few places, but still haven't found the correct path to follow in achieving this goal. This code below doesn’t work (because you can't have two actions it seems), but it shows my intent:
...some UI card...
tap_action:
- action: navigate
navigation_path: /lovelace/0
- action: call-service
service: script.do_a_thing
Can I either get something like this to work, or can I make a script change the dashboard page?
Tiles can have 2 actions, for tapping on the tile or tapping on the icon
https://github.com/thomasloven/hass-browser_mod/blob/master/documentation/services.md can help with navigation, but it adds quite a bit of complexity
Great. Thank you both.
How can I start a script, when I press enter on a input_text field?
With a state trigger?
ok, thanks
hey y'all, I'm trying to add the custom button card from https://github.com/custom-cards/button-card via HACS but can't seem to find it. It says it's not maintained anymore but still listed as HACS supported. Am I missing something or is this card dead?
It's there and working fine
Oh I already have it installed haha wow nevermind
Anyone familiar with custom button-card that can help me with state colors? Documentation/older forum posts show examples like:
- border: solid 1px var(--button-card-light-color-no-temperature)
but this doesn't work in my case. The only thing that works for me is hardcoding a color like 'solid 1px red' and then it shows red when the state is 'on' as expected. I'm using a YAML template if that makes a difference
Hmmm this actually appears to be a pretty deeply embedded issue related to the recent change to color states in 2022.12 - I can't seem to figure out how to get the current entities color/hue to use with custom button cards to control state color. Anybody have a workaround to this issue?
var(--button-card-light-color)
does someone know a colorpicker card for the HA dashboard which does not open a popup for changing the color? I want the colorpicker without having to open the card beforehand
This one doesn't work either. None of the CSS variables built into custom button card seem to work correctly after 2022.12 came out which changed some things about state colors
I'm trying to troubleshoot/fix the button-card colors after 2022.12, I've downloaded the source and am trying to step through the code to see where it's failing. I'm newer to HA from a dev perspective though, can someone tell me how/if I can check the current value of attributes for an entity in HA UI? Specifically I'm looking at the rgb_color attribute of lights right now
@rough stream I converted your message into a file since it's above 15 lines :+1:
Even have the same issue for card_light, just doesn't appear while anything else does
nvm does now
has anyone run into https://github.com/home-assistant/frontend/issues/14298 and know of a possible fix? the css modifications listed there don't seem to do it for me
Hello, I've been trying to open home assistant from my Mercedes's mbux browser. When I try to log in through the system it always gives an incorrect login error, even though i'm using the correct credentials.
Anyone know how to change the background color of a gauge card?
I want the card background to turn a color, red or example, if the entity value goes below a certain number...
Or even i would be ok to just change the text color
hey guys, im not sure if this is the right place for this but i am trying to use my rooted vaccum valetudo map in home assistant, but im not sure how to do ive gone through every guide but non is giving me the right outcome of using my valetudo map in home assistant. any help is appreciated .ty
You followed this? https://hass.valetudo.cloud/
@shut solar I converted your message into a file since it's above 15 lines :+1:
From the docs:
Limitations
It is not possible to use templates for actions. But calling a script is a good alternative.
That was something I wasn't able to find easily. I mean, I knew now() was limited, but I wasn't sure what was the impact. Thank you.
HASL Departure Lovelace Card
Hi ho! I have a weird issue, and it might just because I don't understand how things work in HA. Anyway, i'm configuring this card: https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_scenes/?h=scene
But if I define anything less than the 7 entities then I see a bunch of console errors. Is there something I'm missing? Is there a way to define an empty entity or something? Or is it an issue with the template itself?
UI bug, cant send/delete remote commands by UI due to checkbox missing
yaml works
I would have thought the checkbox missing just implies that Command is mandatory. I think checkbox would imply that it was an optional parameter for that service call? What's on the right side of the screen?
youre right but oh gawd... if you change commands, it leaves the command text filled but wont work unless you delete and retype the command.
fixed it for some reason you need to add a extra ) on end of it so for my example - filter: >-
drop-shadow(0px 0px 5px var(--button-card-light-color))
drop-shadow(0px 0px 25px var(--button-card-light-color))
drop-shadow(0px 0px 35px var(--button-card-light-color))
drop-shadow(0px 0px 60px var(--button-card-light-color))
Does anyone know if its possible to combine a line graph and bars in a** mini graph card**?
I am looking to have the price(grey) as a graph line in the background and the power (red) used as bars in front.
apexcharts would be a good choice to do that
Does anyone else get flakiness with the state-switch card? Meaning it should be displaying something, but it doesn't.
I have a certain card display when I'm home, but even when the person entity is reporting me home sometimes the card won't display. I've seen it have issues with other cards too
Hello I am new to Home Assistant and I managed get it installed but I am having having trouble locating my dashboard. Where do I find it?
I was going to say that you're probably looking at it right now 🙂
ah thanks alright
Like right now I'm looking at HA on full-kiosk on my TV and this card isn't displaying, but on my laptop it is...
Same issue seems to be present with auto-entities
Is there a domain for light groups? I’m using auto-entities to show entities in the light domain, and trying to figure out how to exclude light groups. Excluding the group domain doesn’t work.
light. is the domain for light groups. They look just like a normal light, but with an entitity_id attribute that contains a list of the members
you could include the light domain and exclude the entity_id: attribute based on this:
attributes: Map of attribute: value pairs to match.
I guess. Or you could write a template that just outputs the ones you want
Let me try that first. Templates scare me lol
how on earth do you expect to transition to a higher plane of existence without embracing templates?
{{ states.light|rejectattr('attributes.entity_id', 'defined')|map(attribute='entity_id')|list }}
Using mushroom cards, does someone know if it's possible to change the color of the media player card?
Could someone suggest a nice way to display a news feed in a card?
Just a coding noob
Worked like a charm. Thanks @dark dirge
Could someone suggest a nice way to display a news feed in a card?
Please don't keep posting the same message, your message is still on screen and if someone hasn't replied it's because they don't have a suggestion for you.
Did you try exploring HACS and the many cards linked in the forums?
I have used Apex earlier, but think mini graph looks much better (especially in my Minimalist UI dash). But your card looks very clean, possible to share the code?
Good day, I was wondering if anyone might know where I could post a question about the stank in card and css size editing? I'm trying something and I haven't been able to do it for a month now 😟
*stack-in-card, sorry
Anyone know a card similar to mushroom entity card that allows me to show more than 2 informations? I would like to show state, last changed, and name in a single card (for my motion sensor) if possible. Now I can only show 2 of the 3 as primary and secondary information
after installing card-mod, it does not update to fit the theme which supports it. It just stays default. HACS also does not add the cards that I installed. Any ideas why?
Did you clear your cache?
Not sure of a card that does that (other than Mushroom) but what if you did a horizontal stack for each entity with two tile cards side by side, or alternatively with a tile card + button card? One for the icon and name, the other for state and last changed? Use a theme to remove the borders so it looks like a single card.
Come to think of it I’m not sure if either tile or button card can show just two secondary states and skip the icon and primary info. You’ll need to confirm.
Hello. What is the easiest way to do not show the outer grey lines?
Badges appear to be broken if the person is at another map location. Prior to the beta when Carole was at work it would show "Work" under the picture. Now it only shows "Home" when at home and "Away" when not at work. I hope this makes sense.
Hi all, does anyone know how to configure navigation pages for minimalist esh_welcome card? I cannot navigate out from homepage ...I followed the video from Lewis from Everything SmartHome but explanation on nav is not provided and I am quite nb
Thanks will test that @golden sky
I saw a recent PR that went in yesterday to fix this (#14974). Looks like it will be included in 2023.01 release.
no, how do I do that?
Ctrl+F5 on the page will refresh and clear the cache
Hi Linanck. I have exactly the same issue and despite posting 2 requests for help on the Home Assistant forum for the Mitsubishi Melcloud Integration have had no response. Here's what I posted: https://community.home-assistant.io/t/mitsubishi-melcloud-integration-with-home-assistant/26275/500 In particular I want to be able to access the controls for the horizontal as well as the vertical vanes (Vertical Vanes seems to be equivalent to Swing Mode). Were you able to make any progress since your post here in November?
Anyone reason why the edit in yaml for dashboards would stop working?
I can't see the input box.
What machine/browser are you using?
For something like this (https://ui-lovelace-minimalist.github.io/UI/usage/custom_cards/custom_card_drealine_roomview/#requirements), where would I put the template code? I found this path \config\custom_components\ui_lovelace_minimalist_ui_minimalist_\ulm_templates\card_templates\cards But there are a ton of other paths that look very similar so I'm not sure where it would go.
Hi all. I'd like to use card_mod to change the temperature color to red if the sensor is offline. I'm having a really hard time getting the syntax right.
entities:
- entity: sensor.water_room_temp
- entity: sensor.pool_room_temp
- entity: sensor.bears_den_temp
card_mod:
style: |-
hui-generic-entity-row:
$: |
.text-content:not(.info) {
color:
iif(is_state('sensor.water_room_offline', '1'), 'red', 'blue') }}
;
}```
That is where I'm at right now. Rob helped with the template line
the offline sensor gives me a 1 if it's offline and a 0 if it's online
@crisp cairn To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Windows 11 with either Firefox or edge both had it. Cleared cache and still no luck.
It happened when I add a new tab and go into YAML mode.
@crisp cairn I converted your message into a file since it's above 15 lines :+1:
I'm not sure which one is closer
I've seen some text boxes disappear on my iPhone, but others weren't seeing it and I just assumed it was the iOS build on my phone
anyway, it's a completely different platform and may be unrelated
again, this is wrong:
{% if states('sensor.water_room_offline', '1') %}
it hasn't gotten righter 🙂
here's a similar example from the docs:
card_mod:
style: |
ha-card {
background:
{% if is_state('light.bed_light', 'on') %}
teal
{% else %}
purple
{% endif %}
;
}
what I suggested is just a condensed version of that, but with the same effect
So sorry Rob. That works, thank you! However it's just the temperature itself I would like to change.
Got it working. Thank you for your patience with me @dark dirge. Very much appreciated!
Hello
I do not know if this is the right place for this, but there are translation errors in french and I would like to help correcting them
My problem is that I could not find neither where the code is nor how to send a patch
I already read this, but that is not clear enough to me
I haven't done it, but I presume you're supposed to click the link to join a "Lokalize" team, and translation updates are handled through that website. Did you sign up for one of those?
No, I did not. Having to start a trial to contribute made me think I was doing something wrong. What if I want to contribute once again in one or two months ?
But i will try if that is the only way
Then I will hurry up 😄
Huh, yeah you're right that's not intuitive :\ I saw something to the effect that Lokalize is free for open source projects, maybe the signup link is assuming you're going to host your own project. Anyway I assume you'll never be asked to pay to contribute to translations...
thanks for your help by the way 🙂
Follow this guide 😉 https://ui-lovelace-minimalist.github.io/UI/setup/custom_cards/
is it not possible to set themes for dockerized HomeAssitant?
I've tried the manual route, but I cannot for the life of me get this thing to show up in the UI.
Does anyone know to remove those borders.. I’m using theme minimalistic mobile
Add to the chip:
styles:
card:
- box-shadow: 'none'
Fixed it with the following code
style: |
ha-card {
--chip-box-shadow: none;
--chip-background: none;
--chip-spacing: 0;
} ```
Hello Marcus. Sadly no. Part of my request was also - like you - to be able to access easily both vertical and horizontal vanes, without success.
It's a pain but since Home Assistant seems not 100% customizable i'm still using the MEL Cloud app, even if it's laggy...
Hi Linanck, I think the problem with Home Assistant is that it IS 100% customisable - if you know how and that too much prior knowledge is assumed so the learning curve is very steep! I'll keep plugging away on the MelCloud HA forum until I get somewhere, but in the meantime I've been using the Amazon Alexa Skill from Mitsubishi and it's definitely a step up from the MelCloud app. As you no doubt know, you can create as many scenes as you like in the MelCloud app and those appear in the Alexa app and you can then use Alexa routines to add to the scenes in various ways so if you haven't tried it, I recommend you give it a try. I'll let you know if I find out how to configure Home Assistant to do what we want...
Ah, you are using Mushroom instead of Minimalist
yea indeed
Hi, in hassos I can integrate add-ons to the main menu on the side. Is this also possible, if I ran HA in Docker and want to integrate e.g. vscode running as a container besides HA?
Is there a way to hide a badge when viewed in the mobile app but not in a normal browser?
Hey,
I’m trying to make something that looks like a SWAKES Sensor counter, but I can’t figure it out by myself.
image
I want to count the number of entities within a group that I have and show also how many of them are in the ‘On’ state
For example:
I have group.cameras with 3 entities of my cameras, 2 of them are ‘On’ state and 1 is ‘Off’ state
So I want to show up in my dashboard 3/2 (3 is the total number of entities within the group, and 2 is the number of ‘On’ devices within the group).
How do I do that? I want to count my lights and some devices I have.
Thanks for help
got it. simply add a dashboard manually with a website panel
#templates-archived can help you write a template that counts the number of entities in a certain state. You could then use a markdown card to display custom templated text.
thanks!
Is there a name for this notation?
`[[[
if (variables.ulm_custom_card_esh_room_light_entity && variables.ulm_custom_card_esh_room_climate_entity) {
return "'i light' 'n climate' 'l climate'";
} else if (variables.ulm_custom_card_esh_room_light_entity) {
return "'i light' 'n n' 'l l'";
} else if (variables.ulm_custom_card_esh_room_climate_entity) {
return "'i .' 'n climate' 'l climate'";
} else {
return "'i .' 'n n' 'l l'";
}
]]]`
I would like to find a VS code plugin that makes it easier to read since it currently looks like this:
i created the learning file for my broadcom remote IR, now i got a file in .storage/broadlink_remote_ec0bae6af035_codes with all the codes (Power, Mute, etc). how can i add a nice remote on HASS ?
from google, https://github.com/marrobHD/tv-card, never used it
i want something more simple, like (power)+(mute)+(ChannelUP)+(ChannelDown)+(SoundUP)+(SoundDOWN)
no need of the 0 to 8
tv-card.js:5:0 SyntaxError: Unexpected token '{'. import call expects one or two arguments.#033[0m
oh gosh
i got that in my err log
i downloaded this file https://raw.githubusercontent.com/marrobHD/tv-card/master/tv-card.js
for now, i got this:
with this yaml code in ui
i d like to have a better ui figure for that
i'm progressing, now i got this
https://community.home-assistant.io/t/lovelace-swiper-card/72447 anyone use swiper card? Cant get it to work
Did you clear your cache after installing it?
got it working, was just brainfarting a bit in the yaml...
Had an extra - that shouldnt have been there, thanks anyways!
i'm trying to make my dashboard information more dense and just can't manage to do it. Is there any tips?
There is just so much whitespace everywhere
Ideally I dont want to scroll
well the dashboard i showed above should be a decent start for ideas to make that happen
also popup cards like I did here are pretty great
would it be possible to just write HTML? I bet I could get it more compact myself
can't believe i'm saying this but i'd rather write HTML than YAML, haha
If you want to just write HTML, you can write your own cards, or a web frontend and use the API to fetch data—though fetching the data would need a programming language
like I want to combine temperature and humidity into two a single card "70F / 80%" per sensors takes up less space
i use the grid card a lot for layouts
Don't forget there's always card-mod
i have no idea what card-mod is, what's that?
Is it possible to combine 2 sensors values into a single card?
oh man, the grid UI I made does not scale down at all on my phone
lol
is there a way to emulate a phones screen on desktop?
i guess I can just resize the browser window and see how that works
In Firefox and Chrome: Right click somewhere and inspect element, then click on the horizontal rectangle with a vertical rectangle overlapped
Ctrl + Shift + M on Firefox
oh man, You rock.
Hey all, is anybody good with apexcharts card? I have a donut chart and I want it to show a value of a different entity in the middle.
@cunning girder I converted your message into a file since it's above 15 lines :+1:
I'm trying to get that "return 1" line to show the value of an entity that's not in this chart.
Bruh how the hell does ordering work in lovelace, I cannot understand it 😩
Honestly, I'm just clicking arrows until it looks good enough
I am new to home assitant and i am trying learn ymal . are the keys in yaml configration variable? is there a rule to follow beside of the yaml syntex rules? i am confusing the order and where the keys come from . Can anyone please explaine for me a little about yaml here?
Hey guys what is the best weather service to use with the Hourly Weather Card? I tried accuweather and openweathermap but they don't show hourly segments
The configuration syntax is YAML.all the variables you can use depends on the service you are calling.
Would you mind sharing your dashboard YAML?
thank you for that. lets say i want to creat a card. am going to get the variables from the home assitant docs . and follow the guied ? are they the keys predefined ?
Yes, depends on the card you are using, default Lovelace, mushroom, custom cards, etc, they all have a doc that tells you what value it supports
now it is clear, thank you for the Clarification
Hello guys. Anyone has a tutorial or info about how to use auth_providers? Like Keycloak or Authentik? Im trying to use on of these but withou succes..
I want to dynamically change the default theme to Dark or Light mode, but I don't know the name for the name key of frontend.set_theme. Can someone give me a hint?
Send me a DM an I'll try to remember to do it once I'm done
Hello all,
I have a card that show lights with ON state since a while and I want to update the title, instead of string like "Light On" , I would like to have numerical count into this title.
I tried title: {{ states('sensor.count_lights_on') }} and save the card (type: entity-filter)
Once saved, I see title: '[object Object]': null
There is a way to have what I would like ?
When making a dashboard, I want to use input_text.mailbox to display as an entity line on an entities card, but not have the field editable, just read-only. I'm trying to find a solution in documentation, but perhaps I'm not using the right terminology. Any suggestions?
screenshot: https://imgur.com/a/nrGU2Zm
I'm using a vibration/tilt sensor on the mailbox door, and it doesn't have a simple output, so I have an automation to change the state of that input_text helper based on x, y, z angles, then announce it via media player.
doing similar things with garage door vibration/tilt sensors, so this would help that as well. Do I need to create a custom entity maybe? Looks like it's possible, but another rabbit hole to go down.. 😆
@worn void Glance card is okay for kind of read-only
or custom:mushroom-entity-card
why you want to have an input_text helper before announce to media_player ?
Btw, it's exactly what my wife is asking to me about having something into the house mailbox when post is putted somethings. I never thing about vibration but I have one zigbee vibration device here that could be do the job. Just need to put in a waterproof protection somehow
I think it's time for me to completely overhaul my interface for HA. I built each tab around house-wide functions, rather than building tabs for rooms. On reflection after having a basically unchanged interface for a whole year, the most frequent things you will want to do manually with an interface will all be for a specific room. Is there a forum/reddit thread with mobile-first UI inspiration?
@green raft take a look at https://ui-lovelace-minimalist.github.io/UI/
Definitely looks like a good start, thanks!
hey all, does anyone know what the name for the little flame icon is?
related: how do I make it bigger?
also related: or add it to an icon that doesnt have one?
I'll check those out, thank you
just to be able to have a place to display status that isn't just x/y/z values - they don't translate obviously at a glance, especially since the sensor's x/y/z values are based on if you had mounted it on a flat horizontal surface, not a vertical one like a mailbox door or garage door: Sensor-y is real-z, sensor-z is real-y if you mount it on a vertical surface.
So when I set the helper text, that can be read back using Google devices or phone voice agent: "Mailbox is {open/closed}" instead of "Mailbox Y value is 87%" or similar.
I can also use the helper value to differentiate between status changes a bit more easily when building automation logic
What card is this? I donot have this icon so possibly you installed something I donot have and I actually like to icon
It’s a mushroom temperature card, but also shows up on person cards and some others
I think it depends on your mailbox, most are pretty weatherproof, and the Aqara vibration sensors can tolerate pretty cold weather. I've had mine in there (inside of the door flap) for a few weeks now and it's been between rainy and snowy the entire time, no issues at all, and I put a bit of bathroom caulking over the battery compartment edges + pairing button so moisture can't get in, but the button is still functional. Replacing the battery just requires a few seconds of peeling with your fingernails to pull the caulk right off.
Only problem I've had is the mailman sometimes opens+closes the door so quickly (<1 second) that the sensor doesn't record the angle change. The vibration sensor notes it, but strong gusts of wind can also trip vibration detection. Trying to find a nice way to balance it to reduce false positives.
Should also clarify that I chose the tilt/vibration sensor because we had a truck with a trailer turn around in front of our house and something caught our mailbox and ruined it + bent the post, only know from the tire marks. I have a separate project to get one of those ESP32 camera kits up to take high-res photos of different events in different locations - I plan to have vibration and motion events trigger the camera to take shots.
I donot have these...what is the intergration? or is it HACS?
Mushroom theme integration is through HACS yeah.
installed it but I cannot see any icon that resembles yours, how do your card-settings show? Or did this come via mushroom theme?
@worn void Thank you for the notice. I already put the aqara vibration sensor some hours from now 🙂 . I'm also having strong wind. I will not check those attributes about angle but may be use another value about vibration weight (vibrationstrength) reported by deconz
I believe it came via mushroom theme. The icons show up for people, too. I'll include a screenshot one sec.
whatever I do... donot have this, I do see the icons in them but no clue how this is activated, mushroom is totally new for me too
Alrighty, thanks for checking it out!
the doc says that one should not need MR Themease form 2022.11
from
I am on 2022.12.8 and I did install the cards...but ... nothing of sorts....and now this is bugging me 🤨
Thanks, will update you also if someday I research again on this topic.
I don't have any smart device at home. I waited to have my own server to host everything, not a big fan of relying on third parties services from personal/home usage. I will build for sure a personal voice assistant later on 🙂
HA being 100% customizable is a good news, but if there is no doc/no help to find the right conf file to modify, well, it's not worth it 😒
Again, some day I will look again into it, when all my AC will have a wifi module
Speaking of, I want to try to bypass completely Mitsubishi and keep everything local. I saw stuff like this : https://chrdavis.github.io/hacking-a-mitsubishi-heat-pump-Part-1/
https://www.esp8266.com/viewtopic.php?p=62020
https://espeasy.readthedocs.io/en/latest/Plugin/P093.html
Maybe you'll be interested in
I'll try building one first and if it works I will do all my AC's
"mdi:fire" is the icon name. To add the icon to another card, it needs to have a configuration slot labelled icon. For example, I added the flame icon that you are using to an alarm control panel in the image.
I am not sure how you can resize icons, but the Mushroom Github may have some answers: https://github.com/piitaya/lovelace-mushroom
Thanks... and I got that icon but what was shown before is a mix of 'thermostat' and 'fire' and I just cannot find out how this would work
Sorry, what is the issue? Do you want the icon to change under certain circumstances?
If you look at the screenshot of the OP then you will see a combined icon #frontend-archived message
I would like to have this option too but seems to be mushroom specific ? and MR I donot know (yet)
Afternoon all. Not sure Frontend is the right place to start with this one, but here goes! Forget that. iPad had lost wifi.
Here is my current version
looks like this
http://i.geekie.no/t4fpiMy.png Office and Living room has this popup when sun icon is pressed
http://i.geekie.no/95cLQGw.png and tv has this
ill share an updated version when I have it
have some issues like simple icons not showing up on phone and such I need to figure out...
@worn solstice
Thank you! Great job! What is the theme name you are using?
ios-dark-mode-blue-red-alternative from https://github.com/basnijholt/lovelace-ios-themes
Awesome, I use the Google theme customized but I am thinking to try this one
but card backgrounds etc is done with card-mod
to make them transparent
i currently put them in every card, but might change it down the line in the theme code itself
You can do it in the theme yaml so you don't have to add it for each cards
That's what I have done
You got it
yeah, ill do it later once i know what I want, but currently transparent works, I override it for lights when active and stuff
will also change the slider designs to be cleaner, just need to figure out if i wanna split them in two like now or just use the buttom of each row for it
It's a never-ending configuration. As soon as I see a new dashboard that I like better I change everything again
looks better than my test dashboard 🥲
But also wanna play around with multi pages for stuff like device info about computers/phones etc
Oh the 3d floor plan is on my list too
I got the software to create the house 3d images
yeah, but its bugged on my phone, wont display image. so need to figure that out
But I have a family And they want to see me every now and then 🤣
I'm gonna draw house in blender eventually
gonna sell the house in a year or two so wanna have a website setup for a 3d tour of the house haha
with address as domain and then all documentation listed there
Smart 😄
Hello everyone,
Probably really easy but I could not find any recent topic how to set this up. I would like to put several temperature and humidity sensors in one card in Lovelace.
The sensor card does not let me add more than one sensor. Is there a way to accomplish this? I remember a long time ago (when I last used HA) there was a history function that could accomplish this. @candid ridge I just saw you have something like that in your frontend 🙂. Maybe you can help me?
Thank you all
I use swipe cards for it with mini graph cards
But do u want to have both temp and humidity on one graph?
No only different temperatures and different humidities respectively. No need to mix
Swipe cards are the way to go then
@candid ridge I converted your message into a file since it's above 15 lines :+1:
here is the yaml I use
How do I override the tap_acion that shows more info to take me to a device info page instead?
There has to be a more elegant way then me stealing the url from another view
Is there a way to get a combined count of open doors and garage doors? Not sure how to proceed since they're different domains.
With a #templates-archived you could create a sensor with that info
Yes, that stuff about building a local solution does look very interesting so please do keep me posted if you get something working. By the way, I noticed that your screen shots from your earlier posts were in French - does this mean that you're located in France? that's where I'm located (although I'm not French). I currently have one Mitsubishi Air/Air units with two more due shortly so it would be nice to end up with a good solution...
tap_action:
action: navigate
Hey!
I have an input_number sensor, i would like to show the value of this sensor in the name on an lovelace card, does anyone know if and how this could be done?
Thanks
You could try the hacs 'card templater' which often works but also...often does not.
Problem is, i would like to apply it to a apexcharts-card, in the name
type: custom:apexcharts-card
header:
show: true
title: Elpris + Drifttid VVB [input.boolean.value.here]
Something like this is my plan..
Yup I'm french, located on France 🙂
I'm handling 5 AC's ("console" in french) with the remote as they are sold without the wifi receiver. I have 2 other AC's (split unit) that came with the Mitsubishi wifi receiver.
Either way it's either tidious (remote) or slow (MEL Cloud app), that's why I will look in the near future for the local solution. Will keep you updated whit the results.
Then I would advise you to raise it here .. https://community.home-assistant.io/t/apexcharts-card-a-highly-customizable-graph-card/272877
it is a huge thread and thus your question may get lost but still..this is where a lot of Apex interested people look at
Yeah, already scanned that thread hehe.. but i will look at it 🙂 Thought there was some "general" way of doing it in a lovelace card
Get it... trying the same things, sometimes it is core HA and sometimes it is custom
Hey, noob question. I have a conditional card that is usually hidden unless some device is turned on.
I want a manual button that reveals the hidden card for, say, 20 seconds.
I made a timer helper of 20s, and made it (!=0) one of the conditions for the hidden card, but now I can't figure out for the life of me how to start said timer.
It's an integration with documentation
Anyone have a minute to help me figure out how to get 'Overview' dashboard working again? Right now it's completely empty
I got the bright idea of creating a dashboard and starting with an empty dash. Added a single light, saved it and it worked. Removed it from the dash and saved again, then decided I wanted to switch back to the main dash from before I attempted to create one. It no longer exists :/
I thought 'Overview' was a system default dash that couldn't be modified or changed, so I'm not sure how I ended up erasing everything on it
I currently am using a temporary dash that I added without selecting an empty page. Managed to set it as default for my desktop and my phone, but any other device that tries to connect will get my blank 'overview' page
@celest obsidian do you have a saved backup you could go back to?
I don't, unfortunately.
Is there a yaml somewhere that has all the current dashboard settings saved in it that I can copy/paste
I've been looking through all the config files on my HA setup and see nothing about dashboards yet
I did find the raw editing mode
Copied my working dash to the original overview dash
That seems to have worked, but I don't know if it will continue to add new items to the dash as I add them to my setup
I guess time will tell
so I'm using auto entities and I have some things show up multiple times. What can I do do remove the duplicates?
This all happened after I was trying out changing the "shown as" section
there is also another shelly entry way up the list shown ass offline/unavailable
Was trying to use Home Assistant Cast from Nabu Casa to display my HA setup on a Nest Hub 2nd gen. Not going well. THe demo of it works, but when I attempt to connect it to my HA, I get nothing but the HA icon, a heart, and the NabuCasa icon.
I am trying to use media_player.select_source to change the source on my spotify/alexa media player. It isn't working at all. However, when I do it from the frontend it does seem to work. Is this calling a different service?
This is the solution, if anyone else is reading and wondering... 🙂
entities:
- input_number.vvb_drifttid
card:
type: custom:apexcharts-card
header:
show: true
title: >-
${{'Elpris + Drifttid VVB '+states
['input_number.vvb_drifttid'].state+'h'}}
Does anyone use the custom banner-card frontend banner https://github.com/nervetattoo/banner-card#css-vars-for-theming
I have found the way to change the heading size, using the banner-card-heading-size css variable. It works on mobile chrome, PC chrome, HA web app but not when the HA Dashboard is cast to a device like a Nest Hub Max. Does anyone know why? Does casting not include the required css elements or something strange like that.
Does using unique: true remove the duplicates?
@mystic timber I converted your message into a file since it's above 15 lines :+1:
Is it possible to find my existing dashboard as yaml and then build it frm there or do I have to start from "scratch" in yaml mode?
hey
I would like to create a page for a user. The user should only be able to look at it, but should not be allowed to press on it.
In addition, only this page should be displayed to the user. I was able to hide all other dashboards, but he still has access to the energy dashboard, shopping list, media, logbook, history and the map. How can I revoke the user's permission?
Anyone know where documentation is on the navigate tap_action? Trying to tap and go to a device view.
@jaunty frostIs it possible to find my existing dashboard as yaml and then build it frm there or do I have to start from "scratch" in yaml mode?
If you click the three dots in upper right or your current dashboard, select edit, then click the three dots in upper right again and select Raw Configuration Editor it will take you to your yaml.
Copy the whole thing, then create a new dashboard, repeat the three-dot process and paste.
I think!
@upper heathhe still has access to the energy dashboard, shopping list, media, logbook, history and the map.
Hmmm. I recently setup a tablet with a new dashboard and a new user. While logged in as that user, I selected the user profile at the bottom, then "Change the order and hide items from the sidebar" and was able to "X" everything except the dashboard including those you mentioned. The user will still be able to access the same sequence and re-enable them though. I'm thinking maybe have a look at Fully Kiosk? Hope that helps!
he can access the sidebar and click on the cards. With search he can access literally all entitys
How can i change that?
I have managed to hide the sidebar and lock all unwanted pages, but remains the possibility to click the cards and access the search. In addition, the user can still view the pages again via its settings
@upper heath Did you click "D" at the bottom of the sidebar?
Select EDIT in "Change the order and hide items from the sidebar"
then click "X" beside each item to remove them from sidebar.
Once "X"'d they change to "+" and don't show in the sidebar after that...
yeah, it looks like that
@upper heath
I've not tried to do what you're trying to do, sorry...
oh ok, thanks anyway
I am looking for the setting that logs users off after 5 minutes or so of activity, but I can't find it.
In case I am going about this wrong, here are the details. I use a tablet on a wall with Fully Kiosk Browser. It is an older tablet, and kinda slow. Whenever I walk in front of the tablet, it says at the bottom "reconnecting" After googling the best answer I could find was that HA is logging the user off. So I need to change this to turn it off, or set it to a crazy amount of time.
I solved it by just deleting the one that showed as offline which didn't affect the online one. And solved the other ones reconfiguring them and restarting
I have another problem though.
I have the "UI Lovelace Minimalist" and "Energy" Tabs stuck on my sidebar and cant find a way to remove them. How would I do that?
Perfekt thanks :D
I'm currently doing a minimalist dashboard. Under the card type is a template option. Where can I find the fields to put there?
- type: "custom:button-card"
template:
- card_room
- green_no_state
name: Hallway
entity: sensor.hallway_temperature
icon: mdi:door
tap_action:
action: navigate
navigation_path: "lounge"
variables:
label_use_temperature: true
label_use_brightness: false```
I have installed the HACS addon, when I try to add an frontend repository I get the following info:
"After the download completes, since you are not using Lovelace in storage mode you need to manually add the resource with these settings"
Why do I want to have storage mode enabled or not. And how do I accomplice this?
Hey, is there anything I can use to make the font smaller here where it says "Operati.." so the entire text is displayed?
It's an entity card
Card Mod would let you adjust the styling: https://github.com/thomasloven/lovelace-card-mod
To remove any item from the sidebar - click and hold on the text that says 'Home Assistant' at the top of the sidebar to bring it into edit mode - click 'x' to remove any item (can be restored later) - click 'Done' once complete
Does anyone know of a way to display something like this based on a text sensor in Lovelace?
I'm trying to emulate a specific display
Oled font?
I suppose I could use multiple images based on the value of the sensor....
Ok, I found a font that works. How on earth do you load local TTF fonts for use in Lovelace?
So I like the thermostat card aesthetically but it's pretty hard to use with a touchscreen - is there a way to add up and down buttons next to it?
or I guess it would be a lot easier if I could narrow the allowable temperature range?
Hi all. How can I make the UI edited dashboards visible by GitHub so I can version control but still edit them trough the UI?
Yo'
Need some help with Minimalist UI
getting the following error
button-card template 'ulm_translation_engine' is missing!
This is the card code - http://pastie.org/p/4X7hQvQqZRUUSNN3d1JJBD
Trying to create a card like this - https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_room/#usage
Thanks for helping!
Hi! I have a sensor that changes between attributes «Joke» to both «Setup» and «Delivery». How do I make this «If» to only be returned when Joke attribute has a value? What I have now, does not work. This is a custom button card btw. http://pastie.org/p/1LuyjTsmRkkNdjXsBTy1cQ
I added the code from default.yaml to raw config editor at the after, indented 2 spaces, saved and now I have:
Have you fully installed the integration according the documentation?
Did you have to restart the whole HA or just empty the cache? just added that on top of everything in Raw Config and error still there (I did empty cache)
I did
Minimalist is using dozens of nested templates. So to use a card you will need to add all nested templates from the repo
And you are using a yaml based dashboard which includes all button_card_templates? (Minimalist is not 'fully' compatible with GUI/raw-config editor due to limitations from the HA frontend)
I managed to get this far via UI/raw config mode:
That's something!
But do I have to restart the HA to see that? I did what you said
No, he and I are not. We moved here from the #templates-archived discussion, which was the wrong place...
I did not restart. Just saved the raw-config after I added the code from default.yaml.
(and the other templates)
Than the only to make it work is to copy over all templates files into the raw-config editor. But that will be thousands lines of code.
So far I've added 583 lines of code under button_card_templates:
Can you send me all the templates you've added to top of the raw-config? It's not appearing to me
I can still see the error
500+ lines of code is too much to paste here. I'll msg you my email...
You can send it to me via http://pastie.org/
Done.
Send me the link 😂
Sorry, NOOB to that!
http://pastie.org/p/6fBRR0ZDmlqwkfzazDZd09
Okay we got something
@mystic timber I converted your message into a file since it's above 15 lines :+1:
Me too!
That's odd.
I fear we are treading into the deep, dark unknown!
babruss did say "copy over all templates file***s ***into the raw-config editor. But that will be thousands lines of code."...
what's the problem? too much to read
If you check the browser console you can read the error and see what templates are still missing
This is the card code - http://pastie.org/p/4X7hQvQqZRUUSNN3d1JJBD
Trying to create a card like this - https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_room/#usage
and we getting the error like in the screenshot I shared above ^
open F12 in chrome and hit ctrl+F5 on your keyboard and then paste the errors that appear in the console here
also, keep in mind that the documents on that page say that you need hold_action and you don't have it for any entity.
which ultimately could be the problem even though the documents don't have it in the example
I've checked what templates you are currently missing in the raw-editor.
You have defined color templates in your variables section.
You can find those here: https://github.com/UI-Lovelace-Minimalist/UI/tree/main/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/colors
I'm using this in the raw-editor
http://pastie.org/p/6fBRR0ZDmlqwkfzazDZd09 on top of the views
Yeah, but you are still missing yellow_on, blue_on, green_on, red_off, pink_on based on the variables you have set
can I copy them to my yaml raw config with the
---
``` ?
No you can leave that out
---
It's just a YAML indicator for a new file
I just added the color that I was missing, empty cache, and hard refresh, and still looks the same
What does the developer-console (f12) show as error?
He still says that they're missing, I just did restart the whole HA system and hard refreshed with an empty cache again, and still the same error (same on F12)
Those are my raw config lines currently:
http://pastie.org/p/7pR9Egz49pLssKwYeGM3K9
You have to put them all under this line:
button_card_templates:
Just like you did with the other templates
ok let's try that out
Thank you, it's finally working!
Nice! All this hassle to make it work is exactly the reasons we don't recommend to use the raw-editor with Minimalist
I have added 5 cards, why is it so tiny compared to the picture of the guy who made those and it's bigger on his dashboard?
https://preview.redd.it/goynlg7ijz9a1.jpg?width=1179&format=pjpg&auto=webp&s=54d68341388a35eb468c265476cb962b797b86ea
I don't read it! Just copy 'n paste! The trick is finding it!
Because all dimensions are set by a fixed ratio height/width that's available, try putting in a vertical stack. That will make them bigger, as they can use the full screen width
I also added yellow_on, blue_on, green_on, red_off, pink_on to mine and it's working now. Thanks!
I understand the reasoning behind yaml mode with !include's being available thus making it easier and more flexible development/evolution-wise.
Should I consider switching from UI to yaml mode?
It took me a quite a while to just "take control" of my dashboard...
They are already within a vertical stack
In my mobile it even looks worse
Depends what your goals and tools are for your dashboard. If you want a-lot of the same cards with only different entities and all different types of fronted plugins from HACS; YAML is definitely the way to go, as you will be able to use YAML anchors and !includes for most repetitive tasks.
If you want the convenience of the GUI with dynamic selectors and just a couple of minimalist cards that you want to manually update once in a while stay in GUI.
OK I managed to fix that, now it's in a normal size
The only thing I don't under is how I get rid off the 'off C' thing below the room name, I changed the
label_use_tempature: false
and it is still showing up.
OK got it, nevermind 😂
Thanks
Hi to all... there is a place to share UI layouts (Dashboards)? I'm looking for some inspiration to make a refresh in mine...
Worked perfectly! Thank you!
The one I've got came without wifi too, but I recently added the wifi unit. the 2 new ones will have the wifi built in. Look forward to hearing how you get on...Bon Courage!
This issue come every time that login to my instance. The cards exist and it appears normally after i go edit dashboard and hit add card button. then i just simple cancelling and everything appears normally.
I don't really know if its from the card it self or the frontend. Sorry if not in the right channel.
@brisk canopy you might try Plotly. I gave up on Apex charts bc it was way too buggy. I've never looked back. Hyper configurable. Rock solid.
Thanks! Will look into it 🙂
Hi all. How can I make the UI edited dashboards visible by GitHub so I can version control but still edit them trough the UI? Is this possible?
when z2m fails, the middle part of the GUI also fails. And this part has nothing to do with z2m. When z2m is restarted, the middle part also pops up again. any idea why ?
as you can see it's a clock and weather forecast
I believe you cannot really version control your UI. The .storage directory where the ui configuration is stored is a mix of configuration data and state data, and it doesn't lend itself well to version control. Pretty long thread here:
Quick question, you know if it's possible to make a mushroom-chips-card only show if on or active, otherwise will be hidden?
Is there a way when you add a card, for example entities one, where you could do a regex or a simple today match for all device and populate it?
Use a condition card and put the mushroom chips card in it
I was able to use auto-entities lovelace plugin to help
Thank you, will try to. Also, do you know how to hide the background of the custom:mushroom-template-card cards?
It's just a small detail but would look lit lol
I remembered seeing this you mention this yesterday and I happened to find a solution today:
homeassistant:
customize_domain:
climate:
min_temp: 50
max_temp: 80
How can I change the color of the icon of a toggle (button)?
pretty chuffed with this - we live rural and have 3 water filters - so have designed a front end and some automations to indicate levels and remind me to change them
did 10 level designs
Awesome, thanks!
@kind cliff I converted your message into a file since it's above 15 lines :+1:
Hey @timid burrow , I have been working through deploying your Custom Animated Weather Card (fantastic job btw), and I seem to have come across strange behaviour. I have got everything working except for the animated icons with respect to the mostly sunny input from BOM Australia. Using bremor's Bureau of Meterology component, I get the inputs from the website, and the entities for sunny and shower work on the animated display, but for the days that show mostly_sunny, it just shows blank. Do you know what might be going on there?
Hi!
I'm trying to create a room card for my mobile dashboard, I have successfully managed (thanks to some of the #frontend-archived chat users) to add the room card and customize it for my needs.
The problem is the card is way too BIG on the mobile I want it to look like in the picture I attached to this message.
The card YAML:
http://pastie.org/p/1UswBxtYFGZFtLBbBhE9Ca
I have tried to play with some of the sizes within the code but I don't see any difference after saving and clearing cache in my browser;
Hope someone can help me with that, thank you!
Anyone know where documentation is on the navigate tap_action? Trying to tap and go to a device view (or maybe its considered a subview?)
Hi, i have a template that returns a list. Is it possible to create some kind of cards based on that list? It's a list of entity_ids.
Please post your template...
Create a vertical stack with inside horizontal stacks for each displayed row. Put two of the room cards in each horizontal stack.
Hi again!
So If I have 5 rooms I make 1 vertical stack with 3 horizontal stacks within that?
{% for entity_id in states.group.thermostats.attributes.entity_id %}
{% if state_attr(entity_id, 'current_temperature') < state_attr(entity_id, 'temperature') %}
{{ entity_id }}
{% endif%}
{% endfor %}
Is that a templated sensor?
Without more info, have a look here: https://community.home-assistant.io/t/display-an-entitys-attribute/197721/4
I did what you suggest me to try out
http://pastie.org/p/3CUpiLfQt0fcCJUXtOfZUW
It is still HUGE when I insert my card into the horizontal stack
I think it has something to do with the code I posted few messages ago and not with the vertical/horiziontal card
Just add a second room card in that horizontal stack
In the code there is only one room card inside the horizontal stack
OK I forgot to click save appearntly, thank you!
Another question about those cards - the color of the icon should be changed compared to the state of the device which is not happening.
(i think it's called color of the icon)
That's because the variables for those colors are only defined in the minimalist themes
Like this example. his light is on in the bedroom so the color of the icon bulb is yellow
So I need to change my theme in settings to minimalist theme to see that?
That's one way to do it
Is it possible to use themes on a specific dashboard and not all of them?
I guess so, but I was never able to make it work consistently
What are the other ways to change my theme?
You could add the color variables to your existing theme
That were templates
Can I share with you my raw config so you can see?
Color variables are not defined in the raw config, only in a themefile
So where do i define the color variables?
just add these lines to your theme your are currently using
google-red: "#F54436"
google-green: "#01C852"
google-yellow: "#FF9101"
google-blue: "#3D5AFE"
google-violet: "#661FFF"
google-grey: "#BBBBBB"
color-red: "245, 68, 54"
color-green: "1, 200, 82"
color-yellow: "255, 145, 1"
color-blue: "61, 90, 254"
color-purple: "102, 31, 255"
color-grey: "187, 187, 187"
color-pink: "233, 30, 99"
color-theme: "51,51,51"
Just making sure,
http://pastie.org/p/60Yc1B9eD0fW5pSrF7X1C8
In this yaml file, right?
I'm using this theme.
Yeah, that's right just put it somewhere with the same indentation as all the other lines, reload themes from the dev-tools and you should be good to go
now I got another problem, it's not showing the colors of the off state devices
I mean, you can't see the icon of devices that has offline state
I think it's because the color used in minimalist is in gray-scale with low opacity. So it is lost in the contrast of your theme
You could set another rgb-color to your liking for color-theme
and where do I change the opacity?
the higher the number in this line the higher opacity I will set?
Yes.
and another question, for example, I have devices that not showing on/off state but I want them to appear in the card as on state
how can I do that?
I have changed it from 0.2 to 1.0, still barely can see the button
anyone able to assist me in setting up an apexchart card please ?
I'm not getting anywhere and i've been at it for a while now ... pls ping if available to help, txs !
I created an apex chart with offset of 1 month, but the dates are wrong, it should show December 22 instead of Jan 23. How should I fix this?
That's Jan '23 as in 2023 (the start of the month)
I figured it out, Thanks.
Hello! I'm looking for some guidance with card_mod customization and DOM navigation for a particular card. Is there proper channel for that sort of thing?
this one, or the forum thread for card_mod
I am trying to figure out how to keep the theme back end selected and have it default to the already existing dark mode.
Thanks, I didn't know there was a card_mod forum.
there isn't, but there's a thread on it. https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744
Hello, I have a question. Is there a card where you can click a button that shows you the entities of a room? Or can you display cards above each other?
I want to show different info (based on the button that was pressed above) in the left bottom corner
Maybe a subview is what you're looking for? https://www.home-assistant.io/dashboards/views/#subview
No, a subview is a whole other page
I want to stay everything as it is, only change the info on the bottom
something like this. The first 10 seconds https://www.youtube.com/watch?v=NvqK9wBKqNI
Not sure. maybe conditional card, and clicking a button changes an input_select, and based on input_select the conditional card chooses what card to show. Don't think there's anything automatic, at least without getting custom cards.
I get it. I have never seen the conditinal card before 😄
Aah thanks, wasn't sure what you meant by "thread" ... I understand now. I'll post there. For completeness, I'm trying to style ha-state-icon but can't seem to get there in a more direct manner (https://github.com/junalmeida/homeassistant-minimalistic-area-card/issues/45).
I think i need this one https://github.com/thomasloven/lovelace-state-switch
Anyone reporting this issue?
graph's are showing wrong timeline... new data going into 21xx.
If you click show history, it's correct... and binary sensors are fine.
Some sensors are fine... like DB size, and those from Frigate, other custom integrations... it might be just "core" sensors (because I don't know what else to call them)...
I haven't seen that one reported on github issues.
Hey!
Is there a way to fix the black buttons to be more visible? I thought changing from 0.2 opacity to 1.0 would do it but it seems not to make a big difference.
That's the line of the code of the opacity in my raw config:
https://github.com/UI-Lovelace-Minimalist/UI/blob/9b52607bb98fd2a0b877a46ec41247a22cab7a2e/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_room.yaml#L228
(I changed it to 1.0)
When clicking on a sensor in the dashboard, before the history graph would show the last ~24 hours. Now it suddenly goes back to May last year, even though I installed Home Assistant this month, so there isn't even any data. Because it's so zoomed out the graph is useless too. Any idea what could cause this or what I can do about it?
something like this? (except mine is going into the future)
#frontend-archived message
Uh yeah exactly, but in the past
Is there a way to change the color of this?
cause i don't want it blue and yellow but rather red and greeen
#frontend-archived message also a few lines below you can find the color setting for the icon
hi thanks, but it's not the color it self of the icon it is the opacity, no? in the pic i just sent
It’s the contrast which can be changed either by trying to change the opacity or to a color that has a better contrast with your theme colors
If so, I just changed it to white and I see no difference than before.
color-white is not defined in the themefile, so it will result in no value 😅
themefile or button_Card_templates?
so what color can I use that already in the themefile and can be visible to see the buttons?
@blissful finch I converted your message into a file since it's above 15 lines :+1:
I'm attempting to use this code I got for a washer/dryer status. I'm not interested in the cycles but I do want to have a timer displayed. My washer isn't as smart so I had the idea of using an energy monitoring plug that would trigger a timer to start when it starts to use power. This works great. However, now I'm attempting to display the time remaining on the timer in the card and instead of the time remaining I'm just seeing the "active" text. I believe I need to access one level deeper to get the time remaining but I cannot figure out the syntax for doing that. Could someone point me in the right direction?
@blissful finch I converted your message into a file since it's above 15 lines :+1:
Hi! I just updated from 2022 to 2023, and now my custom button card entities are black/white, instead of the original blue/yellow like in the original button card. Is there a way to make custom button card take the colors from the regular button cards?
Hey Community, is there a way to size the image of a picture-entity card?
Hi, I just installed my first LED strip. May I ask for a good card to control all their options? It's a RGB+CCT controller
to have a separation bar between card, what is the best way ? using this https://github.com/covrig/homeassistant-hline ?
Hello,
I'm trying to do a "temperature dashboard". I have a list of entities on the left, with a list of sensor built from templates (creating a sensor for the attribute of each climate device). I like the clean look, but can't find a way to open the "climate" settings when I click/tap on it (it shows the history graphic). On the right, I played with the mushroom:climate card. I like the easily accessible settings, but the current temperature is small and the "auto" label always make me think that maybe it's showing the target temperature, not the current one. If you have a way to present the temperature in the house that you like, or if you know how to make this better, I'd be grateful (I also hope I break no rule here)
Don't know if anyone saw this - having a little trouble......
Has anyone has any success in getting this Card working with the London TfL HACS integration. I've followed the instructions to the letter - but get errors on my Dashboard.
Undefined is not an object (evaluating 'this.config')
Only on this card - the rest of the dashboard is fine.
It's the HASL Departure Lovelace card
Not easily. Most cards are designed for a certain minimum width. Below that things will get weird.
See note box here: https://github.com/thomasloven/lovelace-layout-card/tree/c2808b9396eba43fe4ec0703efdd3aa52b7d641e#tweaking-layouts
Hrm. Might you have better ideas for this? Right now I'm thinking of making some kind of automation that uses an input_select entity to update these select entities, so that I may use a slider in the card to set the value instead of a dropdown.
That (seems to?) only work for input_select entities. These are select entities, configured as such by the integration.
It looks relatively easy to modify it to work for select entities too, it might be worth opening an issue 😉
There's already an issue reported recently for that select glitch: https://github.com/home-assistant/frontend/issues/15041 The fix looks trivially easy, but PR approvals have been very slow last few weeks, so maybe I'll fix it once those pick up again.
hi all - is this the right room for dashboard questions?
Thanks!
So I posted this on reddit but haven’t heard much. I am following someone’s dashboard config as an example and for their layout they use !include to have the dashboard look at other files for instructions.
But with dash’s stored in .storage, where should I create this file structure and files? In my main config folder? Or .storage?
Here’s my post: https://www.reddit.com/r/homeassistant/comments/108fmyc/using_include_with_lovelace_dashboards/
Light card shows on/off state and brightness level around the icon, but for color temperature slider, one needs to click on three dots and then to see it in the info tab.
Is it possible somehow to move this slider out, to be on the card itself below brightness circle slider?
Are you asking if it's possible for you as the end user to do it, or are you asking for a developer to change the behavior of the card?
If it's the former I don't think so, but you can probably find some custom card that has a different configuration that you might like. Or you can add a separate input_number slider, and automate changes in that to changes in the color temp.
I'm asking as the user. I checked some custom cards, but the default one is the most appealing to me. I just wanted to see if it possible to move the existing slider out of info tab, so I don't have to click on three dots every time
Not with the default cards, no.
Too bad.
And is it possible somehow to duplicate the look of default one as a custom card?
I'm sure it must be possible, but I don't know if it is easy.
How do I set a tap action to navigate to a device view?
As in, setting a tap action that take me here:
presumably you can use a navigation_path of whatever is in the URL for that page: https://www.home-assistant.io/dashboards/actions/#navigation_path
Check Home assistant smart home panel card:
https://github.com/DBuit/hass-smart-home-panel-card
I'm still looking for a way to do what you originally asked though...
I just used this: /config/devices/device/379a9ec3969db71234e56217622457da and it brought me directly to the device I wanted
yours will obviously be different
So I have to snag the url for all of them.. no system variable I can be using.
no
Guess I need to find the string at the end of url
Can I set/define device ID in yaml? I don't recall that being an option although I do set object and unique id
Ok. So how did you grab it? Guess I need to sniff the link from webui?
Thanks!!
Try this:
type: custom:stack-in-card
cards:
- type: light
entity: light.office_light_1
- type: entities
entities:
- type: custom:slider-entity-row
entity: light.office_light_1
attribute: color_temp
full_row: true
Helloo
Yesterday i inmplemented remote access to my homeassistant via Domain
Since than, some backrounds of the cards are placed wrongly, how can i fix that?
Thanks mate, gonna try it when I get home from work.
I like it! So much so that I've changed all my color-variable light cards!
Would be nice to get rid of the divider line but...
After 21 months with HA spending untold hours researching/developing/typing I find I'm never done!
hi together. I have a quick question about the developer settings and the Attributes from entities
@rocky finch I converted your message into a file since it's above 15 lines :+1:
how can i access only the entry "temperature: 5"
for a Entity Card oder Glance card
You want the attribute, so you need a card that supports that or a template sensor to show it
Have a look at https://github.com/custom-cards/button-card
thx
hey there
I have successfully added the cards the way I wanted, but I still can't figure out how to change the black / barely invisible icons to white color?
http://pastie.org/p/3mSwspNjHB9GZfrHVFX2nD
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the optical to 1.0 (it was 0.2) but it is still not visible as I wanted it to be)
Hello there,
I found the solution to my problem, so I thought I would share, in case it can be useful to someone else. I wanted to use the "entities" card to show temperature in each room, and get access to the climate settings when available when clicking on the entity. See below: the "T° entrée" is a climate (different icon), the other ones are sensors only.
edit: I have to repeat this in the dashboard for each climate entity, but at least it works.
- type: entities entities: - entity: climate.entree type: attribute attribute: temperature suffix: °C icon: mdi:home-thermometer-outline - entity: sensor.detecteur_toilette_bas_temperature
Next, finding how to add the Eve home temperature sensors that I have 🙂
are there cards that can show an icon (icon got the light color) AND a temp sensor on the top right or left? something like this?
lol i should have taken a view in this channel before i tried googling something i did not know how to call it for 2 hours
these cards are super cool, where did oyu find them? 😄
called room card search for that
took me atleast 4 days to install this "simple" card
uhm yea noticed that... ill pass. i just want the temp on the "button card" ^^;
i just remember why i stopped with the interface..
Morning all. Anyone awake for a quick question? The recent change to entity coloring has me confused and my front end is not looking the way I’d like any longer
The question: how do you set entity colorization at a theme level. As a basic example when my lights are on I want them a certain color. (Or reflect the color of the bulb). I know I can do it where I define the buttons in Lovelace but what about at a theme / global level.
Well I'm probably not really awake anymore since I have not been to bed yet but...
Try having a look at https://github.com/Mariusthvdb/custom-ui
I think 😴 that is what enables me to do this:
in my customize.yaml
sensor.coffee_machine:
templates:
icon_color: >
if (state == 'Off') return 'slategray';
if (state == 'Brewing') return 'orangered';
if (state == 'Finished' ) return '#a55f4f';
if (state == 'Done') return '#a55f4f';
if (state == 'Prepared') return 'lime';
if (state == 'Ready') return 'lime';
if (state == 'Not Ready') return '#FFBF00';
I also have this in configuration.yaml:
homeassistant:
customize: !include customize.yaml
customize_glob:
sensor.*_battery:
templates:
icon_color: >
if (state < 30) return 'red';
if (state < 80) return 'yellow'; return 'green';
binary_sensor.*_motion:
templates:
icon: 'if (state == "on") return "mdi:motion-sensor"; return "mdi:human-male";'
icon_color: 'if (state == "on") return "yellow"; return "grey";'
binary_sensor.*_occupancy:
templates:
icon: 'if (state == "on") return "mdi:motion-sensor"; return "mdi:human-male";'
icon_color: 'if (state == "on") return "yellow"; return "grey";'
light.pc_monitor:
templates:
icon: 'if (state == "on") return "hass:monitor"; return "hass:monitor-off";'
icon_color: 'if (state == "on") return "blue"; return "grey";'
Please don't edit your messages to get around the post size limit. Code sharing sites exist
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
anyone know a way to get those updates in "fast" ? becouse iv got a list of 70 different update entities :p
does it work with conditional aswell?
Yes, that's the point of it 😉
You can even get fancier later if you need to: https://github.com/thomasloven/lovelace-auto-entities/wiki/Template-filters
hey there
I have successfully added the cards the way I wanted, but I still can't figure out how to change the black / barely invisible icons to white color?
http://pastie.org/p/3mSwspNjHB9GZfrHVFX2nD
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the optical to 1.0 (it was 0.2) but it is still not visible as I wanted it to be
thx 🙂 now ill need to figure out how i could make it a custom mushroom update card 😄
and figured it out 🙂
is it possible to create a group based on the "update" domains?
Using the group.set service call you can create groups from templates in an automation
could you give me an example ? :S
mm cant seem to figure out what template to use to show all entities within domain.update
found a blueprint 😄
@blazing wren my edits have been to fix typos I notice after the fact or to add additional info that I've remembered and before the channel has "moved on", and has not been to get around "a post size limit". I've spent a lot of time this past week "giving back" my knowledge and for the most part have helped quite a few people. I might be too wordy in my responses but I feel that is better than being terse and unclear. Maybe I should just completely withdraw myself from discord...
The bot will automatically convert you message to a text file when it's too long. That particular post would definitely have been caught by it if it had gone up as one post. I'm just suggesting you put the code parts onto something like Pastie 😉
@blazing wren
I've posted quite a few code pieces that were converted so they are shorter but expandable. I did notice that one was completely open. Thanks for clarifying. I'll be more cognizant of that in future... 😊
It's better to just post the code straight to Pastie or similar that relying on the bot, the text file is really hard to read on mobile
OK, thanks!
Also worth noting that on mobile (at least Android), if the message gets converted to a file, you have to download a text file to the phone and read it in another app
I can at least tap on "view" in the browser on iOS, but it's just text. So if you added backticks and a language to your code formatting you don't see any of that
Hi, I'm using a combination of decluttering card and layout card. One of the variables I have for decluttering card is the grid-area so that I can position the templated cards in a grid. However, it seems that the grid layout is ignoring the grid-area. Is this a known issue? Does anyone know how to solve it? solved, don't do this, simply add view-layout's
how do i restrict a dashboard to admin only? I tried this and it didn't work heh - theme: Backend-selected require_admin: true title: Testing
nvm found it in manage dashboards
Yo
Why do registry files of home assistant takes time to update and how can we reduce that?
@hazy dragon Please do not cross post. Read the channel description, post it and wait for folks to respond. Crossposting wastes people's time as they're unaware of the help you're getting elsewhere.
If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.
is there a way to define the area to which an entity will belong to and do it as early as at entity creation ?
or is it it deemed to UI config only ?
hi, i added my lights and switches in z2m and i can control them there but i dont see it in my dashboard.
does anyone have a good way to show the next event happening across a number of different calendars and the time until said event?
check the attributes for the calendar in dev tools if you can use something
Is there a way I can get statistical data between specific times?
Use case: have a power monitoring plug that I use to measure different devices using the same plug, so I wanted to find out min/max/mean values between fixed time periods. Is there some kind of way to report this? I can use the data graph, but I wanted those 3 values of specific time. Stats dashboard card doesn't seem to allow me to filter between specific times, only relate full dates
Aha you can use statistics card with fixed period and you can specify time via it
period:
fixed_period:
start: 2023-01-12T19:20:00.000Z
end: 2023-01-13T20:25:00.000Z
Why would two very similar sensors (both measuring temperature in the same room), produce two quite different sparkline charts when using the sensor card?
I find that card somewhat dubious, it's given me bogus graphs in the past.
Suggest file an issue on github /frontend/ if it concerns you.
Hello, I have a problem with a cover entity card. The current position of the rollershutter is 0%, which in my case means that that its fully opened.
If I change the rollershutter position to 100% it shows the following slider
I want the slider to be 0% when the position is 0% and "closed" or 100% if the position is 100%. Am I doing something incorrect? My entity config looks like this
mqtt:
cover:
- name: "Livingroom rollershutter"
command_topic: "home/controls/rollershutter"
state_topic: "home/values/rollershutter"
position_topic: "home/values/rollershutter"
set_position_topic: "home/values/rollershutter"
payload_open: 0
payload_close: 100
payload_stop: "STOP"
position_open: 0
position_closed: 100
value_template: "{{ value }}"
@polar kelp
That is not how coverworks. https://developers.home-assistant.io/docs/core/entity/cover
when I set the tap action of a tile, can I set it to perform multiple actions (similar to in an automation)?
You can set it to run a script.
hrmm... maybe another time. I'll pocket that idea though. 🙂
(I've done too much learning already today... time to relax) haha
A script is just a series of actions, so don't put it in the "difficult" pile 🙂
If you figured out how to make one action happen, you'll figure out scripts pretty quickly
not so much difficult... just... not wanting to learn the script part at the moment.
I am slowly tackling the various parts of HA. Today I learned how to play spotify on Sonos speakers...
and some template sensor stuff
maybe tomorrow will be scripts. 🙂
It's all there in the UI, and the #automations-archived channel can help you if you get stuck with them 🙂
what I'd like is:
- each room will have a dashboard
- on this dashboard will be a few cards (each card is a spotify playlist)
- clicking on the card, will start a playlist on the speaker in that room (and... also turn on shuffle)
When you say scripts... are you referring to the automations?
or... are automations and scripts different?
Automations are a trigger, optionally condition(s), and then a series of actions
Scripts are just the "series of actions" part
ok... so... I don't actually have to write script language?
maybe... I can learn this today.
Thanks! think I got it. 🙂
the name "script" makes it sound way more scary than it is.
If I want to add an image to my dashboard... how to I get the image to HA?
I created /config/www and restarted
but, I can't access the image
/config/www/image.jpg translates to /local/image.jpg.
yeah... I think I just mistyped my filename. 😅
got it, thanks!
any way to make the image smaller? seems to size the card to the same size regardless the image size
The width of the card is pretty much fixed. Then the hight depends on the aspect ratio of the file.
ok, I'll see what I can do. 🙂 thanks
I think if I put them in a grid... that'll force them to shrink and look better.
In integer steps
No, you can add #templates-archived later if/when you need them, but it's all things you should already be familiar with!
I got a script working, and am able to run it from my dashboard. I even figured out how to load images for use on dashboard cards. woo!
Thanks for the encouragement. 🙂
I'm glad you gave it a try!
If you're trying something that seems scary, just do a backup first and download it—then you can always just put everything back exactly as it was before you broke it 😄
true
when using card-mod to add background image to a card how do you resize the image so it fits?
like this background-size: cover;
Im using vertical and horizontal stack cards but I cannot seem to make them visually seperate from each other. How do I create a border or shadow behind each vertical stack card?
@dusky jackal I think this...
style: |
ha-card {
background: center / cover no-repeat url("/local/images-lovelace/backgroundz/blackSteel40197.jpg");
Nice, ty, so far what I posted above with :cover is working
hey there
I have successfully added the cards the way I wanted, but I still can't figure out how to change the black / barely invisible icons to white color?
http://pastie.org/p/35vNhxZRmeAAO8wqJLpmL0
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the optical to 1.0 (it was 0.2) but it is still not visible as I wanted it to be
Is there any trick that when you have edited th fronend with the yaml the code stays how you have formatted it
title: Lampen aan
content:
type: markdown
content: >-
- **Woonkamer** {% set woonkamer = namespace(entities=[]) %} {%
if states('light.voorraam_woonkamer_kleine_raam') == 'on' %}
{% set woonkamer.entities = woonkamer.entities + ['\t- ' + state_attr('light.voorraam_woonkamer_kleine_raam', 'friendly_name')] %}
{% endif %} {% if states('light.voorraam_woonkamer_grote_raam')
can i ask if anyone has issues with mushroom? i installed it but do not see the custom cards in the dashboard
Did you install the theme or the cards? And did you clear your cache (hard refresh) afterwards?
yes
i cleared cache
then reloaded
i uninstalled an reinstalled
just noticed it said i am not using lovelace in storage mode
Make sure you installed the cards, the theme alone doesn't include them.
installed the cards
hey, any tips on getting this card
to look like this
on a dashboard
maybe i should just use a chip
It's a custom card
I use this card myself: https://github.com/denysdovhan/vacuum-card
But this is the one in that picture I believe: https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/vacuum.md
Thank you - sorted
is there a way to have a max-width for ALL views/dashboards?
what is wring with this? ```card:
type: markdown
content: '{{states(''sensor.low_battery_devices', 'calendar.family'')}}'
title: Low Batteries
ohh i don't want the state of the calender
hummm
You aren't escaping quotes in the middle either
content: '{{states(''sensor.low_battery_devices'')}}'
You didn't close out your if statement or your for loop
can you guide me? sorry.
{% if state.attributes.message %}
Message: {{ state.attributes.message }}
Start Time: {{ state.attributes.start_time }}
End Time: {{ state.attributes.end_time }}
Description: {{ state.attributes.description }}```
{% endif %}
{% endfor %}
Well you're using .attributes which is not recommended.
Try state_attr(state, 'end_time'). But also I really recommend not using the name state, it's confusing. Call it event or something appropriate 😉
thank you, i tried a few versions but i think i need t stop now.. il come back to it tomorrow
Anyone know if it's possible to change the factor of a unit's display with Mushroom Chips without needing to create new helper sensors?
I.e. W -> kW.
yo
hey there
I can't figure out how to change the black icons to white color?
http://pastie.org/p/4G1L27gjdO07qFIyjoNJKj
That's the part of the Raw Configuration that is related to the icon pattern.
I have changed the opacity to 1.0 (it was 0.2) but it is still not visible to the user.
Would be the expansion of the --color-theme variable. It's likely that dark grey. Try changing to --color-white as you have in the other part of the config.
Thanks, it worked! so easy.
Out of curiosity, what's the main card you're using there? It's pretty clean.
This is mine currently. It's fine, but I would like a bit more flexibility.
clean and colorful!
I would use the same but try to implement the room card buttons so you can do more within this dashboard without going into the room card itself
The room tabs themselves are pretty simplistic, so I don't mind having to navigate in. Not using the built in HA room cards, have built my own.
Anyone know if it's possible to move the nav bar permanently to the bottom of the UI? I know there's a CC for it. Found the kiosk mode CC 🙂
How can I display all zone entities on my map?
Are there any custom components that do a good job of handling scenes? Auto-populating drop down lists, or auto-tiling icons and the like? Seems like scenes are still pretty clunky in HA.
Anyone knows why this is giving me this error
The same tap_action with a normal button works fine.
is there a way to have a max-width for ALL views/dashboards?
card-mod, layout-card etc is installed, but i can't find a way to put all views a bit more narrow and not full-width 🤔
data needs to be service_data in cards
I am trying to get the second row to change the select.mode to another value, is there a way to do this in the YAML
so for example someone clicks the cake, it will set selector.mode = "Cake
I think that changed in the last 2-3 months
might still be the case for custom cards
How did you do that?
Hey does anyone know a way that I can change the icon for my devices to use icons from here https://fonts.google.com/icons?icon.query=mini ?
does anyone know how to break a dropdown selector into icons?
As in buttons? You can add buttons to select a particular option from an (input) select.
But I suspect you don't want that one.
I did it with the custom chips
instead of indevicual buttons now just to see if I can make the icon green now
🙂
This works, but no color on the icons
is there anyway to change the chips icon color based on it value
If you use the "Template" chip type, then you can use templating in all the fields I believe.
The Mushroom Conditional stuff is so damn good. Kinda want it as a top level card which would work similar to the scratch that, it IS a top level card that Mushroom is just re-implementing for the chips. I'm a dolt, but a happy dolt! -_-state-switch card, but with an actual UI.
I know the issue is related to themes, I would like to use default theme "dark" but removing the divider/border. Do you know if is possible to edit "default" theme? If so how? Otherwise what would be recommended solution ?
Download the "Mushroom" theme pack on HACS and change to Mushroom Shadow.