Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
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
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
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07: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
William Scanlon
8592ba3cb9
Report availability of arest ( #3614 )
2016-10-04 00:51:45 -07: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
Paulus Schoutsen
00e298206e
Optimize template 2 ( #3521 )
...
* Enforce compiling templates
* Refactor templates
* Add template validator to Logbook service
* Some more fixes
* Lint
* Allow easy skipping of rfxtrx tests
* Fix template bug in AND & OR conditions
* add entities extractor
Conflicts:
tests/helpers/test_template.py
* fix unittest
* Convert template to be async
* Fix Farcy
* Lint fix
* Limit template updates to related entities
* Make template automation async
2016-09-27 21:29:55 -07:00
Fabian Affolter
d48ed41122
Use constants ( #3284 )
2016-09-11 09:24:07 +02:00
Fabian Affolter
8bff97083c
Fix PEPE257 issues
2016-03-08 16:46:34 +01:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +01:00
Fabian Affolter
60d579af84
Update/add docstrings (PEP257)
2016-02-23 06:23:04 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
3b7b12bbd5
Make Flake8 happy
2016-01-12 21:53:27 -08:00
Philip Lundrigan
574de3b1b6
Handle template error
...
To be more consistent with the other sensor implementations of templates
2015-12-15 15:47:35 -07:00
Philip Lundrigan
4e6b01b0b9
Use different render method
2015-12-15 14:47:25 -07:00
Philip Lundrigan
5ecdd06bd5
Template support for arest sensor
2015-12-15 14:16:52 -07:00
Philip Lundrigan
3938b9f3f6
If decimal_places is 0, cast to int after rounding
2015-12-09 15:16:42 -07:00
Philip Lundrigan
d84bea3621
Allow decimal place to be used without corr factor
2015-12-08 16:15:19 -07:00
Paulus Schoutsen
a301d869d7
PyLint 1.5 fixes
2015-11-29 13:49:05 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Fabian Affolter
b3b2f2e326
Fix pylint and flake issues
2015-10-28 00:18:03 +01:00
Fabian Affolter
bef0b2b01e
Make pins optional
2015-10-27 23:51:16 +01:00
Fabian Affolter
40b095b866
Add option to use pins
2015-10-18 18:05:25 +02:00
Fabian Affolter
3c6420c538
Allow to overwrite the device name
2015-10-18 00:41:12 +02:00
Fabian Affolter
a8a172c8b7
Add link to docs and remove configuration details from file header
2015-10-09 23:24:26 +02:00
Paulus Schoutsen
be8089bcde
Cleanup arest
2015-10-08 23:50:04 -07:00
Fabian Affolter
f21d97d5a2
Add timeout for requests
2015-09-10 21:21:14 +02:00
Fabian Affolter
1a88e48986
add throttle and other minor improvements
2015-09-06 23:41:01 +02:00
Fabian Affolter
72426e08b8
update errror message
2015-09-05 13:26:29 +02:00
Fabian Affolter
1c3fa89914
add arest sensor
2015-09-05 13:09:55 +02:00