How to delete a phantom Homematic device

In HA is one Device visible which no more existent. It cames from the HomeaticIP local Integration.

It is not existent on my CCU3, but HA still show this device. Does anybody know how to delete this device without delete and reinstall the whole Integration.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.2.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.15.90",
    "supervisor": "2023.01.1",
    "host_os": "Home Assistant OS 9.5",
    "docker_version": "20.10.22",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "waste_collection_schedule": {
      "version": "1.34.0",
      "requirements": [
        "icalendar",
        "recurring_ical_events",
        "icalevents",
        "bs4"
      ]
    },
    "frigate": {
      "version": "3.0.0",
      "requirements": []
    },
    "netgear_wax": {
      "version": "0.5.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.30.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "homematicip_local": {
      "version": "1.30.1",
      "requirements": [
        "hahomematic==2023.2.7"
      ]
    }
  },
  "integration_manifest": {
    "domain": "homematicip_local",
    "name": "Homematic(IP) Local",
    "config_flow": true,
    "documentation": "https://github.com/danielperna84/custom_homematic",
    "issue_tracker": "https://github.com/danielperna84/hahomematic/issues",
    "requirements": [
      "hahomematic==2023.2.7"
    ],
    "ssdp": [
      {
        "manufacturer": "EQ3",
        "manufacturerURL": "http://www.homematic.com"
      }
    ],
    "zeroconf": [],
    "homekit": {},
    "dependencies": [],
    "codeowners": [
      "@danielperna84",
      "@SukramJ"
    ],
    "iot_class": "local_push",
    "loggers": [
      "hahomematic"
    ],
    "version": "1.30.1",
    "integration_type": "hub",
    "is_built_in": false
  },
  "data": {
    "config": {
      "entry_id": "83148af4acf1b2f473b65463f25f52e2",
      "version": 1,
      "domain": "homematicip_local",
      "title": "ccu3-webui",
      "data": {
        "instance_name": "ccu3-webui",
        "host": "192.168.5.6",
        "username": "**REDACTED**",
        "password": "**REDACTED**",
        "tls": true,
        "verify_tls": false,
        "sysvar_scan_enabled": true,
        "sysvar_scan_interval": 30,
        "callback_host": null,
        "callback_port": null,
        "json_port": null,
        "interface": {
          "HmIP-RF": {
            "port": 42010
          },
          "BidCos-RF": {
            "port": 42001
          },
          "VirtualDevices": {
            "port": 49292,
            "path": "/groups"
          }
        }
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "ssdp",
      "unique_id": "9A49923DC1",
      "disabled_by": null
    },
    "platform_stats": {
      "binary_sensor": 46,
      "button": 4,
      "climate": 6,
      "cover": 3,
      "light": 8,
      "number": 2,
      "select": 2,
      "sensor": 26,
      "switch": 13
    },
    "devices": [
      "HM-LC-Sw2PBU-FM",
      "HM-RCV-50",
      "HM-SCI-3-FM",
      "HM-Sec-MDIR",
      "HMIP-SWDO",
      "HmIP-BDT",
      "HmIP-BROLL",
      "HmIP-BSL",
      "HmIP-FALMOT-C12",
      "HmIP-FCI6",
      "HmIP-FROLL",
      "HmIP-FSI16",
      "HmIP-FSM",
      "HmIP-PCBS",
      "HmIP-PCBS2",
      "HmIP-RCV-50",
      "HmIP-SLO",
      "HmIP-SMI",
      "HmIP-SMI55",
      "HmIP-SMO-A",
      "HmIP-SPI",
      "HmIP-WRC6",
      "HmIP-WTH-2",
      "HmIP-eTRV-2",
      "VIR-LG-WHITE-DIM"
    ]
  }
}

answer from developer: use homematicip_local.delete_device :man_facepalming:

That works indeed :slight_smile:

Hi Botfixer,
nice that you fixed it :wink:
Could you explain or provide more info how to use delete_device or where to find info about it?
Thanks a lot

sure,

just use the Service in the Developer Tools in Home Assistant:

  1. Choose Service: Homematic(IP) Local: Delete a device
  2. Select the device you want to delete
1 Like

Thanks to botfixer,
I fixed my problem, learned a lot and found a big bunch of new possibilities :slight_smile: