Commit graph

248 commits

Author SHA1 Message Date
Stefan Jonasson
f3c95adaca Fixed now => utcnow
Fixed added time patch to unittest
2016-02-20 22:15:49 +01:00
Stefan Jonasson
ff6e071dff added the for param to the conditions as well 2016-02-20 12:52:42 +01:00
pavoni
a75833cf2b Remove debug. 2016-02-19 16:41:05 +00:00
pavoni
85bf9a49ea Remove traces. 2016-02-19 15:39:44 +00:00
pavoni
9e48b88154 Add for delay to state automation. 2016-02-19 15:28:17 +00:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
magnusknutas
6add5e387b Remove unused import 2016-01-26 21:41:12 +01:00
magnusknutas
2c3a6e7905 Remove not needed log warning 2016-01-26 21:30:00 +01:00
magnusknutas
d4b444823c Tests for time and a fix for wrong access of _LOGGER 2016-01-26 21:11:30 +01:00
magnusknutas
33b0f4d05d Fixes bug in time trigger and adds test for ex. /two 2016-01-26 20:43:29 +01:00
magnusknutas
1f6f2de9c6 Sorry, I was wrong they are needed 2016-01-26 19:37:53 +01:00
magnusknutas
9a79ecf2d3 Remove warnings no longer needed (I think :D) 2016-01-26 19:25:41 +01:00
magnusknutas
6ae57b5aaf Some warnings if input is wrong for periodic tasks 2016-01-26 17:35:12 +01:00
magnusknutas
e8e2814313 Warnings for not divisible settings 2016-01-26 17:30:55 +01:00
magnusknutas
ec5d88b98e hourly periodic task 2016-01-26 17:06:50 +01:00
magnusknutas
13fbefcdf8 Running periodic tasks 2016-01-26 10:28:31 +01:00
Ryan Kraus
81dd1515ae Moved sunrise/sunset tracking to helpers
The automation component contained some very handy and generic
functions for tracking sunset and sunrise. This was moved to
helpers/event.py.
2016-01-24 15:07:09 -05:00
Ryan Kraus
a65d0f0549 Reverting Automation decorator in favor of a new approach. 2016-01-24 14:44:48 -05:00
Ryan Kraus
fbd68b6f89 Created automation decorator prototype
Created an initial iteration of an Automation decorator.
2016-01-23 19:39:59 -05:00
Paulus Schoutsen
3b7b12bbd5 Make Flake8 happy 2016-01-12 21:53:27 -08:00
Paulus Schoutsen
825c91f0c3 Add calling service functionality to Alexa 2016-01-08 18:54:28 -08:00
Philip Lundrigan
c9ff0ab7eb Fix for sun if condition 2016-01-03 01:03:53 -07:00
Paulus Schoutsen
add24915a3 ps - clean up sun automation tests 2015-12-26 17:48:20 -08:00
Philip Lundrigan
2606e4d641 Simplify if statement 2015-12-24 00:38:49 -07:00
Philip Lundrigan
8c010c8df4 Add ability to use sun as condition in automation 2015-12-21 16:09:27 -07:00
Philip Lundrigan
a0ff8819a9 Make numeric_state error message more descriptive 2015-12-17 17:37:39 -07:00
Philip Lundrigan
56b38e64ae Change method of listening to state changes 2015-12-16 23:53:10 -07:00
Philip Lundrigan
4c33eba378 Prevent triggering twice 2015-12-16 15:24:09 -07:00
Philip Lundrigan
ab8ff42cdd Create template automation 2015-12-16 15:24:09 -07:00
Philip Lundrigan
9fa8b27d65 Change from value to state 2015-12-15 10:12:43 -07:00
Philip Lundrigan
455a9c83a6 Simplify logic 2015-12-15 08:57:30 -07:00
Philip Lundrigan
a517784c9e Condense in_range template logic 2015-12-14 15:07:35 -07:00
Philip Lundrigan
91a945f4c7 Slight style change 2015-12-14 15:01:38 -07:00
Philip Lundrigan
53239387e0 Add support for template 2015-12-14 14:47:24 -07:00
Paulus Schoutsen
a3981be501 Merge pull request #681 from pavoni/add_solar_elevation
Add automations based on Solar Elevation
2015-11-29 14:14:26 -08:00
Paulus Schoutsen
a301d869d7 PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
pavoni
73e3ce5044 Fix bug 2015-11-29 12:18:54 +00:00
pavoni
f4c3fbe8fd Add attribuet config to numeric state platform to allow trigger based in attributes rather than states. 2015-11-29 11:56:47 +00:00
Paulus Schoutsen
d4f0f0ffd3 Update automation url in warning 2015-11-22 15:10:24 -08:00
Fabian Affolter
97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Fabian Affolter
185ba000dd Add link to docs 2015-10-13 21:09:11 +02:00
Fabian Affolter
771118caaf Add link to docs 2015-10-13 21:08:51 +02:00
Fabian Affolter
17d9df0da5 Add link to docs 2015-10-13 21:08:34 +02:00
Fabian Affolter
e067398134 Add link to docs 2015-10-13 21:08:18 +02:00
Fabian Affolter
cb69ac30ec Add link to docs 2015-10-13 21:07:53 +02:00
Fabian Affolter
241ff45c5e Add link to docs 2015-10-13 21:07:40 +02:00
Fabian Affolter
c5c2f0c5f3 Add link to docs 2015-10-13 21:07:24 +02:00
Paulus Schoutsen
b6d26597c0 Automation - state platfor: Flag if user makes config error 2015-10-11 18:30:25 -07:00
Paulus Schoutsen
9bdfa89b7c More robust geofence checking 2015-10-02 08:16:53 -07:00
Paulus Schoutsen
1dc9bfdf73 Update config zones 2015-09-29 23:08:37 -07:00