Skip to content

Commit

Permalink
Removed if block for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
DustyArmstrong committed Feb 13, 2024
1 parent 06bc780 commit 2a2ef31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/metoffice/__init__.py
Expand Up @@ -43,10 +43,6 @@

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up a Met Office entry."""
if sys.version_info >= (3, 12):
raise HomeAssistantError(
"Met Office is not supported on Python 3.12. Please use Python 3.11."
)

latitude = entry.data[CONF_LATITUDE]
longitude = entry.data[CONF_LONGITUDE]
Expand Down

0 comments on commit 2a2ef31

Please sign in to comment.