Skip to content

Commit

Permalink
Let Sinopé thermostat and light quirks inherit from CustomDevice (#3542)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudegel authored Nov 25, 2024
1 parent f239f30 commit 77c05e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions zhaquirks/sinope/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class SinopeTechnologieslight(CustomDevice):
device_automation_triggers = LIGHT_DEVICE_TRIGGERS


class SinopeDM2500ZB(SinopeTechnologieslight):
class SinopeDM2500ZB(CustomDevice):
"""DM2500ZB, DM2500ZB-G2 Dimmers."""

signature = {
Expand Down Expand Up @@ -366,7 +366,7 @@ class SinopeDM2500ZB(SinopeTechnologieslight):
device_automation_triggers = LIGHT_DEVICE_TRIGGERS


class SinopeDM2550ZB(SinopeTechnologieslight):
class SinopeDM2550ZB(CustomDevice):
"""DM2550ZB, DM2550ZB-G2 Dimmers."""

signature = {
Expand Down
12 changes: 6 additions & 6 deletions zhaquirks/sinope/thermostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class SinopeTechnologiesThermostat(CustomDevice):
}


class SinopeTH1400ZB(SinopeTechnologiesThermostat):
class SinopeTH1400ZB(CustomDevice):
"""TH1400ZB thermostat."""

signature = {
Expand Down Expand Up @@ -460,7 +460,7 @@ class SinopeTH1400ZB(SinopeTechnologiesThermostat):
}


class SinopeTH1300ZB(SinopeTechnologiesThermostat):
class SinopeTH1300ZB(CustomDevice):
"""TH1300ZB thermostat."""

signature = {
Expand Down Expand Up @@ -520,7 +520,7 @@ class SinopeTH1300ZB(SinopeTechnologiesThermostat):
}


class SinopeLineThermostats(SinopeTechnologiesThermostat):
class SinopeLineThermostats(CustomDevice):
"""TH1123ZB, TH1124ZB, TH1500ZB and OTH3600-GA-ZB thermostats."""

signature = {
Expand Down Expand Up @@ -585,7 +585,7 @@ class SinopeLineThermostats(SinopeTechnologiesThermostat):
}


class SinopeG2Thermostats(SinopeTechnologiesThermostat):
class SinopeG2Thermostats(CustomDevice):
"""TH1123ZB-G2 and TH1124ZB-G2 thermostats."""

signature = {
Expand Down Expand Up @@ -648,8 +648,8 @@ class SinopeG2Thermostats(SinopeTechnologiesThermostat):
}


class SinopeHPThermostats(SinopeTechnologiesThermostat):
"""HP6000ZB-MA and HP6000ZB-GE thermostats."""
class SinopeHPThermostats(CustomDevice):
"""HP6000ZB-GE, HP6000ZB-HS and HP6000ZB-MA thermostats."""

signature = {
# <SimpleDescriptor endpoint=1 profile=260 device_type=775 device_version=1
Expand Down

0 comments on commit 77c05e7

Please sign in to comment.