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
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
Devin
9d204613e8
Expose Twitch "Started At" attribute (#121265) 2024-07-05 22:33:04 +02:00
Joost Lekkerkerker
3d2ecd6a28
Refactor Twitch tests (#114330)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-05-27 10:09:12 +02:00