Commit graph

23 commits

Author SHA1 Message Date
Jan Bouwhuis
f94167a4bb
Fix invalid oauth2_unauthorized translation ref (#103873)
* Fix invalids oauth2_unauthorized translation ref

* Fix oauth2_failed
2023-11-12 21:13:38 +01:00
Allen Porter
787fb3b954
Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Joost Lekkerkerker
ddbf85fc38
Abort YouTube configuration if user doesn't have subscriptions (#99140) 2023-08-29 09:36:27 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Joost Lekkerkerker
d233438e1a
Handle UpdateFailed for YouTube (#97233) 2023-07-26 15:09:15 +02:00
Joost Lekkerkerker
66bbe6865e
Bump youtubeaio to 1.1.5 (#97231) 2023-07-25 22:39:55 +02:00
Joost Lekkerkerker
04f6d1848b
Implement YouTube async library (#97072) 2023-07-25 10:18:20 +02:00
Joost Lekkerkerker
fb460d343e
Add upload date to Youtube state attributes (#96976) 2023-07-22 12:45:55 +02:00
Joost Lekkerkerker
33c2fc008a
Add diagnostics to YouTube (#96975) 2023-07-21 11:58:49 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joost Lekkerkerker
b86b41ebe5
Fix YouTube coordinator bug (#95492)
Fix coordinator bug
2023-06-28 21:43:42 -04:00
Joost Lekkerkerker
6a85e227db
Show all YouTube subscriptions in config flow (#94287) 2023-06-27 20:07:44 +02:00
Joost Lekkerkerker
492ed1b544
Remove superclass from YouTube (#95002) 2023-06-21 18:49:23 +02:00
Joost Lekkerkerker
9f83e4b2de
Make YouTube select lower quality thumbnails (#94652)
* Make YouTube select lower quality thumbnails

* Make YouTube select lower quality thumbnails

* Make YouTube select lower quality thumbnails

* Make YouTube select lower quality thumbnails

* Add tests

* Add tests

* Add tests

* Add tests

* Add tests
2023-06-17 21:59:06 -04:00
Joost Lekkerkerker
4eefbfd4f2
Add strings for YouTube reauthentication (#94655) 2023-06-16 09:10:55 +02:00
Joost Lekkerkerker
a8dd2d520a
Abort youtube configuration if user has no channel (#94402)
* Abort configuration if user has no channel

* Clean up

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-11 12:30:38 +02:00
Joost Lekkerkerker
efb92ca9ee
Show the sensor state using the coordinatordata instead of initial data (#94008)
* Show the sensor state using the coordinatordata instead of initial data

* Add test

* Remove part
2023-06-03 14:35:57 -04:00
Joost Lekkerkerker
a6b6b03f2e
Add video id to youtube sensor state attributes (#93668)
* Add video id to state attributes

* Make extra state attributes not optional

* Revert "Make extra state attributes not optional"

This reverts commit d2f9e936c8.
2023-06-01 11:46:59 +02:00
Joost Lekkerkerker
20d1a0fc77
Add Options flow to YouTube (#93667)
* Add Options flow to YouTube

* Add strings for options flow

* Add strings for options flow

* Add strings for options flow
2023-05-28 21:44:45 -04:00
Joost Lekkerkerker
68c646be40
Improve async youtube (#93685)
* Improve async youtube

* Improve async youtube
2023-05-28 08:48:43 -07:00
Joost Lekkerkerker
202c9071a4
Improve Youtube integration (#93683)
* Fix feedback

* Fix feedback
2023-05-28 10:52:30 +02:00
Joost Lekkerkerker
f3037d0b84
Add reauth flow to Youtube (#93670) 2023-05-27 20:29:18 -04:00
Joost Lekkerkerker
e4c51d43f0
Add YouTube integration (#92988)
* Add YouTube stub

* Add YouTube stub

* Add YouTube stub

* Add YouTube stub

* Add Youtube stub

* Add Youtube stub

* Add tests

* Add tests

* Add tests

* Clean up

* Add test for options flow

* Fix feedback

* Fix feedback

* Remove obsolete request

* Catch exceptions

* Parallelize latest video calls

* Apply suggestions from code review

Co-authored-by: Robert Hillis <tkdrob4390@yahoo.com>

* Add youtube to google brands

* Fix feedback

* Fix feedback

* Fix test

* Fix test

* Add unit test for http error

* Update homeassistant/components/youtube/coordinator.py

Co-authored-by: Robert Hillis <tkdrob4390@yahoo.com>

* Fix black

* Fix feedback

* Fix feedback

* Fix tests

---------

Co-authored-by: Robert Hillis <tkdrob4390@yahoo.com>
2023-05-27 11:21:12 -07:00