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 b9898c0 commit 9e224cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions custom_components/babybuddy/select.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Support for babybuddy selects."""

from __future__ import annotations

from homeassistant.components.select import SelectEntity
Expand Down
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 9e224cf

Please sign in to comment.