pynintendoparental 2.2.0__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/PKG-INFO +1 -1
- pynintendoparental-2.2.1/pynintendoparental/_version.py +1 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/device.py +2 -16
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/PKG-INFO +1 -1
- pynintendoparental-2.2.0/pynintendoparental/_version.py +0 -1
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/LICENSE +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/README.md +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/__init__.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/api.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/application.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/authenticator.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/const.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/enum.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/exceptions.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/player.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/py.typed +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental/utils.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/SOURCES.txt +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/dependency_links.txt +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/requires.txt +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/top_level.txt +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pyproject.toml +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/setup.cfg +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/setup.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/tests/test_api.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/tests/test_applications.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/tests/test_device.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/tests/test_enum.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/tests/test_init.py +0 -0
- {pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/tests/test_player.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.1"
|
|
@@ -416,22 +416,8 @@ class Device:
|
|
|
416
416
|
"""Parse a parental control setting request response."""
|
|
417
417
|
_LOGGER.debug(">> Device._parse_parental_control_setting()")
|
|
418
418
|
self.parental_control_settings = pcs["parentalControlSetting"]
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
if (
|
|
422
|
-
"bedtimeStartingTime"
|
|
423
|
-
in self.parental_control_settings["playTimerRegulations"]
|
|
424
|
-
):
|
|
425
|
-
if (
|
|
426
|
-
self.parental_control_settings["playTimerRegulations"]
|
|
427
|
-
.get("bedtimeStartingTime", {})
|
|
428
|
-
.get("hour", 0)
|
|
429
|
-
== 0
|
|
430
|
-
):
|
|
431
|
-
self.parental_control_settings["playTimerRegulations"].pop(
|
|
432
|
-
"bedtimeStartingTime"
|
|
433
|
-
)
|
|
434
|
-
|
|
419
|
+
self.parental_control_settings["playTimerRegulations"].pop("bedtimeStartingTime", None)
|
|
420
|
+
self.parental_control_settings["playTimerRegulations"].pop("bedtimeEndingTime", None)
|
|
435
421
|
self.forced_termination_mode = self.parental_control_settings[
|
|
436
422
|
"playTimerRegulations"
|
|
437
423
|
]["restrictionMode"] == str(RestrictionMode.FORCED_TERMINATION)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/requires.txt
RENAMED
|
File without changes
|
{pynintendoparental-2.2.0 → pynintendoparental-2.2.1}/pynintendoparental.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|