def _get_season(_datetime: typing.Optional[date] = None) -> typing.Tuple[str, int]:
if _datetime is None:<EOL><INDENT>_actual_datetime: date = datetime.now().date().replace(year=Y)<EOL><DEDENT>else:<EOL><INDENT>_actual_datetime = _datetime.replace(year=Y)<EOL><DEDENT>return next((season, temp) for season, temp, (start, end) in SEASONS if start <= _actual_datetime <= end)<EOL>
Finds the current season based on now() and gives a dummy temperature

Returns: tuple of season name, temperature