mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-18 16:19:46 +00:00
Compare commits
9 Commits
clock-date
...
20250925.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
431e533929 | ||
![]() |
02c845cbc6 | ||
![]() |
628111ed20 | ||
![]() |
e825a9c02f | ||
![]() |
7a35bddf36 | ||
![]() |
ad69270af8 | ||
![]() |
404edf9483 | ||
![]() |
a166b4e9b6 | ||
![]() |
7a285f11db |
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "home-assistant-frontend"
|
name = "home-assistant-frontend"
|
||||||
version = "20250924.0"
|
version = "20250925.0"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
license-files = ["LICENSE*"]
|
license-files = ["LICENSE*"]
|
||||||
description = "The Home Assistant frontend"
|
description = "The Home Assistant frontend"
|
||||||
|
@@ -54,9 +54,9 @@ export class HaBottomSheet extends LitElement {
|
|||||||
border-top-left-radius: var(--ha-border-radius-lg);
|
border-top-left-radius: var(--ha-border-radius-lg);
|
||||||
border-top-right-radius: var(--ha-border-radius-lg);
|
border-top-right-radius: var(--ha-border-radius-lg);
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
margin-bottom: var(--safe-area-inset-bottom);
|
padding-bottom: var(--safe-area-inset-bottom);
|
||||||
margin-left: var(--safe-area-inset-left);
|
padding-left: var(--safe-area-inset-left);
|
||||||
margin-right: var(--safe-area-inset-right);
|
padding-right: var(--safe-area-inset-right);
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@ import type { Action } from "./script";
|
|||||||
export const callExecuteScript = (
|
export const callExecuteScript = (
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: Action | Action[]
|
sequence: Action | Action[]
|
||||||
): Promise<{ context: Context; response: Record<string, any> }> =>
|
): Promise<{ context: Context; response: Record<string, any> | null }> =>
|
||||||
hass.callWS({
|
hass.callWS({
|
||||||
type: "execute_script",
|
type: "execute_script",
|
||||||
sequence,
|
sequence,
|
||||||
|
@@ -171,7 +171,7 @@ export default class HaAutomationSidebar extends LitElement {
|
|||||||
@mousedown=${this._handleMouseDown}
|
@mousedown=${this._handleMouseDown}
|
||||||
@touchstart=${this._handleMouseDown}
|
@touchstart=${this._handleMouseDown}
|
||||||
>
|
>
|
||||||
${this._resizing ? html`<div class="indicator"></div>` : nothing}
|
<div class="indicator ${this._resizing ? "" : "hidden"}"></div>
|
||||||
</div>
|
</div>
|
||||||
${this._renderContent()}
|
${this._renderContent()}
|
||||||
`;
|
`;
|
||||||
@@ -333,6 +333,15 @@ export default class HaAutomationSidebar extends LitElement {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
border-radius: var(--ha-border-radius-pill);
|
border-radius: var(--ha-border-radius-pill);
|
||||||
|
transform: scale3d(1, 1, 1);
|
||||||
|
opacity: 1;
|
||||||
|
transition:
|
||||||
|
transform 180ms ease-in-out,
|
||||||
|
opacity 180ms ease-in-out;
|
||||||
|
}
|
||||||
|
.handle .indicator.hidden {
|
||||||
|
transform: scale3d(0, 1, 1);
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
@@ -260,7 +260,7 @@ class DialogPersonDetail extends LitElement implements HassDialog {
|
|||||||
>
|
>
|
||||||
${this._params.entry
|
${this._params.entry
|
||||||
? this.hass!.localize("ui.common.save")
|
? this.hass!.localize("ui.common.save")
|
||||||
: this.hass!.localize("ui.panel.config.person.detail.create")}
|
: this.hass!.localize("ui.common.add")}
|
||||||
</ha-button>
|
</ha-button>
|
||||||
</ha-dialog>
|
</ha-dialog>
|
||||||
`;
|
`;
|
||||||
|
@@ -51,7 +51,7 @@ class HaPanelDevAction extends LitElement {
|
|||||||
@state() private _response?: {
|
@state() private _response?: {
|
||||||
domain: string;
|
domain: string;
|
||||||
service: string;
|
service: string;
|
||||||
result: Record<string, any>;
|
result: Record<string, any> | null;
|
||||||
media?: Promise<TemplateResult | typeof nothing>;
|
media?: Promise<TemplateResult | typeof nothing>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@ class HaPanelDevAction extends LitElement {
|
|||||||
</ha-progress-button>
|
</ha-progress-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
${this._response
|
${this._response?.result
|
||||||
? html`<div class="content response">
|
? html`<div class="content response">
|
||||||
<ha-card
|
<ha-card
|
||||||
.header=${this.hass.localize(
|
.header=${this.hass.localize(
|
||||||
@@ -491,7 +491,7 @@ class HaPanelDevAction extends LitElement {
|
|||||||
service,
|
service,
|
||||||
result,
|
result,
|
||||||
media:
|
media:
|
||||||
"media_source_id" in result
|
result && "media_source_id" in result
|
||||||
? resolveMediaSource(this.hass, result.media_source_id).then(
|
? resolveMediaSource(this.hass, result.media_source_id).then(
|
||||||
(resolved) =>
|
(resolved) =>
|
||||||
resolved.mime_type.startsWith("image/")
|
resolved.mime_type.startsWith("image/")
|
||||||
|
@@ -46,7 +46,9 @@ export class CommonControlsSectionStrategy extends ReactiveElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const predictedCommonControl = await getCommonControlUsagePrediction(hass);
|
const predictedCommonControl = await getCommonControlUsagePrediction(hass);
|
||||||
let predictedEntities = predictedCommonControl.entities;
|
let predictedEntities = predictedCommonControl.entities.filter(
|
||||||
|
(entity) => entity in hass.states
|
||||||
|
);
|
||||||
|
|
||||||
if (config.exclude_entities) {
|
if (config.exclude_entities) {
|
||||||
predictedEntities = predictedEntities.filter(
|
predictedEntities = predictedEntities.filter(
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
import scrollLockStyles from "@home-assistant/webawesome/dist/styles/utilities/scroll-lock.css.js";
|
||||||
import { css } from "lit";
|
import { css } from "lit";
|
||||||
import { extractDerivedVars } from "../../common/style/derived-css-vars";
|
import { extractDerivedVars } from "../../common/style/derived-css-vars";
|
||||||
|
|
||||||
@@ -18,6 +19,8 @@ export const waMainStyles = css`
|
|||||||
--wa-border-width-l: var(--ha-border-radius-l);
|
--wa-border-width-l: var(--ha-border-radius-l);
|
||||||
--wa-space-xl: 32px;
|
--wa-space-xl: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${scrollLockStyles}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const waMainDerivedVariables = extractDerivedVars(waMainStyles);
|
export const waMainDerivedVariables = extractDerivedVars(waMainStyles);
|
||||||
|
@@ -5365,7 +5365,7 @@
|
|||||||
"person_not_found_title": "Person not found",
|
"person_not_found_title": "Person not found",
|
||||||
"person_not_found": "We couldn't find the person you were trying to edit.",
|
"person_not_found": "We couldn't find the person you were trying to edit.",
|
||||||
"detail": {
|
"detail": {
|
||||||
"new_person": "New person",
|
"new_person": "Add person",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"name_error_msg": "Name is required",
|
"name_error_msg": "Name is required",
|
||||||
"linked_user": "Linked user",
|
"linked_user": "Linked user",
|
||||||
@@ -5376,7 +5376,6 @@
|
|||||||
"device_tracker_picked": "Track device",
|
"device_tracker_picked": "Track device",
|
||||||
"device_tracker_pick": "Pick device to track",
|
"device_tracker_pick": "Pick device to track",
|
||||||
"delete": "Delete",
|
"delete": "Delete",
|
||||||
"create": "Create",
|
|
||||||
"update": "Update",
|
"update": "Update",
|
||||||
"confirm_delete_user_title": "Delete user account",
|
"confirm_delete_user_title": "Delete user account",
|
||||||
"confirm_delete_user_text": "The user account for ''{name}'' will be permanently deleted. You can still track the user, but the person will no longer be able to log in.",
|
"confirm_delete_user_text": "The user account for ''{name}'' will be permanently deleted. You can still track the user, but the person will no longer be able to log in.",
|
||||||
|
Reference in New Issue
Block a user