mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Small fixes for tile features (#17983)
* Add missing translations * Remove unused import
This commit is contained in:
parent
9217d5bf40
commit
78ddec2c8c
@ -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;
|
||||
|
@ -110,7 +110,7 @@ class HuiSelectOptionsTileFeature
|
||||
<ha-control-select-menu
|
||||
show-arrow
|
||||
hide-label
|
||||
.label=${"Option"}
|
||||
.label=${this.hass.localize("ui.card.select.option")}
|
||||
.value=${stateObj.state}
|
||||
.disabled=${this.stateObj.state === UNAVAILABLE}
|
||||
fixedMenuPosition
|
||||
|
@ -194,6 +194,9 @@
|
||||
"service": {
|
||||
"run": "Run"
|
||||
},
|
||||
"select": {
|
||||
"option": "Option"
|
||||
},
|
||||
"update": {
|
||||
"installing": "Installing",
|
||||
"installing_with_progress": "Installing ({progress}%)",
|
||||
@ -5047,6 +5050,9 @@
|
||||
},
|
||||
"preset_modes": "Preset modes"
|
||||
},
|
||||
"select-options": {
|
||||
"label": "Select options"
|
||||
},
|
||||
"target-temperature": {
|
||||
"label": "Target temperature"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user