Commit graph

5 commits

Author SHA1 Message Date
Jason Parker
bf63b0993d
Reduce the number of API calls in Twitch integration (#128996) 2024-10-24 19:51:19 +02:00
Jason Parker
8253cfd21d
Remove deprecated channel views attribute from Twitch (#129008) 2024-10-23 16:27:19 +02:00
Jason Parker
d21b8166f0
Add subscription tier attribute to Twitch integration. (#128870)
* Add subscription tier to Twitch integration.

* Add test for Twitch tiers.  Tests do not currently pass, so this is only theoretical.

* Fix variable type

* Show tier levels as 1,2,3 instead of the raw API values of 1000,2000,3000.

* Make Twitch subscription tier fixtures strings.

* Use proper assertion value for subscription tier test.

Edited on a bus on my phone. 😎

* Update homeassistant/components/twitch/coordinator.py

* Update tests/components/twitch/test_sensor.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 21:54:10 +02:00
LunaBytesBack
711c448242
Add Twitch stream viewer as readable data for integration (#128787) 2024-10-20 16:07:43 +02:00
Joost Lekkerkerker
061ece55f3
Add coordinator to Twitch (#127724) 2024-10-19 10:59:37 +02:00