diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 132e828..500e845 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,25 @@ jobs: - uses: wagoid/commitlint-github-action@v5.3.0 lint: runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - "3.13" + poetry-version: + - "2.0.0" steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - name: Set up Python + uses: actions/setup-python@v4 with: - python-version: "3.13" - - uses: abatilo/actions-poetry@v2.3.0 + python-version: ${{ matrix.python-version }} + - name: Set up Poetry + uses: abatilo/actions-poetry@v4.0.0 + with: + poetry-version: ${{ matrix.poetry-version }} + - name: Install Dependencies + run: poetry install + shell: bash - uses: pre-commit/action@v3.0.0 test: @@ -38,6 +51,8 @@ jobs: matrix: python-version: - "3.13" + poetry-version: + - "2.0.0" os: - ubuntu-latest - windows-latest @@ -49,7 +64,10 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - uses: abatilo/actions-poetry@v2.3.0 + - name: Set up Poetry + uses: abatilo/actions-poetry@v4.0.0 + with: + poetry-version: ${{ matrix.poetry-version }} - name: Install Dependencies run: poetry install shell: bash diff --git a/pyomnilogic_local/models/mspconfig.py b/pyomnilogic_local/models/mspconfig.py index e6a8167..bfc8208 100644 --- a/pyomnilogic_local/models/mspconfig.py +++ b/pyomnilogic_local/models/mspconfig.py @@ -174,6 +174,12 @@ class MSPCSAD(OmniBase): calibration_value: float = Field(alias="CalibrationValue") ph_low_alarm_value: float = Field(alias="PHLowAlarmLevel") ph_high_alarm_value: float = Field(alias="PHHighAlarmLevel") + orp_target_level: int = Field(alias="ORP-Target-Level") + orp_runtime_level: int = Field(alias="ORP-Runtime-Level") + orp_low_alarm_level: int = Field(alias="ORP-Low-Alarm-Level") + orp_high_alarm_level: int = Field(alias="ORP-High-Alarm-Level") + orp_forced_on_time: int = Field(alias="ORP-Forced-On-Time") + orp_forced_enabled: bool = Field(alias="ORP-Forced-Enabled") class MSPColorLogicLight(OmniBase):