epenet
dbfdaf6a2e
Use is over == comparison for FlowResultType in flow tests ( #159158 )
2025-12-16 09:48:45 +01:00
Fredrik Mårtensson
291331f878
Fix is_matching in samsungtv config flow ( #156594 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2025-11-18 16:12:21 +01:00
epenet
25ce57424c
Remove more components from _IGNORE_ROOT_IMPORT in pylint plugin ( #154660 )
2025-10-17 08:35:18 +02:00
Erik Montnemery
d77a3fca83
Exclude is_new from DeviceEntry snapshots ( #149801 )
2025-08-01 11:01:26 +02:00
Erik Montnemery
0d7608f7c5
Deprecate DeviceEntry.suggested_area ( #149730 )
2025-08-01 10:34:34 +02:00
epenet
a6962e9e1e
Fix missing port in samsungtv ( #147962 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2025-07-03 08:51:38 +02:00
epenet
d1e0225520
Adjust ConnectionFailure logging in SamsungTV ( #146044 )
2025-06-03 12:05:33 +02:00
epenet
e4cc842584
Use async_load_json_(array/object)_fixture in async test functions ( #145773 )
2025-05-28 12:09:05 +02:00
epenet
30ecba9944
Finish cleaning up SamsungTV init tests ( #144865 )
...
FInish cleaning up SamsungTV init tests
2025-05-14 11:58:01 +02:00
epenet
31847d8cfb
Adjust handling of SamsungTV misaligned MAC ( #144810 )
...
* Cleanup SamsungTV misaligned MAC formatting
* Simplify
* One more
* Revert and add comment
* Adjust comment
* One more
2025-05-14 07:57:33 +02:00
epenet
26796f87cd
Add device registry snapshots to samsungtv tests ( #144804 )
...
* Add device registry snapshots to samsungtv tests
* Simplify
* Adjust
* Reduce
2025-05-13 18:20:43 +02:00
epenet
5c6984d326
Do not abort on invalid host in SamsungTV user flow ( #144794 )
2025-05-13 10:47:26 +02:00
epenet
b0fb16d48d
Remove obsolete compatibility code from SamsungTV ( #144800 )
2025-05-13 09:54:26 +02:00
epenet
eec617b391
Add comments to samsungtv config flow tests ( #144787 )
2025-05-13 07:54:37 +02:00
epenet
73a59523f5
Merge websocket test constants in samsungtv tests ( #144741 )
2025-05-12 15:51:21 +02:00
epenet
4dde314338
Remove obsolete tests in SamsungTV ( #144735 )
2025-05-12 13:45:20 +02:00
epenet
63e38b4d8d
Rename samsung encrypted websocket test fixtures and constants ( #144726 )
...
* Rename samsung encrypted websocket test fixtures and constants
* More
* More
2025-05-12 11:36:22 +02:00
epenet
e493fe1105
Rename samsung websocket test fixtures and constants ( #144719 )
2025-05-12 10:27:29 +02:00
epenet
fbe1811e2b
Improve SamsungTV test coverage ( #144717 )
2025-05-12 09:23:55 +02:00
epenet
2333c10915
Rename samsung legacy test fixtures and constants ( #144715 )
...
* Rename samsung legacy test fixtures and constants
* More
2025-05-12 09:13:23 +02:00
epenet
6b2a4c975c
Cleanup unused CONF_IP_ADDRESS from SamsungTV tests ( #144379 )
2025-05-08 23:44:06 +02:00
epenet
704e4221f7
Improve SamsungTV ssdp test fixtures ( #144376 )
...
* Improve SamsungTV ssdp fixtures
* More
* More
* More
* More
* Improve
2025-05-07 14:13:38 +02:00
epenet
dded1305ec
Cleanup old config flow IMPORT constants in samsungtv tests ( #144394 )
2025-05-07 12:40:01 +02:00
epenet
65278100a0
Remove entity name input from Samsung TV config flow ( #144372 )
2025-05-07 09:13:14 +02:00
epenet
bdf6f7f590
Use config entry title to name SamsungTV entities ( #144254 )
2025-05-06 15:52:33 +02:00
Simone Chemelli
c9a9488ff5
Manage unsupported sources on Samsung TV ( #144221 )
2025-05-06 12:20:04 +02:00
epenet
0713ac4977
Cleanup invalid CONF_ID from samsungtv tests ( #144252 )
2025-05-05 13:47:07 +02:00
epenet
d88cd72d13
Move more SamsungTV test constants to fixture files ( #144249 )
...
* Add SSDP fixtures to SamsungTV
* Adjust
* Improve
* Improve
2025-05-05 11:58:24 +02:00
Simone Chemelli
b0f1c71129
Handle missing action exceptions in SamsungTV ( #143630 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2025-05-02 11:39:28 +02:00
epenet
fca62f1ae8
Move SamsungTV test constants to fixture files ( #144086 )
2025-05-02 08:32:44 +02:00
epenet
70133da025
Use freezer.tick once more in SamsungTV ( #143970 )
2025-04-30 17:50:13 +02:00
epenet
8b9c4dadd0
Use freezer.tick in SamsungTV tests ( #143954 )
2025-04-30 15:38:00 +02:00
epenet
c6bdee8dd8
Various minor tweaks in samsungtv tests ( #143951 )
2025-04-30 15:26:39 +02:00
epenet
800f403643
Adjust unique_id in SamsungTV tests ( #143959 )
2025-04-30 15:25:50 +02:00
epenet
e24082be9a
Fix incorrect return types in samsungtv tests ( #143937 )
2025-04-30 13:31:21 +02:00
epenet
ef023f084b
Ensure port is stored and used in SamsungTV legacy bridge ( #143940 )
...
* Ensure port is stored and used in SamsungTV legacy bridge
* Tweak
2025-04-30 11:47:28 +02:00
Simone Chemelli
441bca5bda
Use CONF_PIN in SamsungTv config flow ( #143621 )
...
* Use CONF_PIN in SamsunTv config flow
* Adjust tests
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2025-04-30 11:26:20 +02:00
Erik Montnemery
f1b724c49a
Update samsungtv test snapshots ( #143826 )
2025-04-28 13:48:39 +03:00
Simone Chemelli
e1d223f726
Add exceptions translation to SamsungTV ( #142406 )
...
* Add exceptions translation to SmasungTV
* Update strings.json
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2025-04-11 11:32:19 +02:00
Erik Montnemery
4b34d1bbb5
Merge config subentry feature branch to dev ( #136121 )
...
* Reapply "Add support for subentries to config entries" (#133470 ) (#136061 )
* Reapply "Add support for subentries to config entries" (#133470 )
This reverts commit ecb3bf79f3 .
* Update test snapshot
* Add config subentry support to device registry (#128157 )
* Add config subentry support to device registry
* Apply suggestions from code review
* Update syrupy serializer
* Update snapshots
* Address review comments
* Allow a device to be connected to no or a single subentry of a config entry
* Update snapshots
* Revert "Allow a device to be connected to no or a single subentry of a config entry"
This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.
* Update test snapshots
* Bump release version in comments
* Rename config_subentries to config_entries_subentries
* Add config subentry support to entity registry (#128155 )
* Add config subentry support to entity registry
* Update syrupy serializer
* Update snapshots
* Update snapshots
* Accept suggested changes
* Clean registries when removing subentry (#136671 )
* Clean up registries when removing subentry
* Update tests
* Clean up subentries from deleted devices when removing config entry (#136669 )
* Clean up subentries from deleted devices when removing config entry
* Move
* Add config subentry support to entity platform (#128161 )
* Add config subentry support to entity platform
* Rename subentry_id to config_subentry_id
* Store subentry type in subentry (#136687 )
* Add reconfigure support to config subentries (#133353 )
* Add reconfigure support to config subentries
* Update test
* Minor adjustment
* Rename supported_subentry_flows to supported_subentry_types
* Address review comments
* Add subentry support to kitchen sink (#136755 )
* Add subentry support to kitchen sink
* Add subentry reconfigure support to kitchen_sink
* Update kitchen_sink tests with subentry type stored in config entry
* Update kitchen_sink
* Update kitchen_sink
* Adjust kitchen sink tests
* Fix hassfest
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Improve docstrings and strings.json
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2025-02-10 16:40:07 +01:00
epenet
d0a188b86d
Standardize homeassistant imports in component tests (m-z) ( #136807 )
2025-01-29 08:57:57 +01:00
epenet
64500e837f
Use new ServiceInfo location in component tests (part 1) ( #136057 )
2025-01-20 13:09:34 +01:00
epenet
8c13daf6d9
Move SsdpServiceInfo to service_info helpers ( #135661 )
...
* Move SsdpServiceInfo to service_info helpers
* docstring
* Move string constants
* Adjust components
2025-01-15 15:00:27 +02:00
Erik Montnemery
ecb3bf79f3
Revert "Add support for subentries to config entries" ( #133470 )
...
Revert "Add support for subentries to config entries (#117355 )"
This reverts commit ad15786115 .
2024-12-18 13:51:05 +01:00
Erik Montnemery
ad15786115
Add support for subentries to config entries ( #117355 )
...
* Add support for subentries to config entries
* Improve error handling and test coverage
* Include subentry_id in subentry containers
* Auto-generate subentry_id and add optional unique_id
* Tweak
* Update tests
* Fix stale docstring
* Address review comments
* Typing tweaks
* Add methods to ConfigEntries to add and remove subentry
* Improve ConfigSubentryData typed dict
* Update test snapshots
* Adjust tests
* Fix unique_id logic
* Allow multiple subentries with None unique_id
* Add number of subentries to config entry JSON representation
* Add subentry translation support
* Allow integrations to implement multiple subentry flows
* Update translations schema
* Adjust exception text
* Change subentry flow init step to user
* Prevent creating a subentry with colliding unique_id
* Update tests
* Address review comments
* Remove duplicaetd unique_id collision check
* Remove change from the future
* Improve test coverage
* Add default value for unique_id
2024-12-12 20:16:18 +01:00
Marc Mueller
49800f9aaa
Update pylint to 3.3.2 and astroid to 3.3.6 ( #132718 )
...
* Update pylint to 3.3.2 and astroid to 3.3.6
* Fix
2024-12-09 16:05:40 +01:00
Jan Bouwhuis
3aae9b629f
Add exception translation for entity action not supported ( #131956 )
2024-12-01 16:53:06 +01:00
epenet
f41bc98fe2
Cleanup deprecated exception in websocket tests ( #131808 )
2024-11-28 12:40:34 +01:00
Noah Husby
27926caf77
Bump aiostreammagic to 2.8.6 ( #131312 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
2024-11-23 13:05:48 +01:00
epenet
f17c5bc334
Use new reauth helpers in samsungtv ( #128729 )
2024-10-19 11:24:41 +02:00