Make async_track_template_result track multiple templates (#39371)

* Make async_track_template_result track multiple templates

Combine template entity updates to only write ha
state once per template group update

* Make async_track_template_result use dataclasses for input/output

* black versions

* naming
This commit is contained in:
J. Nick Koston 2020-08-31 19:07:40 -05:00 committed by GitHub
parent 8d68963854
commit a77e09b2c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 508 additions and 215 deletions

View file

@ -192,7 +192,7 @@ class RenderInfo:
self.entities = frozenset(self.entities)
self.domains = frozenset(self.domains)
if self.all_states:
if self.all_states or self.exception:
return
if not self.domains: