Jason Hu
b2f4bbf93b
Only log change to use access token warning once ( #15690 )
2018-07-27 15:53:46 +02:00
Juha Niemi
a99b4472a8
Add support for P5 FutureNow light platform ( #15662 )
...
* Added support for FutureNow light platform and relay/dimmer units
* Pinned specific version for requirement
* Added support for FutureNow light platform and relay/dimmer units
* Added futurenow.py to .coveragerc.
* Minor fixes and enhancements as requested in the code review.
* Minor fixes and enhancements as requested in the code review.
* Use device_config's value directly as it's validated as boolean.
* Simplify state check.
* Fixed brightness update that was broken in previous commit.
2018-07-27 11:11:32 +02:00
Peter Nijssen
33f3e72dda
Add spider power plug component ( #15682 )
...
* Add spider power plug component
* rounding down the numbers
* ability to throttle the API
* updated to the lastest api
* resolved an issue within the API
2018-07-26 21:43:20 -07:00
Aaron Bach
e30510a688
Fixes a bug with showing a subset of Pollen index conditions ( #15694 )
2018-07-26 12:31:44 -06:00
Paulus Schoutsen
974fe4d923
Fix frontend tests
2018-07-26 10:25:57 +02:00
Paulus Schoutsen
feb8aff46b
Bump frontend to 20180726.0
2018-07-26 09:38:10 +02:00
Ville Skyttä
eee9b50b70
Upgrade pylint to 2.0.1 ( #15683 )
...
* Upgrade pylint to 2.0.1
* Pylint 2 bad-whitespace fix
* Pylint 2 possibly-unused-variable fixes
* Pylint 2 try-except-raise fixes
* Disable pylint fixme for todoist for now
https://github.com/PyCQA/pylint/pull/2320
* Disable pylint 2 useless-return for now
https://github.com/PyCQA/pylint/issues/2300
* Disable pylint 2 invalid-name for type variables for now
https://github.com/PyCQA/pylint/issues/1290
* Disable pylint 2 not-an-iterable for now
https://github.com/PyCQA/pylint/issues/2311
* Pylint 2 unsubscriptable-object workarounds
* Disable intentional pylint 2 assignment-from-nones
* Disable pylint 2 unsupported-membership-test apparent false positives
* Disable pylint 2 assignment-from-no-return apparent false positives
* Disable pylint 2 comparison-with-callable false positives
https://github.com/PyCQA/pylint/issues/2306
2018-07-26 08:55:42 +02:00
Jason Hu
9fb8bc8991
Allow Nest Cam turn on/off ( #15681 )
...
* Allow Nest Cam turn on/off
* Don't raise Error
* Remove unnecessary state update
2018-07-25 23:17:38 +02:00
Ville Skyttä
1c42caba76
Pylint 2 useless-return fixes ( #15677 )
2018-07-25 19:35:57 +02:00
Paulus Schoutsen
9d59bfbe00
0.74.2 ( #15671 )
...
* Fix CORS duplicate registration (#15670 )
* Bumped version to 0.74.2
2018-07-25 13:09:32 +02:00
Eduard van Valkenburg
95dc06cca6
Add Brunt Cover Device ( #15653 )
...
* New Brunt Branch
* Some small changes and updates based on review.
2018-07-25 12:17:12 +02:00
Peter Nijssen
9ecbf86fa0
Add spider thermostat ( #15499 )
...
* add spider thermostats
* Added load_platform. Added operation dictionary. Minor improvements
* loop over spider components for load_platform
* added empty dict to load_platform. changed add_devices
* moved logic to the API
* fix requirements_all.txt
* minor code improvements
2018-07-25 11:51:48 +02:00
Paulus Schoutsen
588fd1923f
Bumped version to 0.74.2
2018-07-25 11:37:17 +02:00
Paulus Schoutsen
2824efd505
Fix CORS duplicate registration ( #15670 )
2018-07-25 11:37:11 +02:00
Paulus Schoutsen
169c8d793a
Fix CORS duplicate registration ( #15670 )
2018-07-25 11:36:44 +02:00
Ville Skyttä
68f03dcc67
Auth typing improvements ( #15640 )
...
* Always return bytes from auth.providers.homeassistant.hash_password
Good for interface cleanliness, typing etc.
* Add some homeassistant auth provider type annotations
2018-07-25 11:36:03 +02:00
Ville Skyttä
397f551e6d
Import collections abstract base classes from collections.abc ( #15649 )
...
Accessing them directly through collections is deprecated since 3.7, and
will no longer work in 3.8.
2018-07-25 11:35:22 +02:00
Jerad Meisner
cbb5d34167
Added user credentials to current_user ws endpoint. ( #15558 )
...
* Added user credentials to current_user ws endpoint.
* Comments. Added another test.
* Return list of credentials.
2018-07-25 10:34:18 +02:00
Daniel Kalmar
0cc9798c8f
Allow defining default turn-on values for lights in the profiles file. ( #15493 )
...
* Allow defining default turn-on values for lights in the profiles file.
* Mock out file operations in unit test.
* Fix unit test flakiness.
* Avoid unnecessary copy
2018-07-24 20:29:59 +02:00
Jason Hu
45a7ca62ae
Add turn_on/off service to camera ( #15051 )
...
* Add turn_on/off to camera
* Add turn_on/off supported features to camera.
Add turn_on/off service implementation to camera, add turn_on/off
supported features and services to Demo camera.
* Add camera supported_features tests
* Resolve code review comment
* Fix unit test
* Use async_add_executor_job
* Address review comment, change DemoCamera to local push
* Rewrite tests/components/camera/test_demo
* raise HTTPError instead return response
2018-07-24 10:13:26 -07:00
Giuseppe
2eb125e90e
Downgrade netatmo warning log to info ( #15652 )
2018-07-24 18:35:57 +02:00
Paulus Schoutsen
264c618b11
Bump frontend to 20180724.0
2018-07-24 14:16:25 +02:00
Paulus Schoutsen
d9cf8fcfe8
Allow changing entity ID ( #15637 )
...
* Allow changing entity ID
* Add support to websocket command
* Address comments
* Error handling
2018-07-24 14:12:53 +02:00
Paulus Schoutsen
5e9c1098c0
Merge pull request #15651 from home-assistant/rc
...
0.74.1
2018-07-24 13:43:25 +02:00
Paulus Schoutsen
d65bd7b7ea
Bumped version to 0.74.1
2018-07-24 11:20:13 +02:00
Paulus Schoutsen
45a5ae1f23
Cast/Sonos: create config entry if manually configured ( #15630 )
...
* Cast/Sonos: create config entry if manually configured
* Add test for helper
2018-07-24 11:20:07 +02:00
Jason Hu
3eda6db227
Frontend component should auto load auth coomponent ( #15606 )
2018-07-24 11:20:07 +02:00
Anders Melchiorsen
58f287f551
Use case insensitive comparison for Sonos model check ( #15604 )
2018-07-24 11:20:07 +02:00
cdce8p
f62f64311d
Bugfix HomeKit name and serial_number ( #15600 )
...
* Bugfix HomeKit name and serial_number
* Revert serial_number changes
2018-07-24 11:20:06 +02:00
Jan Collijs
fbeaa57604
Update smappy library version ( #15636 )
...
Adding latest smappy lib version
Updated smappy library version
2018-07-24 10:41:24 +02:00
huangyupeng
c1f5ead61d
Add Tuya cover and scene platform ( #15587 )
...
* Add Tuya cover platform
* Add Tuya cover and scene
* fix description
* remove scene default method
2018-07-24 10:29:43 +02:00
Jason Hu
d7690c5fda
Add ipban for failed login attempt in new login flow ( #15551 )
...
* Add ipban for failed login attempt in new login flow
* Address review comment
* Use decorator to clean up code
2018-07-24 10:09:52 +02:00
Cheong Yip
45c35ceb2b
Fix typo `asayn_init` instead of `async_init` ( #15645 )
2018-07-23 20:19:01 -06:00
Daniel Shokouhi
bc481fa366
Update Neato library to allow for dynamic endpoints ( #15639 )
2018-07-24 00:46:12 +02:00
John Arild Berentsen
1b94fe3613
Add ability to set Zwave protection commandclass ( #15390 )
...
* Add API for protection commandclass
* Adjusting
* tests
* Spelling
* Missed flake8
* Period
* spelling
* Review changes
* removing additional .keys()
* period
* Move i/o out into executor pool
* Move i/o out into executor pool
* Forgot get method
* Do it right... I feel stupid
* Long lines
* Merging
2018-07-23 15:31:12 +02:00
Paulus Schoutsen
3204501174
Cast/Sonos: create config entry if manually configured ( #15630 )
...
* Cast/Sonos: create config entry if manually configured
* Add test for helper
2018-07-23 15:08:03 +02:00
Pascal Vizeli
f3dfc433c2
Fix aiohttp connection reset errors ( #15577 )
...
* Fix aiohttp connection reset errors
* Update aiohttp_client.py
* Update aiohttp_client.py
* Update __init__.py
* Update mjpeg.py
* Update mjpeg.py
* Update ffmpeg.py
* Update ffmpeg.py
* Update ffmpeg.py
* Update proxy.py
* Update __init__.py
* Update aiohttp_client.py
* Update aiohttp_client.py
* Update proxy.py
* Update proxy.py
* Fix await inside coroutine
* Fix async syntax
* Lint
2018-07-23 14:36:36 +02:00
Paulus Schoutsen
8213b1476f
WIP: Hass.io sent token to supervisor ( #15536 )
...
Hass.io sent token to supervisor
2018-07-23 14:14:57 +02:00
Paulus Schoutsen
4e7dbf9ce5
Allow system users to refresh tokens ( #15574 )
2018-07-23 14:06:09 +02:00
Paulus Schoutsen
ea2ff6aae3
Use async_create_task ( #15633 )
...
* Use async_create_task
* Fix test
2018-07-23 14:05:38 +02:00
starkillerOG
50b6c5948d
Suppress error between 00:00 and 01:00 ( #15555 )
...
* Suppress error between 00:00 and 01:00
Suppress an error that often occers between 00:00 and 01:00 CE(S)T during that time, probably because buienradar.nl is then updating its forcast for the next day. The API does not always work between these times (in the middle of the night).
* white space & import
* unnecessary brackets
2018-07-23 12:37:23 +02:00
Muhammad Sheraz Lodhi
3acbd5a769
The tense is wrong ( #15614 )
...
Instead of spent, we should be using spend :)
2018-07-23 12:31:54 +02:00
Anders Melchiorsen
fddfb9e412
Refresh Sonos source list on changes ( #15605 )
2018-07-23 12:31:03 +02:00
Anders Melchiorsen
1325682d82
Use case insensitive comparison for Sonos model check ( #15604 )
2018-07-23 12:29:37 +02:00
Andrey
140a874917
Add typing to homeassistant/*.py and homeassistant/util/ ( #15569 )
...
* Add typing to homeassistant/*.py and homeassistant/util/
* Fix wrong merge
* Restore iterable in OrderedSet
* Fix tests
2018-07-23 10:24:39 +02:00
Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Ville Skyttä
a38c0d6d15
Upgrade mypy to 0.620 ( #15612 )
2018-07-22 13:37:26 +02:00
Paulus Schoutsen
75f40ccb06
Remove entity picture of Tuya entity ( #15611 )
2018-07-22 12:10:32 +02:00
cdce8p
4de847f84e
Bugfix HomeKit name and serial_number ( #15600 )
...
* Bugfix HomeKit name and serial_number
* Revert serial_number changes
2018-07-22 09:51:42 +02:00
Jason Hu
33f1577dac
Frontend component should auto load auth coomponent ( #15606 )
2018-07-22 09:49:58 +02:00