Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "soliscloud-api"
version = "1.0.0"
version = "1.0.1"
authors = [
{ name="Peter van Hulten", email="peter.vanhulten@gmx.net" },
]
Expand Down
9 changes: 7 additions & 2 deletions soliscloud_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
import async_timeout

# VERSION
VERSION = '1.0.0'
SUPPORTED_API_VERSION = '1.2'
VERSION = '1.0.1'
SUPPORTED_SPEC_VERSION = '1.2'
RESOURCE_PREFIX = '/v1/api/'

VERB = "POST"
Expand Down Expand Up @@ -144,6 +144,11 @@ def session(self) -> ClientSession:
""" aiohttp client session ID."""
return self._session

@property
def spec_version(self) -> str:
""" supported version of the Soliscloud spec."""
return SUPPORTED_SPEC_VERSION

# All methods take key and secret as positional arguments followed by
# one or more keyword arguments
async def user_station_list(
Expand Down
Loading