|
@@ -42,7 +42,7 @@ async def _options_init(hass: HomeAssistant, mock_entry):
|
|
|
mock_entry.add_to_hass(hass)
|
|
mock_entry.add_to_hass(hass)
|
|
|
result = await hass.config_entries.options.async_init(mock_entry.entry_id)
|
|
result = await hass.config_entries.options.async_init(mock_entry.entry_id)
|
|
|
assert result["type"] == "menu"
|
|
assert result["type"] == "menu"
|
|
|
- assert result["step_id"] == "init"
|
|
|
|
|
|
|
+ assert result["step_id"] == "configure"
|
|
|
return result
|
|
return result
|
|
|
|
|
|
|
|
|
|
|
|
@@ -91,7 +91,7 @@ async def test_user_step_creates_entry_with_room_name(hass: HomeAssistant):
|
|
|
async def test_options_init_shows_menu(hass: HomeAssistant, mock_entry):
|
|
async def test_options_init_shows_menu(hass: HomeAssistant, mock_entry):
|
|
|
result = await _options_init(hass, mock_entry)
|
|
result = await _options_init(hass, mock_entry)
|
|
|
assert result["type"] == "menu"
|
|
assert result["type"] == "menu"
|
|
|
- assert result["step_id"] == "init"
|
|
|
|
|
|
|
+ assert result["step_id"] == "configure"
|
|
|
|
|
|
|
|
|
|
|
|
|
async def test_options_init_sync_leads_to_sync_mode(hass: HomeAssistant, mock_entry):
|
|
async def test_options_init_sync_leads_to_sync_mode(hass: HomeAssistant, mock_entry):
|