python-omnilogic-local 0.25.0__tar.gz → 0.25.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.
Files changed (62) hide show
  1. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/PKG-INFO +1 -1
  2. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/filter.py +5 -1
  3. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/omnitypes.py +1 -0
  4. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyproject.toml +1 -1
  5. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/LICENSE +0 -0
  6. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/README.md +0 -0
  7. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/__init__.py +0 -0
  8. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/_base.py +0 -0
  9. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/api/__init__.py +0 -0
  10. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/api/api.py +0 -0
  11. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/api/constants.py +0 -0
  12. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/api/exceptions.py +0 -0
  13. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/api/mock_api.py +0 -0
  14. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/api/protocol.py +0 -0
  15. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/backyard.py +0 -0
  16. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/bow.py +0 -0
  17. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/chlorinator.py +0 -0
  18. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/chlorinator_equip.py +0 -0
  19. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/__init__.py +0 -0
  20. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/cli.py +0 -0
  21. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/debug/__init__.py +0 -0
  22. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/debug/commands.py +0 -0
  23. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/__init__.py +0 -0
  24. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/backyard.py +0 -0
  25. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/bows.py +0 -0
  26. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/chlorinators.py +0 -0
  27. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/commands.py +0 -0
  28. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/csads.py +0 -0
  29. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/filters.py +0 -0
  30. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/groups.py +0 -0
  31. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/heaters.py +0 -0
  32. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/lights.py +0 -0
  33. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/pumps.py +0 -0
  34. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/relays.py +0 -0
  35. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/schedules.py +0 -0
  36. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/sensors.py +0 -0
  37. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/get/valves.py +0 -0
  38. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/pcap_utils.py +0 -0
  39. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/cli/utils.py +0 -0
  40. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/collections.py +0 -0
  41. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/colorlogiclight.py +0 -0
  42. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/csad.py +0 -0
  43. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/csad_equip.py +0 -0
  44. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/decorators.py +0 -0
  45. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/groups.py +0 -0
  46. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/heater.py +0 -0
  47. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/heater_equip.py +0 -0
  48. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/__init__.py +0 -0
  49. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/const.py +0 -0
  50. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/exceptions.py +0 -0
  51. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/filter_diagnostics.py +0 -0
  52. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/leadmessage.py +0 -0
  53. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/mspconfig.py +0 -0
  54. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/models/telemetry.py +0 -0
  55. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/omnilogic.py +0 -0
  56. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/pump.py +0 -0
  57. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/py.typed +0 -0
  58. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/relay.py +0 -0
  59. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/schedule.py +0 -0
  60. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/sensor.py +0 -0
  61. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/system.py +0 -0
  62. {python_omnilogic_local-0.25.0 → python_omnilogic_local-0.25.2}/pyomnilogic_local/util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-omnilogic-local
3
- Version: 0.25.0
3
+ Version: 0.25.2
4
4
  Summary: A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API
5
5
  Author: Chris Jowett, djtimca, garionphx
6
6
  Author-email: Chris Jowett <421501+cryptk@users.noreply.github.com>
@@ -199,7 +199,11 @@ class Filter(OmniEquipment[MSPFilter, TelemetryFilter]):
199
199
  return False
200
200
 
201
201
  # Then check filter-specific readiness to make sure it's in a state that can accept commands
202
- return self.state in (FilterState.OFF, FilterState.ON)
202
+ # SUSPEND indicates that the physical filter is being used for a different BoW (e.g.: spillover)
203
+ # We need to consider the filter as ready in this state, otherwise we cannot control the
204
+ # virtual filter to switch the physical filter back BoW
205
+ # ref: https://github.com/cryptk/python-omnilogic-local/issues/100
206
+ return self.state in (FilterState.OFF, FilterState.ON, FilterState.SUSPEND)
203
207
 
204
208
  # Control methods
205
209
  @control_method
@@ -455,6 +455,7 @@ class HeaterMode(PrettyEnum, IntEnum):
455
455
  HEAT = 0
456
456
  COOL = 1
457
457
  AUTO = 2
458
+ UNKNOWN_1 = 3
458
459
 
459
460
 
460
461
  # Pumps
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-omnilogic-local"
3
- version = "0.25.0"
3
+ version = "0.25.2"
4
4
  description = "A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.14.2"