Joe Lu
9c603d932d
Add manual alarm_control_panel pending time per state ( #9264 )
...
* - Enhanced manual alarm_control_panel config so that you can specify different pending time for different alarm state
* - Fixed demo alaram control panel
* - Updated configuration structure for state specific pending times
* - Addressed comment
* Address code review comments
* - Fixed failing tests
- Updated demo alarm component to use new per state pending_time setting
* - Removing previously added comment which might have caused build to fail?
* - moved "copy.deepcopy(config)" out of loop so config is only copied once
2017-09-14 20:08:45 +02:00
Joe Lu
788275da32
Add post_pending_state attribute to manual alarm_control_panel ( #9291 )
...
Add post_pending_state attribute to manual alarm_control_panel
2017-09-05 20:26:59 +02:00
snjoetw
185d838803
This is to fix #6386 : Manual Alarm not re-arm after 2nd trigger ( #9249 )
2017-09-01 12:08:30 +02:00
Matt Schmitt
811fdc5533
Add service to alarm control panel for night mode arming ( #8614 )
...
* Update const.py
* Update __init__.py
* Update services.yaml
* Update totalconnect.py
* Update manual.py
Add night arm service for manual alarm control panel
* Update test_manual.py
Add tests for night mode arming
* Update manual.py
Fix docstring
2017-08-13 19:57:48 +02:00
Paulus Schoutsen
46e030662d
Fix pylint 1.7.2 no-else-return issues ( #8361 )
...
* Fix pylint 1.7.2 no-else-return issues
* Update tomato.py
2017-07-05 23:30:01 -07: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
Pascal Vizeli
99f1ea9b59
Migrate alarm control panel to async ( #4807 )
...
* Merge alarm control panel to async
* fix lint
2016-12-11 14:39:20 -08:00
Paulus Schoutsen
0f59bb208c
Migrate callbacks to use schedule_update_ha_state ( #4426 )
...
* Migrate callbacks to use schedule_update_ha_state
* Migrate MQTT sensor callback to async
* Migrate wemo to not update inside schedule_update_ha_state
* Make MQTT switch async
* Fix nx584 test
* Migrate tellstick callback
* Migrate vera callback
* Alarm control panel - manual: use async callbacks
* Run the switch rest tests that work
2016-11-17 07:34:46 -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
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
Paulus Schoutsen
4076ccf639
Use setup_component in tests ( #3414 )
...
* Alarm Control Panel Manual - use setup_component
* Update automation - zone tests
* Update climate - demo tests
* Update climate - generic thermostat tests
* Update cover - command line tests
* Update cover - demo tests
* Update device tracker tests
* Update device tracker - owntracks tests
* Update fan - demo tests
* Update garage door - demo tests
* Update light tests
* Update lock - demo tests
* Update media player - demo tests
* Update notify - command line tests
* Update notify - demo tests
* Update notify - file tests
* Update notify - group tests
* Update sensor - mfi tests
* Update sensor - moldindicator tests
* Update sensor - mqtt room tests
* Update switch - command line
* Update switch - flux
* Update switch tests
* Update scene tests
* Fix wrong default port for mfi switch
2016-09-17 10:29:58 -07:00
Tobie Booth
abaffc2d8c
add disarm_after_trigger to manual alarm panel
2016-08-13 12:53:32 -05:00
Tobie Booth
1e3f7ad9a4
Return to previous alarm state after trigger ( #2580 )
2016-08-13 12:53:32 -05:00
Fabian Affolter
3a4250133a
Fix PEP257 issues
2016-03-07 20:21:43 +01:00
Fabian Affolter
1e97d31711
Modify docstrings to match PEP257
2016-03-07 16:45:21 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
3b7b12bbd5
Make Flake8 happy
2016-01-12 21:53:27 -08:00
Paulus Schoutsen
fabd0ced3f
Make DEPENDENCIES optional for components
2015-11-26 13:11:59 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
5dfd0d2502
Fix another manual alarm regression
2015-10-15 08:39:38 -07:00
Paulus Schoutsen
7ba4263284
Fix regression manual alarm
2015-10-14 23:38:42 -07:00
Paulus Schoutsen
32bb950b5f
Add tests for manual alarm control panel platform
2015-10-13 22:36:21 -07:00
Fabian Affolter
a583525110
Move configuration details to docs
2015-10-13 20:01:23 +02:00
sfam
1b7ce2146c
replace sleeps with track_point_in_time
2015-10-13 00:56:24 +00:00
sfam
e57b3ae847
add manual alarm
2015-09-28 23:36:46 +00:00