diff --git a/package.json b/package.json index 5bccc7c82..aa1340d94 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "engines": { "node": "^18.18.0 || ^20.8.0", - "homebridge": "^1.6.1 || ^2.0.0" + "homebridge": "^1.6.0" }, "scripts": { "check": "npm install && npm outdated", diff --git a/ui/src/app/shared/layout/layout.component.ts b/ui/src/app/shared/layout/layout.component.ts index 92433a7e1..0ec1c1adf 100644 --- a/ui/src/app/shared/layout/layout.component.ts +++ b/ui/src/app/shared/layout/layout.component.ts @@ -123,7 +123,7 @@ export class LayoutComponent implements OnInit { await this.$settings.onSettingsLoaded.toPromise(); } - if (!lt(this.$settings.uiVersion, environment.serverTarget)) { + if (lt(this.$settings.uiVersion, environment.serverTarget)) { console.log(`Server restart required. UI Version: ${environment.serverTarget} - Server Version: ${this.$settings.uiVersion} `); const ref = this.$modal.open(ConfirmComponent);