Skip to content

Commit

Permalink
Add to thermostat cluster (#1229)
Browse files Browse the repository at this point in the history
Add the backlight auto dim param to the SinopeTechnologiesThermostatCluster
  • Loading branch information
claudegel committed Dec 28, 2021
1 parent 8794ca2 commit 3a18c8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zhaquirks/sinope/thermostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ class SinopeTechnologiesManufacturerCluster(CustomCluster):
class SinopeTechnologiesThermostatCluster(CustomCluster, Thermostat):
"""SinopeTechnologiesThermostatCluster custom cluster."""

manufacturer_attributes = {0x0400: ("set_occupancy", t.enum8)}
manufacturer_attributes = {
0x0400: ("set_occupancy", t.enum8),
0x0402: ("backlightAutoDimParam", t.enum8),
}


class SinopeTechnologiesThermostat(CustomDevice):
Expand Down

0 comments on commit 3a18c8f

Please sign in to comment.