20230428.0 (#16347)

This commit is contained in:
Paul Bottein 2023-04-28 17:40:58 +02:00 committed by GitHub
commit 71dd822978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 9 deletions

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "home-assistant-frontend" name = "home-assistant-frontend"
version = "20230427.0" version = "20230428.0"
license = {text = "Apache-2.0"} license = {text = "Apache-2.0"}
description = "The Home Assistant frontend" description = "The Home Assistant frontend"
readme = "README.md" readme = "README.md"

View File

@ -9,13 +9,6 @@
script.src = src; script.src = src;
return script; return script;
} }
window.Polymer = {
lazyRegister: true,
useNativeCSSProperties: true,
dom: "shadow",
suppressTemplateNotifications: true,
suppressBindingNotifications: true,
};
window.polymerSkipLoadingFontRoboto = true; window.polymerSkipLoadingFontRoboto = true;
if (!("customElements" in window && if (!("customElements" in window &&
"content" in document.createElement("template"))) { "content" in document.createElement("template"))) {

View File

@ -42,6 +42,7 @@ export class HuiImageElement extends LitElement implements LovelaceElement {
.image=${this._config.image} .image=${this._config.image}
.stateImage=${this._config.state_image} .stateImage=${this._config.state_image}
.cameraImage=${this._config.camera_image} .cameraImage=${this._config.camera_image}
.cameraView=${this._config.camera_view}
.filter=${this._config.filter} .filter=${this._config.filter}
.stateFilter=${this._config.state_filter} .stateFilter=${this._config.state_filter}
.title=${computeTooltip(this.hass, this._config)} .title=${computeTooltip(this.hass, this._config)}

View File

@ -1,6 +1,7 @@
import { ActionConfig } from "../../../data/lovelace"; import { ActionConfig } from "../../../data/lovelace";
import { HomeAssistant } from "../../../types"; import { HomeAssistant } from "../../../types";
import { Condition } from "../common/validate-condition"; import { Condition } from "../common/validate-condition";
import { HuiImage } from "../components/hui-image";
interface LovelaceElementConfigBase { interface LovelaceElementConfigBase {
type: string; type: string;
@ -43,6 +44,7 @@ export interface ImageElementConfig extends LovelaceElementConfigBase {
image?: string; image?: string;
state_image?: string; state_image?: string;
camera_image?: string; camera_image?: string;
camera_view?: HuiImage["cameraView"];
dark_mode_image?: string; dark_mode_image?: string;
dark_mode_filter?: string; dark_mode_filter?: string;
filter?: string; filter?: string;

View File

@ -2813,7 +2813,7 @@
"fetching_subscription": "Fetching subscription…", "fetching_subscription": "Fetching subscription…",
"tts": { "tts": {
"title": "Text-to-speech", "title": "Text-to-speech",
"info": "Bring personality to your home by having it speak to you by using our Text-to-Speech services. You can use this in automations and scripts by using the {service} service.", "info": "Bring personality to your home by having it speak to you by using our text-to-speech services. You can use this in automations and scripts by using the {service} service.",
"default_language": "Default language to use", "default_language": "Default language to use",
"default_gender": "Default gender to use", "default_gender": "Default gender to use",
"try": "Try", "try": "Try",