How can I disable the cloud component?

Found a clean solution for this. It is to create a dummy custom component that overrides the default cloud integration.

  1. Go to /config/custom_components and create a folder called cloud
  2. Inside cloud create 2 files:
    Filename: __init__.py
"""Cloud."""
DOMAIN = "cloud"

def setup(hass, config):
    
    # Return boolean to indicate that initialization was successful.
    return True

Filename: manifest.json

{
  "domain": "cloud",
  "name": "Cloud",
  "codeowners": ["@yourName"],
  "version": "1.0"
}

You can do it manually or install custom repository in HACS:
https://github.com/benquan/cloud

16 Likes