Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create base TriggerEntity #91128

Merged
Prev Previous commit
Next Next commit
use super
  • Loading branch information
gjohansson-ST committed Apr 16, 2023
commit afe0056cee562cb26b38e3e91f9e24549b1dd198
2 changes: 1 addition & 1 deletion homeassistant/components/template/trigger_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __init__(
async def async_added_to_hass(self) -> None:
"""Handle being added to Home Assistant."""
await TriggerBaseEntity.async_added_to_hass(self)
gjohansson-ST marked this conversation as resolved.
Show resolved Hide resolved
await CoordinatorEntity.async_added_to_hass(self) # type: ignore[arg-type]
await super(CoordinatorEntity, self).async_added_to_hass()
if self.coordinator.data is not None:
self._process_data()

Expand Down