havenlighting 0.2.0__tar.gz → 0.2.2__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.
- {havenlighting-0.2.0 → havenlighting-0.2.2}/PKG-INFO +1 -1
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/__init__.py +1 -1
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/devices/location.py +5 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting.egg-info/PKG-INFO +1 -1
- {havenlighting-0.2.0 → havenlighting-0.2.2}/pyproject.toml +1 -1
- {havenlighting-0.2.0 → havenlighting-0.2.2}/README.md +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/client.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/config.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/credentials.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/devices/light.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/exceptions.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/logging.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting/models.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting.egg-info/SOURCES.txt +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting.egg-info/dependency_links.txt +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting.egg-info/requires.txt +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/havenlighting.egg-info/top_level.txt +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/setup.cfg +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/tests/test_client.py +0 -0
- {havenlighting-0.2.0 → havenlighting-0.2.2}/tests/test_light.py +0 -0
|
@@ -27,6 +27,11 @@ class Location:
|
|
|
27
27
|
self._lights: Dict[int, Light] = {}
|
|
28
28
|
logger.debug("Initialized Location: %s (ID: %d)", self.name, location_id)
|
|
29
29
|
|
|
30
|
+
@property
|
|
31
|
+
def id(self) -> int:
|
|
32
|
+
"""Get location ID."""
|
|
33
|
+
return self._location_id
|
|
34
|
+
|
|
30
35
|
@property
|
|
31
36
|
def name(self) -> str:
|
|
32
37
|
"""Get location name."""
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "havenlighting"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Python client for Haven Lighting API"
|
|
9
9
|
authors = [{name = "Mickey Schwab", email = "mickeyschwab@gmail.com"}]
|
|
10
10
|
license = {file = "LICENSE"}
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|