Update black to 23.1.0 (#87188)
This commit is contained in:
parent
f7666239ff
commit
5e81d28116
312 changed files with 299 additions and 475 deletions
|
@ -399,7 +399,6 @@ class BayesianBinarySensor(BinarySensorEntity):
|
|||
|
||||
observations_by_entity: dict[str, list[Observation]] = {}
|
||||
for observation in self._observations:
|
||||
|
||||
if (key := observation.entity_id) is None:
|
||||
continue
|
||||
observations_by_entity.setdefault(key, []).append(observation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue