mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
@@ -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."""
|
||||||
|
Reference in New Issue
Block a user