mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 11:13:34 +00:00
make flake8 pass by some rewording
This commit is contained in:
parent
1457c4f533
commit
281f236221
@ -89,7 +89,7 @@ class SmartBulb(SmartDevice):
|
||||
"""
|
||||
Returns the current HSV state of the bulb, if supported
|
||||
|
||||
:return: tuple containing current hue, saturation and value (degrees, %, %))
|
||||
:return: hue, saturation and value (degrees, %, %)
|
||||
:rtype: tuple
|
||||
"""
|
||||
|
||||
|
@ -145,7 +145,7 @@ class SmartDevice(object):
|
||||
"""
|
||||
warnings.simplefilter('always', DeprecationWarning)
|
||||
warnings.warn(
|
||||
"please use alias and model properties directly instead of idenfity()",
|
||||
"use alias and model instead of idenfity()",
|
||||
DeprecationWarning
|
||||
)
|
||||
warnings.simplefilter('default', DeprecationWarning)
|
||||
|
Loading…
Reference in New Issue
Block a user