Skip to content

Commit

Permalink
Support nuos split
Browse files Browse the repository at this point in the history
  • Loading branch information
fustom committed Nov 27, 2022
1 parent e969445 commit 4b10826
Show file tree
Hide file tree
Showing 12 changed files with 660 additions and 440 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The following devices are currently supported:
- Ariston Velis Evo
- Ariston Lydos Hybrid
- Ariston Genus One
- Ariston Nuos Split

## Installation
Use pip3 to install the latest version of this module.
Expand Down
8 changes: 8 additions & 0 deletions ariston/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
MedDeviceSettings,
VelisDeviceProperties,
EvoDeviceProperties,
NuosSplitProperties,
DeviceProperties,
DeviceFeatures,
ThermostatProperties,
Expand All @@ -25,6 +26,8 @@
from .galevo_device import AristonGalevoDevice
from .lydos_hybrid_device import AristonLydosHybridDevice
from .velis_device import AristonVelisDevice
from .nuos_split_device import AristonNuosSplitDevice
from .evo_lydos_device import AristonEvoLydosDevice
from .device import AristonDevice

_LOGGER = logging.getLogger(__name__)
Expand Down Expand Up @@ -103,6 +106,11 @@ def _get_device(
api,
device,
)
if whe_type == WheType.NuosSplit:
return AristonNuosSplitDevice(
api,
device,
)
_LOGGER.exception(f"Unsupported whe type {whe_type}")
return None

Expand Down
Loading

0 comments on commit 4b10826

Please sign in to comment.