epenet
8f7f3f328e
Suppress Upnp error in SamsungTV resubscribe ( #71925 )
...
* Suppress Upnp error in SamsungTV resubscribe
* Supress UpnpCommunicationError instead
* Log resubscribe errors
* Add tests
* Add exc_info
2022-05-18 10:01:56 -07:00
epenet
8d57f70466
Ignore UpnpXmlContentError in SamsungTV ( #72056 )
2022-05-18 09:36:20 +02:00
epenet
afe2b71b2e
Update model info from SSDP in SamsungTV ( #71992 )
...
* Update model info from SSDP in SamsungTV
* Add tests
2022-05-17 22:49:19 +03:00
epenet
db08c04da6
Only test for EncryptedBridge in Samsung J/H models ( #71291 )
2022-05-04 22:15:24 -07:00
epenet
d8d1e98d4e
Fix unique id in SamsungTV config flow ( #69899 )
...
* Fix unique id in SamsungTV config flow
* coverage
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-11 23:37:05 -10:00
epenet
071ef6c74f
Fix upnp subscription in SamsungTV ( #69652 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-08 23:05:00 -07:00
J. Nick Koston
4b5033d08f
Abort samsungtv discovery of legacy devices when unique id not available ( #69376 )
2022-04-05 16:38:55 -07:00
epenet
2bb42f48aa
Add CONF_MODEL to core constants ( #68806 )
...
* Add CONF_MODEL to core constants
* Use CONF_MODEL in SamsungTV
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 10:01:10 +02:00
epenet
8eb2e131e5
Use DmrDevice to communicate with SamsungTV ( #68777 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-28 12:23:38 -10:00
epenet
de130d3b28
Update REST api mocking in SamsungTV ( #68172 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-28 09:04:19 -10:00
J. Nick Koston
6cec53bea1
Add support for finding the samsungtv MainTvAgent service location ( #68763 )
2022-03-27 22:01:07 -10:00
epenet
c024033dae
Add Upnp volume control/status to SamsungTV ( #68663 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-27 12:27:24 -10:00
J. Nick Koston
b5496441ae
Use new samsungtv exception to detect when reauth is needed ( #68762 )
2022-03-27 12:12:32 -10:00
J. Nick Koston
cc75cebfc5
Add support for setting up encrypted samsung tvs from config flow ( #68717 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-27 10:30:45 -10:00
epenet
b13e14b80c
Add command support to SamsungTV H/J models ( #68301 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-24 07:58:58 -10:00
epenet
9ba0475644
Use callback to get app_list in SamsungTV ( #68506 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-23 11:12:12 -10:00
epenet
df6cc94b25
Cleanup SamsungTV following dependency bump ( #68562 )
...
* send_command -> send_commands
* Remove TODO
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-23 20:35:58 +02:00
epenet
87378016c1
Add basic support for SamsungTV encrypted models ( #68500 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-22 00:11:41 -10:00
Paulus Schoutsen
8bbbd1947d
Raise if referenced entity does not support service ( #68394 )
2022-03-20 16:01:58 -07:00
epenet
125ab5eb2b
Handle ConnectionClosed in SamsungTV try_connect ( #68125 )
...
* Handle ConnectionClosed in SamsungTV try_connect
* Add tests
* Add quotes around the error message
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-15 08:20:24 +01:00
epenet
23b8229143
Adjust ms.remote.control error logging in SamsungTV ( #67988 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-12 01:20:04 -10:00
epenet
9ab56bd5c8
Allow discovery to update invalid unique_id in SamsungTV ( #67859 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 22:27:53 +01:00
epenet
d12118a425
Fix reauth trigger in SamsungTV ( #67850 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 11:02:00 +01:00
epenet
36049ac514
Batch send commands in SamsungTV ( #67847 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 10:10:17 +01:00
epenet
6f38eda114
Adjust power_off for TheFrame in SamsungTV ( #67841 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:20:58 +01:00
epenet
5b23b9a617
Adjust get_mac routine in SamsungTV ( #67804 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:54:12 +01:00
epenet
2d4ccddd99
Fix SSDP unique id in SamsungTV config flow ( #67811 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 07:53:59 +01:00
epenet
1793c29fac
Move key sequences to bridge in SamsungTV ( #67762 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:46:34 +01:00
epenet
c70bed86ff
Adjust websocket bridge logging in SamsungTV ( #67809 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-07 23:31:57 +01:00
epenet
c5f7e7d1b0
Refactor run app in SamsungTV ( #67616 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-04 14:37:27 -10:00
epenet
9db3e321e4
Add message for unsupported models in samsungtv ( #67549 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-04 12:06:15 -10:00
epenet
8e3b0f6554
Cleanup mac fixtures in samsungtv tests ( #67529 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 08:07:08 -10:00
epenet
74483d2669
Fix Samsung TV state when the device is turned off ( #67541 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 08:06:33 -10:00
epenet
b8861578ff
Implement async websocket in samsungtv ( #67127 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-02 09:30:33 -10:00
epenet
1556868d56
Use async rest api in SamsungTV ( #67369 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-28 09:53:42 -10:00
epenet
715d7f70f0
Adjust SamsungTV abstraction layer ( #67216 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-25 17:15:45 +01:00
epenet
a60c37cdb8
Expose Samsung wrapper as async ( #67042 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-22 08:31:16 -10:00
epenet
3aa18ea5d8
Add installed apps to samsungtv sources ( #66752 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-18 13:33:49 -08:00
epenet
8bf19655f1
Fix samsung mocks ( #66765 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 13:04:48 -08:00
epenet
6d0a06c57a
Add type hints in samsungtv tests ( #66632 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 12:47:58 -08:00
epenet
a9aefb66b5
Add device info to samsungtv diagnostics ( #66728 )
...
* Add device-info to samsungtv diagnostics
* Adjust tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 12:35:02 +01:00
epenet
2687f61428
Fix slow samsungtv test ( #66696 )
2022-02-16 16:04:50 -06:00
epenet
0138caa277
Fix side_effect patching in samsungtv tests ( #66651 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 12:40:11 -08:00
epenet
2d33e435b9
Fix token refresh in samsungtv ( #66533 )
2022-02-16 12:28:01 -08:00
epenet
14e48bac3a
Fix SamsungTVWS mocking in samsungtv tests ( #66650 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 12:13:11 -08:00
epenet
cf5652737a
Cleanup samsungtv tests ( #66570 )
...
* Drop unused init method
* Add type hints to media_player tests
* Adjust test_init
* Adjust media_player
* Add type hints to conftest
* Use Mock in test_media_player
* Use lowercase in test_init
* Use relative import in diagnostics
* Add type hints to config_flow
* Adjust coveragerc
* Make gethostbyname autouse
* Cleanup gethostbyname and remote fixtures
* Drop unused fixtures
* Undo type hints and usefixtures on media_player
* Undo type hints and usefixtures in test_init
* Undo type hints in conftest
* Undo usefixtures in test_config_flow
* Format
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 09:29:52 +01:00
epenet
52ebe58b14
Add tests for samsungtv diagnostics ( #66563 )
...
* Add tests for samsungtv diagnostics
* Adjust coveragerc
* Adjust type hints
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-15 16:24:13 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Franck Nijhof
4732e37005
Remove passing loop into sleep in SamsungTV ( #66030 )
2022-02-07 20:08:54 +01:00
Robert Hillis
3bd1f00b76
Use enums in samsungtv tests ( #62195 )
...
* Use enums in samsungtv tests
* uno mas
2021-12-17 16:26:53 +01:00