Supervisor API
Additions
Adds three endpoints for retrieving Supervisor info. Use the new InfoClient
for retrieving this new data.
- HA Core Info
- Host Info
- Supervisor/Addon Info
Note: If these calls are made on a non-Supervisor installation, a SupervisorNotFoundException
will be thrown.
Thanks @imalkevich!
🚩Breaking Change
Previously, invalid HTTP responses would throw a generic Exception
.
Since v1.5.0
, a new, custom HttpResponseException
is thrown containing info about the HTTP request and response that failed.