emerald-hws 0.0.8__tar.gz → 0.0.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: emerald_hws
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: A package to manipulate and monitor Emerald Heat Pump Hot Water Systems
5
5
  Author-email: Ross Williamson <ross@inertia.net.nz>
6
6
  Project-URL: Homepage, https://github.com/ross-w/emerald_hws_py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "emerald_hws"
7
- version = "0.0.8"
7
+ version = "0.0.9"
8
8
  dependencies = ["boto3", "awsiotsdk"]
9
9
  authors = [{ name = "Ross Williamson", email = "ross@inertia.net.nz" }]
10
10
  description = "A package to manipulate and monitor Emerald Heat Pump Hot Water Systems"
@@ -81,6 +81,12 @@ class EmeraldHWS():
81
81
  else:
82
82
  raise Exception("Unable to fetch properties from Emerald API")
83
83
 
84
+ def replaceCallback(self, update_callback):
85
+ """ Replaces the current registered update callback (if any) with the supplied
86
+ """
87
+
88
+ self.update_callback = update_callback
89
+
84
90
  def reconnectMQTT(self):
85
91
  """ Stops an existing MQTT connection and creates a new one
86
92
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: emerald_hws
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: A package to manipulate and monitor Emerald Heat Pump Hot Water Systems
5
5
  Author-email: Ross Williamson <ross@inertia.net.nz>
6
6
  Project-URL: Homepage, https://github.com/ross-w/emerald_hws_py
File without changes
File without changes
File without changes