diff --git a/custom_components/wiz_light/vec.py b/custom_components/wiz_light/vec.py index 5418b66..afdef69 100644 --- a/custom_components/wiz_light/vec.py +++ b/custom_components/wiz_light/vec.py @@ -21,9 +21,9 @@ def vecLenSq(a): return vecDot(a, a) -def vecLen(cls, a) -> float: +def vecLen(a) -> float: """Retrun Square length.""" - lenSq = cls.vecLenSq(a) + lenSq = vecLenSq(a) return sqrt(lenSq) if (lenSq > EPSILON) else 0