Jason Hu
7646dc00e0
Add codecov ( #22649 )
2019-04-01 20:31:05 -07:00
Jason Hu
39eaa7fc8d
Add trusted networks deprecating warning ( #22487 )
...
* Add trusted networks deprecating warning
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Tweak
2019-04-01 17:43:29 -07:00
Jason Hu
1e26151069
Require static-check success first for rest of workflow ( #22635 )
...
* Require static-check success first
* Update config.yml
2019-04-01 17:42:04 -07:00
Pascal Vizeli
e708032669
Support GET params for websocket ingress path ( #22638 )
2019-04-01 17:41:08 -07:00
Malte Franken
a7e613616c
change library to georss_generic_client ( #22615 )
2019-04-01 19:27:58 -04:00
Phil Bruckner
82296aeb71
Amcrest: Add on/off support & attributes. Bump amcrest to 1.3.0 ( #22418 )
...
* Amcrest: Add on/off support & attributes to camera entity. Bump amcrest package to 1.3.0.
Add support for turn_on & turn_off services.
Add implementation of is_recording method, as well as brand, model, hardware_version, machine_name, serial_number, software_build and software_version attributes.
Bump amcrest package to 1.3.0 required for above changes and also handles errors in storage commands which resolves #19982 .
* Update per review
Rebase to upstream/dev.
Remove video_enabled property and setter and replace with _enable_video_stream
method.
Remove static attributes from camera and sensors.
2019-04-01 17:36:29 -05:00
etheralm
e78709c5f5
Add support for Dyson Purecool 2018 Air Purifiers models TP04 and DP04 ( #22215 )
...
* initial commit
initial commit
rewrite tests
fix merge issue with fan component
fix merge issue with fan component
* correct line length
* change to sync_setup_component for tests
* rename services and move services.yaml
* move hepa and carbon filter state from sensor to fan
* add test for duplicate entities
* fix method call tests
* fix docstring
2019-04-01 19:57:11 +02:00
René-Marc Simard
1ce622469d
Fix GTFS variable type mismatch ( #22624 )
2019-04-01 10:49:53 -07:00
Anna Prosvetova
ab2ac60d12
Fix xiaomi vacuum resume functionality ( #22626 )
2019-04-01 10:44:46 -07:00
Daniel Høyer Iversen
2e02efed10
Handle disonnect bug in Tibber library ( #22629 )
2019-04-01 10:33:38 -07:00
Paulus Schoutsen
bbc4775eab
Disable Z-Wave autoheal ( #22628 )
2019-04-01 10:20:13 -07:00
VDRainer
431cc63aaf
Trend binary sensor check for state unavailable ( #22621 )
...
* Trend binary sensor check for state unavailable
Fixes: https://github.com/home-assistant/home-assistant/issues/20210
* Fix pylint
2019-04-01 10:03:18 -07:00
Fredrik Erlandsson
0056fcf904
Make platform setup a coroutine ( #22620 )
...
* make setup_platform a coroutine
* Update homeassistant/components/tellduslive/sensor.py
Co-Authored-By: fredrike <fredrik.e@gmail.com>
2019-04-01 10:01:31 -07:00
Pascal Vizeli
1e96d69688
Update face_recognition to 1.2.3 ( #22622 )
2019-04-01 10:00:25 -07:00
Andrew Sayre
9f2c5b7231
Add source selection to Heos component ( #22592 )
...
* Add select source support
* Review feedback changes
* Removed unused import
* Ignore 'umused' import used in typing
* Only include trace back on useful errors
* Remove return from play_source
2019-04-01 11:58:52 -05:00
Pascal Vizeli
a5b03541e9
Delete .travis.yml
2019-04-01 17:16:56 +02:00
Jason Hu
de4d1f2c19
Config CircleCI workflow ( #22590 )
...
* Add mypyrc to control typing check, add mypy to circle
* Add translation upload circlci job
2019-04-01 07:12:59 -07:00
Pascal Vizeli
6829ecad9d
Hass.io ingress ( #22505 )
...
* Fix API stream of snapshot / Add ingress
* fix lint
* Fix stream handling
* Cleanup api handling
* fix typing
* Set proxy header
* Use header constant
* Enable the ingress setup
* fix lint
* Fix name
* Fix tests
* fix lint
* forward params
* Add tests for ingress
* Cleanup cookie handling with aiohttp 3.5
* Add more tests
* Fix tests
* Fix lint
* Fix header handling for steam
* forward header too
* fix lint
* fix flake
2019-04-01 14:16:16 +02:00
Paulus Schoutsen
42e3e878df
Cloudhooks for webhook config flows ( #22611 )
2019-04-01 14:07:12 +02:00
Paulus Schoutsen
c96804954c
Only allow admins to enable remote connection ( #22609 )
...
* Only allow admins to enable remote connection
* Protect WS API
* Lint
2019-04-01 10:22:51 +02:00
Anders Melchiorsen
282fd225c9
Add netgear_lte connection sensors ( #22558 )
2019-03-31 23:47:29 -07:00
N1nja98
a61181b10c
Fixed brightness reducing after each light change ( #22606 )
...
self._brightness max is 255 and hsv brightness max is 100. Assigning 255 based brightness value directly with 100 based hsv reduces brightness eventually to zero.
2019-03-31 23:27:47 -07:00
Robbie Trencheny
7bd8c0d39a
Add new mobile_app webhook command: get_zones ( #22604 )
...
## Description:
Adds a new `mobile_app` webhook command, `get_zones`, which just returns all zones.
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
2019-03-31 21:30:45 -07:00
Paulus Schoutsen
fbb28c401e
Bumped version to 0.91.0b4
2019-03-31 20:30:30 -07:00
carstenschroeder
734a67ede0
Refactor of ADS integration and introduce ADSEntity ( #22583 )
...
* Prevent toogle to false at restart
* change to asyncio.run_coroutine_threadsafe
* refactor ADS platforms; introduce AdsEntity
* fix hound findings
* some formatting
* remove redundant def.
* fix useless super delegation
* fix inconsistent ADS data type for brightness
* fix requested changes
* fix comment
2019-03-31 20:28:43 -07:00
Paulus Schoutsen
0e42cb64d6
Add stream to the default config ( #22602 )
2019-03-31 20:02:01 -07:00
drjared88
2e61ead4fd
Update ONVIF component to SUPPORT_STREAM ( #22569 )
...
* Update Onvif component to SUPPORT_STREAM
* Update camera.py
* Update camera.py
* Update camera.py
Remove extra spaces.
* lookup URL when camera is added to hass and add extra guards
2019-03-31 20:02:00 -07:00
Jason Hu
de16059365
Fix name conflict in tests ( #22556 )
...
* Fix name conflict in tests
* Lint
* Lint
2019-03-31 20:01:59 -07:00
drjared88
a71fcfb6e5
Update Amcrest component to SUPPORT_STREAM ( #22553 )
...
* Update camera.py
Update Amcrest component to SUPPORT_STREAM to allow streaming in the UI and Google Assistant.
* Update camera.py
2019-03-31 20:01:59 -07:00
giefca
8af70d5d19
Google assistant: add blinds trait for covers ( #22336 )
...
* Update const.py
* Update smart_home.py
* Update trait.py
* Update test_trait.py
* Update smart_home.py
* Update test_trait.py
* Update trait.py
* Update trait.py
* Update test_trait.py
* Update test_trait.py
* Update __init__.py
* Update test_trait.py
* Change email
* Trying to correct CLA
* Update __init__.py
* Update trait.py
* Update trait.py
* Update trait.py
* Update trait.py
* Update __init__.py
* Update test_trait.py
* Update test_google_assistant.py
* Update trait.py
* Update trait.py
* Update test_trait.py
* Update test_trait.py
2019-03-31 20:01:59 -07:00
Paulus Schoutsen
ec9a58442b
Updated frontend to 20190331.0
2019-03-31 20:01:35 -07:00
Paulus Schoutsen
804f1d1cc8
Update translations
2019-03-31 20:01:23 -07:00
Paulus Schoutsen
9a4b0cfb9b
Updated frontend to 20190331.0
2019-03-31 19:52:44 -07:00
Aaron Bach
3d8efd4200
Add permission checking to all RainMachine services ( #22399 )
...
* Add permission checking to all RainMachine services
* Linting
* Some initial work
* Owner comments
* Test in place (I think)
* Linting
* Update conftest.py
2019-03-31 19:32:55 -07:00
Paulus Schoutsen
50a0504e07
Add stream to the default config ( #22602 )
2019-03-31 17:14:19 -07:00
drjared88
e085383d2d
Update ONVIF component to SUPPORT_STREAM ( #22569 )
...
* Update Onvif component to SUPPORT_STREAM
* Update camera.py
* Update camera.py
* Update camera.py
Remove extra spaces.
* lookup URL when camera is added to hass and add extra guards
2019-03-31 15:12:55 -07:00
René-Marc Simard
755571abe3
Fix gtfs typing and logger issues ( #22572 )
...
## Description:
Some code cleanup requests where raised in the [latest merged GTFS commit](9153e3b671
). This new PR aims to address them, including:
- Clear all typing issues.
- Respect logger levels and format.
- Simplify some non-pythonic lines.
This sensor now passes `mypy` testing, but does so by ignoring two lines with `# type: ignore`.
**Related issue (if applicable):** fixes issues raised by @MartinHjelmare in #20966
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard/__init__.py#L14
[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard/__init__.py#L23
2019-03-31 14:21:45 -07:00
Sander Cornelissen
7d7b931163
Retrying connecting Influxdb at setup ( #22567 )
...
* Also retry Influxdb at setup()
* Use event.call_later() for retry setup Influxdb
* Fix max line length in setup() in Influxdb
* Add extra space before comment
* Fix sec -> seconds and add return True
2019-03-31 16:00:48 -04:00
Markus Jankowski
5abfc84382
Clean up homematicip cloud ( #22589 )
...
* Code Cleanup
- removed unused constants
- more icons on binary_sensor groups
- alligned code for device_state_attributes
- fixed temperature unit origin for weather
* removed icons
2019-03-31 21:18:45 +02:00
OleksandrBerchenko
842a36dc9e
Rewrite Osram Lightify component ( #22184 )
...
* Rewrite Osram Lightify component
* Update python-lightify version to 1.0.7.2
* Remove unneeded code
* 1. Remove changes in light/__init__.py, 2. Set properties to None by default
* Fix typo
2019-03-31 21:02:45 +02:00
Anders Melchiorsen
1b0b5b4b8c
Fix lightwave config validation ( #22576 )
2019-03-31 09:19:39 -05:00
OleksandrBerchenko
800b1c7fe6
Fix typo in light/__init__.py ( #22581 )
2019-03-31 13:43:54 +02:00
Jason Hu
388d614e30
Ignore flaky test ( #22563 )
2019-03-30 21:10:32 -07:00
emontnemery
4d1633807c
Turn light off if brightness is 0 ( #22400 )
...
* Turn light off if brightness is 0
* Lint
* Review comments
* Lint
* Fixup, add tests
* Fix trådfri light + test
2019-03-30 21:04:32 -07:00
Chris Helming
f6e9dd4832
Update Foscam component to support stream source ( #22568 )
...
* Update Foscam to support stream source
* Removing spaces and tabs
* Changing to Python3-style string formatting
* Adding '_media_port' to hopefully cover other models
2019-03-30 21:01:58 -07:00
emontnemery
54777a81bc
Forward media control to playing group ( #22566 )
...
* Forward media control to playing group
* Fix forwarding control to dynamic group
* Fix, add tests
2019-03-30 20:07:01 -07:00
Pascal Vizeli
71ecaa4385
Delete main.workflow
2019-03-30 21:59:15 +01:00
Paulus Schoutsen
e70931da67
Delete azure-pipelines.yml
2019-03-30 12:30:35 -07:00
Greg Dowling
9bf0f60784
Bump pyloopenergy library to 0.1.2 ( #22561 )
2019-03-30 12:52:54 -05:00
Klaudiusz Staniek
2eafa5f81a
Ampio Smog Air Quality Sensor ( #21152 )
...
* Initial commit for Ampio Smog Air Quality Sensor
* coveragerc and requirements_all update
* Lint fixed
* Moved to vendor folder
* Updated according to review
* Docs string fix
* Docstring fix
* Docstring fix
* Requirements fixed
* Lint fix
* .coveragerc updated
2019-03-30 18:49:59 +01:00