Skip to content

Commit

Permalink
migrate from datetime to date only
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram van Dartel committed Dec 9, 2020
1 parent f6aa743 commit 7190217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/const/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
STARTUP_MESSAGE = """
-------------------------------------------------------------------
Afvalwijzer
Version: 5.2.4
Version: 5.2.5
This is a custom integration!
If you have any issues with this you need to open an issue here:
"https://github.com/xirixiz/homeassistant-afvalwijzer/issues"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/sensor_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def async_update(self):
waste_data_custom[self.waste_type],
)
# Add the US date format
collection_date_us = waste_data_custom[self.waste_type].date()
collection_date_us = waste_data_custom[self.waste_type]
self._year_month_day_date = str(collection_date_us)

# Add the NL date format as default state
Expand Down

0 comments on commit 7190217

Please sign in to comment.