#frontend-archived
1 messages Β· Page 165 of 1
It means you don't have the #integrations-archived enabled, or default_config:
Hello is this the right place to ask a question about the Configuration -> Helpers being greyed out?
@queen mantle Does it feel like a question about the Lovelace UI or its configuration?
Personally, I think questions about integrations like input_text and input_boolean feel more like #integrations-archived questions.
Well its the UI as i go in to Helpers and klick the + button and only Toggle and Number is selectable and the rest are gray and I dont know what to do about it.
You need to either include default_config: in your configuration.yaml or add input_*whichever_one_you're_missing*: to your configuration.yaml
Thank you @elder pendant I'll try that.
BTW, not everything with a UI is frontend. π
Even though I understand this, I think in that case this channel should be renamed to 'lovelace' as it will cause confusion as seen now.
That's what it used to be called
People will then complain they can't find the frontend channel π
Whatever the channel is called, folks get confused
I'm always confused when I need help here. π₯΄ But I'm super thank full for all the help! So thanks again @elder pendant it worked and now I'm Happy and less frustrated again! π
The mdi icon molecule-co2 doesn't seem to work for me, blank frontend, anyone had similar issues?
4.9.95
https://github.com/home-assistant/frontend/blob/dev/package.json#L40 where to check for the future
(though check on the branch of your installed version)
4 -> 5 is quite breaking
bummer
Assuming they are just icons, they have no affect on code or usability? Is it just naming convention?
both
As in an Icon might change affecting the context of its use?
icons was removed, so if used it need a replacement
and the config of everyone that have used an icon that got renamed, needs a change
interesting I expected they would just add more, surprised some are removed
I think many that were removed were brands and they created a separate project for brand icons
Well I lowered my MDI version in the VSCode Extension: https://github.com/lukas-tr/vscode-materialdesignicons-intellisense so this should not happen again π
I'm surprised it has its own reference for MDI I always just assumed it used HASS MDI
I'm trying to add my Nest's Heating/Cooling status (the green shaded series https://imgur.com/a/eByflmM) to a History Graph. I was able to create an entity using a template:
sensors:
living_room_state:
value_template: "{{states('climate.living_room_thermostat')}}"
friendly_name: Living Room HVAC State
unit_of_measurement: '-'
the image is a climate entity but I'd like to add it as a sensor entity
Well, this is #integrations-archived really, but if that's under sensor then it's a sensor.
yea this is created under sensor
I can xpost in #integrations-archived if it makes more sense
Then... it's a sensor entity π€·
ok that makes sense - can you recommend a different type of entity?
maybe I can rephrase. I'd like an entity (any type) that will display only the heating/cooling mode. Similar to the green area series in the linked image.
so, I created the entity (that happens to be a sensor) but it doesnt show up as a line graph....
It'll only show up as a line graph if it has numeric values and a unit_of_measurement
bingo, ok thanks.
could you help me understand how the green area series displays in that climate history chart?
So my OTP codes can't be a line graph? π¦
I have no idea about the green areas
But, that looks to be some form of card
Check the card docs?
Check the docs for the card
bummer - nothing in there
https://community.home-assistant.io/t/explanation-of-climate-history-chart/73926/5
sorta answers the question
may be for #integrations-archived again but figured I'd drop it here since I've already provided background:
when looking in the Attributes of an entity, some will say supported_features: #. Does this indicate other attributes that are hidden?
hihi, minor questions here. I get the log notice Resources need to be specified in your configuration.yaml. Please see the docs But I can't find in the docs where to specify that. My resources are currently called at out in ui-lovelace.yaml
ah, thank you
Hi, can we create users without using UI and assign a custom group?
No
Okay Thanks
Is there anyway to know group of currently logged in user? That is if we are using multiple custom groups.
I don't believe so, since with web services defining who's "logged in" is complicated
depends on what you want to do with it. You can switch cards based on the group: https://github.com/thomasloven/lovelace-state-switch
looks like it's just admin or user, though?
has someone the same isue with the supervisor?? "Unable to load the panel source: /api/hassio/app/entrypoint.js." and know how to fix it ?
@pastel kayak Not sure which install you're using?
-
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
-
If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714
-
If you're running
dockercommands or use a Docker manager and have no add-ons then you have #449717345808547842 -
Finally, if you use
pipto install or upgrade you have #551864459891703809
Having difficulty chosing an install method? See this blog post for guidance.
Probably ha su repair
i run hassio on a raspberry pi
See the relevant channel above π
thx
Is there anyway to change the icon for the overview dashboard?
Which icon?
Ah, on the sidebar?
yea
Hmm, maybe with https://github.com/Villhellm/custom-sidebar
But you can only specify an icon for a new item... so you'd have to hide the original and make a replacement.
How can you hide the original?
Are you in yaml mode?
yes
Is it a smart idea to edit lovelace config thru /config/.storage? Making backups ofc.
I kinda hate using the build-in editor in HA
Smart? Nah. Just edit through YAML like the rest of us.
Raw mode is great once you're comfortable with it.
Aha
YAML mode is also always an option
I could try to add the ability to change existing icons in custom sidebar, but they're all handled a little differently so it may not be possible
huh, actually it looks like just the default overview one is handled differently
looks possible just to override the default handling though. I'll push a release later tonight (or tomorrow) with the added feature
Using a glance card can't you set it to "show_color: false" to remove the color from the icons when active?
It doesn't seem to be working for me
https://www.home-assistant.io/lovelace/glance/ where do you see that option?
@opal light the latest release of custom sidebar allows you to change the icon
*should allow you to change the icon
state_color
(boolean)(Optional)
Set to true to have icons colored when entity is active
Default value:
true
@elder pendant Thanks for doing so quickly!
I don't really know where to ask this as it spans frontend/integrations/automations...
it's predominantly a configuration UI issue I guess
for some reason under the mqtt integration one of the automations associated with a device is not listed
I've tried reloading automations and I've tried restarting HA. but it's still not listing it
or does it simply not list all automations that refer to the entity?
Ah balls thanks @mild veldt
When using a button card to control a device with the tap_action, is there a way to also change the icon and icon color to reflect the current state using that card? Or would it be better to use a custom card, or something else I'm not aware of. I tried using some templating in customize.yaml, but that didn't work.
You can change the icon and icon color with templates using the custom button card
@elder pendant Do themes work with your sidebar? After installing it it's just white. Also, in HACS it shows as not loaded even though it moved the icons around.
Does anyone have suggestions as to why my custom:button-card isn't changing the icon when I press it?
entity: switch.living_room_light
name: Living Room Light
icon: 'mdi:lightbulb-on'
show_state: true
color: 'rgb(255, 255, 0)'
hold_action:
action: more-info
state:
- color: rgb(51, 51, 255)
- value: 'off'
Templating via if return statement in the icon works, of course. I just don't know why this isn't. I was reading through the documentation and it seems as if I'm doing it correctly lol (https://github.com/custom-cards/button-card/). Frontend seems like the place place to ask this question lol
Spent hours just trying to have things change via the state.value == "off" option. I gotta take a break
i am going to be using a tablet on a wall to show a love lace ui and i was wondering if there is a way already in HA to show alerts?
like have a section that just shows notifications?
maybe like a conditional glance?
or just a card to show notifcations/text alerts
i want to make sure its really obvious if something like a water leak sensor is triggered
i know i can put the badge up there but i want it to be even more obvious when something is considered critical
if i had a section that was always blank, unless there was an alert, i think it would be more eye catching
@fierce jetty https://www.home-assistant.io/lovelace/conditional/
I have this to show me any currently-open doors: https://imgur.com/a/xuh3OjP
I do exactly that with a conditional card for leaks, alarm zones violated, UPS alerts
I usually use a conditional card with an entity-filter, so the card shows up when there's something wrong and the entity-filter shows what's wrong
awesome that is exactly what i waant, thanks guys
when configuring a Webpage Card Configuration using HTTPS can we force it to ignore the certificate mismatch ?
No
π¦ ok. And how to troubleshoot when getting, houze.icu refused to connect. Certificate is fine. Or does this only work for webpages in locanetwork?
The webpage card is just an iframe. It's literally a pointer to your browser where to load the contents from
There's nothing in HA to troubleshoot π
i see. Strange why it only works for certain websites. www.google.com does not work but www.bing.com does
hi, do you know about lovelace card which will show difference between last value ? something like this ?
https://i.imgur.com/3P39oGR.png
Hello. Probably a dumb question. It's been a while since I last setup HA, and I can no longer find a way to assign devices to areas (unless integration asks for it at the setup time). I integrated HA with Vera, which brought in all of my zwave devices, but they are not assigned to any areas
You possibly need to enable Advanced Mode in your user profile
Then go to /config/devices, click on the device you want, then click the βοΈ icon in the top right
that will give you the option to add to an area
(not a very intuitive route imo)
That's what I've been trying to do, but for some reason, none of my zwave devices are showing up under /config/devices. They are all under /config/entities. No idea why
Depending on how you integrated zwave they may not expose themselves as devices
I just used official Vera integration. Maybe I should try removing it and adding it back in. Pretty sure last time I've tried it (a year ago, or so), it was registering everything as a device
Did devices exist a year ago? π€
Umm... Not 100% sure, but I was able to assign whatever was the result of the integration into different areas
Vera likely doesn't support Devices
So if that's the case, there wouldn't be a way to assign my zwave devices to areas? That's very unfortunate, as I have few dozens of them...
Correct, you can only assign devices to areas
Is there a known reason for that? I struggle to understand what areas are really good for. But I don't use devices at all so maybe I'm missing the point completely
π€·
To be honest, I've not found areas that useful yet
Last time I tried them there was a bug where turning off the switches in an area turned off every switch
Couple of reasons I wanted everything assigned to areas. 1: auto-ui sorts them into separate groups (sometimes), 2: for alexa integration, I want to be able to control devices in a given room, i.e. saying "Turn on the lights" should only turn on the lights in the room that current alexa is in. Alexa supports this functionality, not sure if HA integration does
Oh yeah I forgot about the voice assistant stuff
I've not seen any sign the HA Areas cross over to voice assistants
Ahh... Well, if HA integration doesn't work with that feature, I guess there isn't much use for assigning to areas... Since I will be doing custom UI at some point later anyways
Areas are used as suggestions for the area of a device with voice assistants and auto UI. More in the future
Yeah, tried removing and re-adding Vera integration, and everything is still showing up as entities. Looks like it's integration issue
Devices are pretty new, integrations will need reworked to support them
Given there's 1.6K integrations, that's a lot of dev work
I see. Well, thanks for the help
why does the history graph display ΒΊC even though I have my interface set to US units, it's clearly converting them correctly, and the badges correctly say ΒΊF?
I wonder if a UI feature allowing you to drag the UI's cards around in your own order would be doable
I believe someone mentioned there's work happening similar to that.
However, you can already control your layouts pretty well with stacks and/or custom cards.
that'd be nice
nice, the idea hit me while looking at the layout card in dread lol
though, i haven't substantially altered my lovelace config in like 6 months lol
kind of have it set up perfectly right now
well sometimes i'll edit to add a card, and it looks fine, then I'll refresh and the cards are scattered to the wind π
horizontal stacks and vertical stacks are your friend
Because even when drag and drop eventually exists, you'll want to have more flexibility than that.
Only one of my 3 columns but you get the idea: http://prntscr.com/tew5in
My blinds should be controlled differently depending on the type of weather it is. I have to figure out a bit how to detect the different types of weather, so in the meanwhile I was thinking if I could make a switch where I can manually select "rainy" or "sunny" or whatever I want and use that value in my automations... Is that possible?
A switch? You mean a dropdown?
That would work too yes
That would be an input_select and is an #integrations-archived thing.
@elder pendant i use stacks still gets weird π
example:
the influx card would ideally be in column 2
there's 2 more cards under influx
That's because you're not using enough stacks.
Use a combination of horizontal/vertical, nested within each other as necessary.
My example above is a vertical stack which contains (amongst other things) two more horizontal stacks. I'm in full control of which items appear in that set of cards.
In your case, you'd have a vertical stack containing everything you want in the first column, then another vertical stack containing everything from the second, and so on.
Bonus points if you wrap your 3 vertical stacks in a horizontal stack first and turn on panel mode.
Well you wanted a solution...
firstof9 are those all running at your house?
that is a shit ton of docker containers!
It's not unusual for a service to require 3 or 4 containers running in parallel. Container count adds up really quick
looking at you, home assistant OS/supervised
Heh yeah that would add up really fast with a few addons
Even just the base system is like 6 containers
Is it possible to set a specific theme for a dashboard?
The answer is in the docs: https://www.home-assistant.io/lovelace/dashboards-and-views/
I have read that 100 times - I added this to the yaml file of the theme:theme: dark-teal
to the yaml file of the theme
π€
The dashboard loads fine no errors, but the theme does not load. If I look under my profile on the GUI the theme is listed - it was installed via HACS. I also have the themes in my configuration yaml file, but for the life of me I can't get it to work. So hence my question if I perhaps understood the docs wrong...
It goes in your Lovelace YAML.
Mistyped there - let me take a step back...
Specifically, it goes under the view you want to theme.
If it's not working, share your config here.
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
I use a package for irrigation - the package is defined and working. I added the theme: line to the yaml file of the package which is the dashboard file. The dashboard is defnied to use an !include that points to the package's yaml file. Hope all of this makes sense...
I'm no good with packages but you can still share the dashboard file π
Yeah, your problem is that you haven't added the theme line to the view...
Oh, it's there too...
Does that last view show anything at all? view_garden_version2?
Everything displays perfectly, but in the default theme
Oh... try without panel mode.
I know it could mess up your view, just see what it does.
Let me quickly try... brb
And you're sure that the theme exists?
Got the same result.
It shows installed via HACS and it did create the folder in the HA directory - I was starting to think it is a botched install. Gonna remove and manually install
Hmm. I'm not sure then. I'll leave it to the experts... good job Villhellm is here π
See if you can select the theme in your user profile
Thx - Will quickly check
Reinstalled it and it works via the profile menu.
I got it to function sort of on the dashboard - but it only works on some of the cards not the whole layout: https://imgur.com/a/UiALRNI
It does this with panel: true / false
Yeah, that's the problem with some things that modify the view...
I had to go back to stacks to solve it.
Probably something to do with the way it nests DOM elements so the CSS rules don't match.
Thank you - At least I (with your assistance) got the them up - It was driving me insane...
Guys i am looking for a colored icon list for my shopping list. Anyone an idea where i can download that?
firstof9 are those all running at your house?
@fierce jetty yes i have a mini swarm going
Even just the base system is like 6 containers
@muted inlet i just run the container, no supervised π
lol
there's a container running a minecraft-bedrock server for the kids as well π
there 4 vertical stacks, nice and organized
"for the kids" π
"for" π
"" π
π
i pop on with them sometimes π
how can I tell what version of the MDI icon set HA is using?
Or... see the pinned messages here π
AWWWWW man! OK, now I know where to look first... 
I could have sworn I've used mdi:lightning-bolt before in my UI, and some similar is the default for switches, which apparently isn't MDI? I'm looking for a good representation for power and energy, and having no luck.
Also, why wouldn't each new release of HA include the latest MDI set (assuming its just somewhat of an 'include' in the source, although I'm sure there's more to it than that)? Just curious.
Compatibility and breaking changes...
Automatically installing every update that becomes available is a good way to wreck a project.
apparently moving to 5.x is going to be a pain
i heard the naming convention changed or something like that
Ah, that makes sense. I just assumed they were a dictionary of icons included as a resource, which would seem rather harmless adding a few more each time. But if they renamed things, yeah, that's a problem.
You would think if people are using this on web sites, that they wouldn't change naming, etc., Perhaps they keep the hex the same, even if they might change the text. HA relies on the text, not the hex, it appears.
found it. mdi:flash. That's what's used by switch.
hass:flash works too last i checked
No kidding on the name change in v5. The gear cog that is in V4 mdi:settings has been renamed to mdi:cog in v5. WHY would they do that? Not only that, there is a mix of 4 digit and 5 digit hex values in v4 and in v5 they are all consistently 5 digit hex values. So the mdi:settings (F493) is now mdi:cog (F0493) in V5. Even if someone was using the hex value, they'd be screwed too. 
Im trying to add custom icons to several 'Person' entities, but for some reason hass is displaying nothing at all.
The icons are in the www folder in the root of the hass install folder.
I have the following in my configuration.yaml
homeassistant:
customize: !include customize.yaml
An the following is in my customize.yaml file.
https://hasteb.in/kuqiloza.rb
Does anyone see what Im doing wrong?
@forest pebble Change it to this, then reload customizations under Configuration >Server Controls
person.bill:
entity_picture: /local/bill-marker.png
person.stevie:
entity_picture: local/stevie-marker.png
person.jason:
entity_picture: /local/jason-marker.png
person.summer:
entity_picture: /local/summer-marker.png
Yeah, I should have stated I already tried it without the ', I just changed it again to how you have it and Im still not getting an image even after reloading customizations.
Its weird, Ive had this work in the past, not sure whats changed.
I have a question about badges. I have mobile app on my phone, so I have a tracker called "device_tracker.vog_l09". It is not in Known_Devices.yaml. I also have OwnTracks and run this on the same phone. This does appear in known devices and I attached a picture to it. If my badge at the top is based on ownTracks it shows my picture, but despite setting zones it only ever says "home" or "away". If I change to my mobile app tracker it now uses all my zones (set in configuration.yaml under OwnTracks) correctly but has no picture. How do I attach my picture to the Mobile App device?
@mild veldt It says "UI Controlled" under "Configuration Method". Where is the file where I would add the image label? Is there a 'dashboards.yaml' or similar file somewhere created when you do everything within the LoveLace UI?
Is there a way to load an external side from the navigation menu
@mild veldt Reading it all now.... I see you no longer get the nice 'add' function from the UI that graphically shows all the options and presents devices as they are detected. So 'raw power' or 'easy UI' are the two choices. I cannot add an image to a badge without diving into the UI yaml. I think I will stick with the UI, I can do without some of these nice to have features and assume eventually they will turn up in the UI anyway
so...
# Add an entry for each entity that you want to overwrite.
device_tracker.vog_l09:
entity_picture: /local/simon.jpg```
I did that and ran "reload location and customizations" from Configuration...Server Controls....and no change. Do I need to restart Home Assistant?
Refresh the page
Clear cache if that doesn't work
Sob endlessly if that doesn't work
endlessly sobbing
I did Ctrl-F5 to clear cache, but my office caches in the background so might have to try this back home
Oh the state probably needs to change for it to update
You could fake a state change at dev tools > states
so run outside the office, move more than 100 m away (there is a nice pub about that far away) then come back?
I set state as home, it updated in the badge as 'home' still no picture
...but I do have an icon set, 'hass:phone' do I need to remove that?
nope...its back to a headshot outline of mr blobby
IAN HALP
so just to summarise...if I have picture: /local/simon.jpg in known_devices.yaml it works for the OwnTracks tracker, but that does not track correctly. If I use mobile_app as the tracker, there is no known devices entry so I added this to 'customize.yaml' instead. However the tracker does track. I have quite a few things in that file and they all work, but the picture does not show up on the badge
Show me what you actually put in customize.yaml
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
If you go to that path does the image show?
The image is in the www subfolder off /usr/share/hassio/homeassistant
How do I 'show' the image
No, if you go to <my ha URL>/local/Simon.jpg does it show up?
https://192.168.1.38/local/simon.jpg 404 Not Found
ssl error, I have everything hidden behind an NGINX reverse proxy
now i have put in my correct external URL (which matches the LetsEncrypt certificate) and voila, there is my image
now I have your face...#hacked
Note I don't need the port as NGINX maps hassio subdomain to the correct IP address and port
FYI, probably best to delete that message
If I appear on the FBI most wanted site....
Try a restart, I guess. I use entity_picture in customize.yaml without issue
Connection lost. Reconnecting...
BINGO!!!!'
Who would have thought that needed a restart
It's legacy UI stuff so π€·ββοΈ
Its even appeared in the map
Probably going for a beer would also have worked...right
Thanks @mild veldt π
anyone know a good individual sensor-based custom weather lovelace card?
i want to use this integration but the frontend on another repository seems broken at the moment: https://github.com/r-renato/ha-climacell-weather
You could make something super custom using https://www.home-assistant.io/lovelace/picture-elements/
Lotta work though!
Hi all, I have a sensor that reports free disk space in bytes. I'd like to keep that value for the sensor, but display as GB in the frontend, in a card. Is there a way I can achieve this? Thanks.
thanks
I was able to send MQTT messages in HA using dev tools -> MQTT. Since 0.112 it's gone. Where is it located now?
-> Integrations -> MQTT
anyone got idea for a TTS notification icon ? i want an input boolean for turning TTS notifcations off or on
bell and bell-check?
Or speaker and speaker-off but that might be confused with media.
There's a pinned message with a handy list of them
found one actually called "text-to-speech", maby not exactly how id have done it myself but its good enough for my purpouse
its not possible to specify 2 icons right? one for off state and one for on state?
Yes but no
If the platform supports a device class there's a set of fixed options
Some integrations, like the template sensor from memory, support it
After that it's CSS time
should updating HA Core to 0.112.4 fix the "Home Assistant is starting,..." stuck loading error? HA never fully loads upon reboot (including, most significantly, Node Red where the majority of my automations live). I'm currently on 0.111.4 and I'm afraid to update. I completely ruined my HA install on Pi3+ a few days ago when updating whichever Core and System versions were available a few days ago. Couldn't even restore from a full snapshot; had to deselect most backed up add-ons to get it to restore (hence currently on 0.111.4). Thanks.
If trusted networks is used for a single IP, one should still be able to log-in via another IP on the same network, correct? I see there is a 'start-over' button but it doesn't seem to do anything.
Yes
I have trusted hosts and can log in just fine from other ones
Of course, it does require that you didn't forget to enable other auth providers π
I had the standard username/password/totp setup working. Last night I added a single IP under trusted network. Do I need to add something to get the un/pw/totp option back when not on that single IP?
Did you read the big warning at the top of https://www.home-assistant.io/docs/authentication/providers/#trusted-networks?
Not closely enough apparently. Thanks!
Hey, I'm using the markdown card in lovelace and wondering why the space isn't showing up?
The Car Is Currently {% if is_state("binary_sensor.cooper_se_charging_status", "on") %} Charging {%- else -%} Not Charging {%- endif -%} and Is {{ states("lock.cooper_se_lock") | title }}
If you can't see, or don't want to open the screenshot, the card says: The Car Is Currently Not Chargingand Is Locked
You've told it to strip spaces π
Hidden in the depths there it mentions that {%- means strip spaces before this and -%} means strip spaces after this
ah, thats silly. i thought those were required based on the default if thing in the template tab in developer tools
Nah, that's Jinja π
is this the correct sub for my stuck-on-the-"home assistant is starting"-issue I posted above? Or should I be asking somewhere else? Thanks!
Depends what your issue actually is. What's in the logs?
whoops, just did a restart (which is now no guarantee I can get back into the front end) so i'll have to wait and see. From my sketchy memory, I saw a notification saying "Invalid config: History, recorder, and logbook could not be set up"
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
oh I do, bot, I do. β€οΈ
you should always get into safe mode at least now
Can I force safe mode, or can only HA determine it needs to boot into it? Looks like my attempted restart is stuck. I"m about 5 minutes since rebooting and still "connection lost" which is well past the usual 1.5 minutes or so for frontend to reconnect (with "home assistant is starting..." message)
If you're upgrading between 0.111 and 0.112 then it might be trying to convert your database
(or any version and 0.112)
well, a few hours ago I indicated I was on 0.111 and hesitant to upgrade to 0.112.4, but then I got impatient and clicked Update and walked away. About 30 minutes I checked back in and saw it was still stuck on "connection lost" so I thought it failed. Still, I walked away yet again without doing anything. I returned around the one hour mark and right at that moment it finally switched from "connection lost" to "home assistant is starting." Of course, the front end/lovelace looked like a complete mess with almost nothing loaded yet. And it took an hour just to get to this point, and in the past, upgrades have NEVER taken even close to this long to reboot. Maybe 5-10 minutes, max.
If you read the release notes you would know why π
something something converting something if I recall
so in all likelihood, everything will actually work, eventually; I just need to wait way longer than normal to get back up and running again? As in many, MANY hours vs the normal 10 minutes or so? It wasn't able to get rid of "home assistant is starting" even over 7+ hours or so overnight last night.
If you have a big database on a Pi with an SD card, I wouldn't be surprised if it took hours.
There's a good chance you've corrupted your database now anyway if you rebooted partway through the conversion process.
I'd suggest deleting the DB and rebooting one last time to create it from scratch.
how would I delete DB?
just delete the massive home-assistant_v2.db file, unplug and replug Pi? leave the -shm and -wal files or delete those too?
All 3
ok. unsure if this helps narrow down any troubleshooting vs my long waiting times getting nowhere, but the DB file is about 3GB in size. Don't know if that qualifies as "a big database" that could explain hours.
deleting and rebooting now
No idea. But this is definitely not a frontend issue, so take it to your install method of choice if you're still stuck
Not sure which install you're using?
-
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
-
If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714
-
If you're running
dockercommands or use a Docker manager and have no add-ons then you have #449717345808547842 -
Finally, if you use
pipto install or upgrade you have #551864459891703809
Having difficulty chosing an install method? See this blog post for guidance.
k, thanks
Don't pull power to reboot...
how do I reboot if it never loads up to give me access to server controls?
SSH
ah shoot i rarely used SSH and when I did it was with the add-on web terminal. Not even sure how to SSH outside the web terminal but I assume that's a very basic thing so I'll get to googling and not waste your time with SSH For Dummies questions
Unless you configured it to listen for it, that will not work with the default configuration
The other option is attach a monitor and keyboard
no memory of that; if I did, it had to be in either Juan's or TheHookup's install guides I followed
I guess I'll monitor/keyboard it up
thanks
Is there a way to change icon colors in Found it on the page in the examples CSS under styles πpicture-elements?
For some reason, the color only changes when it's in the 'off' state. Does anyone have any suggestions as to why this is happening?
So I'm a heavy user of HTML5 push notifications and I've noticed ever since I updated to 0.112 my mac keeps getting unsubscribed from updates. I use firefox on both my mac and my android phone and the android seems to work as normal but notifications never seem to come to my mac anymore and anytime I check its because the browser is unsubscribed. I'm not logged out either, its the same session its just the push notifications toggle has been flipped back to off.
Two things I was wondering:
- Is this a frontend issue or a core issue? I assume front end but wasn't totally clear where to report it
- Has anyone else seen anything like this?
@thorny crystal there is a setting in your profile to disable closing the ws connection when in the background per device
yea there is. I was wondering about that, should I flip that to off?
for the devices that you want it to, yes
just to clarify though, I also have that set to on with my phone and it does not unsubscribe every 5 minutes
I actually was hoping to use that feature since in the past I had gotten errors returning to open browser tabs from open websockets connections. But I'd definitely rather have push notifications if those two are mutually exclusive
I did the card-mod install and set up the syntax, but the condition on (or off) doesn't seem to be working. It always defaults to else condition.
Hm, nevermind about that condition issue. The condition works fine... but for some reason whenever the state of my lightswitch is on it doesn't change the color. It only seems to be working for the off state.... π€
@sturdy summit your #templates-archived is wrong. is_state('switch.living_room_light', 'on')
Ah yes. That is true. It's now fixed, however, the color still does not switch when in the on state lol
https://paste.ubuntu.com/p/DGXBqyS9Jr/ - after correcting my statement
Edit: So, it may be possible the theme is conflicting with it? When I go back to the default theme it goes yellow when on, but still doesn't change color to what I want. Only in the off state. Is this because it's a switch?
Edit2: Nope, the same happens with a light entity. Off color change works but on does not
Not sure if this question goes here but how can I disable the "Discovered new devices" notification without actually disabling auto-discovery?
You're probably looking at a feature request (or a PR if you're brave).
It should be possible to turn off discovery for individual integrations now, I just don't remember what the process is
Yeah that's what I meant. I could have sworn that was added semi-recently. Maybe I'm just going senile
I thought that was Tinkerer's job.
evening, all. started messing around with casting my lovelace views to google displays, and it's mildly successful, but i'm seeing a bunch of custom element doesn't exist errors even though those same cards work fine from all other locations/browsers. all HACS entries are up to date. how can i narrow this down?
running 112.4
so i was about to switch my tablets over from smarthings (action tiles) to HA, so i went to google to get the details of the best way, etc and was surprised that a lot of the top results talk about using 3rd party dashboards for tablets, with people saying lovelace is not good for this purpose. is this old info or is this still true?
i was under impression the go to way was to use fully kiosk browser and lovelace dashboards
but my tablets are 7in and 10in, the people in the threads say lovelace is only good for 12inches and larger
Do whatever works for you π€·ββοΈ
hi i tried something with activating lovelace yaml mode. after that my whole dashboard was broken. so i deleted
"lovelace:
mode: yaml"
out of the config. now it looks like before but i am not able to edit the dashboard anymore. how do i get the former stat back?
is it possible to list variables as names in lovelace? like "current hour," "current hour + 1, etc.?"
Variables from what?
and after 6h of sleeping it's working again π€
@willow garden when you edit configuration.yaml you need to restart after
yeah i did ... dont get it. anyways, it works again π
What are some cool button and toggles people use, want to change up the looks, seen some cool Homekit looking stuff but there pretty complex
Honestly, the best thing to do is to smart small. Don't worry about creating a masterpiece on your first attempt - the people with amazing dashboards probably spent dozens (if not hundreds) of hours before they were perfect. π
Do you have examples of things you want to create? Maybe someone can share example code if you're clear about what you want.
looking for insipiration i'd imagine there is a few common ways people go to
i have hacs already setup
If you're after inspiration, the forums are the best place to look. Loads of people have shared their Lovelace dashboards, and plenty will also give some instructions.
The Discord is better for specific questions. It's not really a place for 'show and tell'.
you running anything fancy or just default?
mainly mobile guy here, not fussed on web interface
Nothing fancy. 'Google dark mode' theme and I've taken control of the layout using stacks. My cards are all default cards.
I almost purely use desktop, so my dashboard won't help you much π
Seems a route lot of ogs go, the hassle of theming not worth it for you?
is custom theming a case of breakages?
Eventually. I don't have much on HA yet, so there's not much to 'style'.
Hey guys, I just moved over my HA docker container from one machine to another. It comes up and I can access it over https, but it just brings up the create user screen. It should have migrated my user along with the volume right? If I try to create a new user, the Create Account button does nothing. What gives?
Hi All, Just a quick question. I'm planning to set up a fire tablet at my main entrance for use as an alarm panel. Is there a way to have the alarm panel card randomize the digit locations? I'm worried that pressing the same locations on the screen day after day will leave a pattern that reveals the digits. I could regularly change the pin but that might negatively affect the wife-acceptance-factor. Thanks.
bub i am always paranoid of the same thing on my exterior locks but i figure even if they know the 4 digits, it will take a while to figure out the exact order unless they get lucky
if my high school math doesnt fail me, i believe there are still 6500 possible combinations on a 9 digit pad
assuming 4 digit pin, goes up with more digits
i would assume you would need to do a custom ui component to do what you want though because there doesnt appear to be a randomize option in the docs: https://www.home-assistant.io/lovelace/alarm-panel/
maybe you could more easily have the alarm panel card move around
i dont know what kind of alarm integration you use but i use evisalink with a real honeywell dsc alarm system. i have it set with an arm-only code so that you just cant disarm via HA
you can only disarm via the real panel, that way if my HA config was somehow compromised they still couldnt disarm my alarm
@split granite do you use tablets for your "Downstairs" and "Upstairs" UI?
No
or any tablets at all in your setup?
i use tablets mostly as weather consoles
using action tiles currently with ST but they dont have a home assistant integration
ive been reading up on getting HA on tablets and a lot of it is more than a year old saying lovelace is not good for tablets and to use a 3rd party ui but i am thinking maybe lovelace has been improved since
Lovelace is fine on tablets IMO
i havent really been able to find much details about it here: https://www.home-assistant.io/lovelace/
It works
so i started googling and the top results were people recommending using 3rd party (paid) solutions
yeah i am going to but trying to avoid wasting time going down the wrong path to start
Lovelace works on phones/tablets/laptops
if it wasnt for the weather radars and current conditions i probably wouldnt bother with them
my wife likes being able to see if doors are closed and alarm is on by glancing at the wall tablet
That kind of thing is why I use Floorplan
but yeah i really rarely touch the tablet to trigger anything
Simple "at a glance" overview
tinkerer its funny you say that because i have been going through your floorplan stuff thinking about trying to get it working today
A nice floorplan is a lot of work, but worth it IMO
i dont have a nice "floorplan" like you had to start with though
oh i thought you said you were able to download one or something
JPG
yeah but i dont even have that
π€·
the only pictures from my realtor were inside shots
It just gave me a template to trace
so i guess i will need to use sketchup or something and just make one from scratch
what did you use to build the real floorplan, floorplan itself has an editor or you used something like sketchup or some cad software?
actually i didnt check if you have a blog post on floorplan or not
looks like you dont have a tutorial on your blog but i found t his: https://github.com/pkozul/ha-floorplan/blob/master/own-floorplan-svg-file-tutorial.md
yeah that tutorial recommends inkscape as well
i would have thought sketchup would be good too
yeah but it looks like it needs ot be able to link the object id to the entities, i wasnt sure if every software does that the same or not, but i guess svg should be standarized
this isnt free but it might be worth paying a couple of dollars to make my floorplans if it makes it a lot easier and nicer: https://floorplanner.com/
but your floor plans came out really nice using inkscape but im not looking to spend a week editing floorplans either
floorplanner.com looks like it might be a lot easier to use because it has a lot of pre-made stuff but not sure it exports in svg though, trying to determine that now
it must export svg though
looks like it doesnt lame
this web based floor plan editor is pretty nice but not sure its going to work yet: https://floorplancreator.net/
i did this floorplan in like 5 min but i dont see the ability to set an object id for each object i am placing, so there would be no way to link to an entity if i dont find an option to do that: https://i.imgur.com/bdrp8df.png
if you can export it to SVG you can fix it up
yeah it does have svg import, yeah that is a good idea i can open it in inkscape and add them
i am going to try inkscape next and see which one is quicker/easier to use
im not caring about the dimensions though, if i were to do that this would become a lot more complicated and time consuming
i figure as long as it looks right, who cares if it is right
i think not bad but i like your floorplan style better: https://i.imgur.com/72bUMJY.png
You've put a lot less time in so far π
i probably would save myself time in the long run if i take measurements and do it correctly
Sorry quick question: I'm trying to trigger a scene using a button, but I can't get it to work π I set the scene entity to the button, but with the 'toggle' action it complains there is no 'off', and if I set service -> scene.apply it tells me it doesn't know what scene π¦
Does anyone know what I'm doing wrong? It seems to be a very common usecase but I don't see anything about it in the doc for the button card
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
Show us the YAML π
I'm using the visual editor
@fossil pawn posted a code wall, it is moved here --> https://paste.ubuntu.com/p/gVXgZBjp4B/
Ok
Oh well
Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.
Please take the time now to review all of the rules and references in #rules.
PS It's set to none here of course
You'd need the service call, and tell it what entity
ahh
Hmm now I get "Failed to call service scene/apply. required key not provided @ data['entities']"
This is my YAML now:
@fossil pawn posted a code wall, it is moved here --> https://paste.ubuntu.com/p/23RrwnJxFT/
Strange huh
The scene triggers fine if I call it from the scenes creator
I've been playing with this for the last 30 minutes, it can't be that difficult right? I think I'm overlooking something
compare yours to the example: https://www.home-assistant.io/lovelace/button/
this:
service: scene.apply
service-data: scene.all_lights_off
is not this:
service: script.turn_on
service_data:
entity_id: script.turn_off_lights
Ah ok
I saw that now
It's a bit confusing because it refers to a service, not a scene part there
Still doesn't work though π¦
wallpanel looks nice as a way to display lovelace UI on an android tablet...... free too, i was going to go with fully kiosk browser because i have used it before but wallpanel looks better
The hardest part with HASS is I think how everything fits together. Scripts, scenes, templates etc
trying to decide if i want to go down the appdaemon dashboard route or not
anyone using appdaemon dashboard can provide some feedback?
It seems that the UI only rebuilds after saving ui-lovelace.yaml. I was trying to use includes to clean stuff up a bit. Is there any way to make the "build" watch other files to know when there are changes.
Now I have this:
type: button
tap_action:
action: call-service
service: scene.apply
service-data:
entity_id: scene.all_lights_off
hold_action:
action: none
show_icon: true
show_name: true
entity: scene.all_lights_off
icon: 'mdi:lightbulb-off'
But still get the error Failed to call service scene/apply. required key not provided @ data['entities']
Ah it should be script, not scene?
Ahhh doooh
service_data:
Now I get: Failed to call service scene/apply. extra keys not allowed @ data['entity_id'] π
It's a bit strange that it jumps from visual editor to YAML also for this function
That's what got me at first
This should really be good, right?
tap_action:
action: call-service
service: scene.apply
service_data:
entity_id: scene.all_lights_off
But I get this extra keys not allowed error
I feel very stupid I can't figure this out... I use numerous custom cards in yaml mode... Just this one really bugs me
doesn't look like you're using scene.apply properly
it takes entities:, not entity_id: because you're defining it as you apply it
unless you wanted scene.turn_on instead
which is probably your intent
as the docs say, scene.apply is applying a scene on the fly
Yeah I'm a bit overwhelmed with all the terminology
It's really hard to understand what's what
scenes are kinda useless, so you may want to look into scripts instead unless you have a specific reason to want a scene
the only value they have is that you can define one to capture the current state of a bunch of devices and replicate it later, but I rarely have a need a for that
But thanks so much for helping me figure this out @dark dirge and @split granite
Tinkerer is away for 19m 7s with a message :point_right: Tilting at windmills
Yeah I could easily make it a script
I just wanted to make a button on my bed panel to turn all the lights off in the whole house π
Groups allow the user to combine multiple entities into one.
Ahh interesting
there's also light.group
definitely
I just get a bit lost sometimes which feature to use for what
But overall it's great
I made some custom sensors also (getting data from my router to check if it's on fibre or 4G backup and if so, flash warnings and turn off some of my servers so they don't eat up all my data bundle π )
It took me a long time to figure all that out too but once I did it works great
(My internet is sadly highly unstable.. When it works it's 600/600 as advertised.. But it's just been down for 2 weeks)
I think I was at it too long because I really should have spotted that underscore myself... Sorry
np. the HA backend typically uses underscore for spacing, but frontend has a mix and that makes it confusing
is there still no kiosk mode for lovelace?
or better question is, is there a way to remove the sidebar completely without custom components/hacks?
maybe checking
awesome! thanks
all the google search results talked about hacks and custom components but i noticed most were from 2018 so i figured it must have been added since then
now i just need to figure out how to add the top
its wasting a lot of space to show the name of the UI
looks like maybe i need to use this https://community.home-assistant.io/t/custom-header/155399
yeah that works great
im trying to find the docs to explain how to do the layout of the ui
these up/down arrows dont seem to do what i expect
the cards jump all over the place when i do that
are there docs that explain how the layout is done?
or do i need to switch to yaml mode if i want to have more control over the layout?
It's easier to see the results of the up/down arrows on mobile or if you resize the window to only show one column
ok thanks, i will try that, what about controlling things like the number of columns?
Not possible AFAIK
im trying to make a dashboard that works good on my wall tablet
it wants to make it 4 columns which makes everything too small
i guess i am going to need to use one of these 3rd party options after all
i might try the home kit panel card as it still uses lovelace i believe
if anyone has any suggestions on how to make a nice tablet setup i am all ears, i am looking at triyng to shoehorn love lace, using the lovelace home kit panel card, or appdaemon hadashboard
i am guessing i could get lovelace to look right using a bunch of custom components
Doesnβt appear to have moved
Do you have advanced mode turned on in your profile?
-> Server Controls
Damnit okay I think I accidentally ip-banned myself
how can i reset that?
oh there's a file!
Okay this is strange, i think my router ip got banned but now my laptop can't access it
Interesting.
Man I've been manually unplugging my raspi a lot to reboot it, definitely need to stop doing that.
is there a setting for lovelace to get space max utilized like this? or is this likely using a custom lovelace component?
for some reason my dashboard has so much wasted white space
@fierce jetty you can have much more control by making one card per lovelace page and using a combination of vertical and horizontal stack cards within that card.
that way you can rearrange the cards to be above/below cards that will fit better
That screenshot is using the default auto layout.
You're telling us it adapts to being on a bigger screen by adding more columns? π€
The default lovelace layout uses up to five columns. However, it always removes one of those if the sidebar is open π€·
On a 5k display, that could make like half your screen empty, I guess.
Interesting. What's the breakpoint for the 5th column?
With the sidebar collapsed on a 3440x1440, I'm seeing 4 columns.
I thought I'd broken something π
Not that I'll ever leave HA running across the whole monitor anyway.
You need space for the element inspector π
That's what the other monitors are for, right?
For those not satisfied with the default layout, btw, there's this: https://github.com/thomasloven/lovelace-layout-card
Barbados Slim: thanks I will try a new dashboard using 1 card per page w/ stacks
thomasloven: that looks good too thanks
is there any love lace mods that make it work better on smaller screens/tablets?
wow that one looks a lot nicer than the ones i found thanks
its just that the default lovelace theme has so much white space
like on my upstairs tablet 1/3 of the screen is wasted at least
especially around badges
you can set up custom themes and backgrounds
im not very good at making things look nice
i usually go with the work of people who are lol
same
i was going to look into HAdashboard or home kit card or an app i found on android (home habit)
ideally i would like to use lovelace though, so either a theme or the homekit card is the way i am trying to go
home kit card does look really nice
one issue i am having is my cameras are dying on my tablet, not sure if its an issue with my tablet (like wifi sleeping or something like that) or with wall panel app or with lovelace/ha
i have some cameras that just load animated radar maps and they show for a little while and then show the broken image
hmm. I have no idea
it seems like one tablet is worse than the other, so i am starting to suspect something like wifi sleep causing the issue
interesting
Quick question : why is it that when i create a script through lovelace, the script is named after an arbitrary number instead of the name of the script? eg. in lovelace is called clean_living_room whereas in scripts.yaml it is written as '1594575909342': with alias: clean_living_room
this present a problem when i'm trying to call a script from a lovelace card, and it can't find script.clean_living_room whereas script.1594575909342 works
HA gives resources a random unique ID. If you don't want it to do that, create them manually.
Not sure why this is, automations also have the same id but can still be called by their alias.
You can however rename the id='1594575909342' >> id='clean_living_room' by editing the yaml file and reloading scripts.
yeah, sure i can do that. the wife however is less hot about that possibility π
It's worth noting that this is in fact an #automations-archived question, since you're not actually asking about Lovelace π
i doubt the wife is creating scripts
@slim sparrow she actually is! I'm trying to get her more involved
something like this dwain's theme (https://dwainscheeren.github.io/lovelace-dwains-theme/) is going to completely take over and theme the entire HA UI it looks like, i wish i could just use it for specific dashboards
a normal theme could be set per user in the profile but based on the docs for dwains theme it sounds like it takes over
oh i keep forgetting i have a ha test docker so i can test stuff like this w/o messing up my production ha
the home kit card says: Add the following to your ui-lovelace.yaml i dont have a ui-lovelace.yaml. based on the docs it looks like i would need to enable yaml mode to use it? "Once you take control of your UI via YAML, the Home Assistant interface for modifying it wonβt be available anymore and new entities will not automatically be added to your UI."
No
is it not possible to continue using the lovelace GUI and also enable the homekit card in ui-loelace.yaml?
currently i can edit in the GUI mode, and also still do raw config to edit yaml, i like having that ability
Add resources in the Resources panel
oh ok its already there
so instead of following the docs that say to configure the card in lovelace-ui.yaml i can do the same in the raw config editor since its in resources panel?
Sure
Sounds like the docs haven't been kept current
Not exactly an unusual problem
Like!
Since people have been asking for it, I guess I could throw this in too...
That one won't work for per-view themes, though...
Nice! How does that look on smartphones?
The badges, what happened?
Wait... why aren't the badges behaving?
Ugh! I hate debugging things on my phone. I'll save that for tomorrow.
nn
It's probably something stupid like safari not supporting a certain property or something...
badges? we don't need no stinking badges!
Classic Safari
Hi! Do i need an addon for the state_icons? Using Lovelace and cant get it to work.
Get
Expected a value of type undefined for state_icons but received {"off":"mdi:lock","on":"mdi:light"}.
Hi, I am wondering if is possible to assign a specific lovelance to an user, that way that user only can use that and not mess with the rest!!
Is somebody awake now?? thanks
Not as such, no
Views can be limited to admin only, or can be made visible to only certain users, but you can't give somebody their own default
I think i've done something like it. Created a user for my wall mounted tablet and it only have access to a certain tab.
Check the Custom header addons. I used that.
@tranquil kite , Ok, I'll try it, thanks
Is there a good guide on how to implment a floorplan
is this the best one? https://github.com/pkozul/ha-floorplan still? it seems really old
@split granite I think I found it, but don't know why don't save it!!
Dashboard
Pick a default dashboard for this device.
After change it, logout and logback in, and goes back to original
https://community.home-assistant.io/search?q=floorplan will find you many good forum threads (and a bunch of not so good ones)
@wild lava That'll be dashboard and not view then - do you have multiple dashboards?
yes, I create other one, just for my wife
but still, I change it, and when I re-log in don't save it
Are you logging out of HA?
That'll likely be the problem, just close the window/tab
@split granite where is the www folder, I am looking on samba and i see config backups addon ect... do i add the www to the config folder?
following instalation guide here https://github.com/pkozul/lovelace-floorplan
thx
so, if log in in a different device will be the same???
It's a per device default dashboard
So... on every device (and user) you have to pick it
I mean, is no way to save that? even the theme don't save
hoooo, may be, I normaly refuse them, so do I have to change the browser setting for all just for HA?
how do i make lovelace use the ui-lovelace.yaml instead of in broswer editor, becasue they don't match up
Okidoki, Thanks, time to zzzz
https://www.home-assistant.io/lovelace/yaml-mode/ for YAML mode
which is better? does it matter?
Well, in UI mode you get your changes as you see them, and can use the visual editor
YAML mode supports secrets, and YAML anchors
gotcha
Generally speaking, unless you really need either of those, stick with the UI
god i hate yaml π¦ much prefer json
Converting between the two is trivial
wait rly?
will probably stick to yaml because it is what is used on posts and such
where is the lovelace conifg panel? Resources should no longer be added to the Lovelace configuration but can be added in the Lovelace config panel.
Itβs nice to be able to use json in short thing like tap_action: {action: toggle}
... which technically isnβt strict json either...
-> Lovelace_ @rare bay
Enable Advanced mode in your user profile if it's not visible
can't wait until i get this off my rpi and onto a docker server
@rare bay posted a code wall, it is moved here --> https://paste.ubuntu.com/p/BywRzDPdyj/
@rare bay Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
tried to delete it but couldn't
Well, no, because you posted a code wall and the bot cleaned up π
You add that the same as any custom card, and without the - before cards:
Manual option, in the card editor
Ya figured that out, which is why i tried to delete all of it π but i now get a Custom element doesn't exist: floorplan-card. and I'm reading throught the github issues and it seems it's a conflict with the current version of home assistant
Given I have the current version, I'd say no π
do i need to restart ha after i add a resouce
i have this /local/floorplan/floorplan-card.js?v=1.1.14 as the url
Nope, just reload resources if you're using YAML
and it's in my www folder
If you just created www/ you have to restart HA, as explained in the docs
You can test by seeing if you can access it in the browser
i get a 404 on http://192.168.7.193:8123/local/floorplan/floorplan-card.js
Then.... /config/www/floorplan/floorplan-card.js probably doesn't exist
Or there's a bigger config issue going on
π€£
Hey all. Long time HA user, and I upgraded last night and it's caused me some weird issues.
The problem looks to be a websockets thing which prevents me from logging in to my instance from my external server - but it works just fine from the internal address. My setup is haproxy on an external server, using the "official" config at https://community.home-assistant.io/t/reverse-proxy-with-haproxy/196950 with edited URLs and paths. It forwards the request to my internal server.
I can't see any image from my camera in chrome https://hastebin.com/paqifihako.http
2020-07-13 10:26:18 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.140112860442896] Disconnected: Did not receive auth message within 10 seconds
Is the error I get when trying to access from my external URL. I've set this up as a vanilla instance on another internal server and redirected traffic to that, and I get the exact same problem.
It looks like the last thing websockets tries to do is a GET to /api/websockets. It gets a 101 Switching Protocols response and then it dies 10 seconds later with an unfulfilled promise.
I upgraded from 0.111.2 to latest - but then actually downgraded from backups again, and the issue persisted. Super weird. I made sure to restore from backups completely, and re-use the old container images that worked previously. So I don't know where this is suddenly coming from. It happens in all browser and on the Android app.
Has anyone experienced this before?
It looks like HAProxy stopped working although I made no changes to it. I've ditched it and replaced it with an nginx reverse proxy and it works now.
After upgrading to 0.112.x, I no longer see the views/tabs in my lovelace UI. I can see them briefly when force-reloading, but then they disappear. In a browser, I can still navigate to .../lovelace/PAGE_ID, but on mobile app, I'm just stuck at the first page/view/tab. I didn't see anything in the release notes, did I miss anything?
Clear the browser cache?
Tried that, no luck (not sure how to do in mobile app, but tried on PC). And tried different browsers.
I have a statistics sensor hooked up to a watts measurement. Is there a way to get a history graph based on the variance attribute instead of the state?
Template sensor
I upgraded from 0.111 to 0.222 this morning, and im not able to see some of the text in places. this is most evident under config where everything is just blank. Starting it up from the console with --debug doesnt show anything. the only error i can find is unexpected end of JSON input in the dev tools in chrome. have restarted hass, and also tried different browser.
here are screenshots: https://imgur.com/a/cQA2P0r
try clearing your browser's cache
0.222 π
0.99999982
@silent latch Not sure which install you're using?
-
If you're using HassOS, flashed an image, or booted a VM with an image you're using #330990055533576204
-
If you installed Linux and then ran a script to install HA and have add-ons then you have #330944238910963714
-
If you're running
dockercommands or use a Docker manager and have no add-ons then you have #449717345808547842 -
Finally, if you use
pipto install or upgrade you have #551864459891703809
Having difficulty chosing an install method? See this blog post for guidance.
damn rounding error
ah, you guys got me. im from the future π i meant .112
cleared everything from the browser, now im greeted with this https://imgur.com/a/IcYr9TS
Looks like a browser problem still
^should i move this into #551864459891703809 ? since thats what im running
@elder pendant if they post in #551864459891703809 you'll need to take a shot
pew pew
unfortunately a new vnenv didnt work :/
Try Incognito mode
i tried that before i flushed the cache and all stored data
Okay, a restart has now let me in and see it in incognito mode!!!
appreciate all the help π
I'm not sure exactly what was going on, but clearing cache and cookies didnt do anything on chrome other than log me out and force me to log in. The text was still gone though. I cleared cache and cookies multiple times and logged in multiple times to the same thing. finally i tried doing a hard refresh once i was logged in and that fixed the issue. really bizarre and doesnt answer why it was wonky in incognito or on firefox (which i never logged into for homeassistant) , but im glad its working now.
Quite a lot going on here, but it's still all in a theme.
Vertical badges in a theme? That's pretty neat
Among other things:
- vertical badges
- card-type-dependent backgrounds
- mouse-over effects on entity card rows
- state-color on any entity icon
- Rotating fan icons
- Blurred and desaturated background in cards
- Transparent header bar
rotating fan icons
![]()
WHICH DIRECTION?
WHICHEVER YOUR HEART DESIRES!
very nice work
I laughed inside thinking about a humidifier next to a dehumidifier even though I know it wouldn't really be like that
WHO WILL WIN
WHO WOULD WIN?
That's just the wagon-wheel effect. It's spinning at just the right speed so as to appear to be spinning the other way π
Like putting your toaster in your freezer.
You need to watch that gif on a 240 Hz monitor, @karmic tiger
|| the human eye can't see more than 30 fps rabble rabble ||
Entirely unrelated, but have you ever noticed that if you shift your eyes quickly, and they land on a clock right after the second hand moves, the first second you're watching it seems longer than the following ones?
yep, there's a reason for that
Yes, we can control time.
Your brain is actually extrapolating the first moment backwards. It's awesome.
I know π
Seriously, @muted inlet - and you'll almost never hear me say this - try less coffee.
π€¦
On a serious note. I'd really like an awesome theme to go with the release of the next card-mod version to tastefully showcase all of the new features.
Thing is; I'm not very good at design, so I'm thinking of a collaboration. Anyone know any good UI designers who might be up for it?
@latent moss maybe?
I tried to make a theme once but got stuck, was hard enough just figuring out all the variables involved, and I donβt really know much CSS to do a cool card-mod theme... Donβt think Iβm cut out for that. Bas Nijholt would probably be good person to ask, I don't know if he's on discord though.
some of his themes here https://github.com/basnijholt/lovelace-ios-themes
Hey all -- what's the easiest way to apply a state_filter to a picture-entity when you don't want to be explict about every single state?
i.e. my picture entity is attached to a person and I want it to be normal if they are home, and something else if they are anything but home
Hm... those themes all seem to be variants on one by Karl KihlstrΓΆm... Maybe I should speak to him.
I mean, we're practically neighbors.
@cerulean egret Perhaps it would be easier with two conditional cards to simply swap it out entirely?
What do I need to add to my theme to make this not transparent? https://imgur.com/a/7zVVGqU
What's your ha-card-background?
ha-card-background: 'rgba(150, 150, 150, 0.1)'
but I want the cards to be transparent, just not the config box (?)
@polar kelp That's possible I suppose. Is the person entity always either home or not_home? I can't really tell...
I'm not sure either, but if it's like the device_tracker it could be home, not_home or whatever zone names you have setup.
I suppose I could also make a template sensor that basically was home/not_home as well.
It takes the state of the device_trackers within, so zones are a possible state
@polar kelp Also, I didn't have this problem a few updates ago
Could be card-background-color
So I would assume something about the way themes work keeps changing
Or you could try setting mdc-theme-surface
@polar kelp
card-background-color: "var(--paper-card-background-color)"
paper-card-background-color: 'rgba(150, 150, 150, 0.1)'
what does mdc-theme-surface control?
why did HassBot checkmark that?
Because the yaml syntax is correct.
Maybe. It's faster for you to try it than for me to try to find it.
probably true
I'd like to know the results, though.
I'll report back
I have two scripts one for powering on and one for powering off multiple devices. Is it possible to make a toggle switch that toggles between them?
I believe so
Or like an entity where the on state is script 1 and the off state is script 2?
I think this will help. https://community.home-assistant.io/t/make-scripts-as-toggle-switch/158688
Thanks. Ill do it this way. I actually read this post already and was secretly hoping for an easier way.
@polar kelp
mdc-dialog__container: "rgba(69, 73, 84, 1)" #'#454954'
mdc-dialog__surface: "rgba(69, 73, 84, 1)" #'#454954'
mdc-dialog__content: "rgba(69, 73, 84, 1)" #'#454954'
none of these worked, I'll keep trying a bit later
Oh, thanks @polar kelp this looks more like what I wanted.
Thanks. Ill do it this way. I actually read this post already and was secretly hoping for an easier way.
@frank ocean there's almost never an easier way
lol
almost
You may have to think a bit about how to get the current state, though.
Another way could be an input_boolean, and two automations.
Or actually one automation and service_template
LoL I wish you could just load the media player into a switch. The player itself has a state aware power button π¦
Why do you need to put it in a switch?
And you can, with a template switch
that's what those are there for
1 button press to turn on the amp channels, set input and turn on the receiver
Im trying to cook up a nice multizone controller with HA and 16 zones. Its killing me lol.
I can't figure out how to add a toggle button to turn all lights on/off..read stuff in the forum but I'm not sure how to set it up. (Sorry for the stupid question I'm new to HA lol)
I did the light group but can't add it in the UI
What's stopping you?
if you really want all lights to turn off though, you can just use entity_id: all in a service call
no need for a group
Well the light group I made should show in the entity field right?
If it shows up in
-> States
If not, did you restart home assistant?
Hey all, trying to get cast working, finding a few issues here and there.. like missing components when I use the website cast tool, and cant login when I use CATT.. is there a way to remove the login requirement from local networks? (trying to use auth_providers and trusted networks but it says I dont have the integration?
Trusted networks works, if correctly configured
The error tells me that your indenting is broken π
Indenting has to exactly match the docs
Lets try again π
@gloomy tiger it is css var --mdc-theme-surface so in your theme that would be mdc-theme-surface: "rgb(69, 73, 84)"
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 192.168.0.0/24
" - type: homeassistant" thats the bit I missed.
Wasnt on the forum post I found
I'm pretty sure you missed a lot more π
lol
Well, important to read the docs
That error though, only comes from missing indenting
I missed "homeassistant:" too didnt know this was a seperate section
Does this only skip if I have the allow bypass login set to true? I have more than one user setup at the moment
@gloomy tiger it is
--mdc-theme-surface
@winter hollow thanks. I'll give it a shot in a bit
fixed.. thanks @split granite I assume this is still gunna be bad on google hubs though, cos of the 10minute time out?
Tinkerer is away for 5m 27s with a message :point_right: There is, I think, humor here which does not translate well from English into sanity.
I grouped some lights together but it does show up with this icon instead of the light bulb with the color like it is on the tutorial page. Any idea how?
Example of the group:
bedroom_pc:
name: "Bedroom pc"
entities:
- light.pc_left
- light.pc_right
Got it.. it's not a light group π
Regarding how HA knows if a custom element is available, or not: Is the thinking in the pic sound? Or am I way off base? https://imgur.com/a/buOYU5h
Is it possible for the state of a group to change the color on a state-icon?
@gloomy tiger it is css var
--mdc-theme-surfaceso in your theme that would bemdc-theme-surface: "rgb(69, 73, 84)"
@winter hollow Thank you sir, that did it! @polar kelp
Is it possible for the state of a group to change the color on a state-icon?
@shut notch I know next to nothing about this, but this should do it for you https://community.home-assistant.io/t/change-icon-by-state-lovelace/144673 (https://github.com/jcwillox/lovelace-paper-buttons-row)
Install via HACS https://github.com/hacs/integration
yeah, I did find that one earlier, I'm trying to do this on a picture-element
oh
hmm
so, you want the picture to change? i.e: lights off--> dark room picture; lights on-->lit room picture
How about a Conditional Card? https://www.home-assistant.io/lovelace/conditional/
nope, just the state icon to change color
this works if I specify a single light as the entity, but not if I do a group of entities.
though the group does show the state in the developer options
mind sending a screenshot of the card so I can see what we're working with?
conversation resumed in pm
Tease
so far no luck
anyone see anything wrong with this? its for homekit custom card, if the door is open or closed its not showing: ``` rules: |
{% if "Open" in states('binary_sensor.back_door') %} <li>Back Door
is Open</li>{% endif %}
{% if "Closed" in states('binary_sensor.side_door') %} <li>Side Door
is Closed</li> {% endif %}```
i also tried true and false instead of "open" and "closed"
im trying to follow the documentation but this part is in another language so maybe that is why i am messing it up
also when i save, rules: | changes to rules: >
i guess it changes | to > as it saves with spaces so that is probably normal i guess and not related to the issue
@fierce jetty Why not just {% if states('binary_sensor.back_door') %}? Contact sensors are on/off. You shouldn't be checking against the 'friendly' state that's shown in the UI.
I'm not sure if I chose the right channel, but does anyone have more beautiful way to show the hvv departures sensor?
Well, showing things is what the frontend does...
But some more explanation of what you mean would help a lot π
I'd like a list showing the stations name and the lines with their respective symbol (train, bus) with departure time and delays. For now it's only showing the next departure is in x seconds.
@polar kelp Hey, the other week you told me to set my sensor to have a unit of measurement of W (or 1 iirc) since the graphing wasn't working>
welp i did that and it still doesn't work which is puzzling. I changed my python script uploading the data to not be wrapping the numbers in quotes either.
Could it be related to using mariadb
mono: I just was following what the readme said for homekit card. Is there documentation on these kinds of syntax for the UI? I went through the lovelace docs and couldnt find docs on how to use the syntax
i just tried {% if states('binary_sensor.back_door') %} but even though 1 door is open and 1 is closed, both are saying they are open
this is why i was looking for the docs so i can figure out how this states ui command is supposed to work
That's #templates-archived not states ui
tinkerer: its from this: https://github.com/DBuit/Homekit-panel-card








