mirror of
https://github.com/home-assistant/frontend.git
synced 2026-12-04 10:40:30 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a7ccddf85 | ||
|
|
be892d1eb5 |
No files matched your search
@@ -17,13 +17,11 @@ import { consumeLocalize } from "../../../../common/decorators/consume-context-e
|
||||
import { fireEvent } from "../../../../common/dom/fire_event";
|
||||
import type { LocalizeFunc } from "../../../../common/translations/localize";
|
||||
import "../../../../components/ha-form/ha-form";
|
||||
import type {
|
||||
HaFormSchema,
|
||||
SchemaUnion,
|
||||
} from "../../../../components/ha-form/types";
|
||||
import type { HaFormSchema } from "../../../../components/ha-form/types";
|
||||
import type { ValueChangedEvent } from "../../../../types";
|
||||
import type { ClockCardConfig } from "../../cards/types";
|
||||
import type { LovelaceCardEditor } from "../../types";
|
||||
import { editorTranslations } from "../editor-translations";
|
||||
import { baseLovelaceCardConfig } from "../structs/base-card-struct";
|
||||
import { TimeFormat } from "../../../../data/translation";
|
||||
import { getTimezoneOptions } from "../../../../components/ha-timezone-picker";
|
||||
@@ -63,6 +61,100 @@ const cardConfigStruct = assign(
|
||||
})
|
||||
);
|
||||
|
||||
const SCHEMA = [
|
||||
{ name: "title", selector: { text: {} } },
|
||||
{
|
||||
name: "clock_style",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "box",
|
||||
translation_key: "clock_style",
|
||||
options: ["digital", "analog"],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "clock_size",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
translation_key: "clock_size",
|
||||
options: ["small", "medium", "large"],
|
||||
},
|
||||
},
|
||||
},
|
||||
{ name: "show_seconds", selector: { boolean: {} } },
|
||||
{ name: "no_background", selector: { boolean: {} } },
|
||||
{
|
||||
name: "date_format",
|
||||
required: false,
|
||||
selector: {
|
||||
ui_clock_date_format: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "time_format",
|
||||
visible: {
|
||||
field: "clock_style",
|
||||
value: "digital",
|
||||
},
|
||||
selector: {
|
||||
ui_clock_time_format: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "border",
|
||||
visible: { field: "clock_style", value: "analog" },
|
||||
default: false,
|
||||
selector: {
|
||||
boolean: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ticks",
|
||||
visible: { field: "clock_style", value: "analog" },
|
||||
default: "hour",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
translation_key: "ticks",
|
||||
options: ["none", "quarter", "hour", "minute"],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "seconds_motion",
|
||||
visible: [
|
||||
{ field: "clock_style", value: "analog" },
|
||||
{ field: "show_seconds", value: true },
|
||||
],
|
||||
default: "continuous",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
translation_key: "seconds_motion",
|
||||
options: ["continuous", "tick"],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "face_style",
|
||||
visible: [
|
||||
{ field: "clock_style", value: "analog" },
|
||||
{ field: "ticks", operator: "not_eq", value: "none" },
|
||||
],
|
||||
default: "markers",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
translation_key: "face_style",
|
||||
options: ["markers", "numbers_upright", "roman"],
|
||||
},
|
||||
},
|
||||
},
|
||||
{ name: "time_zone", selector: { timezone: {} } },
|
||||
] as const satisfies readonly HaFormSchema[];
|
||||
|
||||
@customElement("hui-clock-card-editor")
|
||||
export class HuiClockCardEditor
|
||||
extends LitElement
|
||||
@@ -73,150 +165,8 @@ export class HuiClockCardEditor
|
||||
|
||||
@state() private _config?: ClockCardConfig;
|
||||
|
||||
private _schema = memoizeOne(
|
||||
(localize: LocalizeFunc) =>
|
||||
[
|
||||
{ name: "title", selector: { text: {} } },
|
||||
{
|
||||
name: "clock_style",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "box",
|
||||
options: ["digital", "analog"].map((value) => ({
|
||||
value,
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.clock_styles.${value}`
|
||||
),
|
||||
})),
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "clock_size",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
options: ["small", "medium", "large"].map((value) => ({
|
||||
value,
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.clock_sizes.${value}`
|
||||
),
|
||||
})),
|
||||
},
|
||||
},
|
||||
},
|
||||
{ name: "show_seconds", selector: { boolean: {} } },
|
||||
{ name: "no_background", selector: { boolean: {} } },
|
||||
{
|
||||
name: "date_format",
|
||||
required: false,
|
||||
selector: {
|
||||
ui_clock_date_format: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "time_format",
|
||||
visible: {
|
||||
field: "clock_style",
|
||||
value: "digital",
|
||||
},
|
||||
selector: {
|
||||
ui_clock_time_format: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "border",
|
||||
visible: { field: "clock_style", value: "analog" },
|
||||
description: {
|
||||
suffix: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.border.description`
|
||||
),
|
||||
},
|
||||
default: false,
|
||||
selector: {
|
||||
boolean: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ticks",
|
||||
visible: { field: "clock_style", value: "analog" },
|
||||
description: {
|
||||
suffix: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.ticks.description`
|
||||
),
|
||||
},
|
||||
default: "hour",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
options: ["none", "quarter", "hour", "minute"].map((value) => ({
|
||||
value,
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.ticks.${value}.label`
|
||||
),
|
||||
description: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.ticks.${value}.description`
|
||||
),
|
||||
})),
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "seconds_motion",
|
||||
visible: [
|
||||
{ field: "clock_style", value: "analog" },
|
||||
{ field: "show_seconds", value: true },
|
||||
],
|
||||
description: {
|
||||
suffix: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.seconds_motion.description`
|
||||
),
|
||||
},
|
||||
default: "continuous",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
options: ["continuous", "tick"].map((value) => ({
|
||||
value,
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.seconds_motion.${value}.label`
|
||||
),
|
||||
description: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.seconds_motion.${value}.description`
|
||||
),
|
||||
})),
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "face_style",
|
||||
visible: [
|
||||
{ field: "clock_style", value: "analog" },
|
||||
{ field: "ticks", operator: "not_eq", value: "none" },
|
||||
],
|
||||
description: {
|
||||
suffix: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.face_style.description`
|
||||
),
|
||||
},
|
||||
default: "markers",
|
||||
selector: {
|
||||
select: {
|
||||
mode: "dropdown",
|
||||
options: ["markers", "numbers_upright", "roman"].map((value) => ({
|
||||
value,
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.face_style.${value}.label`
|
||||
),
|
||||
description: localize(
|
||||
`ui.panel.lovelace.editor.card.clock.face_style.${value}.description`
|
||||
),
|
||||
})),
|
||||
},
|
||||
},
|
||||
},
|
||||
{ name: "time_zone", selector: { timezone: {} } },
|
||||
] as const satisfies readonly HaFormSchema[]
|
||||
private _translations = memoizeOne((localize: LocalizeFunc) =>
|
||||
editorTranslations(localize, "ui.panel.lovelace.editor.card.clock")
|
||||
);
|
||||
|
||||
private _data = memoizeOne((config: ClockCardConfig): ClockCardConfig => {
|
||||
@@ -251,12 +201,15 @@ export class HuiClockCardEditor
|
||||
return nothing;
|
||||
}
|
||||
|
||||
const translations = this._translations(this._localize);
|
||||
|
||||
return html`
|
||||
<ha-form
|
||||
.data=${this._data(this._config)}
|
||||
.schema=${this._schema(this._localize)}
|
||||
.computeLabel=${this._computeLabelCallback}
|
||||
.computeHelper=${this._computeHelperCallback}
|
||||
.schema=${SCHEMA}
|
||||
.computeLabel=${translations.computeLabel}
|
||||
.computeHelper=${translations.computeHelper}
|
||||
.localizeValue=${translations.localizeValue}
|
||||
@value-changed=${this._valueChanged}
|
||||
></ha-form>
|
||||
`;
|
||||
@@ -297,84 +250,6 @@ export class HuiClockCardEditor
|
||||
|
||||
fireEvent(this, "config-changed", { config });
|
||||
}
|
||||
|
||||
private _computeLabelCallback = (
|
||||
schema: SchemaUnion<ReturnType<typeof this._schema>>
|
||||
) => {
|
||||
switch (schema.name) {
|
||||
case "title":
|
||||
return this._localize("ui.panel.lovelace.editor.card.generic.title");
|
||||
case "clock_style":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.clock_style`
|
||||
);
|
||||
case "clock_size":
|
||||
return this._localize(`ui.panel.lovelace.editor.card.clock.clock_size`);
|
||||
case "time_format":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.time_format`
|
||||
);
|
||||
case "time_zone":
|
||||
return this._localize(`ui.panel.lovelace.editor.card.clock.time_zone`);
|
||||
case "show_seconds":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.show_seconds`
|
||||
);
|
||||
case "no_background":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.no_background`
|
||||
);
|
||||
case "date_format":
|
||||
return this._localize(`ui.panel.lovelace.editor.card.clock.date.label`);
|
||||
case "border":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.border.label`
|
||||
);
|
||||
case "ticks":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.ticks.label`
|
||||
);
|
||||
case "seconds_motion":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.seconds_motion.label`
|
||||
);
|
||||
case "face_style":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.face_style.label`
|
||||
);
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
|
||||
private _computeHelperCallback = (
|
||||
schema: SchemaUnion<ReturnType<typeof this._schema>>
|
||||
) => {
|
||||
switch (schema.name) {
|
||||
case "date_format":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.date.description`
|
||||
);
|
||||
case "border":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.border.description`
|
||||
);
|
||||
case "ticks":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.ticks.description`
|
||||
);
|
||||
case "seconds_motion":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.seconds_motion.description`
|
||||
);
|
||||
case "face_style":
|
||||
return this._localize(
|
||||
`ui.panel.lovelace.editor.card.clock.face_style.description`
|
||||
);
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
@@ -125,7 +125,7 @@ export class HuiTileCardEditor
|
||||
);
|
||||
|
||||
private _translations = memoizeOne((localize: LocalizeFunc) =>
|
||||
editorTranslations(localize, "ui.panel.lovelace.editor.card.tile.editor")
|
||||
editorTranslations(localize, "ui.panel.lovelace.editor.card.tile")
|
||||
);
|
||||
|
||||
private _hasCompatibleFeatures = memoizeOne(
|
||||
|
||||
+114
-44
@@ -12188,6 +12188,78 @@
|
||||
"label": "Roman numerals",
|
||||
"description": "Show Roman numerals (I-XII) around the clock face"
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"title": "[%key:ui::panel::lovelace::editor::card::generic::title%]",
|
||||
"clock_style": "[%key:ui::panel::lovelace::editor::card::clock::clock_style%]",
|
||||
"clock_size": "[%key:ui::panel::lovelace::editor::card::clock::clock_size%]",
|
||||
"show_seconds": "[%key:ui::panel::lovelace::editor::card::clock::show_seconds%]",
|
||||
"no_background": "[%key:ui::panel::lovelace::editor::card::clock::no_background%]",
|
||||
"date_format": "[%key:ui::panel::lovelace::editor::card::clock::date::label%]",
|
||||
"time_format": "[%key:ui::panel::profile::time_format::dropdown_label%]",
|
||||
"border": "[%key:ui::panel::lovelace::editor::card::clock::border::label%]",
|
||||
"ticks": "[%key:ui::panel::lovelace::editor::card::clock::ticks::label%]",
|
||||
"seconds_motion": "[%key:ui::panel::lovelace::editor::card::clock::seconds_motion::label%]",
|
||||
"face_style": "[%key:ui::panel::lovelace::editor::card::clock::face_style::label%]",
|
||||
"time_zone": "[%key:ui::panel::profile::time_zone::dropdown_label%]"
|
||||
},
|
||||
"data_description": {
|
||||
"date_format": "[%key:ui::panel::lovelace::editor::card::clock::date::description%]",
|
||||
"border": "[%key:ui::panel::lovelace::editor::card::clock::border::description%]",
|
||||
"ticks": "[%key:ui::panel::lovelace::editor::card::clock::ticks::description%]",
|
||||
"seconds_motion": "[%key:ui::panel::lovelace::editor::card::clock::seconds_motion::description%]",
|
||||
"face_style": "[%key:ui::panel::lovelace::editor::card::clock::face_style::description%]"
|
||||
},
|
||||
"selector": {
|
||||
"clock_style": {
|
||||
"options": {
|
||||
"digital": "[%key:ui::panel::lovelace::editor::card::clock::clock_styles::digital%]",
|
||||
"analog": "[%key:ui::panel::lovelace::editor::card::clock::clock_styles::analog%]"
|
||||
}
|
||||
},
|
||||
"clock_size": {
|
||||
"options": {
|
||||
"small": "[%key:ui::panel::lovelace::editor::card::clock::clock_sizes::small%]",
|
||||
"medium": "[%key:ui::panel::lovelace::editor::card::clock::clock_sizes::medium%]",
|
||||
"large": "[%key:ui::panel::lovelace::editor::card::clock::clock_sizes::large%]"
|
||||
}
|
||||
},
|
||||
"ticks": {
|
||||
"options": {
|
||||
"none": "[%key:ui::panel::lovelace::editor::card::clock::ticks::none::label%]",
|
||||
"quarter": "[%key:ui::panel::lovelace::editor::card::clock::ticks::quarter::label%]",
|
||||
"hour": "[%key:ui::panel::lovelace::editor::card::clock::ticks::hour::label%]",
|
||||
"minute": "[%key:ui::panel::lovelace::editor::card::clock::ticks::minute::label%]"
|
||||
},
|
||||
"options_description": {
|
||||
"none": "[%key:ui::panel::lovelace::editor::card::clock::ticks::none::description%]",
|
||||
"quarter": "[%key:ui::panel::lovelace::editor::card::clock::ticks::quarter::description%]",
|
||||
"hour": "[%key:ui::panel::lovelace::editor::card::clock::ticks::hour::description%]",
|
||||
"minute": "[%key:ui::panel::lovelace::editor::card::clock::ticks::minute::description%]"
|
||||
}
|
||||
},
|
||||
"seconds_motion": {
|
||||
"options": {
|
||||
"continuous": "[%key:ui::panel::lovelace::editor::card::clock::seconds_motion::continuous::label%]",
|
||||
"tick": "[%key:ui::panel::lovelace::editor::card::clock::seconds_motion::tick::label%]"
|
||||
},
|
||||
"options_description": {
|
||||
"continuous": "[%key:ui::panel::lovelace::editor::card::clock::seconds_motion::continuous::description%]",
|
||||
"tick": "[%key:ui::panel::lovelace::editor::card::clock::seconds_motion::tick::description%]"
|
||||
}
|
||||
},
|
||||
"face_style": {
|
||||
"options": {
|
||||
"markers": "[%key:ui::panel::lovelace::editor::card::clock::face_style::markers::label%]",
|
||||
"numbers_upright": "[%key:ui::panel::lovelace::editor::card::clock::face_style::numbers_upright::label%]",
|
||||
"roman": "[%key:ui::panel::lovelace::editor::card::clock::face_style::roman::label%]"
|
||||
},
|
||||
"options_description": {
|
||||
"markers": "[%key:ui::panel::lovelace::editor::card::clock::face_style::markers::description%]",
|
||||
"numbers_upright": "[%key:ui::panel::lovelace::editor::card::clock::face_style::numbers_upright::description%]",
|
||||
"roman": "[%key:ui::panel::lovelace::editor::card::clock::face_style::roman::description%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
@@ -12320,53 +12392,51 @@
|
||||
"horizontal": "Horizontal",
|
||||
"vertical": "Vertical"
|
||||
},
|
||||
"editor": {
|
||||
"sections": {
|
||||
"content": {
|
||||
"name": "[%key:ui::panel::lovelace::editor::card::generic::content%]"
|
||||
},
|
||||
"interactions": {
|
||||
"name": "[%key:ui::panel::lovelace::editor::card::generic::interactions%]"
|
||||
"sections": {
|
||||
"content": {
|
||||
"name": "[%key:ui::panel::lovelace::editor::card::generic::content%]"
|
||||
},
|
||||
"interactions": {
|
||||
"name": "[%key:ui::panel::lovelace::editor::card::generic::interactions%]"
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"entity": "[%key:ui::panel::lovelace::editor::card::generic::entity%]",
|
||||
"name": "[%key:ui::panel::lovelace::editor::card::generic::name%]",
|
||||
"icon": "[%key:ui::panel::lovelace::editor::card::generic::icon%]",
|
||||
"color": "[%key:ui::panel::lovelace::editor::card::tile::color%]",
|
||||
"show_entity_picture": "[%key:ui::panel::lovelace::editor::card::tile::show_entity_picture%]",
|
||||
"hide_state": "[%key:ui::panel::lovelace::editor::card::tile::hide_state%]",
|
||||
"state_content": "[%key:ui::panel::lovelace::editor::card::tile::state_content%]",
|
||||
"time_format": "[%key:ui::panel::lovelace::editor::card::generic::time_format%]",
|
||||
"content_layout": "[%key:ui::panel::lovelace::editor::card::tile::content_layout%]",
|
||||
"tap_action": "[%key:ui::panel::lovelace::editor::card::generic::tap_action%]",
|
||||
"icon_tap_action": "[%key:ui::panel::lovelace::editor::card::tile::icon_tap_action%]",
|
||||
"hold_action": "[%key:ui::panel::lovelace::editor::card::generic::hold_action%]",
|
||||
"icon_hold_action": "[%key:ui::panel::lovelace::editor::card::tile::icon_hold_action%]",
|
||||
"double_tap_action": "[%key:ui::panel::lovelace::editor::card::generic::double_tap_action%]",
|
||||
"icon_double_tap_action": "[%key:ui::panel::lovelace::editor::card::tile::icon_double_tap_action%]",
|
||||
"features_position": "[%key:ui::panel::lovelace::editor::card::tile::features_position%]"
|
||||
},
|
||||
"data_description": {
|
||||
"color": "[%key:ui::panel::lovelace::editor::card::tile::color_helper%]",
|
||||
"features_position": "[%key:ui::panel::lovelace::editor::card::tile::features_position_helper_vertical%]"
|
||||
},
|
||||
"selector": {
|
||||
"content_layout": {
|
||||
"options": {
|
||||
"horizontal": "[%key:ui::panel::lovelace::editor::card::tile::content_layout_options::horizontal%]",
|
||||
"vertical": "[%key:ui::panel::lovelace::editor::card::tile::content_layout_options::vertical%]"
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"entity": "[%key:ui::panel::lovelace::editor::card::generic::entity%]",
|
||||
"name": "[%key:ui::panel::lovelace::editor::card::generic::name%]",
|
||||
"icon": "[%key:ui::panel::lovelace::editor::card::generic::icon%]",
|
||||
"color": "[%key:ui::panel::lovelace::editor::card::tile::color%]",
|
||||
"show_entity_picture": "[%key:ui::panel::lovelace::editor::card::tile::show_entity_picture%]",
|
||||
"hide_state": "[%key:ui::panel::lovelace::editor::card::tile::hide_state%]",
|
||||
"state_content": "[%key:ui::panel::lovelace::editor::card::tile::state_content%]",
|
||||
"time_format": "[%key:ui::panel::lovelace::editor::card::generic::time_format%]",
|
||||
"content_layout": "[%key:ui::panel::lovelace::editor::card::tile::content_layout%]",
|
||||
"tap_action": "[%key:ui::panel::lovelace::editor::card::generic::tap_action%]",
|
||||
"icon_tap_action": "[%key:ui::panel::lovelace::editor::card::tile::icon_tap_action%]",
|
||||
"hold_action": "[%key:ui::panel::lovelace::editor::card::generic::hold_action%]",
|
||||
"icon_hold_action": "[%key:ui::panel::lovelace::editor::card::tile::icon_hold_action%]",
|
||||
"double_tap_action": "[%key:ui::panel::lovelace::editor::card::generic::double_tap_action%]",
|
||||
"icon_double_tap_action": "[%key:ui::panel::lovelace::editor::card::tile::icon_double_tap_action%]",
|
||||
"features_position": "[%key:ui::panel::lovelace::editor::card::tile::features_position%]"
|
||||
},
|
||||
"data_description": {
|
||||
"color": "[%key:ui::panel::lovelace::editor::card::tile::color_helper%]",
|
||||
"features_position": "[%key:ui::panel::lovelace::editor::card::tile::features_position_helper_vertical%]"
|
||||
},
|
||||
"selector": {
|
||||
"content_layout": {
|
||||
"options": {
|
||||
"horizontal": "[%key:ui::panel::lovelace::editor::card::tile::content_layout_options::horizontal%]",
|
||||
"vertical": "[%key:ui::panel::lovelace::editor::card::tile::content_layout_options::vertical%]"
|
||||
}
|
||||
"features_position": {
|
||||
"options": {
|
||||
"bottom": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::bottom%]",
|
||||
"inline": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::inline%]"
|
||||
},
|
||||
"features_position": {
|
||||
"options": {
|
||||
"bottom": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::bottom%]",
|
||||
"inline": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::inline%]"
|
||||
},
|
||||
"options_description": {
|
||||
"bottom": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::bottom_description%]",
|
||||
"inline": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::inline_description%]"
|
||||
}
|
||||
"options_description": {
|
||||
"bottom": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::bottom_description%]",
|
||||
"inline": "[%key:ui::panel::lovelace::editor::card::tile::features_position_options::inline_description%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user