Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer able to edit or delete multiple helper types #97996

Open
c11umw opened this issue Aug 7, 2023 · 65 comments
Open

No longer able to edit or delete multiple helper types #97996

c11umw opened this issue Aug 7, 2023 · 65 comments
Assignees

Comments

@c11umw
Copy link

c11umw commented Aug 7, 2023

The problem

When going to the helpers page an opening a counter, I'm presented with the pop-up as normal, but when I click on the gear icon to edit the settings the pop-up shrinks with no editable information. The only option is <- back to the initial pop=up page.

Trying to edit in Developer Tools | states isn't persistent.
I created a new counter in case it was an upgrade issue, but I got the same results.

Ones affected:
Button
Counter
Date/Time
Number
Text
Timer
Toggle

Not affected:
Change device type of a switch (light)
Group
Min/Max
Threshold

All our helpers were created via GUI.

1 - helper page (filtered)
image
2 - click on counter
image
3 - click on settings
image

4 - Trying to remove via Entities page
image

What version of Home Assistant Core has the issue?

core-2023.8.3

What was the last working version of Home Assistant Core?

2023.7.*

What type of installation are you running?

Home Assistant OS

Integration causing the issue

counter

Link to integration documentation on our website

https://www.home-assistant.io/integrations/counter/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Aug 7, 2023

Hey there @fabaff, mind taking a look at this issue as it has been labeled with an integration (counter) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of counter can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign counter Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


counter documentation
counter source
(message by IssueLinks)

@kwithus
Copy link

kwithus commented Aug 15, 2023

I have the same issue, but with Helpers Text, input_number, input_button
I also can't delete those helpers, I always get the popup, that I can't delete the entity as it is used by an integration, although the one I want to delete is not used by anything
I am on 2023.8.2

@Dr-know
Copy link

Dr-know commented Aug 15, 2023

I have also the same issue with helpers ( Text, input_button, ....)
even if i create a "test" TEXT helper, and trey to remove this helper without using it, is is not possible anymore ..
i am on 2023.8.2

@jurviz
Copy link

jurviz commented Aug 24, 2023

add input_select and input_datetime to the list of helpers that do not show settings.
I'm also on 2023.8.2.
On second instance on 2023.7.1 it is still working as expected.

@c11umw
Copy link
Author

c11umw commented Aug 25, 2023

More of mine are no longer functioning (mirroring the posts above)
Edited the op with revised working/not working

@NetWitch
Copy link

For me, counter, input_datetime, input_boolean, input_select, and input_number are not changeable. Binary_sensor does still work though.

@lionslair
Copy link

Can confirm the same with counter helper. Made one as a test and tried to delete. Get the blank screen.

Latest and running docker.

@tomatenkopp
Copy link

confirm this with helper buttons and toggles
having HA 2023.8.4
using standard theme
everything configured within the UI

@ChirpyTurnip
Copy link

Same here. Found this by Googling why I can't delete old helpers that I no longer need...I actually wanted to update them but that wasn't possible either....the helpers work in that they do what they do, but they're all "MC Hammer - Can't touch this....." for everything else...no edits, no deletes, nothing.... :-(

@Batzi1967
Copy link

same here with every helper
having HA 2023.8.4
using standard theme
everything configured within the UI

@MichaelSTK
Copy link

MichaelSTK commented Sep 5, 2023

Same here, cant delete helpers.
Home Assistant 2023.8.3
Frontend-versie: 20230802.1 - latest
Using standard theme
Configured within the UI

@teekmanb
Copy link

teekmanb commented Sep 6, 2023

