Skip to content

Commit dc5f754

Browse files
committed
add unit of measurement
1 parent 793299f commit dc5f754

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/controller/python/chip/clusters/Attribute.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -520,12 +520,12 @@ def GetReportingIntervalsSeconds(self) -> Tuple[int, int]:
520520

521521
return minIntervalSec.value, maxIntervalSec.value
522522

523-
def GetSubscriptionTimeout(self) -> int:
523+
def GetSubscriptionTimeoutMs(self) -> int:
524524
'''
525-
Returns the timeout after which we consider the subscription to have
525+
Returns the timeout(milliseconds) after which we consider the subscription to have
526526
dropped, if we have received no messages within that amount of time.
527527
528-
Returns 0 if a subscription has not yet been established (and
528+
Returns 0 milliseconds if a subscription has not yet been established (and
529529
hence the MaxInterval is not yet known), or if the subscription session
530530
is gone and hence the relevant MRP parameters can no longer be determined.
531531
'''

0 commit comments

Comments
 (0)