Skip to content

Commit 3333cf8

Browse files
committed
Clean up regulator enum
1 parent 8e7efac commit 3333cf8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

zhaquirks/tuya/tuya_thermostat.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
class RegulatorPeriod(t.enum8):
2424
"""Tuya regulator period enum."""
2525

26-
FifteenMin = 0x00
27-
ThirtyMin = 0x01
28-
FortyFiveMin = 0x02
29-
SixtyMin = 0x03
30-
NinetyMin = 0x04
26+
_15_min = 0x00
27+
_30_min = 0x01
28+
_45_min = 0x02
29+
_60_min = 0x03
30+
_90_min = 0x04
3131

3232

3333
class ThermostatMode(t.enum8):

0 commit comments

Comments
 (0)