Chris Talkington
bb666b9ac6
Add config flow to directv ( #32162 )
...
* initial work on config flow.
* more work on config flow.
* work on config flow and add tests. other cleanup.
* cleanup tests.
* fix test.
* isort
* Update .coveragerc
* Update test_init.py
* Update test_init.py
* Update test_init.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* correct upnp serial format.
* improve config flow coverage.
* review tweaks.
* further review tweaks
* simplify dtv data gathering job
* lint
* black
* Update test_init.py
* Update test_init.py
* Simplify exception handling.
* Simplify exception handling.
* Update media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* fix failing test.
* restore change made during debug.
* isort.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-11 12:28:38 -07:00
Kit Klein
3435281bd1
Support Konnected Pro alarm panel, embrace async, leverage latest HA features/architecture ( #30894 )
...
* fix unique_id computation for switches
* update konnected component to use async, config entries, registries. Pro board support and tests
* clean up formatting comments from PR
* use standard interfaces in tests
* migrate config flow to use options
* address latest pr feedback
* format for import as part of config schema validation
* address pr feedback
* lint fix
* simplify check based on pr feedback
* clarify default schema validation
* fix other schema checks
* fix translations
Co-authored-by: Nate Clark <nate@nateclark.com>
2020-02-11 22:04:42 +01:00
escoand
4550968316
Samsung TV refinements ( #31248 )
...
* use st not deviceType
* show model in flow title
* Update strings.json
* add re-auth to entity
* add re-auth to config_flow
* handle auth popup better
* use media player domain const
* fix tests
* rename not_found to not_successful
* authz not authn
* Update media_player.py
* Update config_flow.py
* Update media_player.py
* Update test_media_player.py
* finalize re-auth
* fix ssd tests
* better naming
* fix ip-address-mock serialization
* fix turn_on_action serialization
* add type of hass object
* fix acces denied test
* remove half-added typing
* async get ip address
* fix pylint
2020-02-03 20:34:02 +01:00
Paulus Schoutsen
ab8b94382e
Update Hue discovery ( #31215 )
2020-01-27 10:54:38 -07:00
Paulus Schoutsen
1f9d6ba541
Update Hue SSDP discovery ( #30695 )
2020-01-13 05:30:07 -08:00
escoand
ef05aa2f39
Add Samsung TV config flow ( #28306 )
...
* add config flow
* add tests
* add user step error handling
* remove unload function
* add missing test file
* handle authentication correctly
* remove old discovery mode
* better handling of remote class
* optimized abort messages
* add already configured test for user flow
* Import order
* use ip property instead context
* Black
* small syntax
* use snake_case
* Revert "use ip property instead context"
This reverts commit 91502407eb216f8a0b1b90e3e6fb165b81406f8f.
* disable wrong pylint errors
* disable wrong no-member
* Try to fix review comments
* Try to fix review comments
* Fix missing self
* Fix ip checks
* methods to functions
* simplify user check
* remove user errors
* use async_setup for config
* fix after rebase
* import config to user config flow
* patch all samsungctl
* fix after rebase
* fix notes
* remove unused variable
* ignore old setup function
* fix after merge
* pass configuration to import step
* isort
* fix recursion
* remove timeout config
* add turn on action (dry without testing)
* use upstream checks
* cleanup
* minor
* correctly await async method
* ignore unused import
* async call send_key
* Revert "async call send_key"
This reverts commit f37057819f
.
* fix comments
* fix timeout test
* test turn on action
* Update media_player.py
* Update test_media_player.py
* Update test_media_player.py
* use async executor
* use newer ssdp data
* update manually configured with ssdp data
* dont setup component directly
* ensure list
* check updated device info
* Update config_flow.py
* Update __init__.py
* fix duplicate check
* simplified unique check
* move method detection to config_flow
* move unique test to init
* fix after real world test
* optimize config_validation
* update device_info on ssdp discovery
* cleaner update listener
* fix lint
* fix method signature
* add note for manual config to confirm message
* fix turn_on_action
* pass script
* patch delay
* remove device info update
2020-01-10 03:19:10 +01:00
Ville Skyttä
6a7b5657ac
Support Huawei LTE SSDP discovery ( #28214 )
...
* Support Huawei LTE SSDP discovery
* Avoid KeyError on simultaneous user initiated flow
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Format code
* Add already configured check
* Initialize context in test flows
* Move deviceType match to manifest
* Update generated.ssdp
* Add SSDP config flow test case
* Remove stale debug print from tests
2019-11-04 19:56:49 +02:00
Ville Skyttä
1679ec3245
SSDP matching improvements ( #28285 )
...
* SSDP matching improvements
- support multiple match groups per domain
- require matches on all, not any item in a group
- support matching on all UPnP device description data
* Manifest structure fixes
2019-11-02 12:30:09 -07:00
Paulus Schoutsen
7d71976e01
Do not complain about automatic generated files ( #26540 )
...
* Do not complain about automatic generated files
* Update generated files
2019-09-09 12:01:49 -07:00
Paulus Schoutsen
08591dae0e
Migrate Sonos discovery to manifest ( #24507 )
2019-06-13 11:09:07 -07:00
Paulus Schoutsen
f54ad26630
Migrate HEOS discovery to manifest ( #24508 )
...
* Migrate HEOS discovery to manifest
* Fix tests
2019-06-12 16:08:08 -07:00
Paulus Schoutsen
4c88578371
Add a discovery config flow to Wemo ( #24208 )
2019-06-03 10:06:53 -07:00
Robert Svensson
449a7d3fd5
deCONZ migrate to SSDP discovery ( #24252 )
...
* Migrate deCONZ to use new SSDP discovery
Add new discovery info manufacturer URL to be able to separate Hue and deCONZ bridges
* Mark deCONZ as migrated in Discovery component
* Fix tests
* Fix Hue discovery ignore deCONZ bridge
* Less snake more badger
* Mushroom
* Fix indentation
* Config flow ignore manufacturer url that is not philips
2019-06-03 09:26:01 -07:00
Franck Nijhof
7692cffdbe
✏️ Corrects incorrect command in hassfest ( #24188 )
2019-05-30 09:41:30 -07:00
Paulus Schoutsen
9debbfb1a8
Add SSDP integration ( #24090 )
...
* Add SSDP integration
* Fix tests
* Sort all the things
* Add netdisco to test requirements
2019-05-26 19:48:27 -07:00