Commit graph

14 commits

Author SHA1 Message Date
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
Andrew Williams
1cf9ae5a01 Fix TCP sensor to correctly use value_template (#5211)
* Fix TCP sensor to correctly use value_template

* Fix TCP component tests

* Update tcp.py
2017-01-11 17:26:29 +01:00
Fabian Affolter
fae620f3b3 Migrate to voluptuous (#3748) 2016-10-21 21:14:35 -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
Flyte
ada561df30 Remove unused import and unnecessary DOMAIN constant from TCP components. 2016-03-26 17:33:18 +00:00
Fabian Affolter
8bff97083c Fix PEPE257 issues 2016-03-08 16:46:34 +01:00
Paulus Schoutsen
41214fd082 TCP test to work offline 2016-03-05 09:27:22 -08:00
Fabian Affolter
582394bc3b Modify import of template and PEP257 2016-02-23 21:19:22 +01:00
Fabian Affolter
7d9e882d52 Update docstrings to match PEP257 2016-02-22 14:42:11 +01:00
Flyte
4e6b755b26 Add tests for TCP component. 2016-02-19 17:41:51 +00:00
Flyte
c1d39a2fce Remove unnecessary top-level TCP component. Fix order of inheritance on TCP BinarySensor. 2016-02-18 17:25:02 +00:00
Flyte
348b7abe7d Change TCP component to use Jinja2 instead of regex 2016-02-17 18:12:36 +00:00
Flyte
cf93644d54 Move generic tcp sensor entity to specific sensor component 2016-02-17 17:26:53 +00:00
Flyte
3d83eea5f7 Add tcp component. 2016-02-15 16:04:14 +00:00