Skip to content

Commit

Permalink
Merge pull request #3 from skweeker/ReplaceHomeAssistantType
Browse files Browse the repository at this point in the history
syntax
  • Loading branch information
skweeker authored Dec 24, 2024
2 parents b1fc82c + 9d586b9 commit 1028132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/calendarific/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async def async_update(self) -> None:
self.event = CalendarEvent(
summary=entity.name,
start=entity._date,
end=entity._date + timedelta(days=1),
end=datetime.strptime(entity._date.iso,'%Y-%m-%d') + timedelta(days=1),
description=entity.extra_state_attributes["description"]
if "description" in entity.extra_state_attributes
else None,
Expand Down

0 comments on commit 1028132

Please sign in to comment.