Custom Header

Just got the latest… but again HACS pulls the old version. After a restart, a reinstall pulls the new one but you have to clear cache as well… odd

I’m not sure what’s going on with that. I haven’t had that issue, but many others have. Is there an issue posted on the HACS GitHub? If not, you should get one up there.

I posted to @ludeeus about it on the HACS thread… I’ll open an issue now as well

Ok thanks! I kept trying but had to conclude it didn’t work :slight_smile: good to know that by design . The combined template I posted does work alright, so Im not stuck!

Most of the time this happens when changing tabs. At that same time, I see the lost connection box slide in the window, and thousands of errors are shown in the blink of an eye…

have a new issue/question: when on a tab (my developer tab) that is normally hidden, and displayed when in the developer mode (you now know of the input_boolean), I stay on that tab, even when switching off developer mode. The view should then be hidden again, and the tab icon in fact isn’t visible in the tab menu, but the browser window remains unchanged. Is this a bug, of should I have a setting preventing this?

btw I am already using 1.3.0 so it happens in the latest release also.

Hm yeah, I have a lot of issues too since 1.2.2

  • it loses connection very very often when switching between tabs (it shows a the yellow cog in the app and then reconnects). Not a major deal, but when reconnected often no button works anymore.

  • since last nights updates: if I go to a tab that is hidden (yes redirect_hidden_tabs are set to false) it starts to go full out crazy on me and flip the views back and forth, and back and forth. Like a disco machine. Makes the ui-completly unusable. Refreshing helps but not really (this is already an issue on github https://github.com/maykar/custom-header/issues/119) but instead of him saying sometimes, for me it does it constantly.

  • CH has become extremely slow in switching tabs post 1.2.2 I often have to press twice on a tab. And sometimes it would just do nothing and then suddenly after 5/7 seconds it would navigate.

I did found however that all of this is happening when using show or hide tabs. It only does this when navigating to a hidden tab!

yes! sorry to say, but glad you see the same … finally to know one is not alone…
just had this discussion on 🔹 Browser_mod - turn your browser into a controllable device, and a media_player because of the fact my browser id gets reset on these frontend refreshes… do you also get the errors in inspector I posted here ?

disabling CH makes the interface fly again, and as far as I can see now, stops the errors all together, feeding the suspicion at least the CH and card-mod error in my posts is relevant. Never know which causes which of course…

Even the constant refocussing the the top of the page is gone when CH is disabled.

I will check it when I have a pc available.

Same issue reported here

The update from a few minutes ago seems to have solved it!

1 Like

@DavidFW1960
I can’t get v1.2.1 to update to v1.3.1 to install at all.

I have tried uninstall, restart, clear cache, install.
But it will only install 1.2.1

Is that the order you had success with?

I’m getting this error, which I suspect maybe something I’ve added, but I’ve moved back two days on snapshots and the error still occurs, I’m pretty sure it didn’t, so not sure what the trigger is.

Anyone have any ideas?

https://hassio.local:8123/community_plugin/custom-header/custom-header.js:145:62297 Uncaught TypeError: Cannot read property 'current_view' of null

Also

https://www.mydomain.co.uk:8123/community_plugin/custom-header/custom-header.js:145:62838 TypeError: null is not an object (evaluating 'F().current_view')

Seems like a reboot (not sure that was needed) but closing all open browser sessions (of which there were many) has solved the problem.

Spoke too soon, they are back again

If I restart ha after updating the card, when I restart HACS then reinstalls the card correctly. I do need to clear cache though before it works. This is a HACS bug which will be fixed soon.

Make sure you’re using the latest release 1.3.2 and that any open browser tabs or other devices have been refreshed after updating.

Thanks for the advice

Did that help or are you still receiving a TypeError?

I think they are all gone now. There was one yesterday, but I suspect may have still had an open session on my phone browser…,

I’ll let you know if I see it again.

Thanks again

1 Like

I would like to ask for help with Custom Header. I installed it through HACS and now when I click Run plugin I have this error.

That’s not an error, that’s just a screenshot of the js file and where are you clicking “Run plugin”? That’s not really a thing. I’m very confused…