Fixed both the name and the documentation of MotionSensor.check_ledindication

This commit is contained in:
Julian Müller (ChaoticByte) 2023-08-04 19:46:55 +02:00
parent 52a85486d9
commit 4471dd8897
2 changed files with 7 additions and 7 deletions

View file

@ -267,8 +267,8 @@ class MotionSensor(_BaseController):
data = self._api_request()["config"]["sensitivitymax"]
return data
def get_ledindication(self) -> bool:
'''Get the maximum sensititvity of the sensor'''
def check_ledindication(self) -> bool:
'''Check if the LED indication is turned on or off'''
data = self._api_request()["config"]["ledindication"]
return data