foxesscloud 2.8.5__tar.gz → 2.8.6__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: foxesscloud
3
- Version: 2.8.5
3
+ Version: 2.8.6
4
4
  Summary: library for accessing Fox ESS cloud data using Open API
5
5
  Author-email: Tony Matthews <tony@quasair.co.uk>
6
6
  Project-URL: Homepage, https://github.com/TonyM1958/FoxESS-Cloud
@@ -826,6 +826,9 @@ This setting can be:
826
826
 
827
827
  # Version Info
828
828
 
829
+ 2.8.6<br>#
830
+ Update to charge_needed() to get current work mode.
831
+
829
832
  2.8.5<br>
830
833
  Update battery variables to include SOH.
831
834
  Add get_peakshaving().
@@ -812,6 +812,9 @@ This setting can be:
812
812
 
813
813
  # Version Info
814
814
 
815
+ 2.8.6<br>#
816
+ Update to charge_needed() to get current work mode.
817
+
815
818
  2.8.5<br>
816
819
  Update battery variables to include SOH.
817
820
  Add get_peakshaving().
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "foxesscloud"
7
- version = "2.8.5"
7
+ version = "2.8.6"
8
8
  authors = [
9
9
  {name="Tony Matthews", email="tony@quasair.co.uk"},
10
10
  ]
@@ -1,7 +1,7 @@
1
1
  ##################################################################################################
2
2
  """
3
3
  Module: Fox ESS Cloud using Open API
4
- Updated: 28 May 2025
4
+ Updated: 5 July 2025
5
5
  By: Tony Matthews
6
6
  """
7
7
  ##################################################################################################
@@ -10,7 +10,7 @@ By: Tony Matthews
10
10
  # ALL RIGHTS ARE RESERVED © Tony Matthews 2024
11
11
  ##################################################################################################
12
12
 
13
- version = "2.8.5"
13
+ version = "2.8.6"
14
14
  print(f"FoxESS-Cloud Open API version {version}")
15
15
 
16
16
  debug_setting = 1
@@ -950,8 +950,6 @@ def get_work_mode():
950
950
  global work_mode
951
951
  if get_device() is None:
952
952
  return None
953
- # not implemented by Open API, skip to avoid error
954
- return None
955
953
  work_mode = get_named_settings('WorkMode')
956
954
  return work_mode
957
955
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foxesscloud
3
- Version: 2.8.5
3
+ Version: 2.8.6
4
4
  Summary: library for accessing Fox ESS cloud data using Open API
5
5
  Author-email: Tony Matthews <tony@quasair.co.uk>
6
6
  Project-URL: Homepage, https://github.com/TonyM1958/FoxESS-Cloud
@@ -826,6 +826,9 @@ This setting can be:
826
826
 
827
827
  # Version Info
828
828
 
829
+ 2.8.6<br>#
830
+ Update to charge_needed() to get current work mode.
831
+
829
832
  2.8.5<br>
830
833
  Update battery variables to include SOH.
831
834
  Add get_peakshaving().
File without changes
File without changes