Skip to content

Commit 4a111e9

Browse files
committed
Remove commented-out @raise_on_loaded
1 parent dfae400 commit 4a111e9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

plugwise_usb/nodes/sed.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ async def set_sleep_duration(self, minutes: int) -> bool:
380380
# endregion
381381
# region Properties
382382
@property
383-
# @raise_not_loaded
384383
def awake_duration(self) -> int:
385384
"""Duration in seconds a battery powered devices is awake."""
386385
if self._new_battery_config.awake_duration is not None:
@@ -390,7 +389,6 @@ def awake_duration(self) -> int:
390389
return SED_DEFAULT_AWAKE_DURATION
391390

392391
@property
393-
# @raise_not_loaded
394392
def battery_config(self) -> BatteryConfig:
395393
"""Battery related configuration settings."""
396394
return BatteryConfig(
@@ -402,7 +400,6 @@ def battery_config(self) -> BatteryConfig:
402400
)
403401

404402
@property
405-
# @raise_not_loaded
406403
def clock_interval(self) -> int:
407404
"""Return the clock interval value."""
408405
if self._new_battery_config.clock_interval is not None:
@@ -412,7 +409,6 @@ def clock_interval(self) -> int:
412409
return SED_DEFAULT_CLOCK_INTERVAL
413410

414411
@property
415-
# @raise_not_loaded
416412
def clock_sync(self) -> bool:
417413
"""Indicate if the internal clock must be synced."""
418414
if self._new_battery_config.clock_sync is not None:
@@ -422,7 +418,6 @@ def clock_sync(self) -> bool:
422418
return SED_DEFAULT_CLOCK_SYNC
423419

424420
@property
425-
# @raise_not_loaded
426421
def maintenance_interval(self) -> int:
427422
"""Return the maintenance interval value.
428423
@@ -440,7 +435,6 @@ def sed_config_task_scheduled(self) -> bool:
440435
return self._sed_config_task_scheduled
441436

442437
@property
443-
# @raise_not_loaded
444438
def sleep_duration(self) -> int:
445439
"""Return the sleep duration value in minutes.
446440

0 commit comments

Comments
 (0)