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
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
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
carstenschroeder
34324afbde
Prevent toogle to false at restart of ADS platforms ( #22522 )
...
* Prevent toogle to false at restart
* change to asyncio.run_coroutine_threadsafe
2019-03-30 18:47:39 +01:00
emontnemery
2e375aa802
Improve handling of audio groups ( #22396 )
...
* Improve handling of audio groups
* Review comments
* Fix tests
* Add tests
* Review comment
* Bump pychromecast
2019-03-30 10:19:18 -07:00
Jason Hu
64306922b1
Fix name conflict in tests ( #22556 )
...
* Fix name conflict in tests
* Lint
* Lint
2019-03-30 08:30:21 -07:00
Andrew Sayre
ecba87179f
Add Heos config flow ( #22554 )
...
* Add UI initiated config flow
* Fix alpha order
2019-03-30 08:52:17 -05:00
Marco Orovecchia
b6ac964df3
Added support for transitions for nanoleaf light ( #22192 )
...
* Added transition support for nanoleaf
* Formatting for comments
* Inline comment instead of additional line
* Set color_temp before starting transition
2019-03-30 12:08:30 +01:00
Jc2k
906f0113ad
Add more HomeKit device enumeration tests ( #22194 )
...
* Test that Aqara Gateway, Ecobee 3 and Lennox E30 is correctly enumerated
* Move json to fixtures directory
* Move IO to executor
2019-03-30 11:21:11 +01:00
Anders Melchiorsen
1a39fb4de7
Add table with netgear_lte sensor units ( #22508 )
2019-03-30 10:09:36 +01:00
Kevin Cooper
4b9e3258dc
Add command_template and value_template for MQTT alarm ( #21438 )
...
* Option to send pin code with the MQTT payload for MQTT alarm
* publish code via json
Add publish code via json
add code_disarm_required
* publish code via json
Add publish code via json
add code_disarm_required
* implemented command_template
* Fix issue with night arm and add template test
* implemented value_template for mqtt alarm
* Fixed merge errors
* Requested changes
* Resolve lint errors
* Resolve hound issues
* Fix test formatting
2019-03-30 07:36:10 +01:00
Andrew Sayre
1bfe86b30d
Change HEOS component library and add basic config flow ( #22517 )
...
* Update heos lib
* Update requirements files
* Removed unecessary mock_coro usage
* Remove assert_called_once usage
* Updates from review feedback
* Remove extra param to error format
2019-03-29 21:10:00 -07:00
drjared88
fe8e51e2e9
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-29 20:53:01 -07:00
giefca
b04fd08cea
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-29 20:51:47 -07:00
Paulus Schoutsen
95a7077b41
Move core services.yaml file to Home Assistant integration ( #22489 )
...
* Move services.yaml to correct dir
* Remove special case for HA servicesgs
2019-03-29 20:48:45 -07:00
Julien Roy
8e975395be
upgrade pylinky to 0.3.3 ( #22544 )
2019-03-29 19:22:28 -07:00
Paulus Schoutsen
cc886821bc
Fix platform warnings ( #22551 )
2019-03-29 17:04:59 -07:00
Paulus Schoutsen
c05bff7d17
Add support for streaming to ffmpeg ( #22549 )
2019-03-29 17:03:02 -07:00
Paulus Schoutsen
fbb9097f6c
Updated frontend to 20190329.0
2019-03-29 16:46:15 -07:00
Jason Hu
e81e5ea796
Set up Circleci workflow ( #22519 )
...
* Set up Circleci workflow
* Update python tag
* Add pre-test job to cache the requirements
* Upgrade pip itself
* Use 3.7 for lint
* Parallelize pylint
* Tweak run gen_requirements_all
* tweak cache key
2019-03-29 16:37:45 -07:00
damarco
c0ce86fa8e
Bump zigpy ( #22545 )
2019-03-29 14:01:51 -07:00
Steven Looman
613c356c5f
Upgrade to async_upnp_client==0.14.7 ( #22543 )
2019-03-29 13:41:50 -07:00
Sebastian Muszynski
f46a8378b0
Fix regression of the xiaomi_aqara config validation ( #22435 )
...
* Fix regression of the xiaomi_aqara config validation
* Make the key optional again
* Add base schema
* Remove the GW_MAC default
2019-03-29 13:41:13 -07:00
David F. Mulcahey
6401920019
clean up channel configuration ( #22534 )
2019-03-29 16:41:04 -04:00
ktnrg45
a07919ced2
PS4 bump to 0.5.2 ( #22523 )
...
* Bump pyps4 to 0.5.2
* Bump pyps4 to 0.5.2
* Bump pyps4 to 0.5.2
2019-03-29 12:10:28 -07:00
Yaroslav
daf6b01b98
Ring camera improvements ( #22526 )
...
* Ring camera improvements
Expose last_video_id attribute.
Fix missing last_video_url
Only update last_video_id when video is ready
* Fix formatting
2019-03-29 12:10:00 -07:00