Fixed both the name and the documentation of MotionSensor.check_ledindication
This commit is contained in:
parent
52a85486d9
commit
4471dd8897
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue