-
Notifications
You must be signed in to change notification settings - Fork 263
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
sensor already exist - while it was deleted #2671
Comments
Have a look in Otherwise just give it a |
I think I have encountered this with non powercalc devices/sensors. When deleting a device the information about this is still stored in home assistantant and you cannot add the device/sensor again under the same name. Even restarting HA does not change this. A wild guess is that as you can see in core.zzz files there are sections about deleted devices/entities. A definite solution is to find the entries in the core.zzz files and delete them. You need to habe HA stopped for this AND you need to know what you are doing! Otherwise you will break your config. I am sure it is not an issue of powercalc. |
This file contains this light twice. One time in the settings for Adaptive Lighting and one time in the light group this light is in. Nothing in regard to PowerCalc.
I've already looked through my powercalc.yaml (and the configuration.yaml). I've deleted those setting a year ago or so and switched to the UI.
Sure, I just was curious what the cause is... and if it can be fixed. |
@bramstroker I've added it now with the unique ID Where's the |
When you see |
@RubenKelevra can we close this issue? |
Well, except that the light is called " 1", so if there would be a "_1" added for this reason, it would be ending up being named "_1_1".
Well, if you don't wanna fix the issue? It's no blocker for me, just weird. |
Let me have a look. Do you have diagnostics from the related config entry? You can find that on powercalc integration page, find the entry, click three dots and download diagnostics. Also enable debug logs and share related logs where it's saying |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
I've switched some lamps around and deleted the corresponding lamp configurations in powercalc. Now one lamp has no powercalc config yet and I try to add it, but it insists, that there's already such a sensor ... while well, there is none.
I try to add Hallway Ceiling 1, and there is no instance for it:
There's also no power and energy entities in the search results, compared to Hallway Ceiling 2, which has some:
And here's the message I get when I select Hallway Ceiling 1 and click on "Next":
Not sure what went wrong or how I clean this up.
Reproduction steps
Debug logs
Diagnostics dump or YAML config
And
The text was updated successfully, but these errors were encountered: