Pascal Vizeli
c937a7bcb0
Add support for remove services / Reload script support ( #6441 )
...
* Add support for remove services / Reload script support
* Reload support for scripts
* Add more unittest for services
* Add unittest for script reload
* Address paulus comments
2017-03-07 22:51:34 -08:00
Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01:00
Johann Kellerman
1522e67351
Restore for automation entities ( #6254 )
...
* Restore for automation entities
* coroutine
* no clue what i'm doing now
* Still passes nicely in py 3.4
2017-03-04 15:19:01 -08:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Pascal Vizeli
8983b826c4
Bugfix automation state linsteners ( #6120 )
...
* Bugfix automation state linsteners
* address paulus comments.
* fix lint
* fix lint v2
2017-02-22 00:02:37 -08:00
Pascal Vizeli
e1cbd6b4c0
MQTT convert to async ( #6064 )
...
* Migrate mqtt to async
* address paulus comment / convert it complet async
* adress paulus comment / remove future
* Automation triggers should be async
* Fix MQTT async calls
* Show that event helpers are callbacks
* Fix tests
* Lint
2017-02-18 14:17:18 -08:00
Pascal Vizeli
9aac2113b6
Add 'wait_template' to script commands / Refactory track_template ( #5827 )
...
* Add 'wait' to script commands.
* Add track_template + unittest / rename wait_template
* fix lint & test
* Fix handling / change automation-template / add tests
* address paulus comments
2017-02-12 13:27:53 -08:00
Pascal Vizeli
a6d995e394
Bugfix wait in automation ( #4984 )
2016-12-18 12:57:31 -08:00
Pascal Vizeli
0bf9e6d4bb
Bugfix error on automation reload ( #4823 )
2016-12-08 23:24:03 -08:00
Paulus Schoutsen
b2a15e17d3
MQTT Automation: parse payload as JSON ( #4703 )
2016-12-04 09:53:05 -08:00
Jon Caruana
2a6c0cfc17
LiteJet: Unit tests and new trigger options held_more_than and held_less_than. ( #4473 )
...
* LiteJet: Unit tests and new trigger options held_more_than and held_less_than.
* Unit tests for the LiteJet component and associated platforms. Coverage is almost 100% -- just misses one line.
* The automation LiteJet trigger returns an empty "removal" function to ensure the automation base is happy with it. The pylitejet library doesn't actually support a real removal.
* The automation LiteJet trigger can detect hold time and act appropriately to support things like short tap or long hold.
* LiteJet: Fix indent in unit test source code.
* LiteJet: Fix test_include_switches_* unit tests on Python 3.5
* LiteJet: Remove wait for state existence from unit tests. Recent fixes to discovery make this no longer necessary.
2016-11-24 09:52:15 -08:00
Paulus Schoutsen
d2bbc6ef70
Upgrade linter ( #4461 )
2016-11-18 21:47:59 -08:00
Paulus Schoutsen
a343c20404
Async gather wait ( #4247 )
...
* Fix config validation for input_*, script
* Allow scheduling coroutines
* Validate entity ids when entity ids set by platform
* Async: gather -> wait
* Script/Group: use async_add_job instead of create_task
2016-11-06 09:26:40 -08:00
Paulus Schoutsen
ee5f228309
Make services yield ( #4187 )
...
* Make services yield
* Disable pylint abstract-method check
* add input_select
* add input_slider
* change to async vers.
* fix lint
* yield on add_entities as other components does
2016-11-03 18:32:14 -07:00
Jon Caruana
ba13951fff
Add LiteJet (a lighting control system) component ( #4125 )
...
* Initial submission of LiteJet integration.
* Add LiteJet switch pressed automation trigger. (State changes are too slow to catch a press-release.)
Add LiteJet scene, replacing commented out code that treated these as lights.
Include LiteJet numbers in the device state so that it is easy to lookup entity -> number.
* Fix missing global.
* Allow light's brightness to be set explicitly.
* Support optional 'ignore' key to ignore prefixes of loads, switches, and scenes that weren't configured for use in the LiteJet system.
* Fix lint errors and warnings.
* Cleanup header comments.
Default to not creating LiteJet switches as these are generally not useful.
* Lint fixes.
* Fixes from pull request feedback.
* Use hass.data instead of globals for data storage.
* Fix lint warnings.
2016-11-01 20:44:25 -07: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
Pascal Vizeli
09db875ace
Fix async bug in automation ( #4078 )
2016-10-27 18:26:55 +02:00
Pascal Vizeli
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Adam Mills
7d32e5eeeb
Logbook filtering of automations by entity_id ( #3927 )
...
* Logbook filtering of automations by entity_id
* Trigger action function parameters required
2016-10-18 18:11:35 -07:00
Pascal Vizeli
0b8b9ecb94
Async EntitiesComponent ( #3820 )
...
* first version
* First draft component entities
* Change add_entities to callback from coroutine
* Fix bug add async_prepare_reload
* Group draft v1
* group async
* bugfix
* bugfix v2
* fix lint
* fix extract_entity_ids
* fix other things
* move get_component out of executor
* bugfix
* Address minor changes
* lint
* bugfix - should work now
* make group init async only
* change update handling to old stuff
* fix group handling, remove generator from init
* fix lint
* protect loop for spaming with updates
* fix lint
* update test_group
* fix
* update group handling
* fix __init__ async trouble
* move device_tracker to new layout
* lint
* fix group unittest
* Test with coroutine
* fix bug
* now it works 💯
* ups
* first part of suggestion
* add_entities to coroutine
* change group
* convert add async_add_entity to coroutine
* fix unit tests
* fix lint
* fix lint part 2
* fix wrong import delete
* change async_update_tracked_entity_ids to coroutine
* fix
* revert last change
* fix unittest entity id
* fix unittest
* fix unittest
* fix unittest entity_component
* fix group
* fix group_test
* try part 2 to fix test_group
* fix all entity_component
* rename _process_config
* Change Group to init with factory
* fix lint
* fix lint
* fix callback
* Tweak entity component and group
* More fixes
* Final fixes
* No longer needed blocks
* Address @bbangert comments
* Add test for group.stop
* More callbacks for automation
2016-10-16 09:35:46 -07:00
Daniel Høyer Iversen
b8beae9c6c
Merge pull request #3651 from home-assistant/automation
...
Customize initial state of automation
2016-10-05 09:48:55 +02:00
Daniel
46f3337b07
Customize initial state of automation
2016-10-05 09:20:51 +02:00
Daniel Høyer Iversen
d2d393feb5
Add automations and scripts to group.all_automations and group.all_scripts ( #3664 )
...
* Add automations to group.all_automations
* Add scripts to group.all_scripts
2016-10-04 21:20:48 -07:00
Paulus Schoutsen
5085cdb0f7
Add async_safe annotation ( #3688 )
...
* Add async_safe annotation
* More async_run_job
* coroutine -> async_save
* Lint
* Rename async_safe -> callback
* Add tests to core for different job types
* Add one more test with different type of callbacks
* Fix typing signature for callback methods
* Fix callback service executed method
* Fix method signatures for callback
2016-10-04 20:44:32 -07:00
Paulus Schoutsen
d58548dd1c
Address asyncio comments ( #3663 )
...
* Template platforms: create_task instead of yield from
* Automation: less yielding, more create_tasking
* Helpers.script: less yielding, more create_tasking
* Deflake logbook test
* Deflake automation reload config test
* MQTT: Use async_add_job and threaded_listener_factory
* Deflake other logbook test
* lint
* Add test for automation trigger service
* MQTT client can be called from within async
2016-10-03 22:39:27 -07:00
Paulus Schoutsen
8f3e12c9b8
Make Automation.reload_service_handler async
2016-10-01 15:42:17 -07:00
Paulus Schoutsen
56fdc2a625
Automation: call prepare_setup_platform in executor
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
e18825ba20
Automation: only call executor once when processing config
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
7ab7edd81c
Make automation async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
b650b2b0db
Spread async love ( #3575 )
...
* Convert Entity.update_ha_state to be async
* Make Service.call async
* Update entity.py
* Add Entity.async_update
* Make automation zone trigger async
* Fix linting
* Reduce flakiness in hass.block_till_done
* Make automation.numeric_state async
* Make mqtt.subscribe async
* Make automation.mqtt async
* Make automation.time async
* Make automation.sun async
* Add async_track_point_in_utc_time
* Make helpers.track_sunrise/set async
* Add async_track_state_change
* Make automation.state async
* Clean up helpers/entity.py tests
* Lint
* Lint
* Core.is_state and Core.is_state_attr are async friendly
* Lint
* Lint
2016-09-30 12:57:24 -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
Micha LaQua
d31f6bc3f0
Allow hiding automation entities from UIs ( #3442 )
...
* Allow hiding automation entities from UIs
* Flake8 fixes: Allow hiding automation entities from UIs
* Automation: Rework hide entity feature
* Refactor keyword 'hidden' to 'hide_entity' to avoid ambiguity
* Migrate hide_entity subsetting to Voluptuous
2016-09-19 23:39:07 -07:00
Paulus Schoutsen
aca375c312
Asyncio event helpers ( #3415 )
...
* Automation - Event: Use coroutine
* Convert event helpers to coroutine
* Fix linting
* Add hass.async_add_job
* Automation - Event to use async_add_job
2016-09-17 18:28:01 -07:00
Fabian Affolter
fb0232429e
Use constants and update ordering ( #3268 )
...
🐬
2016-09-08 18:32:32 -06:00
Paulus Schoutsen
35b388edce
Reload groups ( #3203 )
...
* Allow reloading groups without restart
* Test to make sure automation listeners are removed.
* Remove unused imports for group tests
* Simplify group config validation
* Add prepare_reload function to entity component
* Migrate group to use entity_component.prepare_reload
* Migrate automation to use entity_component.prepare_reload
* Clean up group.get_entity_ids
* Use cv.boolean for group config validation
2016-09-07 06:59:16 -07:00
Paulus Schoutsen
e9813b219e
Allow reloading automation without restarting HA ( #3002 )
2016-09-04 17:15:52 +02:00
Paulus Schoutsen
c792dd4126
Fix linting
2016-09-01 09:12:42 +01:00
Paulus Schoutsen
3fa1963345
Convert automation to entities with services
2016-08-25 23:36:48 -07:00
Paulus Schoutsen
d9ecc4af64
EventBus: return function to unlisten
2016-08-25 23:25:35 -07:00
happyleavesaoc
8df91e6a17
numeric state: validate multiple entities ( #2066 )
...
* validate multiple entities
* point to current entity
2016-05-14 12:29:57 -07:00
Paulus Schoutsen
8257e3f384
Fix automation deprecation warning
2016-05-07 22:31:22 -07:00
Paulus Schoutsen
79653a672d
Script cleanup ( #1963 )
2016-05-02 22:05:09 -07:00
Paulus Schoutsen
6354399d55
Initial script condition support ( #1910 )
2016-04-28 12:03:57 +02:00
Paulus Schoutsen
612a017bc6
Automation: Allow embedding script definition
2016-04-21 22:36:14 -04:00
Paulus Schoutsen
f76d545a08
Add script logic into helper.
2016-04-21 21:06:05 -04:00
Paulus Schoutsen
4e568f8b99
Automation: Add trigger context and expose to action
2016-04-21 13:59:42 -07:00
Paulus Schoutsen
68d92c3196
Use standardised datetime format
2016-04-16 01:46:50 -07:00
Paulus Schoutsen
948aa6838d
Remove stale print
2016-04-10 18:22:25 -07:00
Jan Harkes
0ef0d4bac7
Config validation for automation MQTT trigger
2016-04-06 22:51:39 -04:00
Paulus Schoutsen
8ef542927f
Add automation config validation
...
* Add automation config validation
* Remove unnecessary dict validator
* Downgrade voluptuous to 0.8.9
* Fix linting
* Address issues
2016-04-04 12:18:58 -07:00
pavoni
e5c8dd03e1
Catch exception common during startup.
2016-03-14 10:10:38 +00:00
Paulus Schoutsen
956f6056f9
Remove support for old deprecated automation config
2016-03-13 00:00:05 -08:00
Paulus Schoutsen
ddc139b853
Merge pull request #1510 from persandstrom/automation_templating
...
Use templates in service calls
2016-03-11 21:49:47 -08:00
Per Sandström
81e5a852f0
Use templates in service calls
2016-03-10 21:36:05 +01:00
Fabian Affolter
fb7bd1bfe1
Fix PEP257 issues
2016-03-07 20:20:07 +01:00
Fabian Affolter
6ac9210919
Modify docstrings to match PEP257
2016-03-07 18:50:30 +01:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +01:00
Stefan Jonasson
e4485dcf3d
Updated structure, added more tests
2016-02-22 09:40:27 +01:00
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
Paulus Schoutsen
2eb36c18bd
Add geofencing to automation
2015-09-29 00:18:52 -07:00
Paulus Schoutsen
85489010bc
Merge pull request #404 from stefan-jonasson/automation_confg_list
...
Automation confg lists
2015-09-19 20:53:26 -07:00
Paulus Schoutsen
8cd1c42e80
Merge pull request #407 from balloob/testing-upgrade
...
Fix CI
2015-09-19 12:55:09 -07:00
Paulus Schoutsen
ec1d5e617e
Fix CI
2015-09-19 12:29:23 -07:00
Stefan Jonasson
40651ef2bc
Fixed old config value conversion
...
Added a new unit test for the config list mode
2015-09-19 21:13:09 +02:00
Paulus Schoutsen
55f6ff86e4
Merge pull request #405 from balloob/automation-event
...
Event automation fuzzy matches on data
2015-09-19 10:43:02 -07:00
Paulus Schoutsen
dd4e1cbd1d
Change automation action config keys
2015-09-19 08:43:56 -07:00
Stefan Jonasson
2084976bc2
Fixed suggestions from @balloob
2015-09-19 17:42:21 +02:00
Paulus Schoutsen
9019d654d7
Event automation fuzzy matches on data
2015-09-19 08:27:34 -07:00
Stefan Jonasson
b9e1b3eb99
Fixed var name + flake8
2015-09-19 15:51:50 +02:00
Stefan Jonasson
e1a7b8f988
Merge branch 'dev' of https://github.com/balloob/home-assistant into automation_confg_list
2015-09-19 15:27:46 +02:00
Stefan Jonasson
e4c5108c9d
Implemented configuration loading from
2015-09-18 18:12:27 +02:00
Paulus Schoutsen
4371355be1
Better errors on time automation trigger
2015-09-17 23:12:55 -07:00
Stefan Jonasson
90e2aefd23
flake8 fix
2015-09-17 08:55:17 +02:00
Stefan Jonasson
47af247d6a
flake8 fix
2015-09-17 08:39:41 +02:00
Stefan Jonasson
1a00d4a095
pylint fix
2015-09-17 08:35:18 +02:00
Stefan Jonasson
e68cc83e64
return and output error if none of the 4 keys provided
...
only parse hour/minute/second if after is not available
2015-09-17 08:24:06 +02:00
Stefan Jonasson
9b96471182
Fixed after param
2015-09-16 22:46:21 +02:00
Paulus Schoutsen
c18294ee76
Allow triggers to be used as condition
2015-09-15 08:56:06 -07:00
Paulus Schoutsen
0584c10ef9
Style fix
2015-09-15 00:11:24 -07:00
Paulus Schoutsen
2978e0dabe
Add sun automation trigger
2015-09-15 00:02:54 -07:00
Paulus Schoutsen
b2ad8db86b
Add condition type to automation component
2015-09-14 22:51:28 -07:00
Paulus Schoutsen
20f021d05f
Another style fix. Who comes up with this?
2015-09-14 22:14:15 -07:00
Paulus Schoutsen
fc43135ddd
Style fix
2015-09-14 22:12:51 -07:00
Paulus Schoutsen
68c1dd7cd4
Refactor automation configuration
2015-09-14 22:05:40 -07:00
Paulus Schoutsen
fe2a9bb83e
Fix numeric state if
2015-09-14 20:46:57 -07:00
Paulus Schoutsen
2fe8b154f1
Fix state automation configuration
2015-09-14 18:22:49 -07:00
Stefan Jonasson
d5198d4242
Implemented the if condition support in numeric state
2015-09-14 20:33:01 +02:00
Paulus Schoutsen
dd71e4fdd1
Record in logbook when automation triggered
2015-09-14 00:02:33 -07:00
Paulus Schoutsen
2a11d02fe4
Add if to automation
2015-09-13 22:27:27 -07:00
Stefan Jonasson
8360ab265c
Not used to pylint and flake8 ...
2015-09-13 20:34:45 +02:00
Stefan Jonasson
e3dcb45879
Fixed pylint error
2015-09-13 20:27:11 +02:00
Stefan Jonasson
9904727cde
homeassistant/components/automation/numeric_state.py:61:80: E501 line too long (80 > 79 characters)
...
The command "flake8 homeassistant" exited with 1.
2015-09-13 20:16:51 +02:00
Stefan Jonasson
e9da02d70c
Fixed value error exception
...
Fixed unittest
2015-09-13 19:59:26 +02:00
Stefan Jonasson
a2ca60159d
Fixed logic
2015-09-13 13:05:36 +02:00
Stefan Jonasson
8e89308a15
Added better handling if we did not get a value for the numeric check
2015-09-13 12:15:21 +02:00
Stefan Jonasson
4eba1250e9
Added a numeric_state automation platform
2015-09-12 21:42:52 +02:00
theolind
a7889ef628
Automation component now supports YAML lists for config key service_entity_id
2015-08-24 21:19:47 +02:00
Paulus Schoutsen
291cc62381
Add automation mqtt tests
2015-08-10 23:11:46 -07:00
Paulus Schoutsen
eecc51c92d
Add tests for automation component
2015-08-10 22:26:12 -07:00
Paulus Schoutsen
044d43b7c2
Adding MQTT automation rule
2015-08-09 17:12:25 -07:00