Skip to content

Commit

Permalink
Remove unnecessary check.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Nov 2, 2023
1 parent bc24491 commit 1f94b06
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyplumio/structures/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from dataclasses import dataclass
from functools import reduce
from itertools import chain
from typing import TYPE_CHECKING, Final
from typing import Final

from pyplumio.const import ATTR_PARAMETER, ATTR_SCHEDULE, ATTR_SWITCH, ATTR_TYPE
from pyplumio.devices import Addressable, Device
from pyplumio.exceptions import FrameDataError
from pyplumio.frames import Request
from pyplumio.helpers.factory import factory
from pyplumio.helpers.parameter import (
BinaryParameter,
Expand All @@ -23,10 +24,6 @@
from pyplumio.structures import Structure
from pyplumio.utils import ensure_dict

if TYPE_CHECKING:
from pyplumio.frames import Request


ATTR_SCHEDULES: Final = "schedules"
ATTR_SCHEDULE_PARAMETERS: Final = "schedule_parameters"
ATTR_SCHEDULE_SWITCH: Final = "schedule_switch"
Expand Down

0 comments on commit 1f94b06

Please sign in to comment.