Skip to content

Commit

Permalink
adding CPR412-E
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Oct 15, 2023
1 parent 94c915c commit d64b9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/domoMaj.py
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ def MajDomoDevice(self, Devices, NWKID, Ep, clusterID, value, Attribute_="", Col
# We do update only if this is a On/off
UpdateDevice_v2(self, Devices, DeviceUnit, 1, "On", BatteryLevel, SignalLevel)

elif WidgetType == "VenetianInverted" and model_name in ( "PR412", "CPR412") and clusterID == "0006":
elif WidgetType == "VenetianInverted" and model_name in ( "PR412", "CPR412", "CPR412-E") and clusterID == "0006":
self.log.logging( "Widget", "Debug", "--++-> %s/%s ClusterType: %s Updating %s Value: %s" % (NWKID, Ep, ClusterType, WidgetType, value), NWKID, )
# nValue will depends if we are on % or not
if value == '01':
Expand Down

0 comments on commit d64b9c2

Please sign in to comment.