Commit graph

129 commits

Author SHA1 Message Date
Hernán
393bd88091 Add Media Player Stop command + Kodi support for it ()
* Started adding Stop command to Kodi media player

* minor

* minor

* minor

* abstract-method fixed
2016-05-06 17:57:00 -07:00
Paulus Schoutsen
79653a672d Script cleanup () 2016-05-02 22:05:09 -07:00
Paulus Schoutsen
6354399d55 Initial script condition support () 2016-04-28 12:03:57 +02:00
Paulus Schoutsen
197d9639f9 Merge pull request from home-assistant/service-parameters
Trigger variables in automation actions
2016-04-23 07:46:26 +02:00
Paulus Schoutsen
1d8554359c Allow setting entity namespace () 2016-04-23 06:34:49 +02:00
Paulus Schoutsen
f76d545a08 Add script logic into helper. 2016-04-21 21:06:05 -04:00
Paulus Schoutsen
623b023ac0 Version bump to 0.19.0.dev0 2016-04-20 18:44:27 -07:00
Paulus Schoutsen
b6e956a3d0 Version bump to 0.18 2016-04-20 18:43:21 -07:00
Paulus Schoutsen
2e79e9d5bb Correct celcius to celsius () 2016-04-19 20:30:44 -07:00
Jan Harkes
656e187729 Some fixes for yr config validation. ()
The setup_platform function is trying to get CONF_LATITUDE and CONF_LONGITUDE,
but the validation schema was not accepting these.

Also moved CONF_MONITORED_CONDITIONS and CONF_ELEVATION to homeassistant.const
because they are used in other places.
2016-04-11 21:44:39 -07:00
OpenDave15
91b1ebaeb7 Allow use of pynetgear 3.3 port parameter. ()
* Allow use of pynetgear 3.3 port parameter.

* Fix lint problem
2016-04-09 20:29:06 -07:00
Paulus Schoutsen
ff47cffe8a Version bump to 0.18.0.dev0 2016-04-08 21:43:29 -07:00
Paulus Schoutsen
66bf8df768 Version bump to 0.17 2016-04-08 21:32:26 -07:00
Jan Harkes
3383854506 Move CONF_OPTIMISTIC to homeassistant.const. 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
Paulus Schoutsen
9d0b15421c Version bump to 0.17.0.dev0 2016-03-26 01:02:30 -07:00
Paulus Schoutsen
e53adf003c Version bump to 0.16 2016-03-26 01:01:46 -07: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
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
Alexander Fortin
ac69db8133 Move hardcoded required Python version into homeassistant.const 2016-02-28 05:41:03 +01:00
Paulus Schoutsen
1be90081ef Version bump to 0.15.0.dev0 2016-02-27 16:22:21 -08:00
Paulus Schoutsen
3bdf7eabbf Version bump to 0.14.0 2016-02-27 16:13:40 -08:00
Paulus Schoutsen
de7a14074e Merge pull request from balloob/feature/entity-assumed-state
Add assumed_state property to entity
2016-02-14 23:59:35 -08:00
Paulus Schoutsen
cafa4043b3 Move bootstrap endpoint from api to frontend 2016-02-14 00:04:08 -08:00
Paulus Schoutsen
8bea5c06de Add assumed_state property to entity 2016-02-13 23:42:11 -08:00
Paulus Schoutsen
4210291e5b Version bump to 0.14.dev0 2016-02-12 21:55:40 -08:00
Paulus Schoutsen
724d5bfe9d Version bump to 0.13 2016-02-12 21:51:34 -08:00
Eric Rolf
d2ad0620ee Wink Garage Door Support 2016-02-11 08:37:16 -05:00
Ryan Kraus
11a2b8888b Fixes for issue
1. Moved RESTART_EXIT_CODE to constants so it can safely be used by
__main__.py.
2. Allowed __main__/main to return the desired exit code.
3. Forwarded the child processes exit code to the parent process to be
duplicated.
4. Added —debug flag to pass command to force Home Assistant to run in
only one process. A warning is printed to STDERR to indicate HASS is in
debug mode. Another is printed if HASS requests a restart in debug
mode. A restart request in debug mode will quit.
5. Added an argument to __main__/main/setup_and_run_hass to indicate
that it is running in the top process. This tells it to return the exit
code rather than exiting.
2016-02-06 09:48:36 -05:00
Ryan Kraus
1a5d18fd66 Merge pull request from balloob/restart-service
Restart service
2016-02-02 07:15:40 -05:00
MartinHjelmare
455593017d Add new 'available' property to entity.py
* Add 'available' property. Return True by default.
* Use new property in update_ha_state(). If available is False, set
  state to 'unavailable', through constant.
* Add STATE_UNAVAILABLE constant 'unavailable' in const.py.
* Fix docstrings in entity.py and const.py, according to PEP257.
  Ignore D203 and D105.
2016-01-31 23:58:19 +01:00
Paulus Schoutsen
fce8815ab4 Support custom interval for platforms 2016-01-31 01:01:23 -08:00
Paulus Schoutsen
b7722ec452 Allow usage of words domain, service, call_id in service data 2016-01-30 15:18:26 -08:00
Paulus Schoutsen
10f9c049bb Version bump to 0.13.0.dev0 2016-01-29 22:38:01 -08:00
Paulus Schoutsen
9fc62c1851 Version bump to 0.12 2016-01-29 22:33:46 -08:00
Ryan Kraus
3534c975f3 Added missing CONF_ICON constant 2016-01-26 22:46:01 -05:00
Ryan Kraus
b596fa33d6 Implemented restart service
Implemented an OS and environment safe restart service. This works by
running Home Assistant in a child process. If the child process
terminates with an exit code > 0, HASS is restarted. SIGTERM and
KeyboardInterrupts to the parent process are forwarded to the child
process. KeyboardInterrupts will only be forwarded once. The second
KeyboardInterrupt will be handled by the parent.
2016-01-26 22:39:59 -05:00
Paulus Schoutsen
f6c53896e3 Allow groups to be used as views 2016-01-24 22:54:45 -08:00
Ryan Kraus
027d97321f Merge pull request from rmkraus/service-toggle
Added toggle service
2016-01-17 21:11:35 -05:00
Paulus Schoutsen
9f61369156 Version bump to 0.12.0.dev0 2016-01-16 11:23:55 -08:00
Paulus Schoutsen
c5b69a0ee4 Update version to 0.11 2016-01-16 11:20:02 -08:00
Ryan Kraus
342a819fd4 Added toggle service
Added a toggle service to the homeassistant, light, switch, and
media_player domains.
2016-01-16 10:45:05 -05:00
Roy Hooper
0361f37178 Support multiple hue hubs using a filename parameter. 2016-01-02 16:13:58 -05:00
Paulus Schoutsen
35411cd57e Version bump to 0.11.dev0 2015-12-20 15:32:51 -08:00
Paulus Schoutsen
901f63be0c Version bump to 0.10 2015-12-20 15:30:51 -08:00
Paulus Schoutsen
9a9ecb5916 Migrate MQTT from jsonpath to templates 2015-12-10 21:39:01 -08:00
Paulus Schoutsen
47b5fbfaf3 Add template API endpoint 2015-12-10 20:47:06 -08:00
Paulus Schoutsen
aff82da611 Version bump to 0.10.0.dev0 2015-12-06 21:19:20 -08:00
Paulus Schoutsen
aaca0a64cb Version bump to 0.9.1 2015-12-06 21:16:23 -08:00