Commit Graph

53 Commits (2ec9cc15f46ab8811f03051cd56d730976ed7f31)

Author SHA1 Message Date
Jan Harkes a7016e4b32 Move CONF_STATE_TOPIC, CONF_COMMAND_TOPIC and CONF_RETAIN to mqtt component. 2016-04-06 22:51:39 -04:00
Jan Harkes 0bd4e15fcb Config validation for MQTT alarm_control_panel platform. 2016-04-06 22:51:38 -04:00
MartinHjelmare c56701baaf Refactor reproduce_state for scene component
* Add tests to reach full coverage for helpers/state.py.
* Refactor reproduce_state function in helpers/state.py. Add two dicts,
	as global constants, service_attributes and service_to_state. Use
	these in combination with the dict of services per domain from
	ServiceRegistry, to find the correct service to use in a scene state
	change.
* Use break statement in for loop, to break if service was selected
	to update state, in preference to update state attributes, ie state
	update takes precedence.
* Add ATTR_CODE and ATTR_CODE_FORMAT in const. Import these in
	alarm_control_panel and lock platforms instead of making duplicate
	constants in multiple modules.
* Use ATTR_MEDIA_CONTENT_TYPE and ATTR_MEDIA_CONTENT_ID in media_player
	platform in SERVICE_PLAY_MEDIA and play_media methods, instead of
	'media_type' and 'media_id'.
* Fix PEP257 in modified files.
2016-03-09 18:52:05 +01: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
Per Sandström d7e3c6a442 verisure refactoring and fix reconnect 2016-02-27 21:50:19 +01:00
Fabian Affolter 4563c54a3e Add link to docs and modify docstrings to match PEP257 2016-02-24 10:38:06 +01:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Dan Smith 96dde18ae3 Fix alarmdotcom requirement 0.0.7 removed
Looks like alarmdotcom just released 0.1.1 and deleted 0.0.7 which is
breaking our build.
2016-02-17 08:41:46 -08:00
Dan Smith 22865e5d96 Add nx584 as a sensor platform
This allows you to get every door, window, smoke, etc zone from your security
panel into HA. This uses the live eventing feature of pynx584, which means you
get instantaneous signaling into HA when a door opens or something happens,
which is handy for automating lights on when doors open after dark, etc.

Requires update to pynx584 0.2
2016-02-16 20:24:32 -08:00
Fabian Affolter 0bb63bf3f0 Move configuration details to docs and add link 2016-02-07 12:36:29 +01:00
Dan Smith 3575ddb6ef Add Caddx/GE/Interlogix NetworX alarm panel support
This adds support for NetworX-based alarm panels and should work for
any such panel equipped with a NX584 serial interface module. This
includes NX-4/6/8/8E, where the NX8E has this interface built-in.

It requires the pynx584 module, and requires running the server
component somewhere that has connectivity to the panel via serial,
which may include a serial-over-lan connection.
2016-02-07 03:06:58 +00:00
Dan Smith 3616d7a7ea Fix alarm service handler state updates
This changes the service handler dispatch code to always
call update_ha_state(), and cleans up the alarm platforms that
were calling it themselves.
2016-02-06 21:11:28 +00:00
Fabian Affolter 847e92f57a Update docstrings 2016-02-03 00:01:26 +01:00
Paulus Schoutsen 880bd011a9 Merge pull request #908 from persandstrom/verisure_code_digits
Verisure - code digits settings
2016-01-16 09:04:53 -08:00
Per Sandström 78742c016b code digits settings 2016-01-16 15:12:54 +01:00
Daren Lord a194c4f1bd Merge branch 'dev' of https://github.com/balloob/home-assistant into alarmdotcom_bugfix 2016-01-15 22:16:01 -07:00
Daren Lord edb24add6b Fixed but when alarm is trying to change state the state gets updated and changes the page. 2016-01-15 22:15:31 -07:00
Fabian Affolter 5108602de3 Update link to docs and docstrings 2016-01-15 08:55:59 +01:00
Daren Lord 34f124190c Fixing pylint errors 2016-01-14 06:29:12 -07:00
Daren Lord 236ae94474 Merging dev branch 2016-01-13 23:14:58 -07:00
Daren Lord 308969e6dd Adding in alarm.com control panel. 2016-01-13 23:09:39 -07:00
Paulus Schoutsen 3b7b12bbd5 Make Flake8 happy 2016-01-12 21:53:27 -08:00
Per Sandström d3cd304f68 correced status text 2016-01-08 19:50:49 +01:00
Per Sandström 160814f425 log texts 2015-12-25 20:42:03 +01:00
Per Sandström b83b36274a changed to python-verisure 0.4.1 2015-12-25 20:16:51 +01:00
Paulus Schoutsen 72ebb22eba Update demo entities 2015-11-29 17:59:59 -08:00
Paulus Schoutsen dc2f3861c9 Merge remote-tracking branch 'fabaff/alarm-demo' into dev 2015-11-29 17:35:19 -08:00
Fabian Affolter 7224775aa8 Use manual alarm control panel as base for demo 2015-11-27 00:40:51 +01:00
Fabian Affolter 67bcb00c9e Add demo platform for alarm control panel 2015-11-27 00:18:11 +01: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 716376081d Add tests for MQTT alarm 2015-10-13 23:08:12 -07:00
Paulus Schoutsen 32bb950b5f Add tests for manual alarm control panel platform 2015-10-13 22:36:21 -07:00
Fabian Affolter 62cfb8aeb2 Move configuration details to docs 2015-10-13 20:42:05 +02:00
Fabian Affolter a583525110 Move configuration details to docs 2015-10-13 20:01:23 +02:00
Paulus Schoutsen d5eb90160f Merge pull request #461 from sfam/manual-alarm
Add manual alarm
2015-10-12 23:13:37 -07:00
sfam 1b7ce2146c replace sleeps with track_point_in_time 2015-10-13 00:56:24 +00:00
Fabian Affolter 707ca4b752 Update docstrings 2015-10-02 13:42:06 +02:00
Fabian Affolter c7d2a09097 Update docstring 2015-10-02 13:41:51 +02:00
Fabian Affolter fb9f83f8ad Update docstrings 2015-10-02 13:17:18 +02:00
sfam e57b3ae847 add manual alarm 2015-09-28 23:36:46 +00:00
Paulus Schoutsen 4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -07:00
Per Sandström 5cf9bd7223 updates to support ui 2015-09-25 06:23:04 +02:00
sfam cdc371c3ee merge requires_code and code_format properties 2015-09-22 21:40:45 +00:00
sfam e29deb0202 add a code_format property on alarm object and a optional code for its MQTT platform 2015-09-19 22:22:37 +00:00
sfam 35eed93443 add a requires_code property on alarm object 2015-09-19 17:32:37 +00:00
sfam fc946da5db Add MQTT alarm 2015-09-18 15:30:34 +00:00