Just upgraded to 2023.9.0 - problem persists..... :-(

@c11umw c11umw changed the title No longer able to edit or delete some helper types (counter + toggle) No longer able to edit or delete multiple helper types Sep 6, 2023
@kwithus
Copy link

kwithus commented Sep 7, 2023

After one month since this issue was first reported: Anyone working on it?

@MichaelSTK
Copy link

Is there a way to delete them manualy?

@Daandouma
Copy link

downgrading solved it for me, from 2023.8.4 to 2023.7.1 (based on the above information)

manually make a backup, then in a terminal (add-on):

ha core update --version 2023.7.1

@MichaelSTK
Copy link

Not possible to delete them in the config files instead of downgrading?

@jurviz
Copy link

jurviz commented Sep 8, 2023

You can find the helpers in the config/.storage directory in files input_boolean, input_number, etc. You might be able to delete them by editing the files. I haven't done this yet, so no guarantee it will work.

@sstarkey12
Copy link

sstarkey12 commented Sep 10, 2023

You can find the helpers in the config/.storage directory in files input_boolean, input_number, etc. You might be able to delete them by editing the files. I haven't done this yet, so no guarantee it will work.

This worked for me. Edited the file, saved, restarted HA and then had to go into Entities and was able to delete it from that page. Everything is latest ver, core 9.1, os 10.5, supervisor 8.3.

@kai-seipp
Copy link

Same Issue. Just that I don't even get the gear icon shown after an entity had been deleted a helper was based on I have no way of deleting or restoring it. It does show me a dialog where I can change the underlaying entity. But after saving the new entity is still does not work. Nore can I delete the helper afterwards.

SCR-20230914-iakx
SCR-20230914-iadd

@pcman75
Copy link

pcman75 commented Sep 14, 2023

I had the same problem, I upgraded to Home Assistant 2023.9.2 and it works now for me

@ChirpyTurnip
Copy link

Wish I could say the same....for me it is still borken....

I do have the cog:
Cog

But clicking it gives me nothing....
Nothing

So still stuck..... :-(

@lionslair
Copy link

Same. Counter types can not be deleted

@ZitoGit88
Copy link

This is still broken for me as well.

I can edit the following Helper types: Group, Sensor.

I cannot edit any of the following: Toggle, Timer, Dropdown, Date and/or Time, Number.

I am still able to edit them by going into the config folder /.storage and editing the appropriate helper filer, then restart HA.

Home Assistant 2023.9.2
Frontend 20230911.0 - latest
Default Theme

@c11umw
Copy link
Author

c11umw commented Sep 23, 2023

Same. Issue still persists.

Home Assistant 2023.9.2
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest

Tested by creating a VM with a fresh install (method) and all helpers worked without error.
Seems like it's only affecting "legacy" helpers that have been through updates or perhaps conflict with an add-on/HACS?

In case it's a conflict, my add-ons:

Advanced SSH & Web Terminal
chrony
Cloudflared 
Home Assistant Google Drive Backup
Log Viewer
MariaDB
Mosquitto broker
RPC Shutdown
SQLite Web
Studio Code Server

DHCP server (not running)
Tailscale (not running)
Uptime Kuma (not running)
ZeroTier One (not running)

HACS Integrations:

HACS
Meross LAN
Media player template
Govee LAN Control
Watchman
Xiaomi Cloud Map Extractor
Midea Air Appliances (LAN)
ZHA Toolkit
jokes
Presence Simulation
Sonoff LAN
Better Thermostat
Powercalc
Unifi Counter Sensor
Miele

HACS Frontend:

auto-entities
Better Thermostat UI
button-card
card-mod
Energy Flow Card Plus
Energy Period Selector Plus
Home Assistant Swipe Navigation
Kiosk Mode
layout-card
mini-graph-card
Mushroom
Mushroom Themes
Number Box
Simple Clock Card
sixdegrees-card
slider-entity-row
Slider Button Card
Stack In Card
state-switch
Sun Card
Swipe Card
Xiaomi Vacuum Map Card

@lionslair
Copy link

Same. Issue still persists.

Home Assistant 2023.9.2
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest

Tested by creating a VM with a fresh install (method) and all helpers worked without error.
Seems like it's only affecting "legacy" helpers that have been through updates or perhaps conflict with an add-on/HACS?

In case it's a conflict, my add-ons:

Advanced SSH & Web Terminal
Cloudflared 
Home Assistant Google Drive Backup
Log Viewer
MariaDB
Mosquitto broker
RPC Shutdown
SQLite Web
Studio Code Server

DHCP server (not running)
Tailscale (not running)
Uptime Kuma (not running)
ZeroTier One (not running)

HACS Integrations:

HACS
Meross LAN
Media player template
Govee LAN Control
Watchman
Xiaomi Cloud Map Extractor
Midea Air Appliances (LAN)
ZHA Toolkit
Zigbee Home Assistant Toolkit
jokes
Presence Simulation
Sonoff LAN
Better Thermostat
Powercalc
Unifi Counter Sensor
Miele

HACS Frontend:

auto-entities
Better Thermostat UI
button-card
card-mod
Energy Flow Card Plus
Energy Period Selector Plus
Home Assistant Swipe Navigation
Kiosk Mode
layout-card
Lovelace
mini-graph-card
Mushroom
Mushroom Themes
Number Box
Simple Clock Card
sixdegrees-card
slider-entity-row
Slider Button Card
state-switch
Sun Card
Swipe Card
Xiaomi Vacuum Map Card

HACS Automation:

Watchman

Interesting. I'll have to look in developer console in browser see if there is anything. Wonder if starting ha in safe mode will help

@c11umw
Copy link
Author

c11umw commented Sep 24, 2023

These are all working for me now.

I'm not 100% sure why, but I did this:
While going through the process of installing all the Add-Ons and HACS integrations+frontend in the VM, I noticed a slight anomaly in my live setup.
In (live) HACS I still had Watchman and Sun Card as custom repositories. They're archived as they've moved into HA core, so in the HACS Custom repositories area I removed them.

Then a restart

I was also poking about looking in /config/.storage at a couple of the files used by helpers (e.g. input_boolean), but I didn't edit anything there. I only viewed. The only other thing I did today was update a blueprint card, but I can't see how that would affect anything

But I just checked and all the helpers I'd listed in the original post are available to edit and delete again 😲

Can someone else check to see if they have the same and if it resolves the issue?
Custom Repos are in the 3 dot menu in the top right of HACS' sub-screens
image

@c11umw
Copy link
Author

c11umw commented Sep 24, 2023

Wait ... now they've stopped working again.
I am so confused

@c11umw
Copy link
Author

c11umw commented Nov 6, 2023

The close and open thing doesn't work for me

Open Settings in a new tab and it will work.
home-assistant/frontend#18004 (comment)

@gianpo86
Copy link

By me was not working on Safari (MacOs) but on Chrome it worked (directly from the helper settings)

@jwildman16
Copy link

Directly navigating to the helpers URL (i.e., https://[yourHA]/config/helpers) in a new tab also works. What I did:

  1. Navigate to Settings > Devices & services > Helpers.
  2. Copy the URL.
  3. Open a new tab, paste the URL, and go.

@rinyheuvelman
Copy link

Nothing mentioned above fixed it for me. I had a "switch as x" helper, orphaned after I'd deleted the entity. After going through almost every possible file. Discovered the deleted entities were listed in 2 files in the .storage folder.
Found confirmation just moments before editing those files. See:
https://community.home-assistant.io/t/remove-leftover-devices-and-entities-from-integration-that-is-uninstalled/316391/9?u=rinyheuvelman

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@jurviz
Copy link

jurviz commented Apr 12, 2024

The problem is still unsolved.

PS: But i can't reproduce it on a fresh installation. (Docker compose on Ubuntu 22.04.4, Odroid M1)

@J0k3r2k1
Copy link

Directly navigating to the helpers URL (i.e., https://[yourHA]/config/helpers) in a new tab also works. What I did:

1. Navigate to Settings > Devices & services > Helpers.

2. Copy the URL.

3. Open a new tab, paste the URL, and go.

also works using android add

@gianpo86
Copy link

I suggest to close this issue, since after the new update with categories and labels the issue is no longer existing

@kai-seipp
Copy link

I still can't delete or change these broken helpers. So I disagree to closing this issue.

@ChirpyTurnip
Copy link

ChirpyTurnip commented May 12, 2024 via email

@mkha377
Copy link

mkha377 commented May 20, 2024

This issue is happening with media_player and input_booleans for me. In conjunction with yaml groups having issues as well, it's broken a few things.

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@ChirpyTurnip
Copy link

The problem persists in v2024.8.2. You can open a helper in the normal way via settings, but clicking on the cog icon returns a blank/nothing - only the entity name header is shown. You CANNOT configure/delete the helper.

However, right-clicking on the 'Helpers' heading and opening this in an incognito / private browsing session WILL result in a normal response when clicking on the cog icon. This is the expected behaviour, but it should not be necessary to use a workaround.

@lionslair
Copy link

Yes it's still an issue

@sstratoti
Copy link

Just an FYI, if you go to the helpers page, and then manually refresh the page, the cogs work fine. No need for a new window or incognito.

@ChirpyTurnip
Copy link

ChirpyTurnip commented Aug 19, 2024 via email

@sstratoti
Copy link

Agree! It sounds like the navigation from the HA menu is affecting the pop up for some reason. But a direct access to the page works fine. Hopefully this helps to diagnose the issue.

@juanmijm
Copy link

juanmijm commented Aug 29, 2024

Captura2

Captura
I have been trying to delete two helpers for several days and it is totally impossible, nothing works, not even accessing from Chrome, Edge, Opera, or the mobile app, not even deleting cache or ctrl+F5, not even an incognito tab, not even going directly to http://homeassistant.local:8123/config/helpers
I am totally desperate with this, I hope they fix it soon or I'm going to go crazy.

@c11umw
Copy link
Author

c11umw commented Aug 30, 2024

I'm pretty sure it was seen only on Chromium based browsers (like Chrome and Edge)
Have you tried Firefox?

@lionslair
Copy link

100% doesn't work on Firefox also

@lionslair
Copy link

100% doesn't work on Firefox also
And Opera I've had it not work

@juanmijm
Copy link

https://community.home-assistant.io/t/unable-to-delete-helper/682342/14

here is the solution to my problem :)

@Mortalitis
Copy link

I have a Template Number I created, realised it is not what I wanted and now cannot remove. It does not have entity id so i cannot delete from Entities tab and clicking the name brings up the config window with no option to delete. Is this fix being worked on as it is triggering something bad in my mind I cannot clean this up.

@c11umw
Copy link
Author

c11umw commented Oct 17, 2024

@Mortalitis Try opening settings in a new tab.
That's the workaround for now

@Mortalitis
Copy link

@Mortalitis Try opening settings in a new tab. That's the workaround for now

That doesn't work for me, nothing I've found does such as clearing cache, new tab, restarting the host machine, etc.

@sstratoti
Copy link

What has been working consistently for me is:

  1. navigating to the helper section
  2. once all the helpers are displayed on the page, refresh the page.
  3. now the pop-ups work.

It seems to be something related to the navigation to the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests