# Home Assistant integration

> Home automation platform for controlling smart devices, automations, and monitoring sensor states.

- Authentication: apiKey

## Tools (20)

- **Call Service**: Execute a service action to control devices (e.g. turn on lights, lock doors, trigger automations).
- **Check API Status**: Check if the Home Assistant API is up and running.
- **Check Configuration**: Validate the Home Assistant configuration.yaml file for errors.
- **Create or Update State**: Set the state representation of an entity (does not control physical devices).
- **Delete State**: Remove an entity from the Home Assistant state registry.
- **Fire Event**: Fire a custom event with optional event data.
- **Get Calendar Events**: Retrieve calendar events for a specific calendar entity within a time range.
- **Get Camera Screenshot**: Retrieve a camera image/screenshot from a camera entity.
- **Get Configuration**: Retrieve the current Home Assistant configuration including components, location, timezone, unit system, and version.
- **Get Error Log**: Retrieve the Home Assistant error log as plain text.
- **Get History**: Retrieve historical state changes for specific entities within a time period.
- **Get Logbook Entries**: Retrieve logbook entries for domain and state changes within a time period.
- **Get State**: Retrieve the current state of a specific entity.
- **Handle Intent**: Process a named intent with optional data parameters (requires the intent integration).
- **List Calendars**: Retrieve a list of all available calendar entities.
- **List Components**: Retrieve a list of all currently loaded Home Assistant components/integrations.
- **List Events**: Retrieve all event types and their listener counts.
- **List Services**: Retrieve all available services grouped by domain.
- **List States**: Retrieve the current state of all entities.
- **Render Template**: Render a Jinja2 template string against the current Home Assistant state.

## Related prompts

- [Monthly smart home battery health audit](https://www.generalinput.com/prompts/monthly-smart-home-battery-health-audit.md)
- [Sunday evening weekly home energy report in Notion](https://www.generalinput.com/prompts/sunday-evening-weekly-home-energy-report-in-notion.md)
- [Calendar-aware smart home wake-up routine](https://www.generalinput.com/prompts/calendar-aware-smart-home-wake-up-routine.md)
- [Door, window, and garage left-open alerts in Slack](https://www.generalinput.com/prompts/door-window-and-garage-left-open-alerts-in-slack.md)
- [Weekday morning home briefing in Slack from Home Assistant](https://www.generalinput.com/prompts/weekday-morning-home-briefing-in-slack-from-home-assistant.md)

Connect Home Assistant in General Input: https://www.generalinput.com/apps/home-assistant