Fix USB sync endpoint (#8725)

This commit is contained in:
Joakim Sørensen 2021-03-26 14:14:54 +01:00 committed by GitHub
parent 01c553ef13
commit 5c63f8e52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ export const configSyncOS = async (hass: HomeAssistant) => {
if (atLeastVersion(hass.config.version, 2021, 2, 4)) {
return await hass.callWS({
type: "supervisor/api",
endpoint: "os/config/sync",
endpoint: "/os/config/sync",
method: "post",
timeout: null,
});