Skip to content

Commit beeed66

Browse files
committed
Added icon to crownstone class
1 parent 3d07c91 commit beeed66

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

crownstone_cloud/lib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Library that communicates with the Crownstone lib"""
22

3-
__version__ = '1.1.0'
3+
__version__ = '1.1.1'

crownstone_cloud/lib/cloudModels/crownstones.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ def type(self) -> str:
105105
def sw_version(self) -> str:
106106
return self.data['firmwareVersion']
107107

108+
@property
109+
def icon(self) -> str:
110+
return self.data['icon']
111+
108112
async def turn_on(self) -> None:
109113
"""Async turn this crownstone on"""
110114
await RequestHandler.put('Stones', 'setSwitchStateRemotely', model_id=self.cloud_id,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='crownstone-lib-python-cloud',
5-
version='1.1.0',
5+
version='1.1.1',
66
url='https://github.com/crownstone/crownstone-lib-python-cloud',
77
author='Crownstone B.V.',
88
description='Async library to get & store data from the Crownstone cloud.',

0 commit comments

Comments
 (0)