Commit Graph

91 Commits (b35fbd8d20312d33a9599ec691ccd359fab0016f)

Author SHA1 Message Date
Joost Lekkerkerker ee66f6ec8c
Use is in enum comparison in config flow tests P-T (#114675) 2024-04-02 11:21:50 -10:00
Marc Mueller 1dbc94162d
Update byte string formatting (2) (#114039) 2024-03-23 00:22:15 +01:00
Joost Lekkerkerker b34302e51b
Add icon translations to Roku (#112214)
* Add icon translations to Roku

* Add icon translations to Roku

* Fix

* Fix
2024-03-13 19:06:16 +01:00
Marc Mueller aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller 32f3f46542
Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
Marc Mueller 7d6251ca08
Add empty line after module docstring [tests q-s] (#112711) 2024-03-08 14:47:22 +01:00
J. Nick Koston 32e3f6c5a7
Migrate roku to use async_update_entry to alter config entries (#110363) 2024-02-12 20:10:06 +01:00
Marc Mueller d2dee9e327
Update ruff to 0.1.15 (#109303) 2024-02-01 13:29:01 +01:00
Jan-Philipp Benecke a8148cea65
Migrate roku tests to use freezegun (#105418) 2023-12-09 12:47:19 -10:00
J. Nick Koston 0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions (#100567) 2023-09-19 18:58:46 +02:00
Joost Lekkerkerker 890efd58e0
Add entity translations to Roku (#96083)
* Add entity translations to Roku

* Add entity translations to Roku
2023-08-22 16:59:56 +02:00
Chris Talkington 2e0038b981
Require device id for Roku entities (#98734) 2023-08-22 09:22:46 +02:00
Chris Talkington 1fca665b77
Use snapshot assertion for Roku diagnostics (#98731)
* use snapshot assertion for Roku diagnostics

* Delete roku3-diagnostics-data.json

* fix state time variation. add snapshot.
2023-08-21 11:48:27 +02:00
Paulus Schoutsen d2edfca2a2
Rename Local Media to My Media (#94201)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-08 15:56:49 +02:00
Chris Talkington 5bdc830664
Bump rokuecp to 0.18.0 (#93424) 2023-05-24 08:27:20 +02:00
epenet 0a80ac19bc
Add type hints to integration tests (part 18) (#88174) 2023-02-17 18:45:48 +01:00
Franck Nijhof ed79265843
Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
epenet 30bf0634fe
Add per-file-ignore to pylint (#86289) 2023-01-22 17:26:24 +01:00
epenet 0ac581a0b1
Cleanup EntityFeature in tests (#78859) 2022-09-21 10:48:55 +02:00
epenet 41d2ac3943
Cleanup MediaClass and MediaType in tests (#78817)
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
epenet 7bc2712142
Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
epenet 00dd27ef1b
Apply hass-relative-import to tests (i-r) (#78732) 2022-09-19 09:46:59 +02:00
Joakim Plate fcba6def49
Replace STATE_HOME with STATE_IDLE (#77385) 2022-08-27 13:50:41 +02:00
Chris Talkington 20432ccc76
Migrate roku to new entity naming (#74819)
* migrate roku to new entity naming

* Update binary_sensor.py

* Update sensor.py

* Update test_binary_sensor.py

* Update sensor.py

* Update entity.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update remote.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update entity.py
2022-07-14 07:02:13 -05:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
Chris Talkington 46031aff8d
Avoid swallowing Roku errors (#72517) 2022-05-28 21:03:13 -05:00
uvjustin 221b77297e
Declare exports from stream explicitly (#71898) 2022-05-15 17:58:57 +02:00
epenet 053c4428a9
Prettify json (component test fixtures) (#68892) 2022-03-30 11:37:17 +02:00
Chris Talkington 79e9eb1b94
Suppress roku power off timeout errors (#67414) 2022-03-03 21:08:29 -08:00
Paulus Schoutsen 65eefcacfc
Add support for detecting hostname based addresses as internal (#67407) 2022-03-01 16:56:05 -08:00
Chris Talkington 9d5dc2ce24
Improve roku play media handling (#66429)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-17 10:19:01 -08:00
Chris Talkington f344ea7bbb
Add select platform to roku (#66133) 2022-02-11 20:52:31 -06:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Chris Talkington e0d970c739
Update rokuecp to 0.12.0 (#65030) 2022-01-27 10:43:23 -06:00
Chris Talkington 3e29fe5a67
Allow roku to browse and play local media (#64799) 2022-01-24 08:34:09 -08:00
Chris Talkington e3900f0c0a
Add diagnostics support to roku (#64729) 2022-01-23 12:38:07 -10:00
Chris Talkington 9639968a96
Refactor roku tests (#64498) 2022-01-22 10:31:34 -10:00
Chris Talkington 1421797c50
Add camera play stream support to roku (#64153) 2022-01-18 22:43:22 -06:00
Chris Talkington 3303ad38fe
Add sensor platform to roku (#64214) 2022-01-16 20:39:18 -06:00
Chris Talkington 533d0e4444
Add play media URL support to roku (#64021) 2022-01-15 01:49:33 -06:00
Chris Talkington 4b11a4365b
Add content deeplinking support to roku (#64010) 2022-01-12 20:07:11 -06:00
Chris Talkington 213b1bf684
Add MAC to Roku device (#63422) 2022-01-05 12:18:52 +01:00
Chris Talkington f4857ffe33
Add binary_sensor platform to roku (#63238) 2022-01-02 18:44:31 -06:00
Chris Talkington c693b6f455
Add hardware version to Roku device info (#63249)
* add hardware version to Roku device info.

* Update test_media_player.py

* Update test_media_player.py

* Update test_media_player.py
2022-01-02 18:35:09 -06:00
Robert Hillis 5e0eb0eb4d
Use enums in roku tests (#62196) 2021-12-17 16:25:37 +01:00
Chris Talkington 2a35ae2c0a
Update rokuecp to 0.8.4 (#57259) 2021-11-25 18:21:39 -06:00
epenet 9eed18f121
Use SsdpServiceInfo for ssdp tests (part 1) (#60320)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 14:35:19 +01:00
epenet 44611d7e26
Use dataclass for ZeroconfServiceInfo (#60206)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:59:36 +01:00