Commit Graph

336 Commits (9c3b40dad116bccc349b19f50c024b85590e33d2)

Author SHA1 Message Date
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
epenet 86b775e46a
Use generic SamsungTVBridge for SamsungTV type hints (#67942)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-10 07:48:30 -06:00
escoand 3dc100e816
Removing myself from Samsung TV codeowners (#67903) 2022-03-09 14:42:00 +01: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 6da38d67ff
Simplify SSDP discovery in SamsungTV (#67843)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:54:03 +01:00
epenet e1b57d83c7
Adjust config entry matching in SamsungTV (#67842)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:30:11 +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 d1ef92c17a
Bump samsungtvws to 2.3.0 (#67821)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-07 23:30:54 +01:00
epenet 68f932f6c3
Bump samsungtvws to 2.2.0 (#67771) 2022-03-07 12:15:49 +02: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 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 26f2388fa1
Adjust error handling scope in samsungtv (#66692)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-02 20:52:11 +01: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 b245ba6d57
Bump samsungtvws to v2.1.0 (#67483)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-02 10:09:06 -08:00
epenet b613008eda
Cleanup samsungtv bridge (#67424)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-01 09:05:51 -10:00
epenet 418808d873
Cleanup search for mac in samsungtv (#67374)
* Add logging on config_entry update

* Add search for mac

* Use info

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-01 19:21:40 +02: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 1cca317294
Bump samsungtvws to 2.0.0 (#67351) 2022-02-27 15:29:31 -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
J. Nick Koston 9950e543df
Add newly discovered samsungtv OUI (#67059) 2022-02-22 20:15:35 +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
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
epenet 39c1209e1c
Bump samsungtvws to 1.7.0 (#66978)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-21 12:42:54 +01:00
epenet 3b146d8e9b
Use hass.add_job in samsungtv (#66976)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-21 09:11:29 +01:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00: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 92ce255293
Ensure new samsungtv token is updated in the config_entry (#66731)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-17 12:49:01 -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 2d33e435b9
Fix token refresh in samsungtv (#66533) 2022-02-16 12:28:01 -08:00
epenet 3b87c01af9
Fix try_connect in samsungtv (#66653)
* Fix try_connect in samsungtv

* Use try...else

* Adjust try...else

* Undo try...else

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 16:17:11 +01:00
epenet 0911eb1fba
Add epenet to samsungtv codeowners (#66654)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 16:12:07 +01:00
J. Nick Koston 470936a63a
Enable dhcp flows for samsungtv registered devices (#66589) 2022-02-16 13:01:44 +01:00
Franck Nijhof 4732e37005
Remove passing loop into sleep in SamsungTV (#66030) 2022-02-07 20:08:54 +01:00
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
Simone Chemelli 86079375b9
Add diagnostics for SamsungTV (#65342) 2022-01-31 16:10:55 -08:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
Simone Chemelli 36427fe76c
Fix excepton for SamsungTV getting device info (#65151) 2022-01-28 23:57:12 +02:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action 2aaca346bd [ci skip] Translation update 2022-01-25 00:14:30 +00:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
Marc Mueller 40262c4763
Fix exception import locations (#63454) 2022-01-05 15:00:49 +01:00
J. Nick Koston 615872a5d1
Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
Robert Hillis 395fa6d15f
Use enums in samsung_tv (#62047) 2021-12-16 14:57:06 +01:00
Michael 90e52cd3ad
Use relative imports [S-Z] (#61576) 2021-12-13 09:39:13 +01:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
Marc Mueller f7193400d4
Use platform enum (6) [S] (#60944) 2021-12-04 13:43:48 +01:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
epenet fc3c9b1b4e
Use dataclass properties in samsungtv discovery (#60595)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:42:42 -10:00
epenet cbab0ba9c0
Drop base ATTR constants in zeroconf (#60561)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
epenet ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
GitHub Action 2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
GitHub Action 78b47019f9 [ci skip] Translation update 2021-11-26 00:12:49 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
J. Nick Koston be94ce42a5
Prevent get_mac_address from blocking event loop in samsungtv config flow (#60246) 2021-11-24 03:16:09 +01:00
Michael 027577805e
Use attribute shortcuts in Samsung TV integration (#60171)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-23 23:15:05 +01:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
epenet 476a59d248
Adjust async_step_dhcp signature for strict typing (#59751)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 12:19:50 +01:00
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
GitHub Action f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
GitHub Action 34bc1298aa [ci skip] Translation update 2021-11-11 00:15:23 +00:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
GitHub Action a989fd2e66 [ci skip] Translation update 2021-11-09 00:15:20 +00:00