From 78ddec2c8cf6e01d9f0379c0da20fd1b5f5515ff Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 21 Sep 2023 21:33:32 +0200 Subject: [PATCH] Small fixes for tile features (#17983) * Add missing translations * Remove unused import --- .../tile-features/hui-climate-hvac-modes-tile-feature.ts | 7 ------- .../tile-features/hui-select-options-tile-feature.ts | 2 +- src/translations/en.json | 6 ++++++ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/panels/lovelace/tile-features/hui-climate-hvac-modes-tile-feature.ts b/src/panels/lovelace/tile-features/hui-climate-hvac-modes-tile-feature.ts index 55c6b907cf47..c07020d04137 100644 --- a/src/panels/lovelace/tile-features/hui-climate-hvac-modes-tile-feature.ts +++ b/src/panels/lovelace/tile-features/hui-climate-hvac-modes-tile-feature.ts @@ -4,11 +4,8 @@ import { customElement, property, state } from "lit/decorators"; import { styleMap } from "lit/directives/style-map"; import { computeDomain } from "../../../common/entity/compute_domain"; import { stateColorCss } from "../../../common/entity/state_color"; -import "../../../components/ha-control-button"; -import "../../../components/ha-control-button-group"; import "../../../components/ha-control-select"; import type { ControlSelectOption } from "../../../components/ha-control-select"; -import "../../../components/ha-control-slider"; import { ClimateEntity, compareClimateHvacModes, @@ -141,10 +138,6 @@ class HuiClimateHvacModeTileFeature --control-select-border-radius: 10px; --control-select-button-border-radius: 10px; } - ha-control-button-group { - margin: 0 12px 12px 12px; - --control-button-group-spacing: 12px; - } .container { padding: 0 12px 12px 12px; width: auto; diff --git a/src/panels/lovelace/tile-features/hui-select-options-tile-feature.ts b/src/panels/lovelace/tile-features/hui-select-options-tile-feature.ts index 48c2b3eb9622..58b9d0121522 100644 --- a/src/panels/lovelace/tile-features/hui-select-options-tile-feature.ts +++ b/src/panels/lovelace/tile-features/hui-select-options-tile-feature.ts @@ -110,7 +110,7 @@ class HuiSelectOptionsTileFeature