Skip to content

Commit 00ecba2

Browse files
committed
Import added constant from constants.py
1 parent e6aaf07 commit 00ecba2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugwise_usb/connection/queue.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import logging
99

1010
from ..api import StickEvent
11+
from ..constants import REPORT_QUEUE_FILLING_UP
1112
from ..exceptions import MessageError, NodeTimeout, StickError, StickTimeout
1213
from ..messages import Priority
1314
from ..messages.requests import NodePingRequest, PlugwiseCancelRequest, PlugwiseRequest
@@ -16,8 +17,6 @@
1617

1718
_LOGGER = logging.getLogger(__name__)
1819

19-
REPORT_QUEUE_FILLING_UP: Final[int] = 8
20-
2120

2221
@dataclass
2322
class RequestState:

plugwise_usb/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# Value limits
2020
MAX_UINT_2: Final = 255 # 8-bit unsigned integer max
2121
MAX_UINT_4: Final = 65535 # 16-bit unsigned integer max
22+
REPORT_QUEUE_FILLING_UP: Final = 8
2223

2324
# Time
2425
DAY_IN_HOURS: Final = 24

0 commit comments

Comments
 (0)