Basic integreation

What did I forget?

Integration error: hanotifier - Integration ‘hanotifier’ not found


    "domain": "hanotifier",
    "name": "hanotifier",
    "codeowners": [],
    "dependencies": [],
    "documentation": "",
    "iot_class": "local_polling",
    "requirements": [],
    "version": "0.1.0"


# Loads default set of integrations. Do not remove.

# Load frontend themes from the themes folder
  themes: !include_dir_merge_named themes


from __future__ import annotations

from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType

# The domain of your component. Should be equal to the name of your component.
DOMAIN = "hanotifier"

def setup(hass: HomeAssistant, config: ConfigType) -> bool:
    """Set up a skeleton component."""
    # States are in the format DOMAIN.OBJECT_ID.
    hass.states.set('hanotifier.hanotifier', 'Works!')

    # Return boolean to indicate that initialization was successfully.
    return True

Screenshot from 2024-04-30 21-49-42

I cant see anything obviously wrong. Just double checking youndid reboot?

Let me know if still not working and i’ll have a look by copying and running in my dev environment.