Skip to content

SwitchBot Cloud 'failed to setup' #175156

Description

@Dogbreath6861

The problem

Logger: homeassistant.components.switchbot_cloud
Source: config_entries.py:798
Integration: SwitchBot Cloud (documentation, issues)
First occurred: 10:15:47 PM (2 occurrences)
Last logged: 10:20:54 PM

Error setting up entry SwitchBot Cloud for switchbot_cloud
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 798, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/switchbot_cloud/init.py", line 393, in async_setup_entry
await _initialize_webhook(hass, entry, api, coordinators_by_id)
File "/usr/src/homeassistant/homeassistant/components/switchbot_cloud/init.py", line 446, in _initialize_webhook
webhook_url = await _async_get_webhook_url(hass, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/switchbot_cloud/init.py", line 529, in _async_get_webhook_url
await cloud.async_delete_cloudhook(hass, webhook_id)
File "/usr/src/homeassistant/homeassistant/components/cloud/init.py", line 247, in async_delete_cloudhook
await hass.data[DATA_CLOUD].cloudhooks.async_delete(webhook_id)
File "/usr/local/lib/python3.14/site-packages/hass_nabucasa/cloudhooks.py", line 92, in async_delete
raise ValueError("Hook is not enabled for the cloud.")
ValueError: Hook is not enabled for the cloud.

What version of Home Assistant Core has the issue?

2026.6.1b

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions