J. Nick Koston
5695710463
Add mac address to samsungtv config entry data if missing ( #51634 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-24 08:15:16 -10:00
Simone Chemelli
b9a0fb93eb
Add samsungtv dhcp and zeroconf discovery ( #48022 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-22 10:41:18 -05:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
escoand
f9a0b4b3cf
Fix legacy Samsung TV ( #32719 )
...
* Update bridge.py
* Update test_init.py
2020-03-12 10:29:11 +01:00
Paolo Tuninetto
a8758ed3a1
Add support for newer SamsungTV models ( #31537 )
...
* Added support for newer SamsungTV models
* Fixed legacy port
* store token in HA config directory
* Change token name
* rebasing and exception handling
* implement update
* fix error creating mediaplayer
* Debug logging
* Increase timeout
* Restore update timeout
* Store token_file path in config_entry
* Introduction of samsung bridge class
* Added bridge class functions
* Code cleanup
* more fixes
* Begin testing
* samsungtvws 1.2.0
* Config flow tests 0.1
* Fixed some mediaplayer tests
* Fixed fixture in media player
* use of constants and turn off
* more media player tests
* samsungtvws 1.3.1 and other fixes
* WS tv update rewritten
* more tests
* test_init
* fixed tests
* removed reset mock
* tests reset mock
* close_remote and tests
* deprecate port config
* deprecate port config 2
* deprecate port config 3
* save token only if needed
* cleanup
* better websocket protocol detection
* config removal
2020-03-10 11:48:09 +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
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