Commit Graph

311 Commits (e7e48cd9f68f8523fe1630ff48078a820b5fbbf6)

Author SHA1 Message Date
epenet 7da9cac1f8
Log SamsungTV state changes (#71989) 2022-05-23 17:48:41 +02:00
Steven Looman 01c211a7f9
Bump async-upnp-client to 0.30.1 (#72332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-23 02:06:09 -05:00
GitHub Action 7df7e33d17 [ci skip] Translation update 2022-05-23 00:25:42 +00:00
Michael Chisholm dd0f9350ac
Update async-upnp-client to 0.30.0 (#72269) 2022-05-21 09:18:47 -05:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
epenet 349347cade
Cleanup unused import in SamsungTV (#72102) 2022-05-18 21:04:42 +03:00
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 8eb4a16a0f
Drop unnecessary async definitions in samsungtv (#72019)
* Drop unnecessary async definitions in samsungtv

* keep prefix
2022-05-18 08:01:28 +02:00
epenet d1d6c6b923
Cleanup SamsungTV log message (#71987) 2022-05-17 22:50:03 +03: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
Franck Nijhof 69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +02:00
Franck Nijhof cba2fda93d
Fix clear config entry from registry in Samsung TV migration (#72004)
* Fix clear config entry from device registry

* Fix clear config entry from entity registry
2022-05-17 14:13:21 +02:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
epenet db08c04da6
Only test for EncryptedBridge in Samsung J/H models (#71291) 2022-05-04 22:15:24 -07:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
J. Nick Koston 5224cf5968
Update async_upnp_client to 0.29.0 (#70604) 2022-04-25 09:53:35 -07:00
Steven Looman 776565c23f
Bump async-upnp-client to 0.28.0 (#70582) 2022-04-24 08:46:13 -10:00
Marc Mueller e407960f68
Update pylint to 2.13.5 (#69989) 2022-04-13 18:36:05 +02:00
epenet 2b69dffe57
Suppress UpnpResponseError in SamsungTV (#69984) 2022-04-13 18:20:44 +02: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
epenet 2ad096733a
Suppress Upnp parsing errors in SamsungTV (#69664) 2022-04-08 16:36:43 +03:00
epenet d5ab7e7525
Use EntityFeature enum in components (s** 1/2) (#69439) 2022-04-06 21:38:14 -10: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 ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
epenet 8fb645e1d7
Return cached device_info if refresh fails in SamsungTV (#68844) 2022-03-29 22:16:26 -10:00
epenet a5c729b724
Fix NoEntitySpecifiedError in SamsungTV (#68880) 2022-03-29 20:59:54 -10:00
epenet f053fc9167
Add code comment in SamsungTV (#68841) 2022-03-29 20:11:22 -10:00
epenet 4d59cb290c
Remove duplicate code in SamsungTV bridge (#68839) 2022-03-29 20:04:18 -10:00
epenet d4ab48a049
Optimise Upnp event handling in SamsungTV (#68828)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-28 22:55:05 -10: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
J. Nick Koston 8714beb5e7
Update iot_class for samsungtv (#68812)
#68777 Made volume updates local push, we should upgrade the iot class
2022-03-29 07:23:52 +02:00
J. Nick Koston 6110e7d194
Remove unneeded __repr__ in samsungtv logging (#68817)
* Remove unneeded __repr__ in samsungtv logging

* keep only the ones we need
2022-03-29 07:22:58 +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 3230ee88b6
Add OUI to SamsungTV (#68771)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-28 12:36:45 +02: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 11cdc3706c
Bump samsungtvws to 2.5.0 (#68542)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-22 21:29:00 -10: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
epenet 0adc7042dc
Make new_token_callback more generic in SamsungTV (#67990)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-17 09:24:00 -10:00
epenet d6f5f0c794
Bump samsungtvws to 2.4.0 (#68225)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-16 20:44:14 -10: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