Maciej Bieniek
01a26f1348
Remove undo_listener variable in Sony Bravia TV integration ( #52033 )
2021-06-20 21:39:14 -07:00
Artem Draft
db61a773fd
Add remote control platform to BraviaTV ( #50845 )
2021-06-17 12:33:44 +02:00
GitHub Action
7615af35d8
[ci skip] Translation update
2021-06-07 00:18:16 +00:00
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
Franck Nijhof
fcdd8b11a6
Collection of changing entity properties to class attributes - 2 ( #51345 )
2021-06-01 12:43:55 -07:00
David Nielsen
636528dd2e
Update bravia-tv to 1.0.11 ( #50726 )
2021-05-17 09:37:13 +02:00
Franck Nijhof
d4d0b93d3b
Clean up connection classes in integrations A-C ( #49888 )
2021-04-30 21:01:52 -10:00
Maciej Bieniek
9588e0d35a
Fix `host_valid()` logic in BraviaTV config flow ( #49857 )
2021-04-29 16:09:59 +02:00
J. Nick Koston
51be2f860a
Reduce boilerplate to setup config entry platforms A-C ( #49681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
HomeAssistant Azure
93c68f8be6
[ci skip] Translation update
2021-04-13 00:04:04 +00:00
HomeAssistant Azure
a36712509b
[ci skip] Translation update
2021-04-10 00:03:44 +00:00
HomeAssistant Azure
a0483165da
[ci skip] Translation update
2021-04-01 00:03:55 +00:00
Franck Nijhof
8393a215e9
Clean up superfluous integration setup - part 1 ( #48476 )
2021-03-29 13:22:33 -10:00
HomeAssistant Azure
f625e324dd
[ci skip] Translation update
2021-03-18 00:07:07 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
HomeAssistant Azure
c6bd5b1b71
[ci skip] Translation update
2021-02-05 00:03:54 +00:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
HomeAssistant Azure
8e6108b9e1
[ci skip] Translation update
2020-12-03 00:04:35 +00:00
HomeAssistant Azure
fcd8684d40
[ci skip] Translation update
2020-11-24 00:04:19 +00:00
HomeAssistant Azure
9a21421807
[ci skip] Translation update
2020-11-15 00:03:48 +00:00
David Nielsen
11a9aa3956
Update bravia-tv to 1.0.8 ( #43069 )
2020-11-11 09:18:14 +01:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
b9d04b9304
[ci skip] Translation update
2020-10-30 00:02:45 +00:00
HomeAssistant Azure
026e0063fe
[ci skip] Translation update
2020-10-29 00:09:16 +00:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
HomeAssistant Azure
00847db54f
[ci skip] Translation update
2020-10-21 00:06:01 +00:00
HomeAssistant Azure
1a03bbda5a
[ci skip] Translation update
2020-10-18 00:03:28 +00:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
ba55cb8955
[ci skip] Translation update
2020-10-14 00:04:41 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
Maciej Bieniek
ca441a79aa
Add invalid_host to base strings for config flows ( #41381 )
2020-10-07 11:24:31 +02:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
springstan
014fe48096
Add pin to base strings for config flows ( #41202 )
2020-10-06 11:00:36 +02:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00:00
Maciej Bieniek
670404f43a
Use translation references for BraviaTV config flow ( #40955 )
2020-10-01 13:16:07 +02:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
David Nielsen
a08cb2ca9d
Fix braviatv authentication refresh ( #37482 )
...
- Bumps bravia-tv lib to 1.0.6 which fixes is_connected() to actually
return True only when API is connected, instead of just returning whether
or not cookies are cached (regardless if they actually worked).
- Wrap is_connected() because it now performs io.
- Remove unnecessary logic to refresh cookies. Now that
is_connected() works, the bravia instance only needs to be
reconnected when is_connected is False and TV is not off.
2020-07-05 12:02:45 +02:00
Robbie Trencheny
b859be8cea
Remove my codeownership over things I dont use anymore ( #37401 )
2020-07-03 09:41:23 +02:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
e39997ca10
[ci skip] Translation update
2020-06-23 00:09:06 +00:00
HomeAssistant Azure
140fd5adaf
[ci skip] Translation update
2020-06-09 00:05:22 +00:00
HomeAssistant Azure
81355a0e23
[ci skip] Translation update
2020-06-08 00:02:43 +00:00
HomeAssistant Azure
3bf389639b
[ci skip] Translation update
2020-06-07 00:03:28 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
HomeAssistant Azure
f8e48a9230
[ci skip] Translation update
2020-06-05 00:05:36 +00:00
HomeAssistant Azure
d488c779fc
[ci skip] Translation update
2020-06-01 00:03:28 +00:00
HomeAssistant Azure
f4a518edcc
[ci skip] Translation update
2020-05-30 00:03:23 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
Maciej Bieniek
751428fe2b
Catch NoIPControl exception ( #36088 )
2020-05-25 16:05:52 -04:00
HomeAssistant Azure
56efc341dd
[ci skip] Translation update
2020-05-23 00:02:41 +00:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Paulus Schoutsen
dd32324e01
Use config flow references for data ( #35529 )
2020-05-12 10:50:44 -07:00
David Nielsen
953adc105e
Upgrade bravia-tv backend to 1.0.4 ( #35393 )
2020-05-09 00:23:33 +02:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
David Nielsen
9b59ef4fc9
Update bravia-tv to 1.0.3 ( #35077 )
2020-05-02 21:21:57 +02:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
Maciej Bieniek
58bff0a183
Reload braviatv entry after options update ( #34576 )
...
* Reload entry after options update
* Undo update listener when unloading
2020-04-29 09:27:45 -05:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
HomeAssistant Azure
aa2bfbb541
[ci skip] Translation update
2020-04-27 00:02:20 +00:00
HomeAssistant Azure
90e0a1af8a
[ci skip] Translation update
2020-04-26 00:02:45 +00:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
HomeAssistant Azure
5f775c1427
[ci skip] Translation update
2020-04-25 00:08:30 +00:00
HomeAssistant Azure
46920e9be6
[ci skip] Translation update
2020-04-22 00:03:20 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
David Nielsen
08e74352ec
Update bravia-tv backend ( #34376 )
...
* bravia-tv version bump
* Fix Auth Cookies
- Fix authentication cookie expiration.
- Remove obsolete error handling (since bravia-tv==1.0.2)
- Remove obsolete mac address references. (since bravia-tv==1.0.2)
- Update tests.
* fix async_refresh_playing_info
* Improve code format
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Config_entry needs mac address for HA restart
This was mistakenly taken out. Home-Assistant needs to store mac address in
case restarted. TV needs to be on to acquire mac address. This is neccesary
to allow TV to be turned on by Home-Assistant after Home-Assistant is
restarted.
* Skip update() during state changes
It is best for performance to skip updates during state change because
bravia.turn_on() will commonly push async_update() beyond it's update
interval.
* update tests
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-21 16:46:12 +02:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
HomeAssistant Azure
d1b3ed717e
[ci skip] Translation update
2020-04-19 00:03:42 +00:00
HomeAssistant Azure
5007a9e702
[ci skip] Translation update
2020-04-18 00:04:07 +00:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
HomeAssistant Azure
0d8c75d9ce
[ci skip] Translation update
2020-04-16 00:04:36 +00:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
HomeAssistant Azure
55bec20b02
[ci skip] Translation update
2020-04-15 00:09:19 +00:00
Maciej Bieniek
6dc6f2d099
Add config flow for braviatv integration ( #33774 )
...
* Run scripts
* Improvement strings
* Fix FlowOptions update listener
* Update .ceveragerc
* Add tests
* Better strings
* Add test for OptionsFlow
* Run gen_requirements_all.py once again
* Fix pylint errors
* Log error when there is no bravia.conf file during import
* Improvement strings
* Use braviarc object from hass.data in options flow
* Use async_add_executor_job for IO
* Fix options flow test
* Fix tests
* Remove host_reachable method
* Remove dependencies
* Change setup_platform method to async
* Remove calling system_info
* Save mac in the config entry
* Fix get ignore sources
* Fix read config from file
* Remove the side effect from init
* Fix user_input for user step
* Switch OrderedDict to dict
* New config_entry instance for each test
* Revert change
* Patch async_setup_entry in test_import
* Change a way to create source list
* Consolidate repeated block of code
* Update tests
* Suggested change
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Suggested channge
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Suggested change
* Patch async_setup_entry
* Remove unnecesary if
* suggested change
* Suggested change
* Fix tests
* Fix pylint error
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-15 01:04:06 +02:00
springstan
21dfee831f
Clean up access to config in various integrations v3 ( #33842 )
2020-04-09 09:26:06 +02:00
springstan
e3bcfb88e7
Improve string formatting v4 ( #33668 )
...
* Improve string formatting v4
* Use normal strings instead of f-strings
* Fix zeroconf test by adding back part of a condition
2020-04-05 16:01:41 +02:00
Maciej Bieniek
b60527c986
Change the method of getting the mac address in the braviatv i… ( #33567 )
...
* Remove getmac library
* Fix error handling
* Change error handling method
2020-04-03 22:44:28 -07:00
Maciej Bieniek
c0315e32bd
Fix source name ( #33565 )
2020-04-03 16:10:14 +02:00
Maciej Bieniek
5c2bd8b743
Add unique ID propery to braviatv entity ( #33037 )
...
* Add unique_id property
* Use cid to generate unique_id
* Remove debug file
* Add _unique_id declaration
* Suggested change
* Remove unused self._id
2020-03-23 22:16:17 +01:00
David Nielsen
fc98faa425
Add Media Stop Support to BraviaTV Mediaplayer ( #32220 )
...
* Add media_stop to braviatv mediaplayer
* Fix typo in media_stop()
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-03-01 22:07:44 +01:00
dcnielsen90
9821047d75
Replace unmaintained BraviaRC backend with new fork: ( #31234 )
...
BraviaRC is currently unmaintained for home-assistant. This commit
swaps it out with a new fork of BraviaRC called python-bravia-tv.
This captures all bug fixes from BraviaRC release 3.7 (previously
linked backend) to right before BraviaRC breaks when used by home-assistant.
The intent of forking is to be able to continue supporting home-assistant.
This is not intended to be a one off solution; this new fork will have
future updates and be maintain as needed.
This initial commit of python-bravia-tv improves the import process,
however overall preserves the original API.
Other fixes include:
* Fix set-volume slider
* Better error handling
* Increase input options
Resolves : #26351 , #30964
See also: #12577 , #14843 , #17345 , #18245
2020-02-01 18:04:49 +01:00
Franck Nijhof
6f92c19302
Correct integration names in manifests (A-B) ( #30527 )
...
* Correct names in manifests (A-B)
* Just Baidu
* Asterisk Call Detail Records
2020-01-06 23:59:12 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
bouni
afbd966ba6
Move imports in braviatv component ( #27855 )
...
* Move imports in braviatv component
* import braviarc directly
* fixed import
* directly import BraviaRC
2019-11-16 10:25:25 +01:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Ville Skyttä
f1cbb2a0b3
braviatv, nmap_tracker: use getmac for getting MAC addresses ( #24628 )
...
* braviatv, nmap_tracker: use getmac for getting MAC addresses
Refs https://github.com/home-assistant/home-assistant/pull/24601
* Move getmac imports to top level
2019-06-20 23:35:02 +03:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
57f17707c6
Specify configurator as dependency ( #23030 )
2019-04-11 20:11:56 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00