Skip to content

Commit

Permalink
style: ruff vs. black
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgoette committed Oct 15, 2024
1 parent f18b8ae commit ede0cc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/babybuddy/sensor.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ def update_items(
coordinator.data[1][child[ATTR_ID]].get(description.key)
and f"{child[ATTR_ID]}_{description.key}" not in tracked
):
tracked[
f"{child[ATTR_ID]}_{description.key}"
] = BabyBuddyChildDataSensor(coordinator, child, description)
tracked[f"{child[ATTR_ID]}_{description.key}"] = (
BabyBuddyChildDataSensor(coordinator, child, description)
)
new_entities.append(tracked[f"{child[ATTR_ID]}_{description.key}"])
if new_entities:
async_add_entities(new_entities)
Expand Down

0 comments on commit ede0cc0

Please sign in to comment.