Anders Melchiorsen
fee89d8d16
LIFX: avoid rare NoneType errors ( #9054 )
...
* Get full multizone state during registration
We used to rely on the periodic update to get the state of each zone, only
establishing the number of zones during registration. This resulted in errors
if the current state was needed for a partial color change before the first
async_update happened.
Now we do a full update before adding the light. Thus async_update can no
longer assume device.color_zones to be defined and must instead use the
response message to decide the total number of zones.
* Insist on getting the initial state
If a response to the initial state query is lost we used to just carry on.
This resulted in type errors when we next tried to access the undefined state.
After this commit the light is not added before we have the full state.
This scenario mostly happens when something is misbehaving and the type errors
were actually useful in figuring out what happend. So an error message is
logged in their place.
* Remove lint
2017-08-20 20:29:54 +02:00
Alok Saboo
b3d16e8f89
Add Abode home security component ( #9030 )
...
* Add Abode home security component
* Remove protected member
* Remove debug messages
* Remove unwanted debug messages
* Updated based on script/gen_requirements_all
* Commit to restart the build process
* Remove unwanted return
* Removed unused listener
* Address Pascal's comments
* Updated alarm control panel based on Pascal's comments
* Removed debug messages
* Removed unused hass object
2017-08-20 16:55:48 +02:00
Matt Schmitt
c059dfdb67
Update Fitbit sensor (icons, formatting, client update) ( #9031 )
...
* Update fitbit.py
Add variable icon for battery status, clean up formatting for resource
names and values
* Update fitbit.py and requirements_all.txt
Fix PR comments and update client
* Update fitbit.py
Add dict map for battery levels and use icon util
2017-08-19 22:47:31 +02:00
boojew
d153ee0b9f
Add speeds to fan dropdown in ISY fan component ( #9004 )
...
* Add speeds to fan dropdown in ISY fan component
* Update isy994.py
* Update isy994.py
* Update isy994.py
* Update isy994.py
* Update isy994.py
* Update isy994.py
* Update isy994.py
* Update isy994.py
2017-08-19 21:17:47 +02:00
David
0f9ae8827c
Upgrade python-pushover to 0.3 ( #9045 )
...
* Upgrade python-pushover
* Upgrade python-pushover
2017-08-19 17:00:07 +02:00
Steve
5d52993231
Support Windows in UPNP discovery ( #8936 )
...
* Support WIndows and Linix
* Correct indentation
* reduce line length
* Lint
2017-08-19 15:26:27 +02:00
Matt Schmitt
84025e46ff
Update ios.py ( #9041 )
...
Use battery icon util for charging condition also
2017-08-19 15:24:13 +02:00
Sören Oldag
bf66019c66
Configurable timeout for webostv. ( #9042 )
...
* Configurable timeout for webostv.
* Make PEP257 validation to pass
2017-08-19 15:14:02 +02:00
Sören Oldag
a748b5ee5e
Update pwmled to 1.2.1. ( #9040 )
2017-08-19 13:23:46 +02:00
Robin
98370560e1
Adds London_air component ( #9020 )
...
* Adds London_air component
* Fix lints
* Reduce fixture
* Fix config validate
* Fix naming
* fix tests
2017-08-19 11:05:16 +02:00
Matt Schmitt
597f53ae30
Update iOS sensor (battery icon fix and format updates) ( #9032 )
...
* Update ios.py
Clean up battery and charging icons (MDI was missing some versions),
fix minor bug when battery level = 95%
* Update ios.py
Migrated function to battery icon util
2017-08-19 10:59:54 +02:00
Steven Looman
7ac1e469b7
Set password after connecting. Fixes #8983 ( #9039 )
2017-08-19 10:58:42 +02:00
John Mihalic
ecc249aa27
Refactor USPS into component with Sensors+Camera ( #8679 )
...
* Inital USPS Camera expansion
* Cleanup debugging, add camera change interval
* Change to local nomail image
* Explicitly pass in date
* Move camera date info to model property
* Fix copy typo
* Fix hound line-length
* Fix lint whitespace
* Fix requirements
* Bump myusps version, clarify interval, alter update scheme
* Add units
* Code cleanup, address comments
* Use built-in scan interval, remove nomail image
* Remove logging line
2017-08-18 23:47:36 +02:00
celeroll
6215e27de4
Fix Geizhals index issue when not 4 prices available ( #9035 )
...
* Out of index issue, when not 4 prices are available
* Removed the parenthesis, to fix the lint error.
2017-08-18 19:59:20 +02:00
Paulus Schoutsen
b282167f26
Add state_with_unit property to state objects in templates ( #9014 )
...
* Wrap state objects in templates
* Fix tests
* Fix bugs
* Lint
* Remove invalid state warning
2017-08-17 23:19:35 -07:00
Pascal Vizeli
c278209c7b
Update ffmpeg to 1.7 to fix severals problems ( #9029 )
...
* Update ffmpeg to 1.7 to fix severals problems
* Update ffmpeg.py
* Update requirements_test_all.txt
2017-08-18 00:51:52 +02:00
Tom Matheussen
427d7ee1fc
Check if album image(s) exist in spotify ( #9024 )
...
* Check if album image(s) exist in spotify
* Actually set the image to None
* Simplified using ternary operator
2017-08-17 22:39:20 +02:00
Dan
55234a7fa3
Update onkyo-eiscp to 1.2.3 ( #9019 )
2017-08-16 21:51:03 -07:00
BioSehnsucht
3765f882c7
Add HipChat notify service. ( #8918 )
...
* Add HipChat notify service.
* Change HipChat notify service to use python-simple-hipchat-v2.
* Change HipChat notify service to use hipnotify
* Change HipChat notify service to remove redundant validation
2017-08-16 19:26:30 -04:00
Michael Hertig
b75ce4f1b2
Fix #9010 - Swiss Public Transportation shows departure time in the past ( #9011 )
2017-08-16 21:28:51 +02:00
Dan Cinnamon
95663f8126
Update to pyenvisalink 2.2, and remove range validation on zonedump i… ( #8981 )
...
* Update to pyenvisalink 2.2, and remove range validation on zonedump interval.
* Keep using default timer dump variable, only remove minimum check.
* Fix lint issue
* Indentation issue
2017-08-16 12:08:15 +02:00
karlkar
f114263845
Pushbullet, fix multiple messages sent when url param is set ( #9006 )
2017-08-16 09:29:42 +02:00
mjj4791
e7ce110dc6
Buienradar newconditions ( #8897 )
...
* new monitored conditions and support for new weathercard
* new monitored conditions and support for new weathercard
* minor changes
2017-08-15 23:07:04 -07:00
timstanley1985
3342db33e4
MQTT Switch - Add configurable availability payload ( #8934 )
...
* Add configurable availabilty payload
* Fix
* Fix
* Lint fixes
* Fix tests
* Fix tests
* Move from const.py to mqtt switch
* New test
* Fix flake*
2017-08-15 23:04:57 -07:00
Paulus Schoutsen
0fb281c5b3
Update frontend
2017-08-15 22:34:46 -07:00
Paulus Schoutsen
2dab239021
Add scripts editor backend ( #8993 )
...
* Add scripts editor backend
* Fix docstrings
2017-08-15 22:09:10 -07:00
Adam Mills
95c57412ff
Automatic device tracker remove password ( #9002 )
...
* Remove now disabled password auth from automatic
* Fallback to configurator more permissively
* Fix test for changes
* Bump lib
2017-08-15 21:04:44 -04:00
Aaron Bach
eb42d59210
Adds port/SSL config options for RainMachine ( #8986 )
...
* Adding port/SSL config updates
* New requirements generated
* Made `port` and `ssl` parameters optional
* Add defaults for new parameters
* Re-adding guard clause
* pass > continue
2017-08-15 20:03:40 +02:00
Tim Lyakhovetskiy
6507cc1dc8
Fix #8960 - Decora Wi-Fi Switch unable to set brightness ( #8989 )
2017-08-15 16:12:16 +02:00
Daniel Høyer Iversen
1892eb654f
Is_allowed_path raise for None path ( #8953 )
...
* is_allowed_path
* Fix #8948
* assert path is not None
* Update test_core.py
* Update test_core.py
* Update test_core.py
2017-08-15 15:41:37 +02:00
Jack
5309006494
Added continue-on-errors, added value template ( #8971 )
...
* Added continue-on-errors, added value template
* Refactored long lines
* Fixed whitespace issues
2017-08-14 16:31:06 +02:00
Philipp Schmitt
e2920ce5e5
Nello.io lock support ( #8957 )
...
* Initial Nello.io lock support
* Log an error when unlocking failed
* Make the lock's state always locked
2017-08-14 10:02:37 +02:00
Adam Mills
19d1d748d4
Add support for Automatic OAuth2 authentication ( #8962 )
...
* Add support for Automatic OAuth2 authentication
* Fix async conversion of configurator
* Rename method for async
* Use hass.components to get configurator component
* Fix typo
* Move session data to hidden directory
* Make configurator callback optional
2017-08-13 22:37:50 -07:00
Paulus Schoutsen
8fcec03adf
Update frontend
2017-08-13 21:52:36 -07:00
Andrey
a0ddb24245
Turn foscam verbose mode off ( #8967 )
2017-08-13 18:16:38 -07:00
Andrey
23273d3e88
Fix zwave power_consumption attribute ( #8968 )
2017-08-13 18:15:59 -07:00
Paulus Schoutsen
74adebc2fd
fix issue #8948 in pushbullet ( #8965 )
...
* fix issue #8948 in pushbullet
* pushbullet
2017-08-13 13:28:36 -07:00
Paulus Schoutsen
4b3a932d88
Sabnzbd: do not assume discovery info is a dict ( #8951 )
2017-08-13 11:29:48 -07:00
Martin Hjelmare
cbe5225e04
Fix call to ha_send_commands ( #8956 )
...
* Name keyword arguments correctly according to dependency lib.
* Only pass keyword arguments that are not None.
2017-08-13 11:28:33 -07: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
Eugenio Panadero
c92e5c147a
fix DeviceException handling when updating xiaomi vacuum ( #8954 )
...
* Fix DeviceException handling when updating entity
* add DeviceException error handling to generic request
2017-08-13 15:02:48 +02:00
Sebastian Muszynski
73d6227021
Remove spaces from Xiami switch attributes ( #8952 )
...
* Attributes of the xiaomi zigbee plug changed.
* Reformat.
2017-08-13 09:54:43 +02:00
Alok Saboo
79f45b5176
Fixed cert_expiry sensor to delay firing on HA startup ( #8920 )
...
* Fixed cert_expiry sensor to delay firing on HA startup
* Addressed Travis complaints
* Added imports
* Fixed cert_expiry sensor to delay firing on HA startup
* Changed comment
2017-08-12 23:49:15 -07:00
Paulus Schoutsen
4a98b32a03
Update frontend
2017-08-12 14:54:50 -07:00
Martin Hjelmare
fbb6782081
Fix SET_TEMPERATURE_SCHEMA in climate component ( #8879 )
...
* Require either temperature or high/low target temperatures.
* Add tests.
2017-08-12 09:39:05 -07:00
cribbstechnologies
369caeedbd
fixing emulated hue issue and testing it ( #8928 )
...
* fixing emulated hue issue and testing it
* fixing hound issues
* I should probably stop using vim
* Check against dict directly instead of items.
2017-08-12 08:50:02 -07:00
groth-its
489a02b2c2
Fix hue lights for Philips and non-philips lights ( #8905 )
2017-08-12 08:38:12 -07:00
Fabian Affolter
c4550d02c5
Add version sensor ( #8912 )
...
* Add version sensor
* Set version directly
* Rework tests and fix typo
* Remove additional blank line
2017-08-12 08:52:56 +02:00
Martin Hjelmare
49733b7fdf
Remove not needed call to update ( #8930 )
...
* This will ensure no I/O in entity properties.
2017-08-11 19:55:57 -07:00
Philipp Schmitt
0999e2ddc4
Update roombapy to 1.3.1 to avoid installing all the mapping dependencies ( #8925 )
2017-08-11 11:22:22 +02:00