def __init__(self, template):
    'Initialise.'
    self.template = template
    self.filter_lifecycle = _true
    self.filter = _true
    self._result: (str | None) = None
    self.is_static = False
    self.exception: (TemplateError | None) = None
    self.all_states = False
    self.all_states_lifecycle = False
    self.domains = set()
    self.domains_lifecycle = set()
    self.entities = set()
    self.rate_limit: (timedelta | None) = None
    self.has_time = False
Initialise.
def __init__(self, template):
    
    self.template = template
    self.filter_lifecycle = _true
    self.filter = _true
    self._result: (str | None) = None
    self.is_static = False
    self.exception: (TemplateError | None) = None
    self.all_states = False
    self.all_states_lifecycle = False
    self.domains = set()
    self.domains_lifecycle = set()
    self.entities = set()
    self.rate_limit: (timedelta | None) = None
    self.has_time = False