Skip to content

Commit c427bd9

Browse files
committed
Clean up no mcu resp
1 parent 0457ef3 commit c427bd9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

zhaquirks/tuya/tuya_thermostat.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from zigpy.zcl import foundation
1616
from zigpy.zcl.clusters.hvac import Thermostat
1717

18-
from zhaquirks.tuya import TUYA_MCU_VERSION_RSP, TUYA_SET_TIME, TuyaTimePayload
18+
from zhaquirks.tuya import TUYA_SET_TIME, TuyaTimePayload
1919
from zhaquirks.tuya.builder import TuyaQuirkBuilder
2020
from zhaquirks.tuya.mcu import TuyaAttributesCluster, TuyaMCUCluster
2121

@@ -132,8 +132,12 @@ class NoManufTimeNoVersionRespTuyaMCUCluster(TuyaMCUCluster):
132132
}
133133
)
134134

135-
client_commands = copy.deepcopy(TuyaMCUCluster.client_commands)
136-
client_commands.pop(TUYA_MCU_VERSION_RSP)
135+
def handle_mcu_version_response(
136+
self, payload: TuyaMCUCluster.MCUVersion
137+
) -> foundation.Status:
138+
"""Handle MCU version response."""
139+
140+
return foundation.Status.SUCCESS
137141

138142

139143
(

0 commit comments

Comments
 (0)