Paulus Schoutsen
b8504f8fc8
Make helpers.script async
2016-10-01 14:11:16 -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
d9ecc4af64
EventBus: return function to unlisten
2016-08-25 23:25:35 -07:00
Paulus Schoutsen
0b7b0e54ba
Move unit system to util ( #2763 )
2016-08-08 20:42:25 -07:00
Fabian Heredia Montiel
0377338a81
Improvement typing ( #2735 )
...
* Fix: Circular dependencies of internal files
* Change: dt.date for Date and dt.datetime for DateTime
* Use NewType if available
* FIX: Wrong version test
* Remove: Date and DateTime types due to error
* Change to HomeAssistantType
* General Improvement of Typing
* Improve typing config_validation
* Improve typing script
* General Typing Improvements
* Improve NewType check
* Improve typing db_migrator
* Improve util/__init__ typing
* Improve helpers/location typing
* Regroup imports and remove pylint: disable=ungrouped-imports
* General typing improvements
2016-08-07 16:26:35 -07:00
Teagan Glenn
ae5dfbdf55
Allow templates for delays in scripts ( #2560 )
2016-07-20 20:26:17 +02:00
Paulus Schoutsen
2a972b7fe3
Fix script condition issue (Thanks @bart274) ( #1972 )
2016-05-03 18:19:55 -07:00
Paulus Schoutsen
1d28fa712f
Fix script merge conflict
2016-04-28 13:39:44 +02:00
gwendalg
31e019e88a
script: Fix log output ( #1918 )
...
Signed-off-by: Gwendal Grignou <gwendal@gmail.com>
2016-04-28 13:19:38 +02:00
Paulus Schoutsen
6354399d55
Initial script condition support ( #1910 )
2016-04-28 12:03:57 +02:00
Paulus Schoutsen
14bd630c1d
Service/Script cleanup
2016-04-23 07:11:21 +02:00
Paulus Schoutsen
4a5411a957
Allow calling scripts from Alexa
2016-04-22 05:30:30 -04:00
Paulus Schoutsen
26863284b6
Script helper: support variables
2016-04-21 21:42:20 -04:00
Paulus Schoutsen
f76d545a08
Add script logic into helper.
2016-04-21 21:06:05 -04:00