Commit Graph
110 Commits
Author SHA1 Message Date
Shay Levy 90a0d5518d Handle default notify data in webostv (#66770) 2022-02-17 23:46:18 +01:00
Shay Levy e79348f952 Fix webostv notify service (#66760) 2022-02-17 20:13:09 +01:00
GitHub Action 855076fed9 [ci skip] Translation update 2022-02-17 00:14:03 +00:00
GitHub Action 208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
GitHub Action d69d0e8817 [ci skip] Translation update 2022-02-15 00:14:48 +00:00
Shay Levy 5c5bb4835e Enable assumed state in webostv media player (#66486) 2022-02-14 11:14:57 +01:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
Shay Levy fe077b6990 Use shorthand attributes in webostv (#66418) 2022-02-13 23:47:37 +02:00
Shay Levy 89b20b9133 Fix webostv restored supported features turn on (#66318)
* Fix webostv restored supported features turn on

* Remove ternary operator expression
2022-02-11 16:48:36 +02:00
GitHub Action bed5002d61 [ci skip] Translation update 2022-02-11 00:14:55 +00:00
GitHub Action fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
Pedro LamasandShay Levy ebbe1ff1a2 Cache webostv supported_features state (#65930)
* Cache webostv supported_features state

* Fixes typings

* Restore supported_features attribute on restart

* Reverts change on supported_features initial state

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Fixes tests

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-07 17:49:18 +02:00
Shay Levy 5999d08d72 Bump aiowebostv to 0.1.2 (#65267) 2022-01-31 00:04:00 +02:00
Shay Levy 9825111c8d Fix webostv live TV source missing when configuring sources (#65243) 2022-01-30 22:05:30 +01:00
Dave T 0acfc7bbab Align config flow type hints to scaffold (#65157) 2022-01-30 20:26:28 +01:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
Shay Levy caa5578134 Fix webostv configure sources when selected source is missing (#65195)
* Fix webostv configure sources when selected source is missing

* Add comment for filtering duplicates
2022-01-30 00:15:49 +01:00
GitHub Action 5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
J. Nick Koston 5b755b74fb Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Shay Levy a2f3c843f9 Mark webOS TV as a platinum quality integration (#64587) 2022-01-24 10:21:28 +01:00
Shay Levy eb48748038 Add webostv 100% tests coverage for init (#64801) 2022-01-24 09:27:24 +02:00
GitHub Action 7d31f570e2 [ci skip] Translation update 2022-01-24 00:13:45 +00:00
Shay Levy 94a89d520b Fix webostv sources import from YAML (#64768) 2022-01-23 18:23:29 +01:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
Shay Levy 9d39a38c16 Fix webostv media player (#64690)
* Fix webostv media player

* Revise service call error handling
2022-01-22 19:26:02 +02:00
GitHub Action 9098c71cd4 [ci skip] Translation update 2022-01-22 00:13:08 +00:00
Shay Levy 4ec4383639 Change webostv iot class to local push (#64593) 2022-01-21 01:30:06 +02:00
GitHub Action e9e9852e05 [ci skip] Translation update 2022-01-20 00:15:19 +00:00
Shay Levy 5da8d62f33 Add webostv YAML to config flow migration warning (#64450) 2022-01-19 21:00:54 +01:00
GitHub Action 04a2227f4b [ci skip] Translation update 2022-01-19 00:13:35 +00:00
Shay Levy de19483632 Fix webostv media next/previous services (#64355) 2022-01-18 12:09:26 +01:00
GitHub Action 8e14f2037c [ci skip] Translation update 2022-01-18 00:15:38 +00:00
Shay LevyandMartin Hjelmare 57bd8a7a4a Fix webostv YAML migration failure if the entity is removed (#64290)
* Fix webostv YAML migration failure if the entity is removed

* Update homeassistant/components/webostv/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* use new entity_id for unique_id update

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-17 19:38:19 +02:00
GitHub Action c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
Shay Levy 32d4f104ff Enable strict typing in webostv (#64193)
* Enable strict typing in webostv

Enable strict typing in webostv

* Apply review comments
2022-01-16 22:07:29 +01:00
GitHub Action 5b1acdf607 [ci skip] Translation update 2022-01-16 00:15:31 +00:00
Shay Levy c0b1d083b8 Use dataclass properties in webostv discovery (#64159) 2022-01-15 11:10:04 +01:00
GitHub Action b949199866 [ci skip] Translation update 2022-01-15 00:14:21 +00:00
Shay LevyandMartin Hjelmare dee843bf6e Add LG webOS Smart TV config flow support (#64117)
* Add webOS Smart TV config flow support (#53256)

* Add Webostv config flow

* Fix tests mocks and apply review comments

* Apply review comments

* Change config flow to use ssdp UDN as unique_id

* Fix device info

* More review comments

* Fix _async_check_configured_entry

* Remove turn on script

* Add webOS Smart TV device triggers (#53752)

* Add webOS Smart TV config flow support (#53256)

* Add Webostv config flow

* Fix tests mocks and apply review comments

* Apply review comments

* Change config flow to use ssdp UDN as unique_id

* Fix device info

* More review comments

* Fix _async_check_configured_entry

* Remove turn on script

* Add webOS Smart TV device triggers (#53752)

* Fix webOS Smart TV mypy and pylint errors (#62620)

* Change webOS Smart TV PyPi aiopylgtv package to bscpylgtv (#62633)

* Change webOS Smart TV PyPi aiopylgtv package to bscpylgtv

* Update bscpylgtv to 0.2.8 (revised websockets requirment)

* Change webOS Smart TV PyPi package to aiowebostv (#63759)

* Change webOS Smart TV PyPi package to aiowebostv

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* webOS TV check UUID for user added device (#63817)

* webOS TV check uuid when for user added device

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add test for form abort and host update

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Rework webOS Smart TV device trigger to custom trigger platform (#63950)

* Rework webOS Smart TV device trigger to custom trigger platform

* Review comments and add tests

* Fix webOS TV import from YAML (#63996)

* Fix webOS TV import from YAML

* Fix requirements

* Migrate YAML entities unique id to UUID

* Add backoff to migration task delay

* Assert result data and unique_id

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add codeowner

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 22:48:45 +01:00
epenet 24314f1b11 Use Platform enum in load_platform [m-z] (#63751) 2022-01-10 10:45:11 +01:00
epenetandepenet 1519aa202d Add media_player setup type hints [m-x] (#63298)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:09:34 +01:00
epenetandepenet e7b262f9e5 Add init type hints [v-z] (#63195)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:27:12 +01:00
epenetandepenet 05ac2d4c3a Ensure service calls are typed [v-z] (#62923)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 13:12:06 +01:00
Robert Hillis b4c9d1844e Use enums in webostv (#62000) 2021-12-16 09:20:52 +01:00
Michael 90e52cd3ad Use relative imports [S-Z] (#61576) 2021-12-13 09:39:13 +01:00
Marc Mueller f149bef9f3 Use assignment expressions 18 (#57967) 2021-10-18 18:36:35 +02:00
c9e1a03fe2 Remove webostv service description github link (#53502)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-09-30 13:03:38 +02:00
Marc Mueller 48bada5a18 Update pylint to 2.11.1 (#56364) 2021-09-18 13:52:59 +02:00
Milan Meulemans 3f6282eb7a Activate mypy for LG webOS Smart TV (#53958) 2021-08-04 19:31:24 +03:00