mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Python < 3.6 remainder cleanups (#25607)
This commit is contained in:
committed by
Paulus Schoutsen
parent
671cb0d092
commit
3cf8964c06
@@ -93,13 +93,6 @@ async def async_from_config_dict(config: Dict[str, Any],
|
||||
stop = time()
|
||||
_LOGGER.info("Home Assistant initialized in %.2fs", stop-start)
|
||||
|
||||
if sys.version_info[:3] < (3, 6, 0):
|
||||
hass.components.persistent_notification.async_create(
|
||||
"Python 3.5 support is deprecated and will "
|
||||
"be removed in the first release after August 1. Please "
|
||||
"upgrade Python.", "Python version", "python_version"
|
||||
)
|
||||
|
||||
return hass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user