Paulus Schoutsen
24a16ff8fe
Add image integration ( #38969 )
2020-08-19 11:33:04 +02:00
Franck Nijhof
475e70986b
Extend IP ban / failed login notification information ( #39020 )
2020-08-18 23:32:19 +02:00
Anders Melchiorsen
d4f1fd7396
Improve time_pattern validation schema ( #38982 )
2020-08-18 21:10:43 +02:00
kbickar
1505343b4b
Update emulated_hue to allow getting bridge config without username ( #38986 )
...
* Allow bridge config without username
* Updated emulated_hue tests
* Test cleanup
2020-08-18 14:02:38 -05:00
David F. Mulcahey
1af6c04111
Add triggers for the Tag component ( #39004 )
2020-08-18 16:22:53 +02:00
Phil Bruckner
5d73714f5a
Fix time trigger test ( #38988 )
...
* Fix time trigger test
* Forgot part of fix
2020-08-18 07:37:04 -05:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code ( #38655 )
2020-08-17 11:54:56 -05:00
Kit Klein
8d8c1335c5
Fix Konnected pro options ( #38848 )
2020-08-17 09:47:21 +02:00
Kit Klein
a6236886e4
Set up konnected entities even if panel isn't immediately reachable ( #38879 )
2020-08-17 00:05:11 +02:00
Martin Hjelmare
0f1e70ca79
Fix ozw pure rgb dimmer light ( #38877 )
...
* Fix ozw pure rgb light
* Add test
2020-08-15 14:41:30 -04:00
escoand
9c6b019ca9
Better timeout handling in samsungtv integration ( #38759 )
...
* handle PlatformNotReady
* set timeout in bridge
* set timeout in test
* Revert "handle PlatformNotReady"
This reverts commit 118ee06ba016f88abdf767efdf4ef1eacb4e5caa.
2020-08-15 20:25:37 +02:00
Franck Nijhof
755761867d
Use current request context in OAuth redirect ( #38692 )
2020-08-15 15:26:54 +02:00
J. Nick Koston
483d09b9c1
Adjust homekit controller pairing to have a new step for each potentially recoverable error ( #38742 )
...
* Adjust homekit controller pairing errors back to a single step
* adjust test
* Revert "Adjust homekit controller pairing errors back to a single step"
This reverts commit e5ed89bbbb053bb814219052ae99697a5a7b4e46.
* Revert "adjust test"
This reverts commit c2e9f21a8401c144315260f6fdf71ea8060f8ca3.
* adjust
* prune
* prune
* merge
* Update tests
* remove debug
* adjust
* Multiple steps
* adjust the test
2020-08-14 10:34:52 -05:00
Chris and Paulus Schoutsen
5c9f29c43a
Fix ozw dimming transition ( #38850 )
...
* Handle float from light component
* Test with float
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2020-08-14 08:35:42 -04:00
J. Nick Koston
49478298cc
Ensure service browser does not collapse on bad dns names ( #38851 )
...
If a device on the network presented a bad name, zeroconf
would throw zeroconf.BadTypeInNameException and the service
browser would die off. We now trap the exception and continue.
2020-08-13 22:00:39 -05:00
Niels Mündler
fceba0bb88
Bump pysyncthru to 0.7.0 ( #38832 )
...
* Bump pysyncthru version to 0.7.0
This change includes a heavier refactoring, using a more reliable source for the device status and parsing display strings only for additional details
* Fix test flow to ensure a status is set
2020-08-13 20:48:26 -05:00
J. Nick Koston
ee64aafc39
Fix iqvia test patching the wrong integration ( #38847 )
2020-08-13 11:47:18 -05:00
David F. Mulcahey
ca5e752514
Add switch support to the Flo integration ( #38268 )
...
* Add switch domain to Flo integration
* lint
* updates post rebase
* fix after rebase
* remove device state attrs
* oops
* stale name and docstring
2020-08-13 07:52:30 -04:00
Marcio Granzotto Rodrigues
52a9921ed3
Nightscout PR fixes ( #38737 )
...
* Don't allow duplicate nightscout configs
* Fix nightscout translations
* Remove unnecessary should_poll method
* Remove SVG attribute, as it was duplicating the state
* Use aiohttp client session from HA
* Move validate_input outside the config class
* Use the entry unique_id on the sensor
* Move create entity logic
* Handle unexpected exception on Nightscout config
2020-08-13 07:46:07 -04:00
David F. Mulcahey
86aa758ecd
Add binary sensor support to the Flo integration ( #38267 )
...
* update device
* add binary sensor
* updates post rebase
* fix entity type post rebase
* fix post rebase
* fix add entities
* fix name
* review comments
2020-08-13 07:26:47 -04:00
Charles Garwood
8cf0a01149
Add refresh_node_info command to OZW websocket api ( #38573 )
...
* Add ozw refresh_node_info websocket api
* Remove extra unsubs definition
* Remove unused bits from refresh_node_info websocket
* Add tests
* Add unsubscribe test
* Wait for response in unsubscribe test
2020-08-12 15:49:40 -04:00
Raman Gupta
fbf44b37a9
Simplify vizio unique ID check since only IP and device class are needed ( #37692 )
2020-08-12 16:50:36 +02:00
J. Nick Koston
444df4a7d2
Use the shared zeroconf instance when attempting to create another Zeroconf instance ( #38744 )
2020-08-12 16:08:33 +02:00
Greg Dowling and Martin Hjelmare
e9b50706a9
Add roon media player integration ( #37553 )
...
* Import roon code.
* Fix flake8/pylint issues.
* Fix lint issues, extend timeout, change contact infomation.
* Add new files to .coveragerc
* Make file executable.
* Fix problem with integration not working after initial creation.
* Improve logic unavailable players by caching data.
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update review suggestions
* Rremove custom play action script.
* Add test requirements.
* Tidy manifest.
* Missed fixes.
* Refactor config_flow to use current pattern.
* Add config_flow tests.
* Refactor to use signal dispatch helpers.
* Remove ToDo: for now.
* Remove remaining zone / source logic for initial release,
* Stop authenticate blocking, handle timeout.
* Removed unneeded code.
* Review comments update.
* Fix comment.
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Fix bug in seek.
* Use sync rather than async update
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Upgrade library, remove exception now caught in library,
* Review comments.
* Review changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Check for duplicate host before adding.
* Review comment.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Remove unused code, revise turn_on/turn_off.
* Sync translations.
* Make interim timeout const.
* Refactor tests.
* Add tests with an existing config entry.
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Remove CannotConnect
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-08-12 09:09:47 -04:00
cgtobi
f286992b10
Remove Netatmo HomeKit discovery method ( #38770 )
2020-08-12 08:41:11 +02:00
Franck Nijhof
5f95b5caaf
Fix lastest version in updater for Supervisor enabled installs ( #38773 )
...
* Fix lastest version in update for Supervisor enabled installs
* Fix updater tests
2020-08-12 08:00:38 +02:00
Tom Harris and J. Nick Koston
b1fd931cdc
Add config flow to insteon component ( #36467 )
...
* Squashed
* Fix requirements_all
* Update homeassistant/components/insteon/__init__.py
Only update options if the result is to create the entry.
Co-authored-by: J. Nick Koston <nick@koston.org >
* Update homeassistant/components/insteon/__init__.py
No return value needed.
Co-authored-by: J. Nick Koston <nick@koston.org >
* Ref RESULT_TYPE_CREATE_ENTRY correctly
* Return result back to import config process
* Make DOMAIN ref more clear
Co-authored-by: J. Nick Koston <nick@koston.org >
2020-08-11 18:04:44 -05:00
uvjustin and Jason Hunter
5355fcaba8
Add H.265 support to stream component ( #38125 )
...
* Add H.265 support to stream component
* Change find_box to generator
* Move fmp4 utilities to fmp4utils.py
* Add minimum segments and segment durations
* Remove MIN_SEGMENTS
* Fix when container_options is None
* Fix missing num_segments and update tests
* Remove unnecessary mock attribute
* Fix Segment construction in test_recorder_save
* fix recorder with lookback
Co-authored-by: Jason Hunter <hunterjm@gmail.com >
2020-08-11 17:12:41 -04:00
cc4ebc925c
Improve X-Forwarded-* request headers handling ( #38696 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Franck Nijhof <git@frenck.dev >
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch >
2020-08-11 22:57:50 +02:00
Phil Bruckner
192fe58fc8
Time trigger can also accept an input_datetime Entity ID ( #38698 )
2020-08-11 15:16:28 -05:00
Ziv and Martin Hjelmare
6a8378bec0
Add Dynalite service to request the channel level ( #38735 )
...
* added service to request the channel level
* cleanup
* Update homeassistant/components/dynalite/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/dynalite/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update services.yaml
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-08-11 18:33:16 +02:00
David F. Mulcahey
6a24667944
Update Flo config flow and associated tests ( #38722 )
2020-08-11 14:13:40 +02:00
David F. Mulcahey and Paulus Schoutsen
227d7c0a99
[RFC] Add Tag integration ( #38727 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-08-11 11:08:47 +02:00
Diogo Gomes
39843319e2
Update IPMA weather component ( #38697 )
...
* long overdue mismatch
* missing updated tests
2020-08-10 21:55:44 -05:00
Vaclav and Chris Talkington
8555e17eb9
Add hourly forecast to met.no ( #38700 )
...
* Add hourly forecast
* fix tests to assert for 2 entities created
* fix test to assert for 4 calls
* correct test tracking home number of calls
* fox tests
* fix test
* Apply suggestions from code review
* black
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
2020-08-10 20:22:39 -05:00
David F. Mulcahey
844b3f8d23
Make default duration 1/10th of a second for ZHA light calls ( #38739 )
...
* default duration to 1/10th of a second
* update test
2020-08-10 17:40:07 -04:00
Paulus Schoutsen
52729e9dc8
Add scan_tag webhook to mobile app ( #38721 )
2020-08-10 17:54:46 +02:00
Franck Nijhof
3d0ea42ac0
Add current device class to WLED current sensor ( #38687 )
2020-08-10 17:50:03 +02:00
Ziv and Martin Hjelmare
ff539f3f05
Add Dynalite current preset service ( #38689 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-08-10 16:30:59 +02:00
Jc2k
f82f815304
Add water level sensors provided by UK Environment Agency ( #31954 )
2020-08-10 15:51:04 +02:00
David F. Mulcahey
f1fd8aa51f
Add support for Flo by Moen water shutoff devices ( #38171 )
2020-08-10 14:19:38 +02:00
bsmappee and Martin Hjelmare
07de9deab6
Implement local discovery of Smappee legacy devices ( #37812 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-08-10 13:34:18 +02:00
J. Nick Koston
9bb7b3b125
Fix homekit_controller pairing retry when the first attempt is busy ( #38605 )
...
* Fix homekit_controller pairing retry
If the device was busy on the first pairing attempt, it
was not possible to retry.
* always restart pairing on recoverable execptions
* move code
* malformed pin is safe to restart
* make busy_error an abort
* switch max retries, simplify tests
* try pairing later
* try pairing later
* merge
* s/tlv_error/protocol_error/g
* Adjust wording
2020-08-09 22:17:13 -05:00
David F. Mulcahey
4e56339ba1
add event and device action for when devices drop ( #38701 )
2020-08-09 20:37:07 -04:00
Vaclav and Chris Talkington
b258e757c2
Add DataUpdateCoordinator to met integration ( #38405 )
...
* Add DataUpdateCoordinator to met integration
* isort
* redundant fetch_data
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* fix black, isort, flake8, hassfest, mypy
* remove unused async_setup method
* replace fetch_data by coordinator request_refresh
* remove redundant async_update
* track_home
* Apply suggestions from code review
* Apply suggestions from code review
* Update homeassistant/components/met/__init__.py
* Apply suggestions from code review
* Update homeassistant/components/met/__init__.py
* Apply suggestions from code review
* Update homeassistant/components/met/__init__.py
* Apply suggestions from code review
* Update test_config_flow.py
* Apply suggestions from code review
* Apply suggestions from code review
* Update __init__.py
* Create test_init.py
* Update homeassistant/components/met/__init__.py
* Update __init__.py
* Update __init__.py
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
2020-08-09 13:18:02 -05:00
Marcio Granzotto Rodrigues and Chris Talkington
761067559d
Add Nightscout integration ( #38615 )
...
* Implement NightScout sensor integration
* Add tests for NightScout integration
* Fix Nightscout captalization
* Change quality scale for Nightscout
* Trigger actions
* Add missing tests
* Fix stale comments
* Fix Nightscout manufacturer
* Add entry type service
* Change host to URL on nightscout config flow
* Add ConfigEntryNotReady exception to nighscout init
* Remote platform_schema from nightscout sensor
* Update homeassistant/components/nightscout/config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
2020-08-09 13:15:56 -05:00
On Freund and Chris Talkington
96d48c309f
Make CoolMasterNet integration async ( #38643 )
...
* make CoolMasteNet integration async
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
* Minor post-review tweaks
* Apply suggestions from code review
* Update homeassistant/components/coolmaster/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
2020-08-09 13:08:07 -05:00
Chris
597d1e2799
Add missing Short type to set_config_param ( #38618 )
...
* Add missing Short type to set_config_param
* Forgot to fix the for loop
* Remove leftover return
* Guard the for loop
* Changed from if to else
* Fixed list iteration for validating input
* Adjusted per linter
2020-08-09 19:05:26 +02:00
Maciej Bieniek and Chris Talkington
a7e19c8896
Improve tests for AccuWeather integration ( #38621 )
...
* Add more tests
* Add tests for sensor platform
* Add more tests
* More tests
* Simplify parsing of attributes
* Change Quality scale to platinum
* Patch the library in the manual update entity test
* Add unsupported condition icon test
* Do not patch _async_get_data
* Apply suggestions from code review
* Update config_flow.py
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/components/accuweather/test_weather.py
* Apply suggestions from code review
* Add return_value
Co-authored-by: Chris Talkington <chris@talkingtontech.com >
2020-08-09 09:21:36 -05:00
Franck Nijhof
20710d8605
Add current request context to get_url helper ( #38602 )
2020-08-09 14:07:31 +02:00