Change unique_id for webostv (#34979)

* Revert #34656

* Use pairing key as unique_id
This commit is contained in:
jjlawren
2020-05-11 11:09:16 +02:00
committed by GitHub
parent d072091926
commit 1e00fc2af7
3 changed files with 10 additions and 26 deletions
@@ -41,8 +41,8 @@ def client_fixture():
"homeassistant.components.webostv.WebOsClient", autospec=True
) as mock_client_class:
client = mock_client_class.return_value
client.connection = True
client.software_info = {"device_id": "a1:b1:c1:d1:e1:f1"}
client.client_key = "0123456789"
yield client