mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Update black to 23.1.0 (#87188)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user