Skip to content

Commit

Permalink
Code style tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcclure committed Jul 7, 2024
1 parent 8363ef7 commit c2d48b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/chore_helper/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def async_update(self) -> None:
entity
].next_due_date
if len(next_due_dates) > 0:
entity_id = min(next_due_dates.keys(), key=(lambda k: next_due_dates[k]))
entity_id = min(next_due_dates.keys(), key=lambda k: next_due_dates[k])
start = next_due_dates[entity_id]
end = start + timedelta(days=1)
name = self._hass.data[DOMAIN][SENSOR_PLATFORM][entity_id].name
Expand Down

0 comments on commit c2d48b5

Please sign in to comment.