Commit Graph

4786 Commits (fb3586c18f0add8612c018e58dfa80e6c84bb45c)

Author SHA1 Message Date
Paulus Schoutsen fb3586c18f Merge pull request #1541 from balloob/catch_template_exceptions
Catch template automation exception common during startup.
2016-03-14 07:43:59 -07:00
pavoni e5c8dd03e1 Catch exception common during startup. 2016-03-14 10:10:38 +00:00
Paulus Schoutsen 399fda079f Merge pull request #1539 from srcLurker/zwave-heal
Enable openzwave's network heal and soft reset.
2016-03-13 22:42:49 -07:00
Paulus Schoutsen 6bc3e0bb58 Merge pull request #1530 from balloob/content-length
Add content-length header to http resonses
2016-03-13 22:32:59 -07:00
Paulus Schoutsen 54b60c6564 Merge pull request #1531 from balloob/cleanup-automation
Remove support for old deprecated automation config
2016-03-13 22:32:48 -07:00
Charles Spirakis b7044a79b2 Enable openzwave's network heal and soft reset.
Makes Zwave's network heal and the controller's soft reset
commands available as service calls. They can be used
in automation to help keep the zwave netwrok healthy.

For example:

automation:
 alias: At 2:35am, heal problematic zwave network routes
 trigger:
   platform: time
   after: '2:35:00'
 action:
   service: zwave.heal
2016-03-13 21:48:07 -07:00
Paulus Schoutsen 368668784a Merge pull request #1534 from balloob/allow_entry_passive_zones
Allow entry into passive zones.
2016-03-13 15:58:42 -07:00
Paulus Schoutsen 7099030cd7 Merge pull request #1529 from stefan-jonasson/tellstick-rewrite
Rewrite of the tellstick module. It now uses a common base for all sh…
2016-03-13 15:56:54 -07:00
Stefan Jonasson eb9ed5ccfe Rewrite of the tellstick module. It now uses a common base for all shared functionality.
The rewrite addresses a problem with the tellstick hardware dropping
commands when too many simultaneous calls is being made from HA. Also fixes a bug when the dim level was changed externally.
This breaks previous configurations.

The new config for tellstick is

