Phil Hawthorne
5d810dae86
REST binary sensor value_template optional ( #8596 )
...
According to the documentation, the `value_template` for the REST
binary_sensor is not required. However, if you don't provide this when
setting up a binary sensor, the component fails. Looks like a variable
was not being set, which I've now included.
This should make the REST binary sensor act the same way as the REST
sensor now.
2017-07-23 22:42:41 +02:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07: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
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
Fabian Affolter
d873a7baf0
Use async_render_* and fix config validation ( #3847 )
2016-10-13 09:20:49 -07:00
Fabian Affolter
a072047d9d
Auth and headers support for REST sensor ( #3592 )
...
* Add auth and header support
* Update header part
2016-10-04 01:07:17 -07: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
Paulus Schoutsen
0c0feda834
Pre-compile templates ( #3515 )
...
* Pre-compile templates
* Compile templates in numeric_state condition
2016-09-25 13:33:01 -07:00
Fabian Affolter
290ec9b4ac
Use constants ( #3156 )
2016-09-03 16:45:49 -07:00
Fabian Affolter
5f508b6afa
Use voluptuous for REST platforms ( #2887 )
...
* Initial step to migrate to voluptuous
* Migrate to voluptuous
* Add schema for sensor_classes
2016-08-20 16:28:45 -07:00
Fabian Affolter
b646accf87
Catch ValueError ( #2296 )
...
* Catch ValueError
* Less options and don't use state
2016-06-18 09:48:32 -07:00
Fabian Affolter
f0970f4104
Add support for sensor classes
2016-03-25 18:34:58 +01:00
Fabian Affolter
7035af6634
Fix PEP257 issues
2016-03-07 20:21:08 +01:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +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
Fabian Affolter
8de56bc8e2
Fix docstrings
2016-02-01 11:31:27 +01:00
Paulus Schoutsen
4a421e25b0
Simplify Rest sensors
2016-01-02 13:29:33 -08:00
Fabian Affolter
56186232f3
Enable logging-too-many-args
2015-12-22 22:33:20 +01:00
Fabian Affolter
8796187389
Equalize log messages
2015-12-22 22:02:55 +01:00
Fabian Affolter
2efca59352
Remove print
2015-12-18 17:34:23 +01:00
Fabian Affolter
4a0ec36fea
Update error message
2015-12-18 13:47:13 +01:00
Fabian Affolter
f246508c9a
Add binary rest sensor
2015-12-17 00:47:12 +01:00