This skill helps users integrate Home Assistant into their projects, whether to control smart home devices or to ingest sensor data and state information. The skill guides users through connection setup, validates credentials, and provides comprehensive API reference documentation for both Python and Node.js.
If the user provides a URL with a path component (e.g., http://homeassistant.local:8123/lovelace/dashboard), normalize it by removing everything after the host and port. The base URL should only include the scheme, host, and port:
If users don't know where to find their Long-Lived Access Token, provide these instructions:
Используйте это, если пользователь хочет подключиться к Home Assistant или использовать Home Assistant в любой форме внутри своего проекта. Помогайте пользователям интегрировать Home Assistant в проекты для управления домашней автоматизацией или приема данных. Собирает и проверяет учетные данные подключения (URL-адрес и долгосрочный токен доступа), предоставляет справочную документацию по API для реализаций Python и Node.js и помогает интегрировать API-интерфейсы Home Assistant в пользовательские проекты. Источник: balloob/llm-skills.