diff --git a/pyvlx/node_helper.py b/pyvlx/node_helper.py index 369b5b2f..9af4f462 100644 --- a/pyvlx/node_helper.py +++ b/pyvlx/node_helper.py @@ -3,23 +3,15 @@ from .api.frames import ( FrameGetAllNodesInformationNotification, - FrameGetNodeInformationNotification, -) + FrameGetNodeInformationNotification) from .const import NodeTypeWithSubtype from .lightening_device import Light from .log import PYVLXLOG from .node import Node from .on_off_switch import OnOffSwitch from .opening_device import ( - Awning, - Blade, - Blind, - DualRollerShutter, - GarageDoor, - Gate, - RollerShutter, - Window, -) + Awning, Blade, Blind, DualRollerShutter, GarageDoor, Gate, RollerShutter, + Window) if TYPE_CHECKING: from pyvlx import PyVLX diff --git a/pyvlx/node_updater.py b/pyvlx/node_updater.py index 96c1b4a8..a111036c 100644 --- a/pyvlx/node_updater.py +++ b/pyvlx/node_updater.py @@ -3,11 +3,8 @@ from typing import TYPE_CHECKING, Any from .api.frames import ( - FrameBase, - FrameGetAllNodesInformationNotification, - FrameNodeStatePositionChangedNotification, - FrameStatusRequestNotification, -) + FrameBase, FrameGetAllNodesInformationNotification, + FrameNodeStatePositionChangedNotification, FrameStatusRequestNotification) from .const import NodeParameter, OperatingState from .lightening_device import LighteningDevice from .log import PYVLXLOG diff --git a/pyvlx/parameter.py b/pyvlx/parameter.py index feb1b509..808bb103 100644 --- a/pyvlx/parameter.py +++ b/pyvlx/parameter.py @@ -165,8 +165,7 @@ def __str__(self) -> str: return "ON" if self.raw == self.from_int(Parameter.OFF): return "OFF" - - return "UNKNOWN" + return "UNKNOWN" class SwitchParameterOn(SwitchParameter):