mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
parent
bd870f0537
commit
9a25561017
@ -65,9 +65,7 @@ class TriggerEntity( # pylint: disable=hass-enforce-class-module
|
|||||||
"""Render configured variables."""
|
"""Render configured variables."""
|
||||||
if self.coordinator.data is None:
|
if self.coordinator.data is None:
|
||||||
return {}
|
return {}
|
||||||
if self.coordinator.data is None:
|
return self.coordinator.data["run_variables"] or {}
|
||||||
return {}
|
|
||||||
return self.coordinator.data["run_variables"] or {} or {}
|
|
||||||
|
|
||||||
def _render_templates(self, variables: dict[str, Any]) -> None:
|
def _render_templates(self, variables: dict[str, Any]) -> None:
|
||||||
"""Render templates."""
|
"""Render templates."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user