iotawatt_ha icon indicating copy to clipboard operation
iotawatt_ha copied to clipboard

Unremovable Duplicated Output Entities

Open warrenarnold opened this issue 3 years ago • 5 comments

Hello, thanks for this integration, it makes getting the live values into Home Assistant a lot easier.

We have an issue with the 'outputs' coming through, the integration seems to create multiple entities for each output and it seems they never go away and can't be deleted even when the integration is removed.

DuplicateSample

image

Can someone please look into why this would be happening ?

warrenarnold avatar Dec 17 '21 01:12 warrenarnold

The only thing I can think to ask is are you using MQTT?

OzGav avatar Dec 19 '21 07:12 OzGav

Yes I do have MQTT running for some Tasmota Devices, would that interfere?

warrenarnold avatar Dec 20 '21 04:12 warrenarnold

Not unless it is those entities that are duplicating. MQTT can store entries for things that have been deleted and that causes them to reappear. However if you aren't using that for iotawatt then that isn't the problem. If you keep re-adding the integration then that will be why you are getting multiple entities. You should be able to delete them from the CONFIGURATION menu?

OzGav avatar Dec 20 '21 07:12 OzGav

Not unless it is those entities that are duplicating. MQTT can store entries for things that have been deleted and that causes them to reappear. However if you aren't using that for iotawatt then that isn't the problem. If you keep re-adding the integration then that will be why you are getting multiple entities. You should be able to delete them from the CONFIGURATION menu?

Thanks for your response, yes I have added it multiple times to try and fix the problem, and it keeps adding entities each time. I thought these would be deleted once the integration was removed ?

Which 'Configuration' menu are you referring to, I can't see that in HA?

I have 'System Options' which gives toggles for new entities and update polling, but no where to delete entities.

In entities it says this entity doesn't have a unique ID so it can't be edited/removed, as per pic above.

warrenarnold avatar Feb 01 '22 09:02 warrenarnold

This can be hard and might require editing the registry files. Do a Google search of “hassio remove entities” and you will get a bunch of threads and hopefully one will be the answer for you…

OzGav avatar Feb 01 '22 09:02 OzGav