Move automatic device removal to __init__.py, function to util.py and make it work properly so that it functions too when there are more than 1 Plugwise integrations loaded (e.g. Adam plus P1).
Add async_remove_config_entry_device() function, this will allow a user to manually delete a removed Plugwise device.
All changes:
coordinator.py
__init__.py
, function toutil.py
and make it work properly so that it functions too when there are more than 1 Plugwise integrations loaded (e.g. Adam plus P1).async_remove_config_entry_device()
function, this will allow a user to manually delete a removed Plugwise device.