Skip to content

Commit

Permalink
fix syntax for get_deviceconf_parameter_value()
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Oct 18, 2023
1 parent ac343fb commit b5be02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -3489,7 +3489,7 @@ def Decode8401(self, Devices, MsgData, MsgLQI): # Reception Zone status change
motion_via_IAS_alarm = get_device_config_param( self, MsgSrcAddr, "MotionViaIASAlarm1")
self.log.logging( "Input", "Debug", "MotionViaIASAlarm1 = %s" % (motion_via_IAS_alarm))

ias_alarm1_2_merged = get_deviceconf_parameter_value( self, MsgSrcAddr, "IASAlarmMerge")
ias_alarm1_2_merged = get_deviceconf_parameter_value( self, Model, "IASAlarmMerge", return_default=None )
self.log.logging( "Input", "Debug", "IASAlarmMerge = %s" % (ias_alarm1_2_merged))

if ias_alarm1_2_merged:
Expand Down

0 comments on commit b5be02b

Please sign in to comment.