Overview:
The Home Assistant Next.js Starter is a basic Next.js starter for creating custom frontends for Home Assistant. It provides authentication and connection functionality from home-assistant-js-websocket.
Features:
- Authentication: Allows users to authenticate with the Home Assistant instance.
- Connection management: Manages the connection to the Home Assistant server.
- Entity helper hooks: Provides hooks to retrieve and manage entities from Home Assistant.
- Service helpers: Helper functions for managing Home Assistant services.
- Config helpers: Helper functions for managing the configuration of the application.
Installation:
- Clone this repository.
- Install the required dependencies.
- Edit the
utils/config.tsfile and replace the name of your app. - Start the development server.
- Open
localhost:3000in your browser.
Summary:
The Home Assistant Next.js Starter is a useful tool for creating custom frontends for Home Assistant. It provides authentication, connection management, and various helper functions for managing entities, services, and configuration. By following the installation guide, users can quickly set up and start developing their custom frontend for Home Assistant.