REST
The REST API is a basic configurable fetch wrapper, tuned for some useful REST API endpoints in Home Assistant.
This list doesn't change much, Home Assistant prefers utilizing the websocket api for most interactions.
🛠 Methods
| Exported Function Name | Description |
|---|---|
calendarSearch | Searches for calendar events within a specified date range and returns them sorted by start date. |
callService | Calls a Home Assistant service with the specified parameters and returns the entity state changes. |
checkConfig | Checks the Home Assistant configuration for errors and returns the result. |
checkCredentials | Verifies if the current credentialastamps. |
getRawLogs | Retrieves the raw Home Assistant server logs as a string. |
listServices | Lists all available services in Home Assistant. |
updateEntity | Updates the state and/or attributes of a specified entity. |
webhook | Sends a request to a specified webhook in Home Assistant with optional data. |