Skip to content

Commit

Permalink
Removed typing.override from climate.py to ensure backward compatibil…
Browse files Browse the repository at this point in the history
…ity with Python 3.11
  • Loading branch information
Haoyu-UT authored Jun 25, 2024
1 parent b705a1d commit 72c8226
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/nature_remo/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import datetime
import itertools
import logging
from typing import Any, Optional, override
from typing import Any, Optional

import voluptuous as vol

Expand Down Expand Up @@ -242,7 +242,6 @@ class AirConditioner(
mode_target_fan_mode: dict[str, str]
mode_target_swingmodepair: dict[str, SwingModePair]

@override
@property
def extra_restore_state_data(self) -> restore_state.ExtraStoredData:
data = {
Expand Down

0 comments on commit 72c8226

Please sign in to comment.