More pylint 2 fixes (#15516)

* Pylint 2 useless-import-alias fixes

* Pylint 2 chained-comparison fixes

* Pylint 2 consider-using-get fixes

* Pylint 2 len-as-condition fixes
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-07-18 11:54:27 +02:00
1 parent 058081b1f5
commit bf17ed0917
104 files changed
+126 -137

No files matched your search

@@ -8,8 +8,7 @@ import time
import logging
from datetime import timedelta
import homeassistant.util as util
from homeassistant import util
from homeassistant.const import (STATE_ON, STATE_OFF)
from homeassistant.helpers.entity import ToggleEntity