Fix zwave config flow (#14001)

This commit is contained in:
Bram Kragten 2022-10-05 10:45:39 +02:00 committed by GitHub
parent ed54c70e75
commit af93ec1b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,10 +207,10 @@ class HaDomainIntegrations extends LitElement {
if ( if (
(domain === this.domain && (domain === this.domain &&
!this.integration!.config_flow && (!this.integration!.integrations ||
(!this.integration!.integrations?.[domain] || !(domain in this.integration!.integrations)) &&
!this.integration!.integrations[domain].config_flow)) || !this.integration!.config_flow) ||
!this.integration!.integrations?.[domain]?.config_flow this.integration!.integrations?.[domain]?.config_flow === false
) { ) {
const manifest = await fetchIntegrationManifest(this.hass, domain); const manifest = await fetchIntegrationManifest(this.hass, domain);
showAlertDialog(this, { showAlertDialog(this, {