From 29ef0bd6740639b1b2205341fd659c9f34fbf45f Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Sat, 28 Oct 2023 15:18:31 +0200 Subject: [PATCH] Align cover control button design with built-in ha control --- .../controls/cover-buttons-control.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cards/cover-card/controls/cover-buttons-control.ts b/src/cards/cover-card/controls/cover-buttons-control.ts index addb26d2f..9a1dc539a 100644 --- a/src/cards/cover-card/controls/cover-buttons-control.ts +++ b/src/cards/cover-card/controls/cover-buttons-control.ts @@ -62,30 +62,30 @@ export class CoverButtonsControl extends LitElement { return html` - ${supportsFeature(this.entity, COVER_SUPPORT_CLOSE) + ${supportsFeature(this.entity, COVER_SUPPORT_OPEN) ? html` ` : undefined} ${supportsFeature(this.entity, COVER_SUPPORT_STOP) ? html` ` : undefined} - ${supportsFeature(this.entity, COVER_SUPPORT_OPEN) + ${supportsFeature(this.entity, COVER_SUPPORT_CLOSE) ? html` ` : undefined}