Closed blacklight closed 3 years ago
The usage of the is/is not operators with any values other than True/False/None has been deprecated and removed in Python 3.9.
True
False
None
This causes the following error when running the library on the latest Python interpreter:
/usr/lib/python3.9/site-packages/phue.py:694: SyntaxWarning: "is not" with a literal. Did you mean "!="? if ip is not '':
The usage of the is/is not operators with any values other than
True
/False
/None
has been deprecated and removed in Python 3.9.This causes the following error when running the library on the latest Python interpreter: