Marc Mueller
f149bef9f3
Use assignment expressions 18 ( #57967 )
2021-10-18 18:36:35 +02:00
Marko Korhonen
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
Marc Mueller
10bfc78365
Fix missing encoding with open() ( #53593 )
...
* Fix missing encoding with open()
* Fix tests
* Improve open - frontend
2021-07-28 09:41:45 +02:00
Shay Levy
68bf6194e1
Add myself to webOS TV codeowners ( #53428 )
2021-07-24 21:45:24 +02:00
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ( #52972 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Franck Nijhof
f17a5f0db9
Clean up redudant exceptions from handlers ( #51741 )
2021-06-11 13:29:50 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
tkdrob
ee58f6105e
Add selectors to webostv services ( #50239 )
2021-05-09 21:45:24 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Franck Nijhof
8a56dbf587
Add flake8 comprehensions checks to pre-commit & CI ( #48111 )
2021-03-19 13:41:09 +01:00
corneyl
6fb0e49335
Upgraded aiopylgtv to v0.4.0 ( #47014 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-17 20:59:48 -07:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +01:00
tkdrob
3baeed3684
Clean up constants ( #47323 )
2021-03-05 19:08:04 +01:00
springstan
92379ad8d2
Use list literal without using dict.keys() ( #42573 )
2020-10-30 09:19:13 -05:00
springstan
61d9067a49
Return empty dictionary at first for attributes ( #41348 )
2020-10-06 18:08:53 +02:00
springstan
513f03eb1f
Return attribute dict directly without temporary variable v2 ( #41271 )
2020-10-06 16:55:16 +02:00
Pedro Lamas
d5741a5ba4
Fix webostv supported features for "external_speaker" sound output ( #40435 )
2020-09-22 10:49:44 +02:00
Bas Nijholt
50b727ba83
Add PLAY and PAUSE to webos button service description ( #40353 )
2020-09-22 09:32:09 +02:00
Bas Nijholt
36a1877cbd
Add missing MENU option for webos.button service ( #39746 )
...
See all button options at https://github.com/bendavid/aiopylgtv/blob/master/aiopylgtv/buttons.py .
2020-09-07 19:24:06 +02:00
Paulus Schoutsen
05d54a60b0
Deprecate optional script context ( #39034 )
...
Co-authored-by: Phil Bruckner <pnbruckner@gmail.com>
2020-08-21 14:17:47 +02:00
Phil Bruckner
716fa63e73
Update script helper constructor parameters ( #38763 )
...
Add domain and make it and name required.
Add optional running_description.
2020-08-12 11:39:05 -05:00
A C++ MaNong
5b234b80e8
Keep webostv source list when TV is off ( #38250 )
...
* keep source list when TV is off
* remove source_list reset as the method ends here
2020-08-05 11:01:12 +02:00
Damien Levin
78225c9ddd
Set webostv scan interval to 10s for quick updates ( #35795 )
...
Co-authored-by: damien.levin@gmail.com <damienlevin@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-06-22 13:08:02 +02:00
David Zhu
6f4829c390
Add webostv payload option to command service ( #36164 )
...
* added optional argument to command service
* Fixed crash when optional argument is not provided
* Updated argument description
* fixed lint error
* Fix isort error
* switched to use dict for optional field instead of json string
* switched to use ATTR_PAYLOAD
* fixed test
* actually fixed test
2020-05-27 15:51:39 +02:00
jjlawren
1e00fc2af7
Change unique_id for webostv ( #34979 )
...
* Revert #34656
* Use pairing key as unique_id
2020-05-11 11:09:16 +02:00
jjlawren
f3c6f665af
Reduce log level for WebOS connection error ( #34904 )
2020-04-30 00:10:02 -07:00
Joakim Sørensen
5760fb94fe
Add retry at startup ( #34656 )
2020-04-25 15:40:44 -07:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
Aidan Timson
18478ebd05
Improve LG webosTV ( #34147 )
...
* Move consts to const, general cleanup
* Add unique id
* Add default icon
* Set supported features based on sound output
* Update homeassistant/components/webostv/media_player.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Set device class
* Add software_info to client mock
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-14 20:26:13 +02:00
Franck Nijhof
24840b54ac
Add yamllint (in pre-commit and CI) ( #33676 )
...
* Add yamllint (in pre-commit and CI)
* Fix linting for all YAML files
* Bump and add it to requirements
* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Josh Bendavid
eee1ca9211
update aiopylgtv to 0.3.3 ( #31545 )
2020-02-06 10:00:54 -08:00
Paulus Schoutsen
f41623ca64
Log warning when entities referenced in service call not found ( #31427 )
...
* Raise entities not found error
* Make it a warning, not an error
* Add support for MATCH_ENTITY_NONE
* Fix lint
* Fix tests
2020-02-04 14:42:07 -08:00
Josh Bendavid
96ede54a1b
always call set_volume with integer values ( #31418 )
2020-02-02 14:50:30 -08:00
starkillerOG
1278f32306
Add webostv sound_output capability ( #31121 )
...
* Webostv: add sound_output capability
Add the ability to read and set the sound_output
* Webostv: add sound_output capability
* Webostv: add sound_output capability
* fix blank spaces
* fix to long line
* add ,
* Import ATTR_SOUND_OUTPUT
Do not have the ability to test this change right now
* Add white space
* Create const.py
* Use const import
* Use import from const.py
* Add docstring
* Change order
* Change order
* Fix import
* Fix import
* Fix typo
* Change order again
* Change order again
* Change order of attributes
2020-01-27 10:40:48 +01:00
Josh Bendavid
6f1c45257a
Fix state handling for older webos versions ( #31099 )
...
* fix state handling for older webos versions
* update aiopylgtv to 0.3.2
2020-01-25 13:24:21 -05:00
Josh Bendavid
fae74f7ed7
Improve state tracking for WebOsTV ( #31042 )
...
* upgrade to aiopylgtv 0.3.0 and corresponding simplification and cleanup of webostv state tracking
* properly handle case where Live TV is not reported in list of apps
* fix tests (entity state is no longer linked to source id)
* fix pylint checks
* avoid unnecessary retrieval of channel list
* use only standard home assistant states
2020-01-22 19:06:08 +01:00
Josh Bendavid
a634e62dfc
Minor fixes for webostv ( #30998 )
...
* restore emulation of play pause toggle
* add protection to notify setup
* add state check for power off to avoid switching tv back on
2020-01-20 10:43:20 +01:00
Josh Bendavid
d1da653e62
Fix play_media in webostv ( #30828 )
2020-01-16 12:30:55 +01:00
Josh Bendavid
5393300086
update to aiopylgtv 0.2.7 ( #30797 )
2020-01-15 10:48:30 -08:00
Josh Bendavid
f639a8fbaa
update aiopylgtv to 0.2.6 ( #30739 )
2020-01-13 13:11:06 -05:00
Josh Bendavid
c798413971
update aiopylgtv to 0.2.5 ( #30702 )
2020-01-12 17:55:11 +01:00
Franck Nijhof
b4d6d238e5
Correct names in manifests (T-Z) ( #30546 )
2020-01-07 14:31:18 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Josh Bendavid
4c6e10a988
Cleanup of state handling in webostv ( #30416 )
...
* cleanup unnecessary manipulation of state variables
* update unit test
2020-01-03 02:46:32 +01:00
Josh Bendavid
c1936f6fe4
Add generic command/button functionality to webostv ( #30379 )
...
* add generic command/button functionality to webostv
* update codeowners
2020-01-02 22:32:56 +01:00