182 files
This commit is contained in:
1 parent
7dddf6bb13
commit
ece15a1c1b
183 files changed
+11457
-3092
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
import { LitElement, html, css, nothing } from "lit";
|
||||
import { property, state } from "lit/decorators.js";
|
||||
import { t } from "./styles";
|
||||
import { t, langOf } from "./styles";
|
||||
import type { HomeAssistant, CardConfig, MaintenanceObjectResponse, SavedView } from "./types";
|
||||
|
||||
const STATUS_KEYS = ["overdue", "triggered", "due_soon", "ok"] as const;
|
||||
@@ -18,7 +18,7 @@ export class MaintenanceSupporterCardEditor extends LitElement {
|
||||
private _objectsLoaded = false;
|
||||
|
||||
private get _lang(): string {
|
||||
return this.hass?.language || "en";
|
||||
return langOf(this.hass);
|
||||
}
|
||||
|
||||
setConfig(config: CardConfig): void {
|
||||
|
||||
Reference in new issue
Block a user