Commit graph

13 commits

Author SHA1 Message Date
Joakim Sørensen
7ff14b47a8
Use whoami for location lookup () 2021-05-22 20:34:48 -07:00
Franck Nijhof
177317a345
Allow passing options in config flow entry creation () 2021-05-05 22:14:01 -07:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 () 2021-04-09 09:58:27 -07:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Boris Kaplounovsky
2f6ffe7068
Fix json overwriting if you have >1 PS4 connected () 2020-06-02 17:55:55 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Paulus Schoutsen
9a4a83cb91
Fix py38 tests () 2020-04-24 15:09:45 -07:00
Franck Nijhof
d7e9959442
String formatting improvements for tests (2) () 2020-04-05 00:33:07 +02:00
Bas Nijholt
21816eeed4 Sort imports according to PEP8 for components starting with "P" () 2019-12-09 14:29:39 +01:00
Robert Svensson
a2589f56e1 Add system options to config entries ()
* Add system options to config entries

* For feedback

* Follow most of balloobs comments

* Fix balloobs comments

* Improvements

* Fix second round of Balloobs comments

* Fix third round

* Add system options to mock config entry

* Fix integration tests

* Fix the last failing tests

* Fix disabled string

* Fix failing disabled_by tests

* New tests

* Config entry WS API tests

* Fix comments
2019-08-17 21:34:11 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
ktnrg45
48540fc21e Ps4 reformat media data ()
* Reformat saved media data/ fix load + save helpers

* Add url constant

* Reformat saved media data

* Add tests for media data

* Refactor

* Revert deleted lines

* Set attrs after checking for lock

* Patch load games.

* remove unneeded imports

* fix tests

* Correct condition

* Handle errors with loading games

* Correct condition

* Fix select source

* add test

* Remove unneeded vars

* line break

* cleanup loading json

* remove test

* move check for dict

* Set games to {}
2019-07-20 07:36:45 +02:00
ktnrg45
99c6c60bec PS4 Add tests for init ()
* Add some tests for init

* Remove init

* Add config entry version

* Use const for version

* Remove var
2019-07-15 08:47:47 -07:00