```yaml
tellstick:
  signal_repetitions: X
```
Lights and Switches are detected automatically.
Sensors work like before because they do not share any functionality with the other devices and they also needs a complete other configuration.
2016-03-13 19:28:42 +01:00
pavoni fc455a1047 Allow entry into passive zones. 2016-03-13 18:01:29 +00:00
Paulus Schoutsen 956f6056f9 Remove support for old deprecated automation config 2016-03-13 00:00:05 -08:00
Paulus Schoutsen f8d2da2ace Add content-length header to http resonses 2016-03-12 23:41:00 -08:00
Paulus Schoutsen 7d23a5f7e4 Merge pull request #1496 from balloob/mqtt-server
Add MQTT server component
2016-03-12 21:53:06 -08:00
Paulus Schoutsen 8386bda4e4 MQTT: Start embedded server if no config given 2016-03-12 21:42:47 -08:00
Paulus Schoutsen 13d7f742a7 Add thread names 2016-03-12 16:54:31 -08:00
Paulus Schoutsen b67964274b Version bump to 0.16.0.dev0 2016-03-12 11:29:42 -08:00
Paulus Schoutsen 2410942fd0 Version bump to 0.15 2016-03-12 11:23:43 -08:00
Paulus Schoutsen 2a75c6fcf6 Update frontend build scripts for pep257 2016-03-12 10:52:48 -08:00
Paulus Schoutsen 159e287959 Update frontend 2016-03-12 10:42:07 -08:00
Paulus Schoutsen a01111ae56 Merge pull request #1457 from fabaff/sensor-classes
Add support for sensor classes
2016-03-11 22:50:32 -08:00
Paulus Schoutsen 4599fd6dae Update .coveragerc 2016-03-11 22:47:39 -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
Paulus Schoutsen 2b6f0586b4 Merge pull request #1524 from turbokongen/dev
Workaround for no off motion sensor: Wenzhou tkd slim sensor 3/4 in 1…
2016-03-11 21:45:40 -08:00
Paulus Schoutsen 9904667a80 Merge pull request #1520 from balloob/mqtt-fixes
Type checks for MQTT config
2016-03-11 21:45:17 -08:00
Paulus Schoutsen 097ded73b1 Merge pull request #1519 from sander76/dev
changed powerview version requirement to solve error in installing
2016-03-11 21:44:11 -08:00
Paulus Schoutsen 5b2093ebc1 Merge pull request #1523 from Bart274/patch-1
add gps_accuracy and battery information to the see function
2016-03-11 16:21:26 -08:00
Fabian Affolter 1fa2f23864 Revert "Upgrade limitlessled to 1.1.0"
This reverts commit 2e2537de2a.
2016-03-11 23:37:32 +01:00
Fabian Affolter 2e2537de2a Upgrade limitlessled to 1.1.0 2016-03-11 23:27:18 +01:00
root 1f8b66511d Workaround for no off motion sensor: Wenzhou tkd slim sensor 3/4 in 1 sensor 2016-03-11 20:51:40 +01:00
Bart274 312d0320c6 Update __init__.py 2016-03-11 14:20:08 +01:00
Bart274 284a1fd08e add gps_accuracy and battery information to the see function
the see function from device_tracker doesn't pass the gps_accuracy and the battery information to the see service, so this information gets lost.
2016-03-11 14:10:04 +01:00
sander 1fbf7afc6a changed the powerview version 2016-03-11 06:44:04 +01:00
Paulus Schoutsen 025713ee41 Type checks for MQTT config 2016-03-10 21:42:17 -08:00
Per Sandström 81e5a852f0 Use templates in service calls 2016-03-10 21:36:05 +01:00
Fabian Affolter 4637a83c29 Add sensor_class to MQTT binary sensor 2016-03-10 20:51:58 +01:00
Fabian Affolter ce82bd7515 Fix formatting 2016-03-10 19:17:36 +01:00
Greg Dowling 534308e461 Merge pull request #1473 from balloob/add_wemo_motion
Add Wemo Motion device as a binary sensor.
2016-03-10 18:13:04 +00:00
pavoni 84bdba28b3 Add Wemo Motion 2016-03-10 17:58:24 +00:00
Fabian Affolter 8af7858415 Merge pull request #1513 from balloob/pep257
Enable Pep257 checking on CI
2016-03-10 09:29:04 +01:00
Paulus Schoutsen 56ef16e858 Add pydocstyle to requirements_test.txt 2016-03-09 23:39:38 -08:00
Paulus Schoutsen b9856a2af5 Fix final pep257 issues 2016-03-09 23:34:38 -08:00
Paulus Schoutsen 14a9b9fe3f Add pep257 checking 2016-03-09 23:34:28 -08:00
Paulus Schoutsen 47c4f66886 Merge pull request #1485 from MartinHjelmare/refactor-scene-reproduce_state
Refactor reproduce_state for scene component
2016-03-09 15:29:10 -08:00
Fabian Affolter 0d9b8a0d06 Fix docstring 2016-03-09 23:49:54 +01: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 f22a40c3e8 Fix PEP257 issues 2016-03-09 11:15:04 +01:00
Fabian Affolter 986c9c55bf Merge branch 'pep257-tests' into dev 2016-03-09 10:26:49 +01:00
Fabian Affolter 9838697d2b Fix PEP257 issues 2016-03-09 10:25:50 +01:00
Per Sandström d1256d4889 Merge pull request #1508 from persandstrom/verisure_typo_thermometers
verisure configuration value typo fix
2016-03-08 21:42:43 +01:00
Fabian Affolter d6eab03a61 Remove parenthesis 2016-03-08 18:05:01 +01:00