Ville Skyttä
2f7b79764a
More pylint 2 fixes ( #15565 )
...
## Description:
More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).
## Checklist:
- [ ] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Adam Mills
8ac63fd70c
Remove deprecated sensor_class config options ( #8702 )
2017-07-29 19:46:27 -04:00
Paulus Schoutsen
5779d64e98
Fix some issues for PyLint 1.7.2 ( #8356 )
...
* Fix some issues for PyLint 1.7.2
* More fixes
* Revert position change for cover
2017-07-05 20:02:16 -07:00
Fabian Affolter
0f12b4c955
Do not call update() in constructor ( #8247 )
...
Add an optional extended description…
2017-06-29 16:21:29 +02:00
Adam Mills
e877d572f5
binary_sensor sensor_class to entity device_class ( #5860 )
...
* binary_sensor sensor_class to entity device_class
* Linter fixes
* Should be it
2017-02-10 20:46:15 -08:00
Fabian Affolter
b2ecaa189a
[binary_sensor.arest] Fix name for sensor and shorten logger messages ( #5460 )
...
* Fix name for sensor and shorten logger messages
* Use variable as name if none is given
2017-01-24 19:54:14 +01:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Paulus Schoutsen
bb03960ba5
Voluptuous arest ( #3558 )
...
* Migrate to voluptuous
* Adjust sensor.arest for new template system
* Use items() to align the var section with the pins
2016-10-01 18:45:43 +02:00
Fabian Affolter
d48ed41122
Use constants ( #3284 )
2016-09-11 09:24:07 +02:00
Fabian Affolter
ee36c36783
Add support for sensor classes
2016-03-26 23:39:56 +01:00
Fabian Affolter
7035af6634
Fix PEP257 issues
2016-03-07 20:21:08 +01:00
Fabian Affolter
fd3ea95b82
Add docstrings, fix typos, and update docsstring for PEP257
2016-02-22 10:11:46 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
a301d869d7
PyLint 1.5 fixes
2015-11-29 13:49:05 -08:00
Fabian Affolter
065f4b7c20
Add binary sensor for aREST
2015-11-20 23:39:39 +01:00