mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix time trigger description pointing to entity (#13786)
This commit is contained in:
parent
05515f21c3
commit
50b67751d9
@ -189,7 +189,7 @@ export const describeTrigger = (
|
|||||||
// Time Trigger
|
// Time Trigger
|
||||||
if (trigger.platform === "time" && trigger.at) {
|
if (trigger.platform === "time" && trigger.at) {
|
||||||
const at = trigger.at.includes(".")
|
const at = trigger.at.includes(".")
|
||||||
? hass.states[trigger.at] || trigger.at
|
? `entity ${computeStateName(hass.states[trigger.at]) || trigger.at}`
|
||||||
: trigger.at;
|
: trigger.at;
|
||||||
|
|
||||||
return `When the time is equal to ${at}`;
|
return `When the time is equal to ${at}`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user