Ryan Kraus
a41b66bb94
Cleaned up block_till_stop in core.py
...
1. Removed handling of KeyboardInterrupt. This will no longer happen
now that HASS is run in a subprocess. The KeyboardInterrupt will not be
sent to the parent process which will send a SIGTERM to the HASS
process.
2. Fixed logger warning about not being able to bind to SIGTERM.
3. Removed check for Windows OSs when binding to SIGTERM. This check
was originally put in place when HASS was binding to SIGQUIT. SIGTERM
exists in NT OSs, so the check is no longer required.
3. Now returning exit code of 100 when requesting a restart. This will
allow the parent process to only restart HASS if it is specifically
requested and not just on any encountered crash.
2016-01-29 22:02:39 -05:00
Ryan Kraus
3534c975f3
Added missing CONF_ICON constant
2016-01-26 22:46:01 -05:00
Ryan Kraus
519abbbfa2
Better handling of second KeyboardInterrupt
...
Now the second KeyboardInterrupt will be cleanly handled by the parent
process.
2016-01-26 22:41:57 -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
Martin Hjelmare
14cd27aaa7
Merge pull request #1011 from MartinHjelmare/fix-unit-of-measurement
...
Fix unit of measurement
2016-01-27 03:40:50 +01:00
MartinHjelmare
2e175b88bc
Fix unit of measurement
...
* Add version check in unit_of_measurement, to avoid error.
* Remove not needed metric check in unit_of_measurement.
* Add more value types to unit_of_measurement.
* Fix unit prefix
* Remove unused SCAN_INTERVAL variable.
2016-01-27 03:18:59 +01:00
Paulus Schoutsen
537a7789fd
Merge pull request #1005 from fabaff/astral-upgrade
...
Updgrade to astral 0.9
2016-01-26 17:48:14 -08:00
Paulus Schoutsen
80d1ab78dd
Merge pull request #1006 from fabaff/influxdb-upgrade
...
Upgrade influxdb to 2.11.0
2016-01-26 17:47:59 -08:00
Paulus Schoutsen
821238f889
Merge pull request #1007 from fabaff/telegram-upgrade
...
Upgrade python-telegram-bot to 3.2.0
2016-01-26 17:47:42 -08:00
Paulus Schoutsen
33a9ec0106
Merge pull request #1008 from fabaff/blockchain-upgrade
...
Upgrade blockchain to 1.2.1
2016-01-26 17:47:14 -08:00
Paulus Schoutsen
a8f0f313c8
Merge pull request #1009 from fabaff/docstrings
...
Update docstrings
2016-01-26 17:46:56 -08:00
Martin Hjelmare
6796219f37
Merge pull request #1010 from MartinHjelmare/fix-device-attr
...
Fix device_state_attributes
2016-01-27 02:43:34 +01:00
MartinHjelmare
1dae22a465
Fix device_state_attributes
...
* Return a dict with keys as the names of the enum members instead of
the member values.
* This fixes a TypeError: unorderable types: int() < str()
2016-01-27 02:33:21 +01:00
Fabian Affolter
7aba78f96e
Update docstrings
2016-01-27 00:08:06 +01:00
Fabian Affolter
06cf07b097
Upgrade blockchain to 1.2.1
2016-01-26 23:53:30 +01:00
Fabian Affolter
271af2c608
Upgrade python-telegram-bot to 3.2.0
2016-01-26 23:47:06 +01:00
Fabian Affolter
8c6ce217e6
Upgrade influxdb to 2.11.0
2016-01-26 23:45:39 +01:00
Fabian Affolter
5410a0c8f6
Updgrade to astral 0.9
2016-01-26 23:34:25 +01:00
Martin Hjelmare
b13e48bd71
Merge pull request #999 from MartinHjelmare/fix-not-adding-devices
...
Fix adding devices on the fly
2016-01-26 19:30:31 +01:00
MartinHjelmare
9117fa6eb8
Fix adding devices on the fly
...
Devices were not added without persistence enabled and restart of HA.
Node id was added to defaultdict(list) by mistake when checking if list
of defaultdict was empty.
* Fix adding devices in mysensors_callback.
* Change devices to regular dict.
2016-01-26 18:12:13 +01:00
Fabian Affolter
e72f61ce73
Update docstring
2016-01-26 09:11:04 +01:00
Paulus Schoutsen
4c056db3bb
Fix Chrome url sync
2016-01-25 23:56:43 -08:00
Paulus Schoutsen
c10a86d1bf
Merge branch 'master' into dev
...
Conflicts:
homeassistant/const.py
2016-01-25 22:58:06 -08:00
Paulus Schoutsen
b97de5cef6
Merge pull request #1000 from balloob/view-url-sync
...
Update frontend with view url sync
2016-01-25 22:54:00 -08:00
Paulus Schoutsen
4233c0bc66
Update frontend with view url sync
2016-01-25 22:47:13 -08:00
Paulus Schoutsen
b13008201e
Fix lint issue
2016-01-25 21:31:21 -08:00
Paulus Schoutsen
125ad8630d
Add views to demo
2016-01-25 21:27:36 -08:00
Paulus Schoutsen
5c3ad5d4c0
Update frontend
2016-01-25 17:57:33 -08:00
Paulus Schoutsen
414aa8563d
Merge pull request #930 from TangoAlpha/dev
...
Add LIFX bulb support
2016-01-25 17:51:47 -08:00
happyleavesaoc
d08a181c72
Merge pull request #994 from happyleavesaoc/orvibo_bump
...
Orvibo version bump
2016-01-25 19:34:21 -05:00
happyleavesaoc
80c6bf6744
bump orvibo version
2016-01-25 16:40:27 -05:00
Tim
b1ba792715
Brightness from HA overrides brightness from HSV conversion
2016-01-25 21:19:27 +00:00
Per Sandström
b99f6c1a46
Merge pull request #995 from persandstrom/vsure0.4.8
...
update python-verisure to version 0.4.8
2016-01-25 22:04:02 +01:00
Tim
1397f9e588
Fix logging typo
2016-01-25 20:58:10 +00:00
Tim
bb7f92330d
Update liffylights version
2016-01-25 20:53:21 +00:00
Per Sandström
7cbd780748
update vsure version
2016-01-25 21:39:41 +01:00
Tim
784fea2d56
Update for new liffylights version
2016-01-25 19:08:48 +00:00
Tim
97f0425252
Update requirements_all
2016-01-25 15:20:23 +00:00
Tim
11120a8743
Fix liffylights import
2016-01-25 15:19:50 +00:00
Tim
8009542b3e
Add extra debugging
...
Add duration to power on
2016-01-25 13:30:52 +00:00
Tim
32cfa6998c
Update requirements_all
2016-01-25 12:13:24 +00:00
Tim
d10a5cf5e9
Update to v0.8.3 of liffylights
2016-01-25 11:54:41 +00:00
Tim
4089a7a0d3
Update requirements_all
2016-01-25 10:02:03 +00:00
Tim
5a926913d3
Update to v0.6 of liffylights
2016-01-25 10:00:15 +00:00
Paulus Schoutsen
6c91831baa
Hide groups when they are views or auto defined
2016-01-24 23:45:06 -08:00
Tim
069dafa3a5
Update requirements_all
2016-01-25 07:38:37 +00:00
Paulus Schoutsen
4abc5c97cd
Merge pull request #988 from auchter/thermostat-fan
...
Add service to control a thermostat's fan
2016-01-24 23:24:32 -08:00
Paulus Schoutsen
bb3dd47088
Merge pull request #992 from balloob/sections
...
Add support for sections in the frontend [Fixes #100705168 ]
2016-01-24 22:58:27 -08:00
Paulus Schoutsen
f6c53896e3
Allow groups to be used as views
2016-01-24 22:54:45 -08:00
Paulus Schoutsen
ad2e2d916b
Merge pull request #979 from rmkraus/automation-decorator
...
Automation Decorator for custom components
2016-01-24 21:22:19 -08:00