mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add system options to config entries (#25926)
* Add system options to config entries * For feedback * Follow most of balloobs comments * Fix balloobs comments * Improvements * Fix second round of Balloobs comments * Fix third round * Add system options to mock config entry * Fix integration tests * Fix the last failing tests * Fix disabled string * Fix failing disabled_by tests * New tests * Config entry WS API tests * Fix comments
This commit is contained in:
committed by
Paulus Schoutsen
parent
fc716a45c9
commit
a2589f56e1
@@ -335,7 +335,7 @@ async def test_device_info_is_assummed(hass):
|
||||
mock_unique_id = ps4.format_unique_id(MOCK_CREDS, MOCK_HOST_ID)
|
||||
mock_e_registry = mock_registry(hass)
|
||||
mock_e_registry.async_get_or_create(
|
||||
"media_player", DOMAIN, mock_unique_id, config_entry_id=MOCK_ENTRY_ID
|
||||
"media_player", DOMAIN, mock_unique_id, config_entry=MOCK_CONFIG
|
||||
)
|
||||
mock_entity_id = mock_e_registry.async_get_entity_id(
|
||||
"media_player", DOMAIN, mock_unique_id
|
||||
|
||||
Reference in New Issue
Block a user