mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-09-04 06:18:35 +00:00
make flake8 pass by some rewording
This commit is contained in:
@@ -89,7 +89,7 @@ class SmartBulb(SmartDevice):
|
|||||||
"""
|
"""
|
||||||
Returns the current HSV state of the bulb, if supported
|
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
|
:rtype: tuple
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@@ -145,7 +145,7 @@ class SmartDevice(object):
|
|||||||
"""
|
"""
|
||||||
warnings.simplefilter('always', DeprecationWarning)
|
warnings.simplefilter('always', DeprecationWarning)
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"please use alias and model properties directly instead of idenfity()",
|
"use alias and model instead of idenfity()",
|
||||||
DeprecationWarning
|
DeprecationWarning
|
||||||
)
|
)
|
||||||
warnings.simplefilter('default', DeprecationWarning)
|
warnings.simplefilter('default', DeprecationWarning)
|
||||||
|
Reference in New Issue
Block a user