ktnrg45
48540fc21e
Ps4 reformat media data ( #25172 )
...
* 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 ( #25161 )
...
* 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
ktnrg45
b77d060304
PS4 move load_games and save_games helpers to init from media_player ( #25127 )
...
* Add constant for games_file
* move load and save games to init from media_player
* Move save and load games to init
* Missed arg
* missed arg
2019-07-13 20:11:19 +02:00
ktnrg45
bbe45cbd4b
Ps4 move send_command service to init ( #25094 )
...
* Move services from media_player
* Move services to init
* add COMMANDS to const
* change service handler to sync
2019-07-12 13:14:35 +02:00
ktnrg45
8951c80225
WIP Ps4 Convert entity to Async / Fix entity name changing ( #24101 )
...
* Convert ps4 to async
* Init client handler.
* Add PS4_DATA
* Move data class
* add handler
* add import
* Update __init__.py
* Change most functions to async
* bump 0.8.0
* bump 0.8.0
* bump 0.8.0
* Pylint
* whitespace
* Rewrite to use asyncio sockets.
* Remove unneeded log
* Add alias
* Update __init__.py
* Update config_flow.py
* Add alias
* Add search_all method
* Clean up
* whitespace
* change comment
* 0.8.2
* 0.8.2
* 0.8.2
* Pylint
* pylint
* faster updates
* Avoid scheduling update if state is the same.
* Better handling remove search all
2019-06-13 17:36:17 -07:00
ktnrg45
17a96c6d9b
Improve PS4 media art fetching and config flow ( #22167 )
...
* improved config flow
* Added errors, docs url
* Added errors, docs url
* Added manual config mode
* Add tests for manual/auto host input
* fix inline docs
* fix inline docs
* Changed region list
* Added deprecated region message
* removed DEFAULT_REGION
* Added close method
* Fixes
* Update const.py
* Update const.py
* Update const.py
* Update test_config_flow.py
* Added invalid pin errors
* Update strings.json
* Update strings.json
* bump pyps4 to 0.5.0
* Bump pyps4 0.5.0
* Bump pyps4 to 0.5.0
* test fixes
* pylint
* Change error reference
* remove pin messages
* remove pin messages
* Update en.json
* remove pin tests
* fix tests
* update vol
* Vol fix
* Update config_flow.py
* Add migration for v1 entry
* lint
* fixes
* typo
* fix
* Update config_flow.py
* Fix vol
* Executor job for io method.
* Update __init__.py
* blank line
* Update __init__.py
* Update tests/components/ps4/test_config_flow.py
Co-Authored-By: ktnrg45 <38207570+ktnrg45@users.noreply.github.com>
2019-03-25 08:25:15 -04:00
ktnrg45
72ef9670e6
Add component media player.ps4 ( #21074 )
...
* Added PS4/ __init__.py
* Create en.json
* Create config_flow.py
* Create const.py
* Create media_player.py
* Create services.yaml
* Create strings.json
* Create __init__.py
* Add test_config_flow.py/ Finished adding PS4 files
* Rewrote for loop into short-hand
* bumped pyps4 to 0.2.8
* Pass in helper()
* Rewrite func
* Fixed test
* Added import in init
* bump to 0.2.9
* bump to 0.3.0
* Removed line
* lint
* Add ps4 to flows list
* Added pyps4-homeassistant with script
* Added pyps4
* Added pypys4 to test
* removed list def
* reformatted service call dicts
* removed config from device class
* typo
* removed line
* reformatted .. format
* redefined property
* reformat load games func
* Add __init__ and media_player.py to coveragerc
* Fix for test
* remove init
* remove blank line
* remove mock_coro
* Revert "remove init"
This reverts commit b68996aa34699bf38781e153acdd597579e8131f.
* Correct permissions
* fixes
* fixes
2019-02-17 15:41:55 -05